aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-05-09 12:23:25 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-05-09 12:23:25 -0400
commitb412a49af970e703124fa3259bf24165c0c74024 (patch)
treefe0d7a8126e2c67494af7009b7edd2e82726dfd2 /arch/sh/Kconfig
parent1eca133cc9f978a8c44788fc5b2fe54219f9425c (diff)
sh: Consolidate the boot link and entry offset definitions.
Consolidate these in a single place in the Kconfig menus. At the same time, disable their interactivity and set them according to the board config defaults. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig22
1 files changed, 18 insertions, 4 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index bca6a2a0759c..a9dee13ddd8b 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -694,23 +694,37 @@ endmenu
694menu "Boot options" 694menu "Boot options"
695 695
696config ZERO_PAGE_OFFSET 696config ZERO_PAGE_OFFSET
697 hex "Zero page offset" 697 hex
698 default "0x00004000" if SH_SH03 698 default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \
699 default "0x00010000" if PAGE_SIZE_64KB 699 SH_7751_SOLUTION_ENGINE
700 default "0x00004000" if PAGE_SIZE_16KB || SH_SH03
700 default "0x00002000" if PAGE_SIZE_8KB 701 default "0x00002000" if PAGE_SIZE_8KB
701 default "0x00001000" 702 default "0x00001000"
702 help 703 help
703 This sets the default offset of zero page. 704 This sets the default offset of zero page.
704 705
705config BOOT_LINK_OFFSET 706config BOOT_LINK_OFFSET
706 hex "Link address offset for booting" 707 hex
708 default "0x00210000" if SH_SHMIN
707 default "0x00400000" if SH_CAYMAN 709 default "0x00400000" if SH_CAYMAN
710 default "0x00810000" if SH_7780_SOLUTION_ENGINE
711 default "0x009e0000" if SH_TITAN
712 default "0x01800000" if SH_SDK7780
713 default "0x02000000" if SH_EDOSK7760
708 default "0x00800000" 714 default "0x00800000"
709 help 715 help
710 This option allows you to set the link address offset of the zImage. 716 This option allows you to set the link address offset of the zImage.
711 This can be useful if you are on a board which has a small amount of 717 This can be useful if you are on a board which has a small amount of
712 memory. 718 memory.
713 719
720config ENTRY_OFFSET
721 hex
722 default "0x00001000" if PAGE_SIZE_4KB
723 default "0x00002000" if PAGE_SIZE_8KB
724 default "0x00004000" if PAGE_SIZE_16KB
725 default "0x00010000" if PAGE_SIZE_64KB
726 default "0x00000000"
727
714config UBC_WAKEUP 728config UBC_WAKEUP
715 bool "Wakeup UBC on startup" 729 bool "Wakeup UBC on startup"
716 depends on CPU_SH4 && !CPU_SH4A 730 depends on CPU_SH4 && !CPU_SH4A