From 73feefdc1ab0173f5a3d12ed78f967d6c0664849 Mon Sep 17 00:00:00 2001 From: Tom Rini <trini@ti.com> Date: Fri, 9 Aug 2013 11:22:13 -0400 Subject: am33xx: Stop using PHYS_DRAM_1 define We defined PHYS_DRAM_1 to 0x80000000 (start of DRAM) and then used this for CONFIG_SYS_SDRAM_BASE. But then we kept on referencing PHYS_DRAM_1 in other places. Change to directly setting CONFIG_SYS_DRAM_BASE and then using that name in code. Signed-off-by: Tom Rini <trini@ti.com> --- board/phytec/pcm051/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/phytec') diff --git a/board/phytec/pcm051/board.c b/board/phytec/pcm051/board.c index f3bad76..f53c5bb 100644 --- a/board/phytec/pcm051/board.c +++ b/board/phytec/pcm051/board.c @@ -112,7 +112,7 @@ int board_init(void) { i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); - gd->bd->bi_boot_params = PHYS_DRAM_1 + 0x100; + gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; return 0; } -- cgit v1.1