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:
parent
4a4de7069e
commit
226404c4bf
2 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@ source "kernel/Kconfig"
|
||||||
menu "X86 Platform Configuration options"
|
menu "X86 Platform Configuration options"
|
||||||
|
|
||||||
config RAM_SIZE
|
config RAM_SIZE
|
||||||
hex "Amount of RAM given to the kernel (in kB)"
|
int "Amount of RAM given to the kernel (in kB)"
|
||||||
help
|
help
|
||||||
This option specifies the amount of RAM given to the kernel. It must
|
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
|
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.
|
The default value is specified by the platform.
|
||||||
|
|
||||||
config ROM_SIZE
|
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
|
help
|
||||||
This option specifies the amount of ROM given to the kernel. It must
|
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
|
not exceed the amount available on the target. It must also be large
|
||||||
|
|
|
@ -31,10 +31,10 @@ config PHYS_RAM_ADDR
|
||||||
default 0x00400000
|
default 0x00400000
|
||||||
|
|
||||||
config RAM_SIZE
|
config RAM_SIZE
|
||||||
default 0x8000
|
default 32768
|
||||||
|
|
||||||
config ROM_SIZE
|
config ROM_SIZE
|
||||||
default 0x400 if XIP
|
default 1024 if XIP
|
||||||
|
|
||||||
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
||||||
default 25000000 if HPET_TIMER
|
default 25000000 if HPET_TIMER
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue