From: Simon Goldschmidt Date: Fri, 1 Mar 2019 19:12:31 +0000 (+0100) Subject: arm: socfpga: gen5: deassert peripheral reset by default X-Git-Tag: v2019.07-rc1~14^2~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4b2e32efa4e7c999cf11c8492f5a704214c2ad12;p=oweals%2Fu-boot.git 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 --- 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