]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: Move bootrom-related declarations to a header
authorHeiko Stübner <heiko@sntech.de>
Sat, 18 Feb 2017 18:46:26 +0000 (19:46 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 16 Mar 2017 22:03:44 +0000 (16:03 -0600)
commitaade077e431b584980a0418c0e464f6ef31c5c20
treeb5693f1f7110f937a66e91cfaa9e632e013dce18
parent1d845947a3f834654f4164bda6faf7fff7e61476
rockchip: Move bootrom-related declarations to a header

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 [new file with mode: 0644]
arch/arm/mach-rockchip/rk3036-board-spl.c
arch/arm/mach-rockchip/rk3288-board-spl.c