From 76d82187c6cccbcd8d514015c3b283f05ee8ac5c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 21 Jul 2009 22:17:36 -0400 Subject: Blackfin: tweak embedded LDR env config option Use the common config option for extracting the environment for embedding into LDR files and clarify the LDR-specific option. Signed-off-by: Mike Frysinger --- include/configs/tcm-bf537.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/configs/tcm-bf537.h') diff --git a/include/configs/tcm-bf537.h b/include/configs/tcm-bf537.h index 9794e1b..9615ced 100644 --- a/include/configs/tcm-bf537.h +++ b/include/configs/tcm-bf537.h @@ -93,7 +93,7 @@ #if (CONFIG_BFIN_BOOT_MODE == BFIN_BOOT_BYPASS) #define ENV_IS_EMBEDDED #else -#define ENV_IS_EMBEDDED_CUSTOM +#define CONFIG_ENV_IS_EMBEDDED_IN_LDR #endif #ifdef ENV_IS_EMBEDDED /* WARNING - the following is hand-optimized to fit within -- cgit v1.1 From fd04a05b89d848c7841d8512751b8cce8b791e69 Mon Sep 17 00:00:00 2001 From: Harald Krapfenbauer Date: Wed, 14 Oct 2009 08:37:32 -0400 Subject: 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 Signed-off-by: Mike Frysinger --- include/configs/tcm-bf537.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/configs/tcm-bf537.h') diff --git a/include/configs/tcm-bf537.h b/include/configs/tcm-bf537.h index 9615ced..5a5fbdd 100644 --- a/include/configs/tcm-bf537.h +++ b/include/configs/tcm-bf537.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_115 | CLKBUFOE | GAIN_20 | FREQ_1000) + /* * Memory Settings @@ -128,6 +131,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 280000;" \ + "bootm 0x1000000\0" /* -- cgit v1.1