aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosua Mayer <josua@solid-run.com>2024-02-02 16:13:34 +0100
committerStefan Roese <sr@denx.de>2024-03-05 08:27:59 +0100
commite58704070621eda667557c6cb4690c46b18ae012 (patch)
tree609f0679402c80f662651c14c7028fecbd280d78
parent18c73e30e1aa412a47ab460eb2ccb8fb9551e8ad (diff)
downloadu-boot-e58704070621eda667557c6cb4690c46b18ae012.zip
u-boot-e58704070621eda667557c6cb4690c46b18ae012.tar.gz
u-boot-e58704070621eda667557c6cb4690c46b18ae012.tar.bz2
board: helios-4: add config fragment for spi booting
Add a config fragment with required differences for booting from spi flash instead of sd-card (default). Settings for environment location are based on vendor u-boot: https://github.com/kobol-io/u-boot/blob/helios4/include/configs/helios4.h#L59 The fragment can be applied on top of helios4_defconfig by make: make helios4_defconfig spiboot.config Signed-off-by: Josua Mayer <josua@solid-run.com>
-rw-r--r--board/kobol/helios4/spiboot.config4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/kobol/helios4/spiboot.config b/board/kobol/helios4/spiboot.config
new file mode 100644
index 0000000..5ffb7d2
--- /dev/null
+++ b/board/kobol/helios4/spiboot.config
@@ -0,0 +1,4 @@
+CONFIG_MVEBU_SPL_BOOT_DEVICE_SPI=y
+# CONFIG_MVEBU_SPL_BOOT_DEVICE_MMC is not set
+CONFIG_ENV_OFFSET=0x100000
+CONFIG_ENV_SECT_SIZE=0x10000