]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: sama5d27_som1_ek: qspi: use common memory layout
authorTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 18 Jun 2019 08:52:09 +0000 (08:52 +0000)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 9 Jul 2019 06:26:43 +0000 (09:26 +0300)
Use the qspi memory layout defined in at91-sama5_common - it aligns
with the 8 Mbyte flash (sst26vf064b-104i/sn) available in sama5d27_som1_ek.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
include/configs/sama5d27_som1_ek.h

index 5f6979cd77a54bf848348bd54381ab08b45b8b94..90846c4bfd44597cf083db06293e9e7b52332e5c 100644 (file)
 #endif
 
 #ifdef CONFIG_QSPI_BOOT
-#define CONFIG_ENV_OFFSET              0xb0000
-#define CONFIG_ENV_SIZE                        0x10000
-#define CONFIG_ENV_SECT_SIZE           0x10000
-#define CONFIG_BOOTCOMMAND             "sf probe 0; "                          \
-                                       "sf read 0x21000000 0xc0000 0x20000; "  \
-                                       "sf read 0x22000000 0xe0000 0x400000; " \
-                                       "bootz 0x22000000 - 0x21000000"
 #undef CONFIG_BOOTARGS
 #define CONFIG_BOOTARGS \
        "console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait"