diff mbox

[U-Boot,02/22] x86: Drop RAMTOP Kconfig

Message ID 1419733246-5612-3-git-send-email-sjg@chromium.org
State Superseded
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Dec. 28, 2014, 2:20 a.m. UTC
We don't need this in U-Boot since we calculate it based on available memory.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 arch/x86/Kconfig | 4 ----
 1 file changed, 4 deletions(-)

Comments

Bin Meng Dec. 30, 2014, 3:05 p.m. UTC | #1
Hi Simon,

On Sun, Dec 28, 2014 at 10:20 AM, Simon Glass <sjg@chromium.org> wrote:
> We don't need this in U-Boot since we calculate it based on available memory.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  arch/x86/Kconfig | 4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 7d007bb..e992e64 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -47,10 +47,6 @@ config RAMBASE
>         hex
>         default 0x100000
>
> -config RAMTOP
> -       hex
> -       default 0x200000
> -
>  config XIP_ROM_SIZE
>         hex
>         default ROM_SIZE
> --

What about mtrr.h which is still referring to CONFIG_RAMTOP?

~/work/u-boot-x86/arch/x86$ grep -nr RAMTOP *
include/asm/mtrr.h:103:#if !defined(CONFIG_RAMTOP)
include/asm/mtrr.h:104:# error "CONFIG_RAMTOP not defined"
include/asm/mtrr.h:117:#if (CONFIG_RAMTOP & (CONFIG_RAMTOP - 1)) != 0
include/asm/mtrr.h:118:# error "CONFIG_RAMTOP must be a power of 2"
Kconfig:50:config RAMTOP

Regards,
Bin
diff mbox

Patch

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 7d007bb..e992e64 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -47,10 +47,6 @@  config RAMBASE
 	hex
 	default 0x100000
 
-config RAMTOP
-	hex
-	default 0x200000
-
 config XIP_ROM_SIZE
 	hex
 	default ROM_SIZE