[U-Boot] [PATCH 57/60] ARM: tegra: don't access Boot Info Table from board code
Simon Glass
sjg at chromium.org
Sun May 8 00:32:36 CEST 2016
On 19 April 2016 at 14:59, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at 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 at 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 at chromium.org>
More information about the U-Boot
mailing list