[U-Boot] [PATCH 57/60] ARM: tegra: don't access Boot Info Table from board code

Simon Glass
2016-05-07T22:32:36Z

On 19 April 2016 at 14:59, Stephen Warren <swarren@wwwdotorg.org> wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> The only use of the BIT was to print a message indicating whether the
> system booted via cold boot or USB ReCovery Mode (RCM). If that is worth
> doing for some boards, it's worth doing for all, so make the core Tegra
> code do that.
>
> This will allow the definitions related to the BIT to be removed from
> global visibility, and isolated into Tegra-specific code. This also avoids
> the need to implement arch_misc_init() for a couple of boards.
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> arch/arm/mach-tegra/board2.c | 4 ++++
> board/toradex/apalis_t30/apalis_t30.c | 10 ----------
> board/toradex/colibri_t20/colibri_t20.c | 5 -----
> board/toradex/colibri_t30/colibri_t30.c | 10 ----------
> include/configs/apalis_t30.h | 2 --
> include/configs/colibri_t30.h | 2 --
> 6 files changed, 4 insertions(+), 29 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>