summaryrefslogtreecommitdiff
path: root/include/configs/pcm051.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-08-09 11:22:13 -0400
committerTom Rini <trini@ti.com>2013-08-15 18:38:35 -0400
commit73feefdc1ab0173f5a3d12ed78f967d6c0664849 (patch)
tree3120a4965823126d11caab2245341784eac4f48b /include/configs/pcm051.h
parentdd5729a0281eb86fd4fe07701219c4f5e40b3bb9 (diff)
downloadu-boot-imx-73feefdc1ab0173f5a3d12ed78f967d6c0664849.zip
u-boot-imx-73feefdc1ab0173f5a3d12ed78f967d6c0664849.tar.gz
u-boot-imx-73feefdc1ab0173f5a3d12ed78f967d6c0664849.tar.bz2
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>
Diffstat (limited to 'include/configs/pcm051.h')
-rw-r--r--include/configs/pcm051.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/configs/pcm051.h b/include/configs/pcm051.h
index a3f8ead..d4d4d79 100644
--- a/include/configs/pcm051.h
+++ b/include/configs/pcm051.h
@@ -123,7 +123,7 @@
* memtest works on 8 MB in DRAM after skipping 32MB from
* start addr of ram disk
*/
-#define CONFIG_SYS_MEMTEST_START (PHYS_DRAM_1 + (64 * 1024 * 1024))
+#define CONFIG_SYS_MEMTEST_START (CONFIG_SYS_SDRAM_BASE + (64 << 20))
#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START \
+ (8 * 1024 * 1024))
@@ -147,10 +147,9 @@
/* Physical Memory Map */
#define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */
-#define PHYS_DRAM_1 0x80000000 /* DRAM Bank #1 */
#define CONFIG_MAX_RAM_BANK_SIZE (1024 << 19) /* 512MiB */
-#define CONFIG_SYS_SDRAM_BASE PHYS_DRAM_1
+#define CONFIG_SYS_SDRAM_BASE 0x80000000
#define CONFIG_SYS_INIT_SP_ADDR (NON_SECURE_SRAM_END - \
GENERATED_GBL_DATA_SIZE)
/* Platform/Board specific defs */