diff options
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 100 |
1 files changed, 64 insertions, 36 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index b83b8ef84e91..5a097c46bc46 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -234,7 +234,7 @@ config MEM_MT48LC16M16A2TG_75 | |||
234 | bool | 234 | bool |
235 | depends on (BFIN533_EZKIT || BFIN561_EZKIT \ | 235 | depends on (BFIN533_EZKIT || BFIN561_EZKIT \ |
236 | || BFIN533_BLUETECHNIX_CM || BFIN537_BLUETECHNIX_CM \ | 236 | || BFIN533_BLUETECHNIX_CM || BFIN537_BLUETECHNIX_CM \ |
237 | || H8606_HVSISTEMAS) | 237 | || H8606_HVSISTEMAS || BFIN527_BLUETECHNIX_CM) |
238 | default y | 238 | default y |
239 | 239 | ||
240 | config MEM_MT48LC32M8A2_75 | 240 | config MEM_MT48LC32M8A2_75 |
@@ -310,25 +310,6 @@ config BFIN_KERNEL_CLOCK | |||
310 | are also not changed, and the Bootloader does 100% of the hardware | 310 | are also not changed, and the Bootloader does 100% of the hardware |
311 | configuration. | 311 | configuration. |
312 | 312 | ||
313 | config MEM_SIZE | ||
314 | int "SDRAM Memory Size in MBytes" | ||
315 | depends on BFIN_KERNEL_CLOCK | ||
316 | default 64 | ||
317 | |||
318 | config MEM_ADD_WIDTH | ||
319 | int "Memory Address Width" | ||
320 | depends on BFIN_KERNEL_CLOCK | ||
321 | depends on (!BF54x) | ||
322 | range 8 11 | ||
323 | default 9 if BFIN533_EZKIT | ||
324 | default 9 if BFIN561_EZKIT | ||
325 | default 9 if H8606_HVSISTEMAS | ||
326 | default 10 if BFIN527_EZKIT | ||
327 | default 10 if BFIN537_STAMP | ||
328 | default 11 if BFIN533_STAMP | ||
329 | default 10 if PNAV10 | ||
330 | default 10 if BFIN532_IP0X | ||
331 | |||
332 | config PLL_BYPASS | 313 | config PLL_BYPASS |
333 | bool "Bypass PLL" | 314 | bool "Bypass PLL" |
334 | depends on BFIN_KERNEL_CLOCK | 315 | depends on BFIN_KERNEL_CLOCK |
@@ -349,8 +330,7 @@ config VCO_MULT | |||
349 | default "45" if BFIN533_STAMP | 330 | default "45" if BFIN533_STAMP |
350 | default "20" if (BFIN537_STAMP || BFIN527_EZKIT || BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM) | 331 | default "20" if (BFIN537_STAMP || BFIN527_EZKIT || BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM) |
351 | default "22" if BFIN533_BLUETECHNIX_CM | 332 | default "22" if BFIN533_BLUETECHNIX_CM |
352 | default "20" if BFIN537_BLUETECHNIX_CM | 333 | default "20" if (BFIN537_BLUETECHNIX_CM || BFIN527_BLUETECHNIX_CM || BFIN561_BLUETECHNIX_CM) |
353 | default "20" if BFIN561_BLUETECHNIX_CM | ||
354 | default "20" if BFIN561_EZKIT | 334 | default "20" if BFIN561_EZKIT |
355 | default "16" if H8606_HVSISTEMAS | 335 | default "16" if H8606_HVSISTEMAS |
356 | help | 336 | help |
@@ -390,7 +370,7 @@ config SCLK_DIV | |||
390 | 370 | ||
391 | config MAX_MEM_SIZE | 371 | config MAX_MEM_SIZE |
392 | int "Max SDRAM Memory Size in MBytes" | 372 | int "Max SDRAM Memory Size in MBytes" |
393 | depends on !BFIN_KERNEL_CLOCK && !MPU | 373 | depends on !MPU |
394 | default 512 | 374 | default 512 |
395 | help | 375 | help |
396 | This is the max memory size that the kernel will create CPLB | 376 | This is the max memory size that the kernel will create CPLB |
@@ -748,14 +728,6 @@ config BFIN_WT | |||
748 | 728 | ||
749 | endchoice | 729 | endchoice |
750 | 730 | ||
751 | config L1_MAX_PIECE | ||
752 | int "Set the max L1 SRAM pieces" | ||
753 | default 16 | ||
754 | help | ||
755 | Set the max memory pieces for the L1 SRAM allocation algorithm. | ||
756 | Min value is 16. Max value is 1024. | ||
757 | |||
758 | |||
759 | config MPU | 731 | config MPU |
760 | bool "Enable the memory protection unit (EXPERIMENTAL)" | 732 | bool "Enable the memory protection unit (EXPERIMENTAL)" |
761 | default n | 733 | default n |
@@ -899,7 +871,7 @@ config ARCH_SUSPEND_POSSIBLE | |||
899 | depends on !SMP | 871 | depends on !SMP |
900 | 872 | ||
901 | choice | 873 | choice |
902 | prompt "Default Power Saving Mode" | 874 | prompt "Standby Power Saving Mode" |
903 | depends on PM | 875 | depends on PM |
904 | default PM_BFIN_SLEEP_DEEPER | 876 | default PM_BFIN_SLEEP_DEEPER |
905 | config PM_BFIN_SLEEP_DEEPER | 877 | config PM_BFIN_SLEEP_DEEPER |
@@ -918,6 +890,8 @@ config PM_BFIN_SLEEP_DEEPER | |||
918 | normal during Sleep Deeper, due to the reduced SCLK frequency. | 890 | normal during Sleep Deeper, due to the reduced SCLK frequency. |
919 | When in the sleep mode, system DMA access to L1 memory is not supported. | 891 | When in the sleep mode, system DMA access to L1 memory is not supported. |
920 | 892 | ||
893 | If unsure, select "Sleep Deeper". | ||
894 | |||
921 | config PM_BFIN_SLEEP | 895 | config PM_BFIN_SLEEP |
922 | bool "Sleep" | 896 | bool "Sleep" |
923 | help | 897 | help |
@@ -925,15 +899,17 @@ config PM_BFIN_SLEEP | |||
925 | dissipation by disabling the clock to the processor core (CCLK). | 899 | dissipation by disabling the clock to the processor core (CCLK). |
926 | The PLL and system clock (SCLK), however, continue to operate in | 900 | The PLL and system clock (SCLK), however, continue to operate in |
927 | this mode. Typically an external event or RTC activity will wake | 901 | this mode. Typically an external event or RTC activity will wake |
928 | up the processor. When in the sleep mode, | 902 | up the processor. When in the sleep mode, system DMA access to L1 |
929 | system DMA access to L1 memory is not supported. | 903 | memory is not supported. |
904 | |||
905 | If unsure, select "Sleep Deeper". | ||
930 | endchoice | 906 | endchoice |
931 | 907 | ||
932 | config PM_WAKEUP_BY_GPIO | 908 | config PM_WAKEUP_BY_GPIO |
933 | bool "Cause Wakeup Event by GPIO" | 909 | bool "Allow Wakeup from Standby by GPIO" |
934 | 910 | ||
935 | config PM_WAKEUP_GPIO_NUMBER | 911 | config PM_WAKEUP_GPIO_NUMBER |
936 | int "Wakeup GPIO number" | 912 | int "GPIO number" |
937 | range 0 47 | 913 | range 0 47 |
938 | depends on PM_WAKEUP_BY_GPIO | 914 | depends on PM_WAKEUP_BY_GPIO |
939 | default 2 if BFIN537_STAMP | 915 | default 2 if BFIN537_STAMP |
@@ -954,6 +930,58 @@ config PM_WAKEUP_GPIO_POLAR_EDGE_B | |||
954 | bool "Both EDGE" | 930 | bool "Both EDGE" |
955 | endchoice | 931 | endchoice |
956 | 932 | ||
933 | comment "Possible Suspend Mem / Hibernate Wake-Up Sources" | ||
934 | depends on PM | ||
935 | |||
936 | config PM_BFIN_WAKE_RTC | ||
937 | bool "Allow Wake-Up from RESET and on-chip RTC" | ||
938 | depends on PM | ||
939 | default n | ||
940 | help | ||
941 | Enable RTC Wake-Up (Voltage Regulator Power-Up) | ||
942 | |||
943 | config PM_BFIN_WAKE_PH6 | ||
944 | bool "Allow Wake-Up from on-chip PHY or PH6 GP" | ||
945 | depends on PM && (BF52x || BF534 || BF536 || BF537) | ||
946 | default n | ||
947 | help | ||
948 | Enable PHY and PH6 GP Wake-Up (Voltage Regulator Power-Up) | ||
949 | |||
950 | config PM_BFIN_WAKE_CAN | ||
951 | bool "Allow Wake-Up from on-chip CAN0/1" | ||
952 | depends on PM && (BF54x || BF534 || BF536 || BF537) | ||
953 | default n | ||
954 | help | ||
955 | Enable CAN0/1 Wake-Up (Voltage Regulator Power-Up) | ||
956 | |||
957 | config PM_BFIN_WAKE_GP | ||
958 | bool "Allow Wake-Up from GPIOs" | ||
959 | depends on PM && BF54x | ||
960 | default n | ||
961 | help | ||
962 | Enable General-Purpose Wake-Up (Voltage Regulator Power-Up) | ||
963 | |||
964 | config PM_BFIN_WAKE_USB | ||
965 | bool "Allow Wake-Up from on-chip USB" | ||
966 | depends on PM && (BF54x || BF52x) | ||
967 | default n | ||
968 | help | ||
969 | Enable USB Wake-Up (Voltage Regulator Power-Up) | ||
970 | |||
971 | config PM_BFIN_WAKE_KEYPAD | ||
972 | bool "Allow Wake-Up from on-chip Keypad" | ||
973 | depends on PM && BF54x | ||
974 | default n | ||
975 | help | ||
976 | Enable Keypad Wake-Up (Voltage Regulator Power-Up) | ||
977 | |||
978 | config PM_BFIN_WAKE_ROTARY | ||
979 | bool "Allow Wake-Up from on-chip Rotary" | ||
980 | depends on PM && BF54x | ||
981 | default n | ||
982 | help | ||
983 | Enable Rotary Wake-Up (Voltage Regulator Power-Up) | ||
984 | |||
957 | endmenu | 985 | endmenu |
958 | 986 | ||
959 | menu "CPU Frequency scaling" | 987 | menu "CPU Frequency scaling" |