7a1fda68e7
1 OBS-URL: https://build.opensuse.org/request/show/256751 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=31
35 lines
993 B
Diff
35 lines
993 B
Diff
--- include/configs/snow.h.orig 2014-10-14 10:47:15.000000000 +0200
|
|
+++ include/configs/snow.h 2014-10-15 12:03:09.289092650 +0200
|
|
@@ -33,4 +33,31 @@
|
|
#define CONFIG_IDENT_STRING " for snow"
|
|
#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0"
|
|
|
|
+#undef CONFIG_BOOTCOMMAND
|
|
+#define CONFIG_BOOTCOMMAND \
|
|
+ "if mmc rescan ${mmcdev}; then " \
|
|
+ "echo SD/MMC found on device ${mmcdev};" \
|
|
+ "if run loadbootenv; then " \
|
|
+ "echo Loaded environment from ${bootenv};" \
|
|
+ "run importbootenv;" \
|
|
+ "fi;" \
|
|
+ "if test -n $uenvcmd; then " \
|
|
+ "echo Running uenvcmd ...;" \
|
|
+ "run uenvcmd;" \
|
|
+ "fi;" \
|
|
+ "if run loadbootscript; then " \
|
|
+ "run bootscript; " \
|
|
+ "fi; " \
|
|
+ "fi;"
|
|
+
|
|
+#define CONFIG_PRE_CONSOLE_BUFFER
|
|
+#define CONFIG_PRE_CON_BUF_SZ 0x100000
|
|
+#define CONFIG_PRE_CON_BUF_ADDR 0x41f00000
|
|
+
|
|
+/*#define DEBUG*/
|
|
+#undef CONFIG_SPL
|
|
+#undef CONFIG_SYS_THUMB_BUILD
|
|
+#undef CONFIG_SYS_ARM_CACHE_WRITETHROUGH
|
|
+#undef CONFIG_SILENT_CONSOLE
|
|
+
|
|
#endif /* __CONFIG_SNOW_H */
|