Commit a2c1d075 authored by Simon Horman's avatar Simon Horman

ARM: mach-shmobile: fix memory size for kota2_defconfig

The CONFIG_MEMORY_SIZE value is interpreted as a 32 bit integer, which
makes sense on a system without PAE. It appears that a trailing 0 was
appended to the value and after some testing it appears that 0x1e000000 is
the correct value.

Without this patch, building kota2_defconfig results in:

/home/arnd/linux-arm/arch/arm/kernel/setup.c:790:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Reported-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent a19c3b4c
...@@ -21,7 +21,7 @@ CONFIG_ARCH_SHMOBILE=y ...@@ -21,7 +21,7 @@ CONFIG_ARCH_SHMOBILE=y
CONFIG_KEYBOARD_GPIO_POLLED=y CONFIG_KEYBOARD_GPIO_POLLED=y
CONFIG_ARCH_SH73A0=y CONFIG_ARCH_SH73A0=y
CONFIG_MACH_KOTA2=y CONFIG_MACH_KOTA2=y
CONFIG_MEMORY_SIZE=0x1e0000000 CONFIG_MEMORY_SIZE=0x1e000000
# CONFIG_SH_TIMER_TMU is not set # CONFIG_SH_TIMER_TMU is not set
# CONFIG_SWP_EMULATE is not set # CONFIG_SWP_EMULATE is not set
CONFIG_CPU_BPREDICT_DISABLE=y CONFIG_CPU_BPREDICT_DISABLE=y
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment