]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: Move get_boot_device() to cpu.c and make visible
authorMarek Behún <marek.behun@nic.cz>
Mon, 16 Aug 2021 13:19:37 +0000 (15:19 +0200)
committerStefan Roese <sr@denx.de>
Wed, 1 Sep 2021 06:09:24 +0000 (08:09 +0200)
commitdc595e3e45913ae932bb269739a8a48a27fdd585
treec9106d1e18d2bd28aca457ba3ca4385209f4fa6e
parent167689897bec01fc338240a5bf0db4de384cef79
arm: mvebu: Move get_boot_device() to cpu.c and make visible

Move the function get_boot_device() from spl.c to cpu.c.

Make it visible, so that it may be used from other files.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/cpu.c
arch/arm/mach-mvebu/include/mach/cpu.h
arch/arm/mach-mvebu/spl.c