[U-Boot] [PATCH v4 06/20] rockchip: Move bootrom-related declarations to a header
Simon Glass
sjg at chromium.org
Tue Feb 21 20:34:32 UTC 2017
On 18 February 2017 at 11:46, Heiko Stuebner <heiko at sntech.de> wrote:
> So far spl-boards have declared the back_to_brom() function as simple
> extern in the files themself. That doesn't scale well if every boards
> defines this on its own.
> Therefore move the declarations to a bootrom header.
>
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
> Tested-by: Kever Yang <kever.yang at rock-chips.com>
> ---
> arch/arm/include/asm/arch-rockchip/bootrom.h | 22 ++++++++++++++++++++++
> arch/arm/mach-rockchip/rk3036-board-spl.c | 3 +--
> arch/arm/mach-rockchip/rk3288-board-spl.c | 3 ++-
> 3 files changed, 25 insertions(+), 3 deletions(-)
> create mode 100644 arch/arm/include/asm/arch-rockchip/bootrom.h
Applied to u-boot-rockchip, thanks!
More information about the U-Boot
mailing list