summaryrefslogtreecommitdiff
path: root/include/configs/tegra186-common.h
AgeCommit message (Collapse)Author
2021-08-31Convert CONFIG_SYS_LOAD_ADDR to KconfigTom Rini
Now that we have consistent usage, migrate this symbol to Kconfig. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Rick Chen <[email protected]>
2021-08-31global: Convert CONFIG_LOADADDR to CONFIG_SYS_LOADADDRTom Rini
- In most of the codebase, we reference CONFIG_SYS_LOAD_ADDR and not CONFIG_LOADADDR. - Generally, CONFIG_SYS_LOADADDR is set to CONFIG_LOADADDR and then as noted, we use CONFIG_SYS_LOADADDR. Signed-off-by: Tom Rini <[email protected]>
2021-08-30arm: Migrate GICV2 / GICV3 to KconfigTom Rini
Migrate CONFIG_GICV2 and CONFIG_GICV3 to Kconfig. We still have the GIC related registers that need to be handled more cleanly but start by moving this symbol to Kconfig. Signed-off-by: Tom Rini <[email protected]>
2020-12-04arm: tegra: add options for BOOTENV_EFI_SET_FDTFILE_FALLBACK for tegra186Peter Robinson
Upstream linux DT naming doesn't align with the U-Boot DT, which may not always be the case so this allows using BOOTENV_EFI_SET_FDTFILE_FALLBACK where it might be appropriate for some boards. Signed-off-by: Peter Robinson <[email protected]> Signed-off-by: Tom Warren <[email protected]>
2020-12-04arm: tegra: define fdtfile option for distro bootPeter Robinson
For booting via UEFI we need to define the fdtfile option so bootefi has the option to load a fdtfile from disk. For arm64 the kernel dtb is located in a vendor directory so we define that as nvidia for that architecture. Signed-off-by: Peter Robinson <[email protected]> Signed-off-by: Tom Warren <[email protected]>
2018-05-07SPDX: Convert all of our single license tags to Linux Kernel styleTom Rini
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: Tom Rini <[email protected]>
2018-02-11configs: Migrate CONFIG_SYS_TEXT_BASETom Rini
On the NIOS2 and Xtensa architectures, we do not have CONFIG_SYS_TEXT_BASE set. This is a strict migration of the current values into the defconfig and removing them from the headers. I did not attempt to add more default values in and for now will leave that to maintainers. Signed-off-by: Tom Rini <[email protected]>
2018-01-12ARM: tegra: use CONFIG_SYS_INIT_SP_BSS_OFFSETStephen Warren
Enable CONFIG_SYS_INIT_SP_BSS_OFFSET for all 64-bit Tegra boards. Place the stack/... 512KiB from the end of the U-Boot binary. This should be plenty to accommodate the current DTBs (max 64 KiB), early malloc region (6KiB), stack usage, and plenty of slack, while still not placing it too far away from the U-Boot binary. Signed-off-by: Stephen Warren <[email protected]> Signed-off-by: Tom Warren <[email protected]>
2018-01-12ARM: tegra: remove SPL config for non-SPL SoCsStephen Warren
No 64-bit Tegra uses SPL. Remove various unused definitions from config headers. Signed-off-by: Stephen Warren <[email protected]> Signed-off-by: Tom Warren <[email protected]>
2016-08-26ARM: Move SYS_CACHELINE_SIZE over to KconfigTom Rini
This series moves the CONFIG_SYS_CACHELINE_SIZE. First, in nearly all cases we are mirroring the values used by the Linux Kernel here. Also, so long as (and in this case, it is true) we implement flushes in hunks that are no larger than the smallest implementation (and given that we mirror the Linux Kernel, again we are fine) it is OK to align higher. The biggest changes here are that we always use 64 bytes for CPU_V7 even if for example the underlying core is only 32 bytes (this mirrors Linux). Second, we say ARM64 uses 64 bytes not 128 (as found in the Linux Kernel) as we do not need multi-platform support (to this degree) and only the Cavium ThunderX 88xx series has a use for such large alignment. Cc: Albert Aribaud <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Stefano Babic <[email protected]> Cc: Prafulla Wadaskar <[email protected]> Cc: Luka Perkov <[email protected]> Cc: Stefan Roese <[email protected]> Cc: Nagendra T S <[email protected]> Cc: Vaibhav Hiremath <[email protected]> Acked-by: Lokesh Vutla <[email protected]> Cc: Steve Rae <[email protected]> Cc: Igor Grinberg <[email protected]> Cc: Nikita Kiryanov <[email protected]> Cc: Stefan Agner <[email protected]> Acked-by: Heiko Schocher <[email protected]> Cc: Mateusz Kulikowski <[email protected]> Cc: Peter Griffin <[email protected]> Acked-by: Paul Kocialkowski <[email protected]> Cc: Anatolij Gustschin <[email protected]> Acked-by: "Pali Rohár" <[email protected]> Cc: Adam Ford <[email protected]> Cc: Steve Sakoman <[email protected]> Cc: Grazvydas Ignotas <[email protected]> Cc: Nishanth Menon <[email protected]> Cc: Stephen Warren <[email protected]> Cc: Robert Baldyga <[email protected]> Cc: Minkyu Kang <[email protected]> Cc: Thomas Weber <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: David Feng <[email protected]> Cc: Alison Wang <[email protected]> Cc: Michal Simek <[email protected]> Cc: Simon Glass <[email protected]> Cc: York Sun <[email protected]> Cc: Shengzhou Liu <[email protected]> Cc: Mingkai Hu <[email protected]> Cc: Prabhakar Kushwaha <[email protected]> Cc: Aneesh Bansal <[email protected]> Cc: Saksham Jain <[email protected]> Cc: Qianyu Gong <[email protected]> Cc: Wang Dongsheng <[email protected]> Cc: Alex Porosanu <[email protected]> Cc: Hongbo Zhang <[email protected]> Cc: tang yuantian <[email protected]> Cc: Rajesh Bhagat <[email protected]> Cc: Josh Wu <[email protected]> Cc: Bo Shen <[email protected]> Cc: Viresh Kumar <[email protected]> Cc: Hannes Schmelzer <[email protected]> Cc: Thomas Chou <[email protected]> Cc: Joe Hershberger <[email protected]> Cc: Sam Protsenko <[email protected]> Cc: Bin Meng <[email protected]> Cc: Christophe Ricard <[email protected]> Cc: Anand Moon <[email protected]> Cc: Beniamino Galvani <[email protected]> Cc: Carlo Caione <[email protected]> Cc: huang lin <[email protected]> Cc: Sjoerd Simons <[email protected]> Cc: Xu Ziyuan <[email protected]> Cc: "[email protected]" <[email protected]> Cc: "Ariel D'Alessandro" <[email protected]> Cc: Kever Yang <[email protected]> Cc: Samuel Egli <[email protected]> Cc: Chin Liang See <[email protected]> Cc: Dinh Nguyen <[email protected]> Cc: Hans de Goede <[email protected]> Cc: Ian Campbell <[email protected]> Cc: Siarhei Siamashka <[email protected]> Cc: Boris Brezillon <[email protected]> Cc: Andre Przywara <[email protected]> Cc: Bernhard Nortmann <[email protected]> Cc: Wolfgang Denk <[email protected]> Cc: Ben Whitten <[email protected]> Cc: Tom Warren <[email protected]> Cc: Alexander Graf <[email protected]> Cc: Sekhar Nori <[email protected]> Cc: Vitaly Andrianov <[email protected]> Cc: "Andrew F. Davis" <[email protected]> Cc: Murali Karicheri <[email protected]> Cc: Carlos Hernandez <[email protected]> Cc: Ladislav Michl <[email protected]> Cc: Ash Charles <[email protected]> Cc: Mugunthan V N <[email protected]> Cc: Daniel Allred <[email protected]> Cc: Gong Qianyu <[email protected]> Signed-off-by: Tom Rini <[email protected]> Acked-by: Masahiro Yamada <[email protected]> Acked-by: Chin Liang See <[email protected]> Tested-by: Stephen Warren <[email protected]> Acked-by: Paul Kocialkowski <[email protected]>
2016-05-31ARM: tegra: add core Tegra186 supportStephen Warren
This adds the bare minimum code to support Tegra186, with UART and eMMC working. The empty gpio.h is required because <asm/gpio.h> includes it. A future cleanup round may be able to solve this for all Tegra generations at once. mach-tegra/Makefile is adjusted not to compile anything for Tegra186, but instead to defer everything to mach-tegra/tegra186/Makefile. This allows the SoC code to pick-and-choose which of the C files in the "common" mach-tegra/ directory to compile in based on the SoC's needs. Most of the code is not valid for Tegra186, and this approach removes the need for mach-tegra/Makefile to contain many SoC-specific ifdefs. This approach may be applied to all other Tegra SoCs in a future cleanup round. board186.c is introduced to replace board.c and board2.c. These files currently contain a slew of SoC- and board-specific code that is not valid for Tegra186. This approach avoids adding yet more ifdefs to those files. A future cleanup round may refactor most of board*.c into board-/ SoC-specific functions files thus allowing the top-level functions like board_init_early_f to be shared again. Signed-off-by: Stephen Warren <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Tom Warren <[email protected]>