ARM: tegra: add core Tegra186 supportThis adds the bare minimum code to support Tegra186, with UART and eMMCworking.The empty gpio.h is required because <asm/gpio.h> includes it. A futurecleanu
ARM: tegra: add core Tegra186 supportThis adds the bare minimum code to support Tegra186, with UART and eMMCworking.The empty gpio.h is required because <asm/gpio.h> includes it. A futurecleanup round may be able to solve this for all Tegra generations at once.mach-tegra/Makefile is adjusted not to compile anything for Tegra186, butinstead to defer everything to mach-tegra/tegra186/Makefile. This allowsthe 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 thecode is not valid for Tegra186, and this approach removes the need formach-tegra/Makefile to contain many SoC-specific ifdefs. This approachmay be applied to all other Tegra SoCs in a future cleanup round.board186.c is introduced to replace board.c and board2.c. These filescurrently contain a slew of SoC- and board-specific code that is notvalid for Tegra186. This approach avoids adding yet more ifdefs to thosefiles. A future cleanup round may refactor most of board*.c into board-/SoC-specific functions files thus allowing the top-level functions likeboard_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>
show more ...