diff options
-rw-r--r-- | arch/sh/Kconfig | 22 | ||||
-rw-r--r-- | arch/sh/mm/Kconfig | 8 |
2 files changed, 18 insertions, 12 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 | |||
694 | menu "Boot options" | 694 | menu "Boot options" |
695 | 695 | ||
696 | config ZERO_PAGE_OFFSET | 696 | config 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 | ||
705 | config BOOT_LINK_OFFSET | 706 | config 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 | ||
720 | config 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 | |||
714 | config UBC_WAKEUP | 728 | config 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 |
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index d4079cab2d58..b900d2cd18f7 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
@@ -201,14 +201,6 @@ config PAGE_SIZE_64KB | |||
201 | 201 | ||
202 | endchoice | 202 | endchoice |
203 | 203 | ||
204 | config ENTRY_OFFSET | ||
205 | hex | ||
206 | default "0x00001000" if PAGE_SIZE_4KB | ||
207 | default "0x00002000" if PAGE_SIZE_8KB | ||
208 | default "0x00004000" if PAGE_SIZE_16KB | ||
209 | default "0x00010000" if PAGE_SIZE_64KB | ||
210 | default "0x00000000" | ||
211 | |||
212 | choice | 204 | choice |
213 | prompt "HugeTLB page size" | 205 | prompt "HugeTLB page size" |
214 | depends on HUGETLB_PAGE && (CPU_SH4 || CPU_SH5) && MMU | 206 | depends on HUGETLB_PAGE && (CPU_SH4 || CPU_SH5) && MMU |