summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/Kconfig
diff options
context:
space:
mode:
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>2008-07-23 09:49:06 +0200
committerPaul Mundt <lethal@linux-sh.org>2008-07-28 11:16:41 +0200
commit82cb1f6fb3f69518eaa4ab9c0fa7eabc253ad26f (patch)
tree166e9fc5e66972539a200488045ff093ab9b80a8 /arch/sh/mm/Kconfig
parentsh_keysc: remove request_mem_region() and release_mem_region() (diff)
downloadlinux-82cb1f6fb3f69518eaa4ab9c0fa7eabc253ad26f.tar.xz
linux-82cb1f6fb3f69518eaa4ab9c0fa7eabc253ad26f.zip
sh: fix uImage Entry Point
fix the problem that cannot boot using uImage when PAGE_SIZE is 8kbyte or 64kbyte. Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/Kconfig')
-rw-r--r--arch/sh/mm/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index 29d8e3c58b34..56d0a7daa34b 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -170,6 +170,14 @@ config PAGE_SIZE_64KB
endchoice
+config ENTRY_OFFSET
+ hex
+ default "0x00001000" if PAGE_SIZE_4KB
+ default "0x00002000" if PAGE_SIZE_8KB
+ default "0x00004000" if PAGE_SIZE_16KB
+ default "0x00010000" if PAGE_SIZE_64KB
+ default "0x00000000"
+
choice
prompt "HugeTLB page size"
depends on HUGETLB_PAGE && (CPU_SH4 || CPU_SH5) && MMU