aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorDennis Gilmore <dennis@ausil.us>2020-12-08 21:07:36 -0600
committerStefan Roese <sr@denx.de>2021-01-27 07:25:39 +0100
commit5a3db5d1af5208b1de99da16a8f99e0dfbe92c7e (patch)
treeb02197a2ee08a1c84b94612c8e35b5e28ec4ab6e /board
parent98b64fe70b60b617fb440b14674110c2b7fa4fa3 (diff)
downloadu-boot-5a3db5d1af5208b1de99da16a8f99e0dfbe92c7e.zip
u-boot-5a3db5d1af5208b1de99da16a8f99e0dfbe92c7e.tar.gz
u-boot-5a3db5d1af5208b1de99da16a8f99e0dfbe92c7e.tar.bz2
ARM: mvebu: helios4 adjust env sizes to enable SPI to work
mirror the clearfog setup to enable SPI to work Signed-off-by: Dennis Gilmore <dennis@ausil.us>
Diffstat (limited to 'board')
-rw-r--r--board/kobol/helios4/Kconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/board/kobol/helios4/Kconfig b/board/kobol/helios4/Kconfig
new file mode 100644
index 0000000..cad51c1
--- /dev/null
+++ b/board/kobol/helios4/Kconfig
@@ -0,0 +1,24 @@
+menu "Helios4 configuration"
+ depends on TARGET_HELIOS4
+
+config ENV_SIZE
+ hex "Environment Size"
+ default 0x10000
+
+config ENV_OFFSET
+ hex "Environment offset"
+ default 0xF0000
+
+config ENV_SECT_SIZE
+ hex "Environment Sector-Size"
+ # Use SPI or SATA flash erase block size of 4 KiB
+ default 0x1000 if MVEBU_SPL_BOOT_DEVICE_SPI || MVEBU_SPL_BOOT_DEVICE_SATA
+ # Use optimistic 64 KiB erase block, will vary between actual media
+ default 0x10000 if MVEBU_SPL_BOOT_DEVICE_MMC || MVEBU_SPL_BOOT_DEVICE_UART
+
+config SYS_SPI_U_BOOT_OFFS
+ hex "address of u-boot payload in SPI flash"
+ default 0x20000
+ depends on MVEBU_SPL_BOOT_DEVICE_SPI
+
+endmenu