summaryrefslogtreecommitdiff
path: root/board/ms7720se
diff options
context:
space:
mode:
Diffstat (limited to 'board/ms7720se')
-rw-r--r--board/ms7720se/ms7720se.c6
-rw-r--r--board/ms7720se/u-boot.lds4
2 files changed, 5 insertions, 5 deletions
diff --git a/board/ms7720se/ms7720se.c b/board/ms7720se/ms7720se.c
index af62cdf..f83c120 100644
--- a/board/ms7720se/ms7720se.c
+++ b/board/ms7720se/ms7720se.c
@@ -47,9 +47,9 @@ int dram_init(void)
{
DECLARE_GLOBAL_DATA_PTR;
- gd->bd->bi_memstart = CFG_SDRAM_BASE;
- gd->bd->bi_memsize = CFG_SDRAM_SIZE;
- printf("DRAM: %dMB\n", CFG_SDRAM_SIZE / (1024 * 1024));
+ gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
+ gd->bd->bi_memsize = CONFIG_SYS_SDRAM_SIZE;
+ printf("DRAM: %dMB\n", CONFIG_SYS_SDRAM_SIZE / (1024 * 1024));
return 0;
}
diff --git a/board/ms7720se/u-boot.lds b/board/ms7720se/u-boot.lds
index ba71a91..2156f6a 100644
--- a/board/ms7720se/u-boot.lds
+++ b/board/ms7720se/u-boot.lds
@@ -52,9 +52,9 @@ SECTIONS
{
cpu/sh3/start.o (.text)
. = ALIGN(8192);
- common/environment.o (.ppcenv)
+ common/env_embedded.o (.ppcenv)
. = ALIGN(8192);
- common/environment.o (.ppcenvr)
+ common/env_embedded.o (.ppcenvr)
. = ALIGN(8192);
*(.text)
. = ALIGN(4);