This website requires JavaScript.
Explore
Help
Sign In
brain-hackers_pepepper-mirror
/
u-boot-brain
Watch
1
Star
0
Fork
0
You've already forked u-boot-brain
mirror of
https://github.com/brain-hackers/u-boot-brain
synced
2024-09-10 06:43:28 +09:00
Code
Issues
Projects
Releases
Wiki
Activity
c28baf6c70
u-boot-brain
/
arch
/
arm
/
mach-tegra
/
tegra186
/
Makefile
6 lines
97 B
Makefile
Raw
Normal View
History
Unescape
Escape
ARM: tegra: add core Tegra186 support 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 <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
2016-05-13 04:32:55 +09:00
# Copyright (c) 2016, NVIDIA CORPORATION.
#
# SPDX-License-Identifier: GPL-2.0
ARM: tegra: flush caches via SMC call On Tegra186, it is necessary to perform an SMC to fully flush all caches; flushing/cleaning by set/way is not enough. Implement the required hook to make this happen. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
2016-09-24 08:43:49 +09:00
obj-y
+=
cache.o
Reference in New Issue
Copy Permalink