summaryrefslogtreecommitdiffstats
path: root/include/configs/socfpga_common.h
diff options
context:
space:
mode:
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>2019-03-01 20:12:31 +0100
committerMarek Vasut <marex@denx.de>2019-04-17 22:20:16 +0200
commit4b2e32efa4e7c999cf11c8492f5a704214c2ad12 (patch)
tree64254d2e7038e2476888eb0aae612afa2a2acee3 /include/configs/socfpga_common.h
parent1ea975010df4dd1568361db3cd699860f73e750d (diff)
downloadu-boot-4b2e32efa4e7c999cf11c8492f5a704214c2ad12.tar.gz
u-boot-4b2e32efa4e7c999cf11c8492f5a704214c2ad12.tar.xz
u-boot-4b2e32efa4e7c999cf11c8492f5a704214c2ad12.zip
arm: socfpga: gen5: deassert peripheral reset by default
To keep the current behaviour of taking all peripherals out of reset before booting the OS before removing that code from socfpga gen5 SPL, this enables the new behaviour by default for all gen5 boards by adding the environment variable "socfpga_legacy_reset_compat=1" to the default environment. This can be overridden in board config files or by saving an environment without this variable enabled. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Diffstat (limited to 'include/configs/socfpga_common.h')
-rw-r--r--include/configs/socfpga_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index 09c9b7ca9e..f9e2cdc1b3 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -338,6 +338,7 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
"scriptaddr=0x02100000\0" \
"pxefile_addr_r=0x02200000\0" \
"ramdisk_addr_r=0x02300000\0" \
+ "socfpga_legacy_reset_compat=1\0" \
BOOTENV
#endif