]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - include/configs/stemmy.h
Migrate CUSTOM_SYS_INIT_SP_ADDR to Kconfig using system-constants.h
[thirdparty/u-boot.git] / include / configs / stemmy.h
index b94ef91c2ba3f57db1ebeaebbd6d963e0b8732c1..4ad55afad8696c52a4f5010691bce0a9300ab6ed 100644 (file)
  * low-level initialization and rely on configuration provided by the Samsung
  * bootloader. New images are loaded at the same address for compatibility.
  */
-#define CONFIG_SKIP_LOWLEVEL_INIT
-#define CONFIG_SYS_INIT_SP_ADDR                CONFIG_SYS_TEXT_BASE
-#define CONFIG_SYS_LOAD_ADDR           CONFIG_SYS_TEXT_BASE
-
-#define CONFIG_SYS_MALLOC_LEN          SZ_2M
+#define CONFIG_SYS_BOOTM_LEN           SZ_64M
 
 /* FIXME: This should be loaded from device tree... */
 #define CONFIG_SYS_L2_PL310
 #define CONFIG_SYS_PL310_BASE          0xa0412000
 
-/* Generate initrd atag for downstream kernel (others are copied in stemmy.c) */
-#define CONFIG_INITRD_TAG
+/* Linux does not boot if FDT / initrd is loaded to end of RAM */
+#define BOOT_ENV \
+       "fdt_high=0x6000000\0" \
+       "initrd_high=0x6000000\0"
+
+#define CONSOLE_ENV \
+       "stdin=serial\0" \
+       "stdout=serial,vidconsole\0" \
+       "stderr=serial,vidconsole\0"
+
+#define FASTBOOT_ENV \
+       "fastboot_partition_alias_boot=Kernel\0" \
+       "fastboot_partition_alias_recovery=Kernel2\0" \
+       "fastboot_partition_alias_system=SYSTEM\0" \
+       "fastboot_partition_alias_cache=CACHEFS\0" \
+       "fastboot_partition_alias_hidden=HIDDEN\0" \
+       "fastboot_partition_alias_userdata=DATAFS\0"
+
+#define BOOTCMD_ENV \
+       "fastbootcmd=echo '*** FASTBOOT MODE ***'; fastboot usb 0\0"
+
+#define CONFIG_EXTRA_ENV_SETTINGS \
+       BOOT_ENV \
+       CONSOLE_ENV \
+       FASTBOOT_ENV \
+       BOOTCMD_ENV
 
 #endif