diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index cbae4f2a34d..411bb8a5432 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -28,7 +28,7 @@ source "kernel/Kconfig" menu "X86 Platform Configuration options" config RAM_SIZE - int "Amount of RAM given to the kernel (in kB)" + hex "Amount of RAM given to the kernel (in kB)" help This option specifies the amount of RAM given to the kernel. It must not exceed the amount available on the target. When running an XIP @@ -39,7 +39,7 @@ config RAM_SIZE The default value is specified by the platform. config ROM_SIZE - int "Amount of ROM given to the kernel (in kB)" if XIP + hex "Amount of ROM given to the kernel (in kB)" if XIP help This option specifies the amount of ROM given to the kernel. It must not exceed the amount available on the target. It must also be large diff --git a/arch/x86/platforms/galileo/Kconfig b/arch/x86/platforms/galileo/Kconfig index db1a34377d6..5de64ad56a1 100644 --- a/arch/x86/platforms/galileo/Kconfig +++ b/arch/x86/platforms/galileo/Kconfig @@ -28,10 +28,10 @@ config PHYS_LOAD_ADDR default 0x00100000 config RAM_SIZE - default 32768 + default 0x8000 config ROM_SIZE - default 1024 if XIP + default 0x400 if XIP config SYS_CLOCK_HW_CYCLES_PER_SEC default 25000000 if HPET_TIMER