summaryrefslogtreecommitdiffstats
path: root/include/configs/bfin_adi_common.h
diff options
context:
space:
mode:
authorHarald Krapfenbauer <Harald.Krapfenbauer@bluetechnix.at>2009-10-14 08:37:32 -0400
committerMike Frysinger <vapier@gentoo.org>2010-01-17 09:17:26 -0500
commitfd04a05b89d848c7841d8512751b8cce8b791e69 (patch)
tree89a99f32167f5e6d953425110cfe2af6ee2960eb /include/configs/bfin_adi_common.h
parent76d82187c6cccbcd8d514015c3b283f05ee8ac5c (diff)
downloadblackbird-obmc-uboot-fd04a05b89d848c7841d8512751b8cce8b791e69.tar.gz
blackbird-obmc-uboot-fd04a05b89d848c7841d8512751b8cce8b791e69.zip
Blackfin: update tiny board settings (voltage/default env)
The tinyboards like to run at a little lower voltage than the default, and they prefer to boot over the network. For the latter, extend the common code a little to make this easier. Also fix the cm-bf527 env sector size while we're in here to reflect the flash that is actually in use. Signed-off-by: Harald Krapfenbauer <Harald.Krapfenbauer@bluetechnix.at> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/configs/bfin_adi_common.h')
-rw-r--r--include/configs/bfin_adi_common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h
index 0fbd8f4980..3fc0fa0be3 100644
--- a/include/configs/bfin_adi_common.h
+++ b/include/configs/bfin_adi_common.h
@@ -127,6 +127,9 @@
#ifndef CONFIG_BOOTARGS_ROOT
# define CONFIG_BOOTARGS_ROOT "/dev/mtdblock0 rw"
#endif
+#ifndef FLASHBOOT_ENV_SETTINGS
+# define FLASHBOOT_ENV_SETTINGS "flashboot=bootm 0x20100000\0"
+#endif
#define CONFIG_BOOTARGS \
"root=" CONFIG_BOOTARGS_ROOT " " \
"clkin_hz=" MK_STR(CONFIG_CLKIN_HZ) " " \
@@ -211,7 +214,7 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
NAND_ENV_SETTINGS \
NETWORK_ENV_SETTINGS \
- "flashboot=bootm 0x20100000\0"
+ FLASHBOOT_ENV_SETTINGS
/*
* Network Settings
OpenPOWER on IntegriCloud