diff options
author | Niel Fourie <lusus@denx.de> | 2020-07-24 16:33:27 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-08-03 17:03:57 +0200 |
commit | a1c6aed1de01d5ea31e67bc66962fe2641fa81c6 (patch) | |
tree | 1a584d3f034db739ef893d66ab3208de444189a9 /configs | |
parent | 1e7a69f661ae792e3e4bdc0156b26d87d089f5db (diff) | |
download | u-boot-a1c6aed1de01d5ea31e67bc66962fe2641fa81c6.zip u-boot-a1c6aed1de01d5ea31e67bc66962fe2641fa81c6.tar.gz u-boot-a1c6aed1de01d5ea31e67bc66962fe2641fa81c6.tar.bz2 |
arm: imx6q: pcm058: Rework SPI NOR configuration
Enable CONFIG_SPL_DM_SPI_FLASH to be able to boot from SPI NOR,
modify the offset of U-boot proper in the SPI NOR, so the
difference in offset matches between SPL and U-boot matches that of
the SD Card, allowing u-boot-with-spl.imx to also be copied to SPI
NOR at an offset of 0x400. Update the README to reflect this
change.
Signed-off-by: Niel Fourie <lusus@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/pcm058_defconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/pcm058_defconfig b/configs/pcm058_defconfig index c491cbf..b085a7d 100644 --- a/configs/pcm058_defconfig +++ b/configs/pcm058_defconfig @@ -7,7 +7,7 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_ENV_SIZE=0x4000 CONFIG_ENV_OFFSET=0x100000 CONFIG_ENV_SECT_SIZE=0x10000 -CONFIG_SYS_SPI_U_BOOT_OFFS=0x40000 +CONFIG_SYS_SPI_U_BOOT_OFFS=0x31400 CONFIG_MX6_OCRAM_256KB=y CONFIG_TARGET_PCM058=y CONFIG_SPL_TEXT_BASE=0x00908000 @@ -34,6 +34,7 @@ CONFIG_SPL_SEPARATE_BSS=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x18a CONFIG_SPL_DMA=y CONFIG_SPL_FS_EXT4=y +CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_SPI_LOAD=y CONFIG_SPL_WATCHDOG_SUPPORT=y CONFIG_SPL_YMODEM_SUPPORT=y |