summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-01 16:17:55 -0700
committerSimon Glass <sjg@chromium.org>2015-01-13 07:24:58 -0800
commit6c911c4322a295e0e5ab07c12c793d1f00670028 (patch)
treec1ae29242550b4d4f2144f19a72997e30a24cad9 /arch/x86/include/asm
parentbbd43d659c55c3fedddae1eba2a520bc8a93d3fd (diff)
downloadtalos-obmc-uboot-6c911c4322a295e0e5ab07c12c793d1f00670028.tar.gz
talos-obmc-uboot-6c911c4322a295e0e5ab07c12c793d1f00670028.zip
x86: Drop RAMTOP Kconfig
We don't need this in U-Boot since we calculate it based on available memory. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/mtrr.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/include/asm/mtrr.h b/arch/x86/include/asm/mtrr.h
index 5f05a4848f..dcc995dbb6 100644
--- a/arch/x86/include/asm/mtrr.h
+++ b/arch/x86/include/asm/mtrr.h
@@ -100,10 +100,6 @@ static inline long x86_mtrr_rom_cache_var_index(void) { return -1; }
#endif
-#if !defined(CONFIG_RAMTOP)
-# error "CONFIG_RAMTOP not defined"
-#endif
-
#if ((CONFIG_XIP_ROM_SIZE & (CONFIG_XIP_ROM_SIZE - 1)) != 0)
# error "CONFIG_XIP_ROM_SIZE is not a power of 2"
#endif
@@ -114,8 +110,4 @@ static inline long x86_mtrr_rom_cache_var_index(void) { return -1; }
#define CACHE_ROM_BASE (((1 << 20) - (CONFIG_CACHE_ROM_SIZE >> 12)) << 12)
-#if (CONFIG_RAMTOP & (CONFIG_RAMTOP - 1)) != 0
-# error "CONFIG_RAMTOP must be a power of 2"
-#endif
-
#endif
OpenPOWER on IntegriCloud