summaryrefslogtreecommitdiff
path: root/board/BuS
diff options
context:
space:
mode:
authorJens Scharsig <js_at_ng@scharsoft.de>2010-10-19 19:37:15 +0200
committerWolfgang Denk <wd@denx.de>2010-10-19 23:47:20 +0200
commitcebcf7da2106d1294c71528b8e2f3532818ef989 (patch)
treede64b699d18d00656582eb395140fe404de9e4ee /board/BuS
parent7c957c0e7427e8bc1039e39850de1fead26b3c53 (diff)
downloadu-boot-imx-cebcf7da2106d1294c71528b8e2f3532818ef989.zip
u-boot-imx-cebcf7da2106d1294c71528b8e2f3532818ef989.tar.gz
u-boot-imx-cebcf7da2106d1294c71528b8e2f3532818ef989.tar.bz2
update board EB+CPUx9K2
* update to support arm reloaction * unnecessary environment variables removed Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
Diffstat (limited to 'board/BuS')
-rw-r--r--board/BuS/eb_cpux9k2/config.mk1
-rw-r--r--board/BuS/eb_cpux9k2/cpux9k2.c7
2 files changed, 3 insertions, 5 deletions
diff --git a/board/BuS/eb_cpux9k2/config.mk b/board/BuS/eb_cpux9k2/config.mk
deleted file mode 100644
index e554a45..0000000
--- a/board/BuS/eb_cpux9k2/config.mk
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_SYS_TEXT_BASE = 0x23f00000
diff --git a/board/BuS/eb_cpux9k2/cpux9k2.c b/board/BuS/eb_cpux9k2/cpux9k2.c
index bbceaf3..fe62a0f 100644
--- a/board/BuS/eb_cpux9k2/cpux9k2.c
+++ b/board/BuS/eb_cpux9k2/cpux9k2.c
@@ -66,7 +66,7 @@ int board_init(void)
gd->bd->bi_arch_number = MACH_TYPE_EB_CPUX9K2;
/* adress of boot parameters */
- gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
+ gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
#ifdef CONFIG_STATUS_LED
status_led_set(STATUS_LED_BOOT, STATUS_LED_ON);
@@ -134,9 +134,8 @@ void reset_phy(void)
int dram_init(void)
{
- gd->bd->bi_dram[0].start = PHYS_SDRAM;
- gd->bd->bi_dram[0].size =
- get_ram_size((volatile long *) PHYS_SDRAM, PHYS_SDRAM_SIZE);
+ gd->ram_size = get_ram_size((volatile long *)CONFIG_SYS_SDRAM_BASE,
+ CONFIG_SYS_SDRAM_SIZE);
return 0;
}