summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2018-05-11 16:51:01 +0200
committerStefano Babic <sbabic@denx.de>2018-06-18 15:42:38 +0200
commit86d759ea3c017a9c4549066a7b73d5e644f3d538 (patch)
tree0fee729a30f242061ba5c620265e77dd799178fe
parent4864ba7f4acf6a6030d49c0be5565b9161787025 (diff)
display5: config: Add "factory" (1MiB) SPI-NOR partition in u-boot
To test if this partition is present - one needs to write: display5 > sf probe; mtdparts display5 > sf erase factory +0x100000 Signed-off-by: Lukasz Majewski <lukma@denx.de>
-rw-r--r--configs/display5_defconfig2
-rw-r--r--include/configs/display5.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/configs/display5_defconfig b/configs/display5_defconfig
index 4db8a2bfb95..ee0947fbc14 100644
--- a/configs/display5_defconfig
+++ b/configs/display5_defconfig
@@ -48,7 +48,7 @@ CONFIG_CMD_FAT=y
CONFIG_CMD_FS_GENERIC=y
CONFIG_CMD_MTDPARTS=y
CONFIG_MTDIDS_DEFAULT="nor0=02008000.spi.1"
-CONFIG_MTDPARTS_DEFAULT="mtdparts=02008000.spi.1:128k(SPL),1m(u-boot),64k(env1),64k(env2),8m(lin-recovery),4m(swu-kernel),8m(swu-initramfs),-(reserved)"
+CONFIG_MTDPARTS_DEFAULT="mtdparts=02008000.spi.1:128k(SPL),1m(u-boot),64k(env1),64k(env2),8m(lin-recovery),4m(swu-kernel),8m(swu-initramfs),1m(factory),-(reserved)"
CONFIG_EFI_PARTITION=y
# CONFIG_SPL_EFI_PARTITION is not set
CONFIG_OF_CONTROL=y
diff --git a/include/configs/display5.h b/include/configs/display5.h
index bcb1ac2bd00..f4aa6d5315f 100644
--- a/include/configs/display5.h
+++ b/include/configs/display5.h
@@ -33,6 +33,7 @@
* 0x140000 - 0x940000 : SPI.fitImage-recovery (8MiB)
* 0x940000 - 0xD40000 : SPI.swupdate-kernel-FIT (4MiB)
* 0xD40000 - 0x1540000 : SPI.swupdate-initramfs (8MiB)
+ * 0x1540000 - 0x1640000 : SPI.factory (1MiB)
*/
#ifndef CONFIG_SPL_BUILD