
21 Feb
2017
21 Feb
'17
9:34 p.m.
On 18 February 2017 at 11:46, Heiko Stuebner heiko@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@sntech.de Tested-by: Kever Yang kever.yang@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!