summaryrefslogtreecommitdiffstats
path: root/include/configs
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2015-01-31 22:55:38 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2015-02-25 07:59:50 +0100
commit9608e7de6ac13626e8a2809b0350add57c1343ac (patch)
tree2ba3415bbcac8a8cd39c7d6056c7d347a3bbda4d /include/configs
parentc1b0fad9b655e0251c686cd129eb2f933fcc6b3a (diff)
downloadtalos-obmc-uboot-9608e7de6ac13626e8a2809b0350add57c1343ac.tar.gz
talos-obmc-uboot-9608e7de6ac13626e8a2809b0350add57c1343ac.zip
edminiv2: switch to SPL
ED Mini V2 is based on Orion 5x which boots at fixed address 0xFFFF0000 in NOR Flash. Place SPL there, and switch U-Boot from .bin to .img format, stored in NOR Flash at 0xFFF90000. Note: this patch was tested on HW and works, i.e. it boots U-Boot properly, but SPL console output currently does not appear, due to GD being trashed by arch/arm/lib/spl.c. This trashing is soon to be removed, and then ED Mini V2 SPL console output will become visible. Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/edminiv2.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h
index 47da4a9195..ee5f76b9ec 100644
--- a/include/configs/edminiv2.h
+++ b/include/configs/edminiv2.h
@@ -13,10 +13,31 @@
#define _CONFIG_EDMINIV2_H
/* general settings */
-#define CONFIG_SYS_TEXT_BASE 0xfff90000
#define CONFIG_SYS_GENERIC_BOARD
/*
+ * SPL
+ */
+
+#define CONFIG_SPL_FRAMEWORK
+#define CONFIG_SPL_LIBGENERIC_SUPPORT
+#define CONFIG_SPL_LIBCOMMON_SUPPORT
+#define CONFIG_SPL_SERIAL_SUPPORT
+#define CONFIG_SPL_NOR_SUPPORT
+#define CONFIG_SPL_TEXT_BASE 0xffff0000
+#define CONFIG_SPL_MAX_SIZE 0x0000fff0
+#define CONFIG_SPL_STACK 0x00020000
+#define CONFIG_SPL_BSS_START_ADDR 0x00020000
+#define CONFIG_SPL_BSS_MAX_SIZE 0x0001ffff
+#define CONFIG_SYS_SPL_MALLOC_START 0x00040000
+#define CONFIG_SYS_SPL_MALLOC_SIZE 0x0001ffff
+#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/orion5x/u-boot-spl.lds"
+#define CONFIG_SPL_BOARD_INIT
+#define CONFIG_SYS_UBOOT_BASE 0xfff90000
+#define CONFIG_SYS_UBOOT_START 0x00800000
+#define CONFIG_SYS_TEXT_BASE 0x00800000
+
+/*
* Version number information
*/
OpenPOWER on IntegriCloud