diff options
author | Tien Fong Chee <tien.fong.chee@intel.com> | 2021-05-20 01:31:57 -0700 |
---|---|---|
committer | Tien Fong Chee <tien.fong.chee@intel.com> | 2021-05-23 20:08:34 -0700 |
commit | 9201982d7bc23cbc6787cf722a0d6d862a6f411e (patch) | |
tree | 5afb410a4e5d25a2410670127f8db3f46aef43a2 | |
parent | 2e30365090a17fbf86c6fd3f2f23da300088d6ae (diff) | |
download | u-boot-socfpga-9201982d7bc23cbc6787cf722a0d6d862a6f411e.tar.gz |
arm: socfpga: n5x: Replace with soc64 env settingsrel_socfpga_v2021.04_RC_21.06.01_prrel_socfpga_v2021.04_RC_21.05.02_pr
Only DDR and clock changes in N5X compare with existing SOC64 devices,
so a common SOC64 env setting can be used in N5X.
Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
-rw-r--r-- | include/configs/socfpga_n5x_socdk.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/include/configs/socfpga_n5x_socdk.h b/include/configs/socfpga_n5x_socdk.h index c295e91e3d..4929705259 100644 --- a/include/configs/socfpga_n5x_socdk.h +++ b/include/configs/socfpga_n5x_socdk.h @@ -9,37 +9,4 @@ #include <configs/socfpga_soc64_common.h> -#undef CONFIG_EXTRA_ENV_SETTINGS -#define CONFIG_EXTRA_ENV_SETTINGS \ - "loadaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \ - "bootfile=" CONFIG_BOOTFILE "\0" \ - "fdt_addr=1100000\0" \ - "fdtimage=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \ - "mmcroot=/dev/mmcblk0p2\0" \ - "mmcboot=setenv bootargs " CONFIG_BOOTARGS \ - " root=${mmcroot} rw rootwait;" \ - "booti ${loadaddr} - ${fdt_addr}\0" \ - "mmcload=mmc rescan;" \ - "load mmc 0:1 ${loadaddr} ${bootfile};" \ - "load mmc 0:1 ${fdt_addr} ${fdtimage}\0" \ - "mmcfitboot=setenv bootargs " CONFIG_BOOTARGS \ - " root=${mmcroot} rw rootwait;" \ - "bootm ${loadaddr}\0" \ - "mmcfitload=mmc rescan;" \ - "load mmc 0:1 ${loadaddr} ${bootfile}\0" \ - "ramboot=setenv bootargs " CONFIG_BOOTARGS";" \ - "booti ${loadaddr} - ${fdt_addr}\0" \ - "linux_qspi_enable=if sf probe; then " \ - "echo Enabling QSPI at Linux DTB...;" \ - "fdt addr ${fdt_addr}; fdt resize;" \ - "fdt set /soc/spi@ff8d2000 status okay;" \ - "if fdt set /soc/clocks/qspi-clk clock-frequency" \ - " ${qspi_clock}; then" \ - " else fdt set /soc/clkmgr/clocks/qspi_clk clock-frequency" \ - " ${qspi_clock}; fi; fi\0" \ - "scriptaddr=0x02100000\0" \ - "scriptfile=u-boot.scr\0" \ - "fatscript=if fatload mmc 0:1 ${scriptaddr} ${scriptfile};" \ - "then source ${scriptaddr}; fi\0" - #endif /* __CONFIG_SOCFGPA_N5X_H__ */ |