Skip to contentSkip to conversation

Blackfin: bf533-ezkit: update env location

PATCH New Mike Frysinger 1 participant 2 messages Sep 30, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Blackfin: bf533-ezkit: update env location

The u-boot image has outgrown the current space and overflowed into the env sector. So move the env to the next available sector (we've already allocated the first few sectors anyways for u-boot).

---
 include/configs/bf533-ezkit.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/configs/bf533-ezkit.h +1 -1
index f896cb0..8342ec7 100644
@@ -85,7 +85,7 @@
 #define CONFIG_SYS_MAX_FLASH_BANKS	3
 #define CONFIG_SYS_MAX_FLASH_SECT	40
 #define CONFIG_ENV_IS_IN_FLASH
-#define CONFIG_ENV_ADDR		0x20020000
+#define CONFIG_ENV_ADDR		0x20030000
 #define CONFIG_ENV_SECT_SIZE	0x10000
 #define FLASH_TOT_SECT		40
 
Signature · 1 line
1.6.5.rc2
#1 lore raw

PATCH 2/2 Blackfin: update default console= settings

The Linux kernel has changed the way it numbers serial ports, so update the default command line to match it.

---
 include/configs/bfin_adi_common.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/configs/bfin_adi_common.h +1 -1
index 00bfc6e..0b87418 100644
@@ -138,7 +138,7 @@
 		"uart" MK_STR(CONFIG_UART_CONSOLE) "," \
 		MK_STR(CONFIG_BAUDRATE) " " \
 	CONFIG_BOOTARGS_VIDEO \
-	"console=ttyBF0," MK_STR(CONFIG_BAUDRATE)
+	"console=ttyBF" MK_STR(CONFIG_UART_CONSOLE) "," MK_STR(CONFIG_BAUDRATE)
 #if defined(CONFIG_CMD_NAND)
 # define NAND_ENV_SETTINGS \
 	"nandargs=set bootargs " CONFIG_BOOTARGS "\0" \
Signature · 1 line
1.6.5.rc2