From 806d2792472436a523084775190a11e9d8315275 Mon Sep 17 00:00:00 2001 From: Lokesh Vutla Date: Tue, 30 Jul 2013 11:36:30 +0530 Subject: ARM: OMAP: Add CONFIG_OMAP_COMMON Adding a new CONFIG_OMAP_COMMON which is included by all boards that needs to build cpu/armv7/omap-common folder. Signed-off-by: Lokesh Vutla --- include/configs/pcm051.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/configs/pcm051.h') diff --git a/include/configs/pcm051.h b/include/configs/pcm051.h index 9b16c47..07af32b 100644 --- a/include/configs/pcm051.h +++ b/include/configs/pcm051.h @@ -21,6 +21,7 @@ #define CONFIG_AM33XX #define CONFIG_OMAP +#define CONFIG_OMAP_COMMON #include -- cgit v1.1 From dd5729a0281eb86fd4fe07701219c4f5e40b3bb9 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 9 Aug 2013 11:22:12 -0400 Subject: am33xx: CONFIG_DMA_COHERENT defines are unused, remove Acked-by: Dan Murphy Signed-off-by: Tom Rini --- include/configs/pcm051.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/configs/pcm051.h') diff --git a/include/configs/pcm051.h b/include/configs/pcm051.h index 07af32b..a3f8ead 100644 --- a/include/configs/pcm051.h +++ b/include/configs/pcm051.h @@ -25,9 +25,6 @@ #include -#define CONFIG_DMA_COHERENT -#define CONFIG_DMA_COHERENT_SIZE (1 << 20) - #define CONFIG_ENV_SIZE (128 << 10) /* 128 KiB */ #define CONFIG_SYS_MALLOC_LEN (1024 << 10) #define CONFIG_SYS_LONGHELP /* undef to save memory */ -- cgit v1.1 From 73feefdc1ab0173f5a3d12ed78f967d6c0664849 Mon Sep 17 00:00:00 2001 From: Tom Rini 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 --- include/configs/pcm051.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/configs/pcm051.h') 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 */ -- cgit v1.1