x86: go back to integers for ram/rom size

This cause problems with some configurations using hex.

Change-Id: I680c40d46e1fdf3da714f6412c8dda0e1ebb44f9
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-11-21 23:15:45 -05:00
commit 226404c4bf
2 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ source "kernel/Kconfig"
menu "X86 Platform Configuration options"
config RAM_SIZE
hex "Amount of RAM given to the kernel (in kB)"
int "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
hex "Amount of ROM given to the kernel (in kB)" if XIP
int "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

View file

@ -31,10 +31,10 @@ config PHYS_RAM_ADDR
default 0x00400000
config RAM_SIZE
default 0x8000
default 32768
config ROM_SIZE
default 0x400 if XIP
default 1024 if XIP
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 25000000 if HPET_TIMER