diff options
author | Harald Krapfenbauer <Harald.Krapfenbauer@bluetechnix.at> | 2009-10-14 08:37:32 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-01-17 09:17:26 -0500 |
commit | fd04a05b89d848c7841d8512751b8cce8b791e69 (patch) | |
tree | 89a99f32167f5e6d953425110cfe2af6ee2960eb /include/configs/cm-bf527.h | |
parent | 76d82187c6cccbcd8d514015c3b283f05ee8ac5c (diff) | |
download | u-boot-imx-fd04a05b89d848c7841d8512751b8cce8b791e69.zip u-boot-imx-fd04a05b89d848c7841d8512751b8cce8b791e69.tar.gz u-boot-imx-fd04a05b89d848c7841d8512751b8cce8b791e69.tar.bz2 |
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/cm-bf527.h')
-rw-r--r-- | include/configs/cm-bf527.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/configs/cm-bf527.h b/include/configs/cm-bf527.h index 3d41bd1..ad1dd12 100644 --- a/include/configs/cm-bf527.h +++ b/include/configs/cm-bf527.h @@ -38,6 +38,9 @@ /* Values can range from 1-15 */ #define CONFIG_SCLK_DIV 4 +/* Decrease core voltage */ +#define CONFIG_VR_CTL_VAL (VLEV_120 | CLKBUFOE | FREQ_1000) + /* * Memory Settings @@ -105,7 +108,7 @@ #define CONFIG_ENV_ADDR 0x20008000 #define CONFIG_ENV_OFFSET 0x8000 #define CONFIG_ENV_SIZE 0x8000 -#define CONFIG_ENV_SECT_SIZE 0x20000 +#define CONFIG_ENV_SECT_SIZE 0x8000 #define CONFIG_ENV_IS_EMBEDDED_IN_LDR @@ -125,6 +128,10 @@ #define CONFIG_MISC_INIT_R #define CONFIG_RTC_BFIN #define CONFIG_UART_CONSOLE 0 +#define CONFIG_BOOTCOMMAND "run flashboot" +#define FLASHBOOT_ENV_SETTINGS \ + "flashboot=flread 20040000 1000000 300000;" \ + "bootm 0x1000000\0" /* |