diff options
author | Tom Rini <trini@konsulko.com> | 2017-11-26 18:10:21 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-11-26 18:10:21 -0500 |
commit | 0931b6f20e19f6c412d6ad1ba8e3b50b2a70c3c0 (patch) | |
tree | 750f9b3523d6189093164e5aa1037a157008d43f /arch/arm/mach-rockchip/boot_mode.c | |
parent | 93a51d301ad051ec6f8c6016862c7719b8b434d3 (diff) | |
parent | e5ee24dda20af5dc87971b497268f9fb1c83027e (diff) | |
download | u-boot-0931b6f20e19f6c412d6ad1ba8e3b50b2a70c3c0.tar.gz |
Merge git://git.denx.de/u-boot-rockchip
Diffstat (limited to 'arch/arm/mach-rockchip/boot_mode.c')
-rw-r--r-- | arch/arm/mach-rockchip/boot_mode.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/boot_mode.c b/arch/arm/mach-rockchip/boot_mode.c index 942849f2f8..d7dd425aae 100644 --- a/arch/arm/mach-rockchip/boot_mode.c +++ b/arch/arm/mach-rockchip/boot_mode.c @@ -9,6 +9,15 @@ #include <asm/io.h> #include <asm/arch/boot_mode.h> +#if (CONFIG_ROCKCHIP_BOOT_MODE_REG == 0) + +int setup_boot_mode(void) +{ + return 0; +} + +#else + void set_back_to_bootrom_dnl_flag(void) { writel(BOOT_BROM_DOWNLOAD, CONFIG_ROCKCHIP_BOOT_MODE_REG); @@ -74,3 +83,5 @@ int setup_boot_mode(void) return 0; } + +#endif |