]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: socfpga: gen5: deassert peripheral reset by default
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Fri, 1 Mar 2019 19:12:31 +0000 (20:12 +0100)
committerMarek Vasut <marex@denx.de>
Wed, 17 Apr 2019 20:20:16 +0000 (22:20 +0200)
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>
include/configs/socfpga_common.h

index 09c9b7ca9efa4cc4ad8a7cbf17d476a30fc787ee..f9e2cdc1b3053402e5342cd426f7177ec1ffdec4 100644 (file)
@@ -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