]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: tegra: add SoC-level hook for board_late_init()
authorStephen Warren <swarren@nvidia.com>
Mon, 12 Sep 2016 17:51:12 +0000 (11:51 -0600)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 7 Nov 2016 17:28:15 +0000 (11:28 -0600)
commit86919a23060ca0628242aa022a1268d26d29b4e1
tree6ea55cfed5b3661a0ed3d3c0a5990f56678748cd
parentba4dfef1469f13b0189845b778228590391706b3
ARM: tegra: add SoC-level hook for board_late_init()

Extend the Tegra186 implementation of board_late_init() to call a per-SoC
"hook" function. This will allow SoC-specific (rather than Tegra-wide)
functionality to be implemented without the core Tegra code needing to be
aware of the details. While board186.c is currently only used for
Tegra186, it should be applicable to any other future SoC, and perhaps its
simple design could be back-ported to older SoCs in the future too.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
arch/arm/mach-tegra/board186.c