diff options
70 files changed, 5090 insertions, 1552 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" |
diff --git a/arch/blackfin/Kconfig.debug b/arch/blackfin/Kconfig.debug index c61bdebb9974..c468624d55f0 100644 --- a/arch/blackfin/Kconfig.debug +++ b/arch/blackfin/Kconfig.debug | |||
| @@ -154,13 +154,6 @@ config EARLY_PRINTK | |||
| 154 | all of this lives in the init section and is thrown away after the | 154 | all of this lives in the init section and is thrown away after the |
| 155 | kernel boots completely. | 155 | kernel boots completely. |
| 156 | 156 | ||
| 157 | config DUAL_CORE_TEST_MODULE | ||
| 158 | tristate "Dual Core Test Module" | ||
| 159 | depends on (BF561) | ||
| 160 | default n | ||
| 161 | help | ||
| 162 | Say Y here to build-in dual core test module for dual core test. | ||
| 163 | |||
| 164 | config CPLB_INFO | 157 | config CPLB_INFO |
| 165 | bool "Display the CPLB information" | 158 | bool "Display the CPLB information" |
| 166 | help | 159 | help |
diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile index 3cbe16caad4b..9564731ad3a8 100644 --- a/arch/blackfin/Makefile +++ b/arch/blackfin/Makefile | |||
| @@ -6,8 +6,9 @@ | |||
| 6 | # for more details. | 6 | # for more details. |
| 7 | # | 7 | # |
| 8 | 8 | ||
| 9 | 9 | ifeq ($(CROSS_COMPILE),) | |
| 10 | CROSS_COMPILE ?= bfin-uclinux- | 10 | CROSS_COMPILE := bfin-uclinux- |
| 11 | endif | ||
| 11 | LDFLAGS_vmlinux := -X | 12 | LDFLAGS_vmlinux := -X |
| 12 | OBJCOPYFLAGS := -O binary -R .note -R .comment -S | 13 | OBJCOPYFLAGS := -O binary -R .note -R .comment -S |
| 13 | GZFLAGS := -9 | 14 | GZFLAGS := -9 |
diff --git a/arch/blackfin/configs/BF527-EZKIT_defconfig b/arch/blackfin/configs/BF527-EZKIT_defconfig index 5e6fb9d8e50f..66854a83c0de 100644 --- a/arch/blackfin/configs/BF527-EZKIT_defconfig +++ b/arch/blackfin/configs/BF527-EZKIT_defconfig | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.24.7 | 3 | # Linux kernel version: 2.6.24.7 |
| 4 | # Fri May 16 10:02:29 2008 | ||
| 5 | # | 4 | # |
| 6 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
| 7 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
| @@ -290,7 +289,7 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 | |||
| 290 | # CONFIG_RESOURCES_64BIT is not set | 289 | # CONFIG_RESOURCES_64BIT is not set |
| 291 | CONFIG_ZONE_DMA_FLAG=1 | 290 | CONFIG_ZONE_DMA_FLAG=1 |
| 292 | CONFIG_VIRT_TO_BUS=y | 291 | CONFIG_VIRT_TO_BUS=y |
| 293 | # CONFIG_BFIN_GPTIMERS is not set | 292 | CONFIG_BFIN_GPTIMERS=y |
| 294 | CONFIG_BFIN_DMA_5XX=y | 293 | CONFIG_BFIN_DMA_5XX=y |
| 295 | # CONFIG_DMA_UNCACHED_4M is not set | 294 | # CONFIG_DMA_UNCACHED_4M is not set |
| 296 | # CONFIG_DMA_UNCACHED_2M is not set | 295 | # CONFIG_DMA_UNCACHED_2M is not set |
| @@ -430,7 +429,58 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 430 | # | 429 | # |
| 431 | # CONFIG_NET_PKTGEN is not set | 430 | # CONFIG_NET_PKTGEN is not set |
| 432 | # CONFIG_HAMRADIO is not set | 431 | # CONFIG_HAMRADIO is not set |
| 433 | # CONFIG_IRDA is not set | 432 | CONFIG_IRDA=m |
| 433 | |||
| 434 | # | ||
| 435 | # IrDA protocols | ||
| 436 | # | ||
| 437 | CONFIG_IRLAN=m | ||
| 438 | CONFIG_IRCOMM=m | ||
| 439 | # CONFIG_IRDA_ULTRA is not set | ||
| 440 | |||
| 441 | # | ||
| 442 | # IrDA options | ||
| 443 | # | ||
| 444 | # CONFIG_IRDA_CACHE_LAST_LSAP is not set | ||
| 445 | # CONFIG_IRDA_FAST_RR is not set | ||
| 446 | # CONFIG_IRDA_DEBUG is not set | ||
| 447 | |||
| 448 | # | ||
| 449 | # Infrared-port device drivers | ||
| 450 | # | ||
| 451 | |||
| 452 | # | ||
| 453 | # SIR device drivers | ||
| 454 | # | ||
| 455 | CONFIG_IRTTY_SIR=m | ||
| 456 | CONFIG_BFIN_SIR=m | ||
| 457 | CONFIG_BFIN_SIR0=y | ||
| 458 | CONFIG_SIR_BFIN_DMA=y | ||
| 459 | # CONFIG_SIR_BFIN_PIO is not set | ||
| 460 | |||
| 461 | # | ||
| 462 | # Dongle support | ||
| 463 | # | ||
| 464 | # CONFIG_DONGLE is not set | ||
| 465 | # CONFIG_KINGSUN_DONGLE is not set | ||
| 466 | # CONFIG_KSDAZZLE_DONGLE is not set | ||
| 467 | # CONFIG_KS959_DONGLE is not set | ||
| 468 | |||
| 469 | # | ||
| 470 | # Old SIR device drivers | ||
| 471 | # | ||
| 472 | # CONFIG_IRPORT_SIR is not set | ||
| 473 | |||
| 474 | # | ||
| 475 | # Old Serial dongle support | ||
| 476 | # | ||
| 477 | |||
| 478 | # | ||
| 479 | # FIR device drivers | ||
| 480 | # | ||
| 481 | # CONFIG_USB_IRDA is not set | ||
| 482 | # CONFIG_SIGMATEL_FIR is not set | ||
| 483 | # CONFIG_MCS_FIR is not set | ||
| 434 | # CONFIG_BT is not set | 484 | # CONFIG_BT is not set |
| 435 | # CONFIG_AF_RXRPC is not set | 485 | # CONFIG_AF_RXRPC is not set |
| 436 | 486 | ||
| @@ -689,8 +739,11 @@ CONFIG_BFIN_OTP=y | |||
| 689 | # CONFIG_BFIN_SPORT is not set | 739 | # CONFIG_BFIN_SPORT is not set |
| 690 | # CONFIG_BFIN_TIMER_LATENCY is not set | 740 | # CONFIG_BFIN_TIMER_LATENCY is not set |
| 691 | # CONFIG_TWI_LCD is not set | 741 | # CONFIG_TWI_LCD is not set |
| 692 | # CONFIG_SIMPLE_GPIO is not set | 742 | CONFIG_SIMPLE_GPIO=m |
| 693 | # CONFIG_VT is not set | 743 | CONFIG_VT=y |
| 744 | CONFIG_VT_CONSOLE=y | ||
| 745 | CONFIG_HW_CONSOLE=y | ||
| 746 | # CONFIG_VT_HW_CONSOLE_BINDING is not set | ||
| 694 | # CONFIG_SERIAL_NONSTANDARD is not set | 747 | # CONFIG_SERIAL_NONSTANDARD is not set |
| 695 | 748 | ||
| 696 | # | 749 | # |
| @@ -872,8 +925,36 @@ CONFIG_SSB_POSSIBLE=y | |||
| 872 | # | 925 | # |
| 873 | # CONFIG_VGASTATE is not set | 926 | # CONFIG_VGASTATE is not set |
| 874 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | 927 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set |
| 875 | # CONFIG_FB is not set | 928 | CONFIG_FB=y |
| 876 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | 929 | # CONFIG_FIRMWARE_EDID is not set |
| 930 | # CONFIG_FB_DDC is not set | ||
| 931 | CONFIG_FB_CFB_FILLRECT=y | ||
| 932 | CONFIG_FB_CFB_COPYAREA=y | ||
| 933 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
| 934 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set | ||
| 935 | # CONFIG_FB_SYS_FILLRECT is not set | ||
| 936 | # CONFIG_FB_SYS_COPYAREA is not set | ||
| 937 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
| 938 | # CONFIG_FB_SYS_FOPS is not set | ||
| 939 | CONFIG_FB_DEFERRED_IO=y | ||
| 940 | # CONFIG_FB_SVGALIB is not set | ||
| 941 | # CONFIG_FB_MACMODES is not set | ||
| 942 | # CONFIG_FB_BACKLIGHT is not set | ||
| 943 | # CONFIG_FB_MODE_HELPERS is not set | ||
| 944 | # CONFIG_FB_TILEBLITTING is not set | ||
| 945 | |||
| 946 | # | ||
| 947 | # Frame buffer hardware drivers | ||
| 948 | # | ||
| 949 | CONFIG_FB_BFIN_T350MCQB=y | ||
| 950 | # CONFIG_FB_BFIN_7393 is not set | ||
| 951 | # CONFIG_FB_S1D13XXX is not set | ||
| 952 | # CONFIG_FB_VIRTUAL is not set | ||
| 953 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
| 954 | CONFIG_LCD_CLASS_DEVICE=m | ||
| 955 | CONFIG_LCD_LTV350QV=m | ||
| 956 | CONFIG_BACKLIGHT_CLASS_DEVICE=m | ||
| 957 | # CONFIG_BACKLIGHT_CORGI is not set | ||
| 877 | 958 | ||
| 878 | # | 959 | # |
| 879 | # Display device support | 960 | # Display device support |
| @@ -881,9 +962,99 @@ CONFIG_SSB_POSSIBLE=y | |||
| 881 | # CONFIG_DISPLAY_SUPPORT is not set | 962 | # CONFIG_DISPLAY_SUPPORT is not set |
| 882 | 963 | ||
| 883 | # | 964 | # |
| 965 | # Console display driver support | ||
| 966 | # | ||
| 967 | CONFIG_DUMMY_CONSOLE=y | ||
| 968 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
| 969 | # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set | ||
| 970 | # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set | ||
| 971 | # CONFIG_FONTS is not set | ||
| 972 | CONFIG_FONT_8x8=y | ||
| 973 | CONFIG_FONT_8x16=y | ||
| 974 | CONFIG_LOGO=y | ||
| 975 | # CONFIG_LOGO_LINUX_MONO is not set | ||
| 976 | # CONFIG_LOGO_LINUX_VGA16 is not set | ||
| 977 | # CONFIG_LOGO_LINUX_CLUT224 is not set | ||
| 978 | # CONFIG_LOGO_BLACKFIN_VGA16 is not set | ||
| 979 | CONFIG_LOGO_BLACKFIN_CLUT224=y | ||
| 980 | |||
| 981 | # | ||
| 884 | # Sound | 982 | # Sound |
| 885 | # | 983 | # |
| 886 | # CONFIG_SOUND is not set | 984 | CONFIG_SOUND=m |
| 985 | |||
| 986 | # | ||
| 987 | # Advanced Linux Sound Architecture | ||
| 988 | # | ||
| 989 | CONFIG_SND=m | ||
| 990 | CONFIG_SND_TIMER=m | ||
| 991 | CONFIG_SND_PCM=m | ||
| 992 | # CONFIG_SND_SEQUENCER is not set | ||
| 993 | # CONFIG_SND_MIXER_OSS is not set | ||
| 994 | # CONFIG_SND_PCM_OSS is not set | ||
| 995 | # CONFIG_SND_DYNAMIC_MINORS is not set | ||
| 996 | CONFIG_SND_SUPPORT_OLD_API=y | ||
| 997 | CONFIG_SND_VERBOSE_PROCFS=y | ||
| 998 | # CONFIG_SND_VERBOSE_PRINTK is not set | ||
| 999 | # CONFIG_SND_DEBUG is not set | ||
| 1000 | |||
| 1001 | # | ||
| 1002 | # Generic devices | ||
| 1003 | # | ||
| 1004 | # CONFIG_SND_DUMMY is not set | ||
| 1005 | # CONFIG_SND_MTPAV is not set | ||
| 1006 | # CONFIG_SND_SERIAL_U16550 is not set | ||
| 1007 | # CONFIG_SND_MPU401 is not set | ||
| 1008 | |||
| 1009 | # | ||
| 1010 | # SPI devices | ||
| 1011 | # | ||
| 1012 | |||
| 1013 | # | ||
| 1014 | # ALSA Blackfin devices | ||
| 1015 | # | ||
| 1016 | # CONFIG_SND_BLACKFIN_AD1836 is not set | ||
| 1017 | # CONFIG_SND_BLACKFIN_AD1836_TDM is not set | ||
| 1018 | # CONFIG_SND_BLACKFIN_AD1836_I2S is not set | ||
| 1019 | # CONFIG_SND_BLACKFIN_AD1836_MULSUB is not set | ||
| 1020 | # CONFIG_SND_BLACKFIN_AD1836_5P1 is not set | ||
| 1021 | # CONFIG_SND_BFIN_AD73311 is not set | ||
| 1022 | # CONFIG_SND_BFIN_AD73322 is not set | ||
| 1023 | |||
| 1024 | # | ||
| 1025 | # USB devices | ||
| 1026 | # | ||
| 1027 | # CONFIG_SND_USB_AUDIO is not set | ||
| 1028 | # CONFIG_SND_USB_CAIAQ is not set | ||
| 1029 | |||
| 1030 | # | ||
| 1031 | # System on Chip audio support | ||
| 1032 | # | ||
| 1033 | CONFIG_SND_SOC_AC97_BUS=y | ||
| 1034 | CONFIG_SND_SOC=m | ||
| 1035 | CONFIG_SND_BF5XX_SOC=m | ||
| 1036 | CONFIG_SND_MMAP_SUPPORT=y | ||
| 1037 | CONFIG_SND_BF5XX_SOC_I2S=m | ||
| 1038 | CONFIG_SND_BF5XX_SOC_AC97=m | ||
| 1039 | # CONFIG_SND_BF5XX_SOC_WM8750 is not set | ||
| 1040 | # CONFIG_SND_BF5XX_SOC_WM8731 is not set | ||
| 1041 | CONFIG_SND_BF5XX_SOC_SSM2602=m | ||
| 1042 | CONFIG_SND_BF5XX_SOC_BF5xx=m | ||
| 1043 | CONFIG_SND_BF5XX_SPORT_NUM=0 | ||
| 1044 | # CONFIG_SND_BF5XX_HAVE_COLD_RESET is not set | ||
| 1045 | |||
| 1046 | # | ||
| 1047 | # SoC Audio support for SuperH | ||
| 1048 | # | ||
| 1049 | CONFIG_SND_SOC_SSM2602=m | ||
| 1050 | # CONFIG_SND_SOC_SSM2602_SPI is not set | ||
| 1051 | CONFIG_SND_SOC_AD1980=m | ||
| 1052 | |||
| 1053 | # | ||
| 1054 | # Open Sound System | ||
| 1055 | # | ||
| 1056 | # CONFIG_SOUND_PRIME is not set | ||
| 1057 | CONFIG_AC97_BUS=m | ||
| 887 | CONFIG_HID_SUPPORT=y | 1058 | CONFIG_HID_SUPPORT=y |
| 888 | CONFIG_HID=y | 1059 | CONFIG_HID=y |
| 889 | # CONFIG_HID_DEBUG is not set | 1060 | # CONFIG_HID_DEBUG is not set |
diff --git a/arch/blackfin/configs/BF533-EZKIT_defconfig b/arch/blackfin/configs/BF533-EZKIT_defconfig index 8d817ba01945..6bc11db12690 100644 --- a/arch/blackfin/configs/BF533-EZKIT_defconfig +++ b/arch/blackfin/configs/BF533-EZKIT_defconfig | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.22.16 | 3 | # Linux kernel version: 2.6.24.7 |
| 4 | # | 4 | # |
| 5 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
| 6 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
| @@ -13,35 +13,34 @@ CONFIG_GENERIC_FIND_NEXT_BIT=y | |||
| 13 | CONFIG_GENERIC_HWEIGHT=y | 13 | CONFIG_GENERIC_HWEIGHT=y |
| 14 | CONFIG_GENERIC_HARDIRQS=y | 14 | CONFIG_GENERIC_HARDIRQS=y |
| 15 | CONFIG_GENERIC_IRQ_PROBE=y | 15 | CONFIG_GENERIC_IRQ_PROBE=y |
| 16 | CONFIG_GENERIC_TIME=y | ||
| 17 | CONFIG_GENERIC_GPIO=y | 16 | CONFIG_GENERIC_GPIO=y |
| 18 | CONFIG_FORCE_MAX_ZONEORDER=14 | 17 | CONFIG_FORCE_MAX_ZONEORDER=14 |
| 19 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
| 20 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 19 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
| 21 | 20 | ||
| 22 | # | 21 | # |
| 23 | # Code maturity level options | 22 | # General setup |
| 24 | # | 23 | # |
| 25 | CONFIG_EXPERIMENTAL=y | 24 | CONFIG_EXPERIMENTAL=y |
| 26 | CONFIG_BROKEN_ON_SMP=y | 25 | CONFIG_BROKEN_ON_SMP=y |
| 27 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 26 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
| 28 | |||
| 29 | # | ||
| 30 | # General setup | ||
| 31 | # | ||
| 32 | CONFIG_LOCALVERSION="" | 27 | CONFIG_LOCALVERSION="" |
| 33 | CONFIG_LOCALVERSION_AUTO=y | 28 | CONFIG_LOCALVERSION_AUTO=y |
| 34 | CONFIG_SYSVIPC=y | 29 | CONFIG_SYSVIPC=y |
| 35 | # CONFIG_IPC_NS is not set | ||
| 36 | CONFIG_SYSVIPC_SYSCTL=y | 30 | CONFIG_SYSVIPC_SYSCTL=y |
| 37 | # CONFIG_POSIX_MQUEUE is not set | 31 | # CONFIG_POSIX_MQUEUE is not set |
| 38 | # CONFIG_BSD_PROCESS_ACCT is not set | 32 | # CONFIG_BSD_PROCESS_ACCT is not set |
| 39 | # CONFIG_TASKSTATS is not set | 33 | # CONFIG_TASKSTATS is not set |
| 40 | # CONFIG_UTS_NS is not set | 34 | # CONFIG_USER_NS is not set |
| 35 | # CONFIG_PID_NS is not set | ||
| 41 | # CONFIG_AUDIT is not set | 36 | # CONFIG_AUDIT is not set |
| 42 | CONFIG_IKCONFIG=y | 37 | CONFIG_IKCONFIG=y |
| 43 | CONFIG_IKCONFIG_PROC=y | 38 | CONFIG_IKCONFIG_PROC=y |
| 44 | CONFIG_LOG_BUF_SHIFT=14 | 39 | CONFIG_LOG_BUF_SHIFT=14 |
| 40 | # CONFIG_CGROUPS is not set | ||
| 41 | CONFIG_FAIR_GROUP_SCHED=y | ||
| 42 | CONFIG_FAIR_USER_SCHED=y | ||
| 43 | # CONFIG_FAIR_CGROUP_SCHED is not set | ||
| 45 | CONFIG_SYSFS_DEPRECATED=y | 44 | CONFIG_SYSFS_DEPRECATED=y |
| 46 | # CONFIG_RELAY is not set | 45 | # CONFIG_RELAY is not set |
| 47 | CONFIG_BLK_DEV_INITRD=y | 46 | CONFIG_BLK_DEV_INITRD=y |
| @@ -64,32 +63,24 @@ CONFIG_EPOLL=y | |||
| 64 | CONFIG_SIGNALFD=y | 63 | CONFIG_SIGNALFD=y |
| 65 | CONFIG_EVENTFD=y | 64 | CONFIG_EVENTFD=y |
| 66 | CONFIG_VM_EVENT_COUNTERS=y | 65 | CONFIG_VM_EVENT_COUNTERS=y |
| 67 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | ||
| 68 | # CONFIG_NP2 is not set | ||
| 69 | CONFIG_SLAB=y | 66 | CONFIG_SLAB=y |
| 70 | # CONFIG_SLUB is not set | 67 | # CONFIG_SLUB is not set |
| 71 | # CONFIG_SLOB is not set | 68 | # CONFIG_SLOB is not set |
| 69 | CONFIG_SLABINFO=y | ||
| 72 | CONFIG_RT_MUTEXES=y | 70 | CONFIG_RT_MUTEXES=y |
| 73 | CONFIG_TINY_SHMEM=y | 71 | CONFIG_TINY_SHMEM=y |
| 74 | CONFIG_BASE_SMALL=0 | 72 | CONFIG_BASE_SMALL=0 |
| 75 | |||
| 76 | # | ||
| 77 | # Loadable module support | ||
| 78 | # | ||
| 79 | CONFIG_MODULES=y | 73 | CONFIG_MODULES=y |
| 80 | CONFIG_MODULE_UNLOAD=y | 74 | CONFIG_MODULE_UNLOAD=y |
| 81 | # CONFIG_MODULE_FORCE_UNLOAD is not set | 75 | # CONFIG_MODULE_FORCE_UNLOAD is not set |
| 82 | # CONFIG_MODVERSIONS is not set | 76 | # CONFIG_MODVERSIONS is not set |
| 83 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 77 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
| 84 | CONFIG_KMOD=y | 78 | CONFIG_KMOD=y |
| 85 | |||
| 86 | # | ||
| 87 | # Block layer | ||
| 88 | # | ||
| 89 | CONFIG_BLOCK=y | 79 | CONFIG_BLOCK=y |
| 90 | # CONFIG_LBD is not set | 80 | # CONFIG_LBD is not set |
| 91 | # CONFIG_BLK_DEV_IO_TRACE is not set | 81 | # CONFIG_BLK_DEV_IO_TRACE is not set |
| 92 | # CONFIG_LSF is not set | 82 | # CONFIG_LSF is not set |
| 83 | # CONFIG_BLK_DEV_BSG is not set | ||
| 93 | 84 | ||
| 94 | # | 85 | # |
| 95 | # IO Schedulers | 86 | # IO Schedulers |
| @@ -141,12 +132,12 @@ CONFIG_BF_REV_0_3=y | |||
| 141 | # CONFIG_BF_REV_ANY is not set | 132 | # CONFIG_BF_REV_ANY is not set |
| 142 | # CONFIG_BF_REV_NONE is not set | 133 | # CONFIG_BF_REV_NONE is not set |
| 143 | CONFIG_BF53x=y | 134 | CONFIG_BF53x=y |
| 144 | CONFIG_BFIN_SINGLE_CORE=y | ||
| 145 | CONFIG_MEM_MT48LC16M16A2TG_75=y | 135 | CONFIG_MEM_MT48LC16M16A2TG_75=y |
| 146 | CONFIG_BFIN533_EZKIT=y | 136 | CONFIG_BFIN533_EZKIT=y |
| 147 | # CONFIG_BFIN533_STAMP is not set | 137 | # CONFIG_BFIN533_STAMP is not set |
| 148 | # CONFIG_BFIN533_BLUETECHNIX_CM is not set | 138 | # CONFIG_BFIN533_BLUETECHNIX_CM is not set |
| 149 | # CONFIG_H8606_HVSISTEMAS is not set | 139 | # CONFIG_H8606_HVSISTEMAS is not set |
| 140 | # CONFIG_BFIN532_IP0X is not set | ||
| 150 | # CONFIG_GENERIC_BF533_BOARD is not set | 141 | # CONFIG_GENERIC_BF533_BOARD is not set |
| 151 | 142 | ||
| 152 | # | 143 | # |
| @@ -189,12 +180,14 @@ CONFIG_WDTIMER=13 | |||
| 189 | # Board customizations | 180 | # Board customizations |
| 190 | # | 181 | # |
| 191 | # CONFIG_CMDLINE_BOOL is not set | 182 | # CONFIG_CMDLINE_BOOL is not set |
| 183 | CONFIG_BOOT_LOAD=0x1000 | ||
| 192 | 184 | ||
| 193 | # | 185 | # |
| 194 | # Clock/PLL Setup | 186 | # Clock/PLL Setup |
| 195 | # | 187 | # |
| 196 | CONFIG_CLKIN_HZ=27000000 | 188 | CONFIG_CLKIN_HZ=27000000 |
| 197 | # CONFIG_BFIN_KERNEL_CLOCK is not set | 189 | # CONFIG_BFIN_KERNEL_CLOCK is not set |
| 190 | CONFIG_MAX_MEM_SIZE=512 | ||
| 198 | CONFIG_MAX_VCO_HZ=750000000 | 191 | CONFIG_MAX_VCO_HZ=750000000 |
| 199 | CONFIG_MIN_VCO_HZ=50000000 | 192 | CONFIG_MIN_VCO_HZ=50000000 |
| 200 | CONFIG_MAX_SCLK_HZ=133333333 | 193 | CONFIG_MAX_SCLK_HZ=133333333 |
| @@ -208,13 +201,17 @@ CONFIG_HZ_250=y | |||
| 208 | # CONFIG_HZ_300 is not set | 201 | # CONFIG_HZ_300 is not set |
| 209 | # CONFIG_HZ_1000 is not set | 202 | # CONFIG_HZ_1000 is not set |
| 210 | CONFIG_HZ=250 | 203 | CONFIG_HZ=250 |
| 204 | CONFIG_GENERIC_TIME=y | ||
| 205 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
| 206 | # CONFIG_CYCLES_CLOCKSOURCE is not set | ||
| 207 | CONFIG_TICK_ONESHOT=y | ||
| 208 | # CONFIG_NO_HZ is not set | ||
| 209 | CONFIG_HIGH_RES_TIMERS=y | ||
| 210 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
| 211 | 211 | ||
| 212 | # | 212 | # |
| 213 | # Memory Setup | 213 | # Misc |
| 214 | # | 214 | # |
| 215 | CONFIG_MAX_MEM_SIZE=512 | ||
| 216 | CONFIG_MEM_ADD_WIDTH=9 | ||
| 217 | CONFIG_BOOT_LOAD=0x1000 | ||
| 218 | CONFIG_BFIN_SCRATCH_REG_RETN=y | 215 | CONFIG_BFIN_SCRATCH_REG_RETN=y |
| 219 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | 216 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set |
| 220 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | 217 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set |
| @@ -250,12 +247,14 @@ CONFIG_FLATMEM_MANUAL=y | |||
| 250 | CONFIG_FLATMEM=y | 247 | CONFIG_FLATMEM=y |
| 251 | CONFIG_FLAT_NODE_MEM_MAP=y | 248 | CONFIG_FLAT_NODE_MEM_MAP=y |
| 252 | # CONFIG_SPARSEMEM_STATIC is not set | 249 | # CONFIG_SPARSEMEM_STATIC is not set |
| 250 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
| 253 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 251 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
| 254 | # CONFIG_RESOURCES_64BIT is not set | 252 | # CONFIG_RESOURCES_64BIT is not set |
| 255 | CONFIG_ZONE_DMA_FLAG=1 | 253 | CONFIG_ZONE_DMA_FLAG=1 |
| 256 | CONFIG_LARGE_ALLOCS=y | 254 | CONFIG_VIRT_TO_BUS=y |
| 257 | # CONFIG_BFIN_GPTIMERS is not set | 255 | # CONFIG_BFIN_GPTIMERS is not set |
| 258 | CONFIG_BFIN_DMA_5XX=y | 256 | CONFIG_BFIN_DMA_5XX=y |
| 257 | # CONFIG_DMA_UNCACHED_4M is not set | ||
| 259 | # CONFIG_DMA_UNCACHED_2M is not set | 258 | # CONFIG_DMA_UNCACHED_2M is not set |
| 260 | CONFIG_DMA_UNCACHED_1M=y | 259 | CONFIG_DMA_UNCACHED_1M=y |
| 261 | # CONFIG_DMA_UNCACHED_NONE is not set | 260 | # CONFIG_DMA_UNCACHED_NONE is not set |
| @@ -293,17 +292,13 @@ CONFIG_C_AMBEN_ALL=y | |||
| 293 | CONFIG_BANK_0=0x7BB0 | 292 | CONFIG_BANK_0=0x7BB0 |
| 294 | CONFIG_BANK_1=0x7BB0 | 293 | CONFIG_BANK_1=0x7BB0 |
| 295 | CONFIG_BANK_2=0x7BB0 | 294 | CONFIG_BANK_2=0x7BB0 |
| 296 | CONFIG_BANK_3=0xAAC3 | 295 | CONFIG_BANK_3=0xAAC2 |
| 297 | 296 | ||
| 298 | # | 297 | # |
| 299 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 298 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
| 300 | # | 299 | # |
| 301 | # CONFIG_PCI is not set | 300 | # CONFIG_PCI is not set |
| 302 | # CONFIG_ARCH_SUPPORTS_MSI is not set | 301 | # CONFIG_ARCH_SUPPORTS_MSI is not set |
| 303 | |||
| 304 | # | ||
| 305 | # PCCARD (PCMCIA/CardBus) support | ||
| 306 | # | ||
| 307 | # CONFIG_PCCARD is not set | 302 | # CONFIG_PCCARD is not set |
| 308 | 303 | ||
| 309 | # | 304 | # |
| @@ -321,7 +316,9 @@ CONFIG_BINFMT_ZFLAT=y | |||
| 321 | CONFIG_PM=y | 316 | CONFIG_PM=y |
| 322 | # CONFIG_PM_LEGACY is not set | 317 | # CONFIG_PM_LEGACY is not set |
| 323 | # CONFIG_PM_DEBUG is not set | 318 | # CONFIG_PM_DEBUG is not set |
| 324 | # CONFIG_PM_SYSFS_DEPRECATED is not set | 319 | CONFIG_PM_SLEEP=y |
| 320 | CONFIG_SUSPEND_UP_POSSIBLE=y | ||
| 321 | CONFIG_SUSPEND=y | ||
| 325 | CONFIG_PM_BFIN_SLEEP_DEEPER=y | 322 | CONFIG_PM_BFIN_SLEEP_DEEPER=y |
| 326 | # CONFIG_PM_BFIN_SLEEP is not set | 323 | # CONFIG_PM_BFIN_SLEEP is not set |
| 327 | # CONFIG_PM_WAKEUP_BY_GPIO is not set | 324 | # CONFIG_PM_WAKEUP_BY_GPIO is not set |
| @@ -367,6 +364,7 @@ CONFIG_SYN_COOKIES=y | |||
| 367 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | 364 | CONFIG_INET_XFRM_MODE_TRANSPORT=y |
| 368 | CONFIG_INET_XFRM_MODE_TUNNEL=y | 365 | CONFIG_INET_XFRM_MODE_TUNNEL=y |
| 369 | CONFIG_INET_XFRM_MODE_BEET=y | 366 | CONFIG_INET_XFRM_MODE_BEET=y |
| 367 | # CONFIG_INET_LRO is not set | ||
| 370 | CONFIG_INET_DIAG=y | 368 | CONFIG_INET_DIAG=y |
| 371 | CONFIG_INET_TCP_DIAG=y | 369 | CONFIG_INET_TCP_DIAG=y |
| 372 | # CONFIG_TCP_CONG_ADVANCED is not set | 370 | # CONFIG_TCP_CONG_ADVANCED is not set |
| @@ -393,10 +391,6 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 393 | # CONFIG_LAPB is not set | 391 | # CONFIG_LAPB is not set |
| 394 | # CONFIG_ECONET is not set | 392 | # CONFIG_ECONET is not set |
| 395 | # CONFIG_WAN_ROUTER is not set | 393 | # CONFIG_WAN_ROUTER is not set |
| 396 | |||
| 397 | # | ||
| 398 | # QoS and/or fair queueing | ||
| 399 | # | ||
| 400 | # CONFIG_NET_SCHED is not set | 394 | # CONFIG_NET_SCHED is not set |
| 401 | 395 | ||
| 402 | # | 396 | # |
| @@ -428,6 +422,7 @@ CONFIG_IRDA_CACHE_LAST_LSAP=y | |||
| 428 | # SIR device drivers | 422 | # SIR device drivers |
| 429 | # | 423 | # |
| 430 | CONFIG_IRTTY_SIR=m | 424 | CONFIG_IRTTY_SIR=m |
| 425 | # CONFIG_BFIN_SIR is not set | ||
| 431 | 426 | ||
| 432 | # | 427 | # |
| 433 | # Dongle support | 428 | # Dongle support |
| @@ -457,6 +452,7 @@ CONFIG_IRTTY_SIR=m | |||
| 457 | # CONFIG_MAC80211 is not set | 452 | # CONFIG_MAC80211 is not set |
| 458 | # CONFIG_IEEE80211 is not set | 453 | # CONFIG_IEEE80211 is not set |
| 459 | # CONFIG_RFKILL is not set | 454 | # CONFIG_RFKILL is not set |
| 455 | # CONFIG_NET_9P is not set | ||
| 460 | 456 | ||
| 461 | # | 457 | # |
| 462 | # Device Drivers | 458 | # Device Drivers |
| @@ -465,14 +461,11 @@ CONFIG_IRTTY_SIR=m | |||
| 465 | # | 461 | # |
| 466 | # Generic Driver Options | 462 | # Generic Driver Options |
| 467 | # | 463 | # |
| 464 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
| 468 | CONFIG_STANDALONE=y | 465 | CONFIG_STANDALONE=y |
| 469 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 466 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
| 470 | # CONFIG_FW_LOADER is not set | 467 | # CONFIG_FW_LOADER is not set |
| 471 | # CONFIG_SYS_HYPERVISOR is not set | 468 | # CONFIG_SYS_HYPERVISOR is not set |
| 472 | |||
| 473 | # | ||
| 474 | # Connector - unified userspace <-> kernelspace linker | ||
| 475 | # | ||
| 476 | # CONFIG_CONNECTOR is not set | 469 | # CONFIG_CONNECTOR is not set |
| 477 | CONFIG_MTD=y | 470 | CONFIG_MTD=y |
| 478 | # CONFIG_MTD_DEBUG is not set | 471 | # CONFIG_MTD_DEBUG is not set |
| @@ -492,6 +485,7 @@ CONFIG_MTD_BLOCK=y | |||
| 492 | # CONFIG_INFTL is not set | 485 | # CONFIG_INFTL is not set |
| 493 | # CONFIG_RFD_FTL is not set | 486 | # CONFIG_RFD_FTL is not set |
| 494 | # CONFIG_SSFDC is not set | 487 | # CONFIG_SSFDC is not set |
| 488 | # CONFIG_MTD_OOPS is not set | ||
| 495 | 489 | ||
| 496 | # | 490 | # |
| 497 | # RAM/ROM/Flash chip drivers | 491 | # RAM/ROM/Flash chip drivers |
| @@ -548,20 +542,8 @@ CONFIG_MTD_COMPLEX_MAPPINGS=y | |||
| 548 | # UBI - Unsorted block images | 542 | # UBI - Unsorted block images |
| 549 | # | 543 | # |
| 550 | # CONFIG_MTD_UBI is not set | 544 | # CONFIG_MTD_UBI is not set |
| 551 | |||
| 552 | # | ||
| 553 | # Parallel port support | ||
| 554 | # | ||
| 555 | # CONFIG_PARPORT is not set | 545 | # CONFIG_PARPORT is not set |
| 556 | 546 | CONFIG_BLK_DEV=y | |
| 557 | # | ||
| 558 | # Plug and Play support | ||
| 559 | # | ||
| 560 | # CONFIG_PNPACPI is not set | ||
| 561 | |||
| 562 | # | ||
| 563 | # Block devices | ||
| 564 | # | ||
| 565 | # CONFIG_BLK_DEV_COW_COMMON is not set | 547 | # CONFIG_BLK_DEV_COW_COMMON is not set |
| 566 | # CONFIG_BLK_DEV_LOOP is not set | 548 | # CONFIG_BLK_DEV_LOOP is not set |
| 567 | # CONFIG_BLK_DEV_NBD is not set | 549 | # CONFIG_BLK_DEV_NBD is not set |
| @@ -571,10 +553,8 @@ CONFIG_BLK_DEV_RAM_SIZE=4096 | |||
| 571 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | 553 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 |
| 572 | # CONFIG_CDROM_PKTCDVD is not set | 554 | # CONFIG_CDROM_PKTCDVD is not set |
| 573 | # CONFIG_ATA_OVER_ETH is not set | 555 | # CONFIG_ATA_OVER_ETH is not set |
| 574 | 556 | CONFIG_MISC_DEVICES=y | |
| 575 | # | 557 | # CONFIG_EEPROM_93CX6 is not set |
| 576 | # Misc devices | ||
| 577 | # | ||
| 578 | # CONFIG_IDE is not set | 558 | # CONFIG_IDE is not set |
| 579 | 559 | ||
| 580 | # | 560 | # |
| @@ -582,32 +562,29 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
| 582 | # | 562 | # |
| 583 | # CONFIG_RAID_ATTRS is not set | 563 | # CONFIG_RAID_ATTRS is not set |
| 584 | # CONFIG_SCSI is not set | 564 | # CONFIG_SCSI is not set |
| 565 | # CONFIG_SCSI_DMA is not set | ||
| 585 | # CONFIG_SCSI_NETLINK is not set | 566 | # CONFIG_SCSI_NETLINK is not set |
| 586 | # CONFIG_ATA is not set | 567 | # CONFIG_ATA is not set |
| 587 | |||
| 588 | # | ||
| 589 | # Multi-device support (RAID and LVM) | ||
| 590 | # | ||
| 591 | # CONFIG_MD is not set | 568 | # CONFIG_MD is not set |
| 592 | |||
| 593 | # | ||
| 594 | # Network device support | ||
| 595 | # | ||
| 596 | CONFIG_NETDEVICES=y | 569 | CONFIG_NETDEVICES=y |
| 570 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
| 597 | # CONFIG_DUMMY is not set | 571 | # CONFIG_DUMMY is not set |
| 598 | # CONFIG_BONDING is not set | 572 | # CONFIG_BONDING is not set |
| 573 | # CONFIG_MACVLAN is not set | ||
| 599 | # CONFIG_EQUALIZER is not set | 574 | # CONFIG_EQUALIZER is not set |
| 600 | # CONFIG_TUN is not set | 575 | # CONFIG_TUN is not set |
| 576 | # CONFIG_VETH is not set | ||
| 601 | # CONFIG_PHYLIB is not set | 577 | # CONFIG_PHYLIB is not set |
| 602 | |||
| 603 | # | ||
| 604 | # Ethernet (10 or 100Mbit) | ||
| 605 | # | ||
| 606 | CONFIG_NET_ETHERNET=y | 578 | CONFIG_NET_ETHERNET=y |
| 607 | CONFIG_MII=y | 579 | CONFIG_MII=y |
| 608 | CONFIG_SMC91X=y | 580 | CONFIG_SMC91X=y |
| 609 | # CONFIG_SMSC911X is not set | 581 | # CONFIG_SMSC911X is not set |
| 610 | # CONFIG_DM9000 is not set | 582 | # CONFIG_DM9000 is not set |
| 583 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
| 584 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
| 585 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
| 586 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
| 587 | # CONFIG_B44 is not set | ||
| 611 | CONFIG_NETDEV_1000=y | 588 | CONFIG_NETDEV_1000=y |
| 612 | # CONFIG_AX88180 is not set | 589 | # CONFIG_AX88180 is not set |
| 613 | CONFIG_NETDEV_10000=y | 590 | CONFIG_NETDEV_10000=y |
| @@ -624,15 +601,7 @@ CONFIG_NETDEV_10000=y | |||
| 624 | # CONFIG_NETCONSOLE is not set | 601 | # CONFIG_NETCONSOLE is not set |
| 625 | # CONFIG_NETPOLL is not set | 602 | # CONFIG_NETPOLL is not set |
| 626 | # CONFIG_NET_POLL_CONTROLLER is not set | 603 | # CONFIG_NET_POLL_CONTROLLER is not set |
| 627 | |||
| 628 | # | ||
| 629 | # ISDN subsystem | ||
| 630 | # | ||
| 631 | # CONFIG_ISDN is not set | 604 | # CONFIG_ISDN is not set |
| 632 | |||
| 633 | # | ||
| 634 | # Telephony Support | ||
| 635 | # | ||
| 636 | # CONFIG_PHONE is not set | 605 | # CONFIG_PHONE is not set |
| 637 | 606 | ||
| 638 | # | 607 | # |
| @@ -647,7 +616,6 @@ CONFIG_INPUT=m | |||
| 647 | # | 616 | # |
| 648 | # CONFIG_INPUT_MOUSEDEV is not set | 617 | # CONFIG_INPUT_MOUSEDEV is not set |
| 649 | # CONFIG_INPUT_JOYDEV is not set | 618 | # CONFIG_INPUT_JOYDEV is not set |
| 650 | # CONFIG_INPUT_TSDEV is not set | ||
| 651 | CONFIG_INPUT_EVDEV=m | 619 | CONFIG_INPUT_EVDEV=m |
| 652 | # CONFIG_INPUT_EVBUG is not set | 620 | # CONFIG_INPUT_EVBUG is not set |
| 653 | 621 | ||
| @@ -672,13 +640,12 @@ CONFIG_INPUT_EVDEV=m | |||
| 672 | # | 640 | # |
| 673 | # CONFIG_AD9960 is not set | 641 | # CONFIG_AD9960 is not set |
| 674 | # CONFIG_SPI_ADC_BF533 is not set | 642 | # CONFIG_SPI_ADC_BF533 is not set |
| 675 | # CONFIG_BF5xx_PFLAGS is not set | ||
| 676 | # CONFIG_BF5xx_PPIFCD is not set | 643 | # CONFIG_BF5xx_PPIFCD is not set |
| 677 | # CONFIG_BFIN_SIMPLE_TIMER is not set | 644 | # CONFIG_BFIN_SIMPLE_TIMER is not set |
| 678 | # CONFIG_BF5xx_PPI is not set | 645 | # CONFIG_BF5xx_PPI is not set |
| 679 | CONFIG_BFIN_SPORT=y | 646 | CONFIG_BFIN_SPORT=y |
| 680 | # CONFIG_BFIN_TIMER_LATENCY is not set | 647 | # CONFIG_BFIN_TIMER_LATENCY is not set |
| 681 | # CONFIG_AD5304 is not set | 648 | CONFIG_SIMPLE_GPIO=m |
| 682 | # CONFIG_VT is not set | 649 | # CONFIG_VT is not set |
| 683 | # CONFIG_SERIAL_NONSTANDARD is not set | 650 | # CONFIG_SERIAL_NONSTANDARD is not set |
| 684 | 651 | ||
| @@ -706,28 +673,11 @@ CONFIG_UNIX98_PTYS=y | |||
| 706 | # CAN, the car bus and industrial fieldbus | 673 | # CAN, the car bus and industrial fieldbus |
| 707 | # | 674 | # |
| 708 | # CONFIG_CAN4LINUX is not set | 675 | # CONFIG_CAN4LINUX is not set |
| 709 | |||
| 710 | # | ||
| 711 | # IPMI | ||
| 712 | # | ||
| 713 | # CONFIG_IPMI_HANDLER is not set | 676 | # CONFIG_IPMI_HANDLER is not set |
| 714 | CONFIG_WATCHDOG=y | ||
| 715 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
| 716 | |||
| 717 | # | ||
| 718 | # Watchdog Device Drivers | ||
| 719 | # | ||
| 720 | # CONFIG_SOFT_WATCHDOG is not set | ||
| 721 | CONFIG_BFIN_WDT=y | ||
| 722 | CONFIG_HW_RANDOM=y | 677 | CONFIG_HW_RANDOM=y |
| 723 | # CONFIG_GEN_RTC is not set | 678 | # CONFIG_GEN_RTC is not set |
| 724 | CONFIG_BLACKFIN_DPMC=y | ||
| 725 | # CONFIG_R3964 is not set | 679 | # CONFIG_R3964 is not set |
| 726 | # CONFIG_RAW_DRIVER is not set | 680 | # CONFIG_RAW_DRIVER is not set |
| 727 | |||
| 728 | # | ||
| 729 | # TPM devices | ||
| 730 | # | ||
| 731 | # CONFIG_TCG_TPM is not set | 681 | # CONFIG_TCG_TPM is not set |
| 732 | # CONFIG_I2C is not set | 682 | # CONFIG_I2C is not set |
| 733 | 683 | ||
| @@ -748,22 +698,37 @@ CONFIG_SPI_BFIN=y | |||
| 748 | # | 698 | # |
| 749 | # CONFIG_SPI_AT25 is not set | 699 | # CONFIG_SPI_AT25 is not set |
| 750 | # CONFIG_SPI_SPIDEV is not set | 700 | # CONFIG_SPI_SPIDEV is not set |
| 751 | 701 | # CONFIG_SPI_TLE62X0 is not set | |
| 752 | # | ||
| 753 | # Dallas's 1-wire bus | ||
| 754 | # | ||
| 755 | # CONFIG_W1 is not set | 702 | # CONFIG_W1 is not set |
| 703 | # CONFIG_POWER_SUPPLY is not set | ||
| 756 | CONFIG_HWMON=y | 704 | CONFIG_HWMON=y |
| 757 | # CONFIG_HWMON_VID is not set | 705 | # CONFIG_HWMON_VID is not set |
| 758 | # CONFIG_SENSORS_ABITUGURU is not set | ||
| 759 | # CONFIG_SENSORS_F71805F is not set | 706 | # CONFIG_SENSORS_F71805F is not set |
| 707 | # CONFIG_SENSORS_F71882FG is not set | ||
| 708 | # CONFIG_SENSORS_IT87 is not set | ||
| 760 | # CONFIG_SENSORS_LM70 is not set | 709 | # CONFIG_SENSORS_LM70 is not set |
| 710 | # CONFIG_SENSORS_PC87360 is not set | ||
| 761 | # CONFIG_SENSORS_PC87427 is not set | 711 | # CONFIG_SENSORS_PC87427 is not set |
| 762 | # CONFIG_SENSORS_SMSC47M1 is not set | 712 | # CONFIG_SENSORS_SMSC47M1 is not set |
| 763 | # CONFIG_SENSORS_SMSC47B397 is not set | 713 | # CONFIG_SENSORS_SMSC47B397 is not set |
| 764 | # CONFIG_SENSORS_VT1211 is not set | 714 | # CONFIG_SENSORS_VT1211 is not set |
| 765 | # CONFIG_SENSORS_W83627HF is not set | 715 | # CONFIG_SENSORS_W83627HF is not set |
| 716 | # CONFIG_SENSORS_W83627EHF is not set | ||
| 766 | # CONFIG_HWMON_DEBUG_CHIP is not set | 717 | # CONFIG_HWMON_DEBUG_CHIP is not set |
| 718 | CONFIG_WATCHDOG=y | ||
| 719 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
| 720 | |||
| 721 | # | ||
| 722 | # Watchdog Device Drivers | ||
| 723 | # | ||
| 724 | # CONFIG_SOFT_WATCHDOG is not set | ||
| 725 | CONFIG_BFIN_WDT=y | ||
| 726 | |||
| 727 | # | ||
| 728 | # Sonics Silicon Backplane | ||
| 729 | # | ||
| 730 | CONFIG_SSB_POSSIBLE=y | ||
| 731 | # CONFIG_SSB is not set | ||
| 767 | 732 | ||
| 768 | # | 733 | # |
| 769 | # Multifunction device drivers | 734 | # Multifunction device drivers |
| @@ -780,72 +745,27 @@ CONFIG_DAB=y | |||
| 780 | # | 745 | # |
| 781 | # Graphics support | 746 | # Graphics support |
| 782 | # | 747 | # |
| 748 | # CONFIG_VGASTATE is not set | ||
| 749 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
| 750 | # CONFIG_FB is not set | ||
| 783 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | 751 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set |
| 784 | 752 | ||
| 785 | # | 753 | # |
| 786 | # Display device support | 754 | # Display device support |
| 787 | # | 755 | # |
| 788 | # CONFIG_DISPLAY_SUPPORT is not set | 756 | # CONFIG_DISPLAY_SUPPORT is not set |
| 789 | # CONFIG_VGASTATE is not set | ||
| 790 | # CONFIG_FB is not set | ||
| 791 | 757 | ||
| 792 | # | 758 | # |
| 793 | # Sound | 759 | # Sound |
| 794 | # | 760 | # |
| 795 | # CONFIG_SOUND is not set | 761 | # CONFIG_SOUND is not set |
| 796 | 762 | CONFIG_HID_SUPPORT=y | |
| 797 | # | ||
| 798 | # HID Devices | ||
| 799 | # | ||
| 800 | CONFIG_HID=m | 763 | CONFIG_HID=m |
| 801 | # CONFIG_HID_DEBUG is not set | 764 | # CONFIG_HID_DEBUG is not set |
| 802 | 765 | # CONFIG_HIDRAW is not set | |
| 803 | # | 766 | # CONFIG_USB_SUPPORT is not set |
| 804 | # USB support | ||
| 805 | # | ||
| 806 | CONFIG_USB_ARCH_HAS_HCD=y | ||
| 807 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
| 808 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
| 809 | # CONFIG_USB is not set | ||
| 810 | |||
| 811 | # | ||
| 812 | # Enable Host or Gadget support to see Inventra options | ||
| 813 | # | ||
| 814 | |||
| 815 | # | ||
| 816 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
| 817 | # | ||
| 818 | |||
| 819 | # | ||
| 820 | # USB Gadget Support | ||
| 821 | # | ||
| 822 | # CONFIG_USB_GADGET is not set | ||
| 823 | # CONFIG_MMC is not set | 767 | # CONFIG_MMC is not set |
| 824 | |||
| 825 | # | ||
| 826 | # LED devices | ||
| 827 | # | ||
| 828 | # CONFIG_NEW_LEDS is not set | 768 | # CONFIG_NEW_LEDS is not set |
| 829 | |||
| 830 | # | ||
| 831 | # LED drivers | ||
| 832 | # | ||
| 833 | |||
| 834 | # | ||
| 835 | # LED Triggers | ||
| 836 | # | ||
| 837 | |||
| 838 | # | ||
| 839 | # InfiniBand support | ||
| 840 | # | ||
| 841 | |||
| 842 | # | ||
| 843 | # EDAC - error detection and reporting (RAS) (EXPERIMENTAL) | ||
| 844 | # | ||
| 845 | |||
| 846 | # | ||
| 847 | # Real Time Clock | ||
| 848 | # | ||
| 849 | CONFIG_RTC_LIB=y | 769 | CONFIG_RTC_LIB=y |
| 850 | CONFIG_RTC_CLASS=y | 770 | CONFIG_RTC_CLASS=y |
| 851 | CONFIG_RTC_HCTOSYS=y | 771 | CONFIG_RTC_HCTOSYS=y |
| @@ -862,10 +782,6 @@ CONFIG_RTC_INTF_DEV=y | |||
| 862 | # CONFIG_RTC_DRV_TEST is not set | 782 | # CONFIG_RTC_DRV_TEST is not set |
| 863 | 783 | ||
| 864 | # | 784 | # |
| 865 | # I2C RTC drivers | ||
| 866 | # | ||
| 867 | |||
| 868 | # | ||
| 869 | # SPI RTC drivers | 785 | # SPI RTC drivers |
| 870 | # | 786 | # |
| 871 | # CONFIG_RTC_DRV_RS5C348 is not set | 787 | # CONFIG_RTC_DRV_RS5C348 is not set |
| @@ -875,8 +791,10 @@ CONFIG_RTC_INTF_DEV=y | |||
| 875 | # Platform RTC drivers | 791 | # Platform RTC drivers |
| 876 | # | 792 | # |
| 877 | # CONFIG_RTC_DRV_DS1553 is not set | 793 | # CONFIG_RTC_DRV_DS1553 is not set |
| 794 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
| 878 | # CONFIG_RTC_DRV_DS1742 is not set | 795 | # CONFIG_RTC_DRV_DS1742 is not set |
| 879 | # CONFIG_RTC_DRV_M48T86 is not set | 796 | # CONFIG_RTC_DRV_M48T86 is not set |
| 797 | # CONFIG_RTC_DRV_M48T59 is not set | ||
| 880 | # CONFIG_RTC_DRV_V3020 is not set | 798 | # CONFIG_RTC_DRV_V3020 is not set |
| 881 | 799 | ||
| 882 | # | 800 | # |
| @@ -885,22 +803,9 @@ CONFIG_RTC_INTF_DEV=y | |||
| 885 | CONFIG_RTC_DRV_BFIN=y | 803 | CONFIG_RTC_DRV_BFIN=y |
| 886 | 804 | ||
| 887 | # | 805 | # |
| 888 | # DMA Engine support | 806 | # Userspace I/O |
| 889 | # | ||
| 890 | # CONFIG_DMA_ENGINE is not set | ||
| 891 | |||
| 892 | # | ||
| 893 | # DMA Clients | ||
| 894 | # | ||
| 895 | |||
| 896 | # | ||
| 897 | # DMA Devices | ||
| 898 | # | 807 | # |
| 899 | 808 | # CONFIG_UIO is not set | |
| 900 | # | ||
| 901 | # PBX support | ||
| 902 | # | ||
| 903 | # CONFIG_PBX is not set | ||
| 904 | 809 | ||
| 905 | # | 810 | # |
| 906 | # File systems | 811 | # File systems |
| @@ -945,7 +850,6 @@ CONFIG_PROC_SYSCTL=y | |||
| 945 | CONFIG_SYSFS=y | 850 | CONFIG_SYSFS=y |
| 946 | # CONFIG_TMPFS is not set | 851 | # CONFIG_TMPFS is not set |
| 947 | # CONFIG_HUGETLB_PAGE is not set | 852 | # CONFIG_HUGETLB_PAGE is not set |
| 948 | CONFIG_RAMFS=y | ||
| 949 | # CONFIG_CONFIGFS_FS is not set | 853 | # CONFIG_CONFIGFS_FS is not set |
| 950 | 854 | ||
| 951 | # | 855 | # |
| @@ -971,10 +875,12 @@ CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y | |||
| 971 | CONFIG_JFFS2_FS=m | 875 | CONFIG_JFFS2_FS=m |
| 972 | CONFIG_JFFS2_FS_DEBUG=0 | 876 | CONFIG_JFFS2_FS_DEBUG=0 |
| 973 | CONFIG_JFFS2_FS_WRITEBUFFER=y | 877 | CONFIG_JFFS2_FS_WRITEBUFFER=y |
| 878 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
| 974 | # CONFIG_JFFS2_SUMMARY is not set | 879 | # CONFIG_JFFS2_SUMMARY is not set |
| 975 | # CONFIG_JFFS2_FS_XATTR is not set | 880 | # CONFIG_JFFS2_FS_XATTR is not set |
| 976 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | 881 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set |
| 977 | CONFIG_JFFS2_ZLIB=y | 882 | CONFIG_JFFS2_ZLIB=y |
| 883 | # CONFIG_JFFS2_LZO is not set | ||
| 978 | CONFIG_JFFS2_RTIME=y | 884 | CONFIG_JFFS2_RTIME=y |
| 979 | # CONFIG_JFFS2_RUBIN is not set | 885 | # CONFIG_JFFS2_RUBIN is not set |
| 980 | # CONFIG_CRAMFS is not set | 886 | # CONFIG_CRAMFS is not set |
| @@ -983,10 +889,7 @@ CONFIG_JFFS2_RTIME=y | |||
| 983 | # CONFIG_QNX4FS_FS is not set | 889 | # CONFIG_QNX4FS_FS is not set |
| 984 | # CONFIG_SYSV_FS is not set | 890 | # CONFIG_SYSV_FS is not set |
| 985 | # CONFIG_UFS_FS is not set | 891 | # CONFIG_UFS_FS is not set |
| 986 | 892 | CONFIG_NETWORK_FILESYSTEMS=y | |
| 987 | # | ||
| 988 | # Network File Systems | ||
| 989 | # | ||
| 990 | CONFIG_NFS_FS=m | 893 | CONFIG_NFS_FS=m |
| 991 | CONFIG_NFS_V3=y | 894 | CONFIG_NFS_V3=y |
| 992 | # CONFIG_NFS_V3_ACL is not set | 895 | # CONFIG_NFS_V3_ACL is not set |
| @@ -1006,17 +909,12 @@ CONFIG_SMB_FS=m | |||
| 1006 | # CONFIG_NCP_FS is not set | 909 | # CONFIG_NCP_FS is not set |
| 1007 | # CONFIG_CODA_FS is not set | 910 | # CONFIG_CODA_FS is not set |
| 1008 | # CONFIG_AFS_FS is not set | 911 | # CONFIG_AFS_FS is not set |
| 1009 | # CONFIG_9P_FS is not set | ||
| 1010 | 912 | ||
| 1011 | # | 913 | # |
| 1012 | # Partition Types | 914 | # Partition Types |
| 1013 | # | 915 | # |
| 1014 | # CONFIG_PARTITION_ADVANCED is not set | 916 | # CONFIG_PARTITION_ADVANCED is not set |
| 1015 | CONFIG_MSDOS_PARTITION=y | 917 | CONFIG_MSDOS_PARTITION=y |
| 1016 | |||
| 1017 | # | ||
| 1018 | # Native Language Support | ||
| 1019 | # | ||
| 1020 | CONFIG_NLS=m | 918 | CONFIG_NLS=m |
| 1021 | CONFIG_NLS_DEFAULT="iso8859-1" | 919 | CONFIG_NLS_DEFAULT="iso8859-1" |
| 1022 | # CONFIG_NLS_CODEPAGE_437 is not set | 920 | # CONFIG_NLS_CODEPAGE_437 is not set |
| @@ -1057,21 +955,16 @@ CONFIG_NLS_DEFAULT="iso8859-1" | |||
| 1057 | # CONFIG_NLS_KOI8_R is not set | 955 | # CONFIG_NLS_KOI8_R is not set |
| 1058 | # CONFIG_NLS_KOI8_U is not set | 956 | # CONFIG_NLS_KOI8_U is not set |
| 1059 | # CONFIG_NLS_UTF8 is not set | 957 | # CONFIG_NLS_UTF8 is not set |
| 1060 | |||
| 1061 | # | ||
| 1062 | # Distributed Lock Manager | ||
| 1063 | # | ||
| 1064 | # CONFIG_DLM is not set | 958 | # CONFIG_DLM is not set |
| 1065 | 959 | CONFIG_INSTRUMENTATION=y | |
| 1066 | # | ||
| 1067 | # Profiling support | ||
| 1068 | # | ||
| 1069 | # CONFIG_PROFILING is not set | 960 | # CONFIG_PROFILING is not set |
| 961 | # CONFIG_MARKERS is not set | ||
| 1070 | 962 | ||
| 1071 | # | 963 | # |
| 1072 | # Kernel hacking | 964 | # Kernel hacking |
| 1073 | # | 965 | # |
| 1074 | # CONFIG_PRINTK_TIME is not set | 966 | # CONFIG_PRINTK_TIME is not set |
| 967 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
| 1075 | CONFIG_ENABLE_MUST_CHECK=y | 968 | CONFIG_ENABLE_MUST_CHECK=y |
| 1076 | # CONFIG_MAGIC_SYSRQ is not set | 969 | # CONFIG_MAGIC_SYSRQ is not set |
| 1077 | # CONFIG_UNUSED_SYMBOLS is not set | 970 | # CONFIG_UNUSED_SYMBOLS is not set |
| @@ -1079,6 +972,7 @@ CONFIG_DEBUG_FS=y | |||
| 1079 | # CONFIG_HEADERS_CHECK is not set | 972 | # CONFIG_HEADERS_CHECK is not set |
| 1080 | # CONFIG_DEBUG_KERNEL is not set | 973 | # CONFIG_DEBUG_KERNEL is not set |
| 1081 | # CONFIG_DEBUG_BUGVERBOSE is not set | 974 | # CONFIG_DEBUG_BUGVERBOSE is not set |
| 975 | # CONFIG_SAMPLES is not set | ||
| 1082 | CONFIG_DEBUG_MMRS=y | 976 | CONFIG_DEBUG_MMRS=y |
| 1083 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 977 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
| 1084 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | 978 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y |
| @@ -1098,11 +992,7 @@ CONFIG_ACCESS_CHECK=y | |||
| 1098 | # CONFIG_KEYS is not set | 992 | # CONFIG_KEYS is not set |
| 1099 | CONFIG_SECURITY=y | 993 | CONFIG_SECURITY=y |
| 1100 | # CONFIG_SECURITY_NETWORK is not set | 994 | # CONFIG_SECURITY_NETWORK is not set |
| 1101 | CONFIG_SECURITY_CAPABILITIES=m | 995 | # CONFIG_SECURITY_CAPABILITIES is not set |
| 1102 | |||
| 1103 | # | ||
| 1104 | # Cryptographic options | ||
| 1105 | # | ||
| 1106 | # CONFIG_CRYPTO is not set | 996 | # CONFIG_CRYPTO is not set |
| 1107 | 997 | ||
| 1108 | # | 998 | # |
| @@ -1113,6 +1003,7 @@ CONFIG_CRC_CCITT=m | |||
| 1113 | # CONFIG_CRC16 is not set | 1003 | # CONFIG_CRC16 is not set |
| 1114 | # CONFIG_CRC_ITU_T is not set | 1004 | # CONFIG_CRC_ITU_T is not set |
| 1115 | CONFIG_CRC32=y | 1005 | CONFIG_CRC32=y |
| 1006 | # CONFIG_CRC7 is not set | ||
| 1116 | # CONFIG_LIBCRC32C is not set | 1007 | # CONFIG_LIBCRC32C is not set |
| 1117 | CONFIG_ZLIB_INFLATE=y | 1008 | CONFIG_ZLIB_INFLATE=y |
| 1118 | CONFIG_ZLIB_DEFLATE=m | 1009 | CONFIG_ZLIB_DEFLATE=m |
diff --git a/arch/blackfin/configs/BF533-STAMP_defconfig b/arch/blackfin/configs/BF533-STAMP_defconfig index 20d598d17bd1..d77d991a1f61 100644 --- a/arch/blackfin/configs/BF533-STAMP_defconfig +++ b/arch/blackfin/configs/BF533-STAMP_defconfig | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.22.16 | 3 | # Linux kernel version: 2.6.24.7 |
| 4 | # | 4 | # |
| 5 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
| 6 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
| @@ -13,35 +13,34 @@ CONFIG_GENERIC_FIND_NEXT_BIT=y | |||
| 13 | CONFIG_GENERIC_HWEIGHT=y | 13 | CONFIG_GENERIC_HWEIGHT=y |
| 14 | CONFIG_GENERIC_HARDIRQS=y | 14 | CONFIG_GENERIC_HARDIRQS=y |
| 15 | CONFIG_GENERIC_IRQ_PROBE=y | 15 | CONFIG_GENERIC_IRQ_PROBE=y |
| 16 | CONFIG_GENERIC_TIME=y | ||
| 17 | CONFIG_GENERIC_GPIO=y | 16 | CONFIG_GENERIC_GPIO=y |
| 18 | CONFIG_FORCE_MAX_ZONEORDER=14 | 17 | CONFIG_FORCE_MAX_ZONEORDER=14 |
| 19 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
| 20 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 19 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
| 21 | 20 | ||
| 22 | # | 21 | # |
| 23 | # Code maturity level options | 22 | # General setup |
| 24 | # | 23 | # |
| 25 | CONFIG_EXPERIMENTAL=y | 24 | CONFIG_EXPERIMENTAL=y |
| 26 | CONFIG_BROKEN_ON_SMP=y | 25 | CONFIG_BROKEN_ON_SMP=y |
| 27 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 26 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
| 28 | |||
| 29 | # | ||
| 30 | # General setup | ||
| 31 | # | ||
| 32 | CONFIG_LOCALVERSION="" | 27 | CONFIG_LOCALVERSION="" |
| 33 | CONFIG_LOCALVERSION_AUTO=y | 28 | CONFIG_LOCALVERSION_AUTO=y |
| 34 | CONFIG_SYSVIPC=y | 29 | CONFIG_SYSVIPC=y |
| 35 | # CONFIG_IPC_NS is not set | ||
| 36 | CONFIG_SYSVIPC_SYSCTL=y | 30 | CONFIG_SYSVIPC_SYSCTL=y |
| 37 | # CONFIG_POSIX_MQUEUE is not set | 31 | # CONFIG_POSIX_MQUEUE is not set |
| 38 | # CONFIG_BSD_PROCESS_ACCT is not set | 32 | # CONFIG_BSD_PROCESS_ACCT is not set |
| 39 | # CONFIG_TASKSTATS is not set | 33 | # CONFIG_TASKSTATS is not set |
| 40 | # CONFIG_UTS_NS is not set | 34 | # CONFIG_USER_NS is not set |
| 35 | # CONFIG_PID_NS is not set | ||
| 41 | # CONFIG_AUDIT is not set | 36 | # CONFIG_AUDIT is not set |
| 42 | CONFIG_IKCONFIG=y | 37 | CONFIG_IKCONFIG=y |
| 43 | CONFIG_IKCONFIG_PROC=y | 38 | CONFIG_IKCONFIG_PROC=y |
| 44 | CONFIG_LOG_BUF_SHIFT=14 | 39 | CONFIG_LOG_BUF_SHIFT=14 |
| 40 | # CONFIG_CGROUPS is not set | ||
| 41 | CONFIG_FAIR_GROUP_SCHED=y | ||
| 42 | CONFIG_FAIR_USER_SCHED=y | ||
| 43 | # CONFIG_FAIR_CGROUP_SCHED is not set | ||
| 45 | CONFIG_SYSFS_DEPRECATED=y | 44 | CONFIG_SYSFS_DEPRECATED=y |
| 46 | # CONFIG_RELAY is not set | 45 | # CONFIG_RELAY is not set |
| 47 | CONFIG_BLK_DEV_INITRD=y | 46 | CONFIG_BLK_DEV_INITRD=y |
| @@ -64,32 +63,24 @@ CONFIG_EPOLL=y | |||
| 64 | CONFIG_SIGNALFD=y | 63 | CONFIG_SIGNALFD=y |
| 65 | CONFIG_EVENTFD=y | 64 | CONFIG_EVENTFD=y |
| 66 | CONFIG_VM_EVENT_COUNTERS=y | 65 | CONFIG_VM_EVENT_COUNTERS=y |
| 67 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | ||
| 68 | # CONFIG_NP2 is not set | ||
| 69 | CONFIG_SLAB=y | 66 | CONFIG_SLAB=y |
| 70 | # CONFIG_SLUB is not set | 67 | # CONFIG_SLUB is not set |
| 71 | # CONFIG_SLOB is not set | 68 | # CONFIG_SLOB is not set |
| 69 | CONFIG_SLABINFO=y | ||
| 72 | CONFIG_RT_MUTEXES=y | 70 | CONFIG_RT_MUTEXES=y |
| 73 | CONFIG_TINY_SHMEM=y | 71 | CONFIG_TINY_SHMEM=y |
| 74 | CONFIG_BASE_SMALL=0 | 72 | CONFIG_BASE_SMALL=0 |
| 75 | |||
| 76 | # | ||
| 77 | # Loadable module support | ||
| 78 | # | ||
| 79 | CONFIG_MODULES=y | 73 | CONFIG_MODULES=y |
| 80 | CONFIG_MODULE_UNLOAD=y | 74 | CONFIG_MODULE_UNLOAD=y |
| 81 | # CONFIG_MODULE_FORCE_UNLOAD is not set | 75 | # CONFIG_MODULE_FORCE_UNLOAD is not set |
| 82 | # CONFIG_MODVERSIONS is not set | 76 | # CONFIG_MODVERSIONS is not set |
| 83 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 77 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
| 84 | CONFIG_KMOD=y | 78 | CONFIG_KMOD=y |
| 85 | |||
| 86 | # | ||
| 87 | # Block layer | ||
| 88 | # | ||
| 89 | CONFIG_BLOCK=y | 79 | CONFIG_BLOCK=y |
| 90 | # CONFIG_LBD is not set | 80 | # CONFIG_LBD is not set |
| 91 | # CONFIG_BLK_DEV_IO_TRACE is not set | 81 | # CONFIG_BLK_DEV_IO_TRACE is not set |
| 92 | # CONFIG_LSF is not set | 82 | # CONFIG_LSF is not set |
| 83 | # CONFIG_BLK_DEV_BSG is not set | ||
| 93 | 84 | ||
| 94 | # | 85 | # |
| 95 | # IO Schedulers | 86 | # IO Schedulers |
| @@ -141,12 +132,12 @@ CONFIG_BF_REV_0_3=y | |||
| 141 | # CONFIG_BF_REV_ANY is not set | 132 | # CONFIG_BF_REV_ANY is not set |
| 142 | # CONFIG_BF_REV_NONE is not set | 133 | # CONFIG_BF_REV_NONE is not set |
| 143 | CONFIG_BF53x=y | 134 | CONFIG_BF53x=y |
| 144 | CONFIG_BFIN_SINGLE_CORE=y | ||
| 145 | CONFIG_MEM_MT48LC64M4A2FB_7E=y | 135 | CONFIG_MEM_MT48LC64M4A2FB_7E=y |
| 146 | # CONFIG_BFIN533_EZKIT is not set | 136 | # CONFIG_BFIN533_EZKIT is not set |
| 147 | CONFIG_BFIN533_STAMP=y | 137 | CONFIG_BFIN533_STAMP=y |
| 148 | # CONFIG_BFIN533_BLUETECHNIX_CM is not set | 138 | # CONFIG_BFIN533_BLUETECHNIX_CM is not set |
| 149 | # CONFIG_H8606_HVSISTEMAS is not set | 139 | # CONFIG_H8606_HVSISTEMAS is not set |
| 140 | # CONFIG_BFIN532_IP0X is not set | ||
| 150 | # CONFIG_GENERIC_BF533_BOARD is not set | 141 | # CONFIG_GENERIC_BF533_BOARD is not set |
| 151 | 142 | ||
| 152 | # | 143 | # |
| @@ -189,12 +180,14 @@ CONFIG_WDTIMER=13 | |||
| 189 | # Board customizations | 180 | # Board customizations |
| 190 | # | 181 | # |
| 191 | # CONFIG_CMDLINE_BOOL is not set | 182 | # CONFIG_CMDLINE_BOOL is not set |
| 183 | CONFIG_BOOT_LOAD=0x1000 | ||
| 192 | 184 | ||
| 193 | # | 185 | # |
| 194 | # Clock/PLL Setup | 186 | # Clock/PLL Setup |
| 195 | # | 187 | # |
| 196 | CONFIG_CLKIN_HZ=11059200 | 188 | CONFIG_CLKIN_HZ=11059200 |
| 197 | # CONFIG_BFIN_KERNEL_CLOCK is not set | 189 | # CONFIG_BFIN_KERNEL_CLOCK is not set |
| 190 | CONFIG_MAX_MEM_SIZE=512 | ||
| 198 | CONFIG_MAX_VCO_HZ=750000000 | 191 | CONFIG_MAX_VCO_HZ=750000000 |
| 199 | CONFIG_MIN_VCO_HZ=50000000 | 192 | CONFIG_MIN_VCO_HZ=50000000 |
| 200 | CONFIG_MAX_SCLK_HZ=133333333 | 193 | CONFIG_MAX_SCLK_HZ=133333333 |
| @@ -208,14 +201,17 @@ CONFIG_HZ_250=y | |||
| 208 | # CONFIG_HZ_300 is not set | 201 | # CONFIG_HZ_300 is not set |
| 209 | # CONFIG_HZ_1000 is not set | 202 | # CONFIG_HZ_1000 is not set |
| 210 | CONFIG_HZ=250 | 203 | CONFIG_HZ=250 |
| 204 | CONFIG_GENERIC_TIME=y | ||
| 205 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
| 206 | # CONFIG_CYCLES_CLOCKSOURCE is not set | ||
| 207 | CONFIG_TICK_ONESHOT=y | ||
| 208 | # CONFIG_NO_HZ is not set | ||
| 209 | CONFIG_HIGH_RES_TIMERS=y | ||
| 210 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
| 211 | 211 | ||
| 212 | # | 212 | # |
| 213 | # Memory Setup | 213 | # Misc |
| 214 | # | 214 | # |
| 215 | CONFIG_MAX_MEM_SIZE=512 | ||
| 216 | CONFIG_MEM_ADD_WIDTH=11 | ||
| 217 | CONFIG_ENET_FLASH_PIN=0 | ||
| 218 | CONFIG_BOOT_LOAD=0x1000 | ||
| 219 | CONFIG_BFIN_SCRATCH_REG_RETN=y | 215 | CONFIG_BFIN_SCRATCH_REG_RETN=y |
| 220 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | 216 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set |
| 221 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | 217 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set |
| @@ -251,12 +247,14 @@ CONFIG_FLATMEM_MANUAL=y | |||
| 251 | CONFIG_FLATMEM=y | 247 | CONFIG_FLATMEM=y |
| 252 | CONFIG_FLAT_NODE_MEM_MAP=y | 248 | CONFIG_FLAT_NODE_MEM_MAP=y |
| 253 | # CONFIG_SPARSEMEM_STATIC is not set | 249 | # CONFIG_SPARSEMEM_STATIC is not set |
| 250 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
| 254 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 251 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
| 255 | # CONFIG_RESOURCES_64BIT is not set | 252 | # CONFIG_RESOURCES_64BIT is not set |
| 256 | CONFIG_ZONE_DMA_FLAG=1 | 253 | CONFIG_ZONE_DMA_FLAG=1 |
| 257 | CONFIG_LARGE_ALLOCS=y | 254 | CONFIG_VIRT_TO_BUS=y |
| 258 | # CONFIG_BFIN_GPTIMERS is not set | 255 | # CONFIG_BFIN_GPTIMERS is not set |
| 259 | CONFIG_BFIN_DMA_5XX=y | 256 | CONFIG_BFIN_DMA_5XX=y |
| 257 | # CONFIG_DMA_UNCACHED_4M is not set | ||
| 260 | # CONFIG_DMA_UNCACHED_2M is not set | 258 | # CONFIG_DMA_UNCACHED_2M is not set |
| 261 | CONFIG_DMA_UNCACHED_1M=y | 259 | CONFIG_DMA_UNCACHED_1M=y |
| 262 | # CONFIG_DMA_UNCACHED_NONE is not set | 260 | # CONFIG_DMA_UNCACHED_NONE is not set |
| @@ -294,17 +292,13 @@ CONFIG_C_AMBEN_ALL=y | |||
| 294 | CONFIG_BANK_0=0x7BB0 | 292 | CONFIG_BANK_0=0x7BB0 |
| 295 | CONFIG_BANK_1=0x7BB0 | 293 | CONFIG_BANK_1=0x7BB0 |
| 296 | CONFIG_BANK_2=0x7BB0 | 294 | CONFIG_BANK_2=0x7BB0 |
| 297 | CONFIG_BANK_3=0xAAC3 | 295 | CONFIG_BANK_3=0xAAC2 |
| 298 | 296 | ||
| 299 | # | 297 | # |
| 300 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 298 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
| 301 | # | 299 | # |
| 302 | # CONFIG_PCI is not set | 300 | # CONFIG_PCI is not set |
| 303 | # CONFIG_ARCH_SUPPORTS_MSI is not set | 301 | # CONFIG_ARCH_SUPPORTS_MSI is not set |
| 304 | |||
| 305 | # | ||
| 306 | # PCCARD (PCMCIA/CardBus) support | ||
| 307 | # | ||
| 308 | # CONFIG_PCCARD is not set | 302 | # CONFIG_PCCARD is not set |
| 309 | 303 | ||
| 310 | # | 304 | # |
| @@ -322,7 +316,9 @@ CONFIG_BINFMT_ZFLAT=y | |||
| 322 | CONFIG_PM=y | 316 | CONFIG_PM=y |
| 323 | # CONFIG_PM_LEGACY is not set | 317 | # CONFIG_PM_LEGACY is not set |
| 324 | # CONFIG_PM_DEBUG is not set | 318 | # CONFIG_PM_DEBUG is not set |
| 325 | # CONFIG_PM_SYSFS_DEPRECATED is not set | 319 | CONFIG_PM_SLEEP=y |
| 320 | CONFIG_SUSPEND_UP_POSSIBLE=y | ||
| 321 | CONFIG_SUSPEND=y | ||
| 326 | CONFIG_PM_BFIN_SLEEP_DEEPER=y | 322 | CONFIG_PM_BFIN_SLEEP_DEEPER=y |
| 327 | # CONFIG_PM_BFIN_SLEEP is not set | 323 | # CONFIG_PM_BFIN_SLEEP is not set |
| 328 | # CONFIG_PM_WAKEUP_BY_GPIO is not set | 324 | # CONFIG_PM_WAKEUP_BY_GPIO is not set |
| @@ -368,6 +364,7 @@ CONFIG_SYN_COOKIES=y | |||
| 368 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | 364 | CONFIG_INET_XFRM_MODE_TRANSPORT=y |
| 369 | CONFIG_INET_XFRM_MODE_TUNNEL=y | 365 | CONFIG_INET_XFRM_MODE_TUNNEL=y |
| 370 | CONFIG_INET_XFRM_MODE_BEET=y | 366 | CONFIG_INET_XFRM_MODE_BEET=y |
| 367 | # CONFIG_INET_LRO is not set | ||
| 371 | CONFIG_INET_DIAG=y | 368 | CONFIG_INET_DIAG=y |
| 372 | CONFIG_INET_TCP_DIAG=y | 369 | CONFIG_INET_TCP_DIAG=y |
| 373 | # CONFIG_TCP_CONG_ADVANCED is not set | 370 | # CONFIG_TCP_CONG_ADVANCED is not set |
| @@ -394,10 +391,6 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 394 | # CONFIG_LAPB is not set | 391 | # CONFIG_LAPB is not set |
| 395 | # CONFIG_ECONET is not set | 392 | # CONFIG_ECONET is not set |
| 396 | # CONFIG_WAN_ROUTER is not set | 393 | # CONFIG_WAN_ROUTER is not set |
| 397 | |||
| 398 | # | ||
| 399 | # QoS and/or fair queueing | ||
| 400 | # | ||
| 401 | # CONFIG_NET_SCHED is not set | 394 | # CONFIG_NET_SCHED is not set |
| 402 | 395 | ||
| 403 | # | 396 | # |
| @@ -429,6 +422,9 @@ CONFIG_IRDA_CACHE_LAST_LSAP=y | |||
| 429 | # SIR device drivers | 422 | # SIR device drivers |
| 430 | # | 423 | # |
| 431 | CONFIG_IRTTY_SIR=m | 424 | CONFIG_IRTTY_SIR=m |
| 425 | CONFIG_BFIN_SIR=m | ||
| 426 | CONFIG_SIR_BFIN_DMA=y | ||
| 427 | # CONFIG_SIR_BFIN_PIO is not set | ||
| 432 | 428 | ||
| 433 | # | 429 | # |
| 434 | # Dongle support | 430 | # Dongle support |
| @@ -458,6 +454,7 @@ CONFIG_IRTTY_SIR=m | |||
| 458 | # CONFIG_MAC80211 is not set | 454 | # CONFIG_MAC80211 is not set |
| 459 | # CONFIG_IEEE80211 is not set | 455 | # CONFIG_IEEE80211 is not set |
| 460 | # CONFIG_RFKILL is not set | 456 | # CONFIG_RFKILL is not set |
| 457 | # CONFIG_NET_9P is not set | ||
| 461 | 458 | ||
| 462 | # | 459 | # |
| 463 | # Device Drivers | 460 | # Device Drivers |
| @@ -466,14 +463,11 @@ CONFIG_IRTTY_SIR=m | |||
| 466 | # | 463 | # |
| 467 | # Generic Driver Options | 464 | # Generic Driver Options |
| 468 | # | 465 | # |
| 466 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
| 469 | CONFIG_STANDALONE=y | 467 | CONFIG_STANDALONE=y |
| 470 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 468 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
| 471 | # CONFIG_FW_LOADER is not set | 469 | # CONFIG_FW_LOADER is not set |
| 472 | # CONFIG_SYS_HYPERVISOR is not set | 470 | # CONFIG_SYS_HYPERVISOR is not set |
| 473 | |||
| 474 | # | ||
| 475 | # Connector - unified userspace <-> kernelspace linker | ||
| 476 | # | ||
| 477 | # CONFIG_CONNECTOR is not set | 471 | # CONFIG_CONNECTOR is not set |
| 478 | CONFIG_MTD=y | 472 | CONFIG_MTD=y |
| 479 | # CONFIG_MTD_DEBUG is not set | 473 | # CONFIG_MTD_DEBUG is not set |
| @@ -493,6 +487,7 @@ CONFIG_MTD_BLOCK=y | |||
| 493 | # CONFIG_INFTL is not set | 487 | # CONFIG_INFTL is not set |
| 494 | # CONFIG_RFD_FTL is not set | 488 | # CONFIG_RFD_FTL is not set |
| 495 | # CONFIG_SSFDC is not set | 489 | # CONFIG_SSFDC is not set |
| 490 | # CONFIG_MTD_OOPS is not set | ||
| 496 | 491 | ||
| 497 | # | 492 | # |
| 498 | # RAM/ROM/Flash chip drivers | 493 | # RAM/ROM/Flash chip drivers |
| @@ -524,11 +519,7 @@ CONFIG_MTD_ROM=m | |||
| 524 | # | 519 | # |
| 525 | CONFIG_MTD_COMPLEX_MAPPINGS=y | 520 | CONFIG_MTD_COMPLEX_MAPPINGS=y |
| 526 | # CONFIG_MTD_PHYSMAP is not set | 521 | # CONFIG_MTD_PHYSMAP is not set |
| 527 | CONFIG_MTD_BF5xx=m | 522 | CONFIG_MTD_BFIN_ASYNC=m |
| 528 | CONFIG_BFIN_FLASH_BANK_0=0x7BB0 | ||
| 529 | CONFIG_BFIN_FLASH_BANK_1=0x7BB0 | ||
| 530 | CONFIG_BFIN_FLASH_BANK_2=0x7BB0 | ||
| 531 | CONFIG_BFIN_FLASH_BANK_3=0x7BB0 | ||
| 532 | # CONFIG_MTD_UCLINUX is not set | 523 | # CONFIG_MTD_UCLINUX is not set |
| 533 | # CONFIG_MTD_PLATRAM is not set | 524 | # CONFIG_MTD_PLATRAM is not set |
| 534 | 525 | ||
| @@ -555,20 +546,8 @@ CONFIG_BFIN_FLASH_BANK_3=0x7BB0 | |||
| 555 | # UBI - Unsorted block images | 546 | # UBI - Unsorted block images |
| 556 | # | 547 | # |
| 557 | # CONFIG_MTD_UBI is not set | 548 | # CONFIG_MTD_UBI is not set |
| 558 | |||
| 559 | # | ||
| 560 | # Parallel port support | ||
| 561 | # | ||
| 562 | # CONFIG_PARPORT is not set | 549 | # CONFIG_PARPORT is not set |
| 563 | 550 | CONFIG_BLK_DEV=y | |
| 564 | # | ||
| 565 | # Plug and Play support | ||
| 566 | # | ||
| 567 | # CONFIG_PNPACPI is not set | ||
| 568 | |||
| 569 | # | ||
| 570 | # Block devices | ||
| 571 | # | ||
| 572 | # CONFIG_BLK_DEV_COW_COMMON is not set | 551 | # CONFIG_BLK_DEV_COW_COMMON is not set |
| 573 | # CONFIG_BLK_DEV_LOOP is not set | 552 | # CONFIG_BLK_DEV_LOOP is not set |
| 574 | # CONFIG_BLK_DEV_NBD is not set | 553 | # CONFIG_BLK_DEV_NBD is not set |
| @@ -578,10 +557,8 @@ CONFIG_BLK_DEV_RAM_SIZE=4096 | |||
| 578 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | 557 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 |
| 579 | # CONFIG_CDROM_PKTCDVD is not set | 558 | # CONFIG_CDROM_PKTCDVD is not set |
| 580 | # CONFIG_ATA_OVER_ETH is not set | 559 | # CONFIG_ATA_OVER_ETH is not set |
| 581 | 560 | CONFIG_MISC_DEVICES=y | |
| 582 | # | 561 | # CONFIG_EEPROM_93CX6 is not set |
| 583 | # Misc devices | ||
| 584 | # | ||
| 585 | # CONFIG_IDE is not set | 562 | # CONFIG_IDE is not set |
| 586 | 563 | ||
| 587 | # | 564 | # |
| @@ -589,32 +566,29 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
| 589 | # | 566 | # |
| 590 | # CONFIG_RAID_ATTRS is not set | 567 | # CONFIG_RAID_ATTRS is not set |
| 591 | # CONFIG_SCSI is not set | 568 | # CONFIG_SCSI is not set |
| 569 | # CONFIG_SCSI_DMA is not set | ||
| 592 | # CONFIG_SCSI_NETLINK is not set | 570 | # CONFIG_SCSI_NETLINK is not set |
| 593 | # CONFIG_ATA is not set | 571 | # CONFIG_ATA is not set |
| 594 | |||
| 595 | # | ||
| 596 | # Multi-device support (RAID and LVM) | ||
| 597 | # | ||
| 598 | # CONFIG_MD is not set | 572 | # CONFIG_MD is not set |
| 599 | |||
| 600 | # | ||
| 601 | # Network device support | ||
| 602 | # | ||
| 603 | CONFIG_NETDEVICES=y | 573 | CONFIG_NETDEVICES=y |
| 574 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
| 604 | # CONFIG_DUMMY is not set | 575 | # CONFIG_DUMMY is not set |
| 605 | # CONFIG_BONDING is not set | 576 | # CONFIG_BONDING is not set |
| 577 | # CONFIG_MACVLAN is not set | ||
| 606 | # CONFIG_EQUALIZER is not set | 578 | # CONFIG_EQUALIZER is not set |
| 607 | # CONFIG_TUN is not set | 579 | # CONFIG_TUN is not set |
| 580 | # CONFIG_VETH is not set | ||
| 608 | # CONFIG_PHYLIB is not set | 581 | # CONFIG_PHYLIB is not set |
| 609 | |||
| 610 | # | ||
| 611 | # Ethernet (10 or 100Mbit) | ||
| 612 | # | ||
| 613 | CONFIG_NET_ETHERNET=y | 582 | CONFIG_NET_ETHERNET=y |
| 614 | CONFIG_MII=y | 583 | CONFIG_MII=y |
| 615 | CONFIG_SMC91X=y | 584 | CONFIG_SMC91X=y |
| 616 | # CONFIG_SMSC911X is not set | 585 | # CONFIG_SMSC911X is not set |
| 617 | # CONFIG_DM9000 is not set | 586 | # CONFIG_DM9000 is not set |
| 587 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
| 588 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
| 589 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
| 590 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
| 591 | # CONFIG_B44 is not set | ||
| 618 | CONFIG_NETDEV_1000=y | 592 | CONFIG_NETDEV_1000=y |
| 619 | # CONFIG_AX88180 is not set | 593 | # CONFIG_AX88180 is not set |
| 620 | CONFIG_NETDEV_10000=y | 594 | CONFIG_NETDEV_10000=y |
| @@ -631,15 +605,7 @@ CONFIG_NETDEV_10000=y | |||
| 631 | # CONFIG_NETCONSOLE is not set | 605 | # CONFIG_NETCONSOLE is not set |
| 632 | # CONFIG_NETPOLL is not set | 606 | # CONFIG_NETPOLL is not set |
| 633 | # CONFIG_NET_POLL_CONTROLLER is not set | 607 | # CONFIG_NET_POLL_CONTROLLER is not set |
| 634 | |||
| 635 | # | ||
| 636 | # ISDN subsystem | ||
| 637 | # | ||
| 638 | # CONFIG_ISDN is not set | 608 | # CONFIG_ISDN is not set |
| 639 | |||
| 640 | # | ||
| 641 | # Telephony Support | ||
| 642 | # | ||
| 643 | # CONFIG_PHONE is not set | 609 | # CONFIG_PHONE is not set |
| 644 | 610 | ||
| 645 | # | 611 | # |
| @@ -654,7 +620,6 @@ CONFIG_INPUT=y | |||
| 654 | # | 620 | # |
| 655 | # CONFIG_INPUT_MOUSEDEV is not set | 621 | # CONFIG_INPUT_MOUSEDEV is not set |
| 656 | # CONFIG_INPUT_JOYDEV is not set | 622 | # CONFIG_INPUT_JOYDEV is not set |
| 657 | # CONFIG_INPUT_TSDEV is not set | ||
| 658 | CONFIG_INPUT_EVDEV=m | 623 | CONFIG_INPUT_EVDEV=m |
| 659 | # CONFIG_INPUT_EVBUG is not set | 624 | # CONFIG_INPUT_EVBUG is not set |
| 660 | 625 | ||
| @@ -667,14 +632,8 @@ CONFIG_INPUT_EVDEV=m | |||
| 667 | # CONFIG_INPUT_TABLET is not set | 632 | # CONFIG_INPUT_TABLET is not set |
| 668 | # CONFIG_INPUT_TOUCHSCREEN is not set | 633 | # CONFIG_INPUT_TOUCHSCREEN is not set |
| 669 | CONFIG_INPUT_MISC=y | 634 | CONFIG_INPUT_MISC=y |
| 670 | # CONFIG_INPUT_ATI_REMOTE is not set | ||
| 671 | # CONFIG_INPUT_ATI_REMOTE2 is not set | ||
| 672 | # CONFIG_INPUT_KEYSPAN_REMOTE is not set | ||
| 673 | # CONFIG_INPUT_POWERMATE is not set | ||
| 674 | # CONFIG_INPUT_YEALINK is not set | ||
| 675 | # CONFIG_INPUT_UINPUT is not set | 635 | # CONFIG_INPUT_UINPUT is not set |
| 676 | CONFIG_TWI_KEYPAD=m | 636 | CONFIG_TWI_KEYPAD=m |
| 677 | CONFIG_BFIN_TWIKEYPAD_IRQ_PFX=39 | ||
| 678 | 637 | ||
| 679 | # | 638 | # |
| 680 | # Hardware I/O ports | 639 | # Hardware I/O ports |
| @@ -687,15 +646,13 @@ CONFIG_BFIN_TWIKEYPAD_IRQ_PFX=39 | |||
| 687 | # | 646 | # |
| 688 | # CONFIG_AD9960 is not set | 647 | # CONFIG_AD9960 is not set |
| 689 | # CONFIG_SPI_ADC_BF533 is not set | 648 | # CONFIG_SPI_ADC_BF533 is not set |
| 690 | # CONFIG_BF5xx_PFLAGS is not set | ||
| 691 | # CONFIG_BF5xx_PPIFCD is not set | 649 | # CONFIG_BF5xx_PPIFCD is not set |
| 692 | # CONFIG_BFIN_SIMPLE_TIMER is not set | 650 | # CONFIG_BFIN_SIMPLE_TIMER is not set |
| 693 | # CONFIG_BF5xx_PPI is not set | 651 | # CONFIG_BF5xx_PPI is not set |
| 694 | CONFIG_BFIN_SPORT=y | 652 | CONFIG_BFIN_SPORT=y |
| 695 | # CONFIG_BFIN_TIMER_LATENCY is not set | 653 | # CONFIG_BFIN_TIMER_LATENCY is not set |
| 696 | CONFIG_TWI_LCD=m | 654 | CONFIG_TWI_LCD=m |
| 697 | CONFIG_TWI_LCD_SLAVE_ADDR=34 | 655 | CONFIG_SIMPLE_GPIO=m |
| 698 | # CONFIG_AD5304 is not set | ||
| 699 | # CONFIG_VT is not set | 656 | # CONFIG_VT is not set |
| 700 | # CONFIG_SERIAL_NONSTANDARD is not set | 657 | # CONFIG_SERIAL_NONSTANDARD is not set |
| 701 | 658 | ||
| @@ -723,28 +680,11 @@ CONFIG_UNIX98_PTYS=y | |||
| 723 | # CAN, the car bus and industrial fieldbus | 680 | # CAN, the car bus and industrial fieldbus |
| 724 | # | 681 | # |
| 725 | # CONFIG_CAN4LINUX is not set | 682 | # CONFIG_CAN4LINUX is not set |
| 726 | |||
| 727 | # | ||
| 728 | # IPMI | ||
| 729 | # | ||
| 730 | # CONFIG_IPMI_HANDLER is not set | 683 | # CONFIG_IPMI_HANDLER is not set |
| 731 | CONFIG_WATCHDOG=y | ||
| 732 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
| 733 | |||
| 734 | # | ||
| 735 | # Watchdog Device Drivers | ||
| 736 | # | ||
| 737 | # CONFIG_SOFT_WATCHDOG is not set | ||
| 738 | CONFIG_BFIN_WDT=y | ||
| 739 | CONFIG_HW_RANDOM=y | 684 | CONFIG_HW_RANDOM=y |
| 740 | # CONFIG_GEN_RTC is not set | 685 | # CONFIG_GEN_RTC is not set |
| 741 | CONFIG_BLACKFIN_DPMC=y | ||
| 742 | # CONFIG_R3964 is not set | 686 | # CONFIG_R3964 is not set |
| 743 | # CONFIG_RAW_DRIVER is not set | 687 | # CONFIG_RAW_DRIVER is not set |
| 744 | |||
| 745 | # | ||
| 746 | # TPM devices | ||
| 747 | # | ||
| 748 | # CONFIG_TCG_TPM is not set | 688 | # CONFIG_TCG_TPM is not set |
| 749 | CONFIG_I2C=m | 689 | CONFIG_I2C=m |
| 750 | CONFIG_I2C_BOARDINFO=y | 690 | CONFIG_I2C_BOARDINFO=y |
| @@ -764,6 +704,7 @@ CONFIG_I2C_ALGOBIT=m | |||
| 764 | # CONFIG_I2C_OCORES is not set | 704 | # CONFIG_I2C_OCORES is not set |
| 765 | # CONFIG_I2C_PARPORT_LIGHT is not set | 705 | # CONFIG_I2C_PARPORT_LIGHT is not set |
| 766 | # CONFIG_I2C_SIMTEC is not set | 706 | # CONFIG_I2C_SIMTEC is not set |
| 707 | # CONFIG_I2C_TAOS_EVM is not set | ||
| 767 | # CONFIG_I2C_STUB is not set | 708 | # CONFIG_I2C_STUB is not set |
| 768 | 709 | ||
| 769 | # | 710 | # |
| @@ -771,14 +712,15 @@ CONFIG_I2C_ALGOBIT=m | |||
| 771 | # | 712 | # |
| 772 | # CONFIG_SENSORS_DS1337 is not set | 713 | # CONFIG_SENSORS_DS1337 is not set |
| 773 | # CONFIG_SENSORS_DS1374 is not set | 714 | # CONFIG_SENSORS_DS1374 is not set |
| 715 | # CONFIG_DS1682 is not set | ||
| 774 | # CONFIG_SENSORS_AD5252 is not set | 716 | # CONFIG_SENSORS_AD5252 is not set |
| 775 | # CONFIG_SENSORS_EEPROM is not set | 717 | # CONFIG_SENSORS_EEPROM is not set |
| 776 | # CONFIG_SENSORS_PCF8574 is not set | 718 | # CONFIG_SENSORS_PCF8574 is not set |
| 777 | # CONFIG_SENSORS_PCF8575 is not set | 719 | # CONFIG_SENSORS_PCF8575 is not set |
| 778 | # CONFIG_SENSORS_PCA9543 is not set | ||
| 779 | # CONFIG_SENSORS_PCA9539 is not set | 720 | # CONFIG_SENSORS_PCA9539 is not set |
| 780 | # CONFIG_SENSORS_PCF8591 is not set | 721 | # CONFIG_SENSORS_PCF8591 is not set |
| 781 | # CONFIG_SENSORS_MAX6875 is not set | 722 | # CONFIG_SENSORS_MAX6875 is not set |
| 723 | # CONFIG_SENSORS_TSL2550 is not set | ||
| 782 | # CONFIG_I2C_DEBUG_CORE is not set | 724 | # CONFIG_I2C_DEBUG_CORE is not set |
| 783 | # CONFIG_I2C_DEBUG_ALGO is not set | 725 | # CONFIG_I2C_DEBUG_ALGO is not set |
| 784 | # CONFIG_I2C_DEBUG_BUS is not set | 726 | # CONFIG_I2C_DEBUG_BUS is not set |
| @@ -801,14 +743,11 @@ CONFIG_SPI_BFIN=y | |||
| 801 | # | 743 | # |
| 802 | # CONFIG_SPI_AT25 is not set | 744 | # CONFIG_SPI_AT25 is not set |
| 803 | # CONFIG_SPI_SPIDEV is not set | 745 | # CONFIG_SPI_SPIDEV is not set |
| 804 | 746 | # CONFIG_SPI_TLE62X0 is not set | |
| 805 | # | ||
| 806 | # Dallas's 1-wire bus | ||
| 807 | # | ||
| 808 | # CONFIG_W1 is not set | 747 | # CONFIG_W1 is not set |
| 748 | # CONFIG_POWER_SUPPLY is not set | ||
| 809 | CONFIG_HWMON=y | 749 | CONFIG_HWMON=y |
| 810 | # CONFIG_HWMON_VID is not set | 750 | # CONFIG_HWMON_VID is not set |
| 811 | # CONFIG_SENSORS_ABITUGURU is not set | ||
| 812 | # CONFIG_SENSORS_AD7418 is not set | 751 | # CONFIG_SENSORS_AD7418 is not set |
| 813 | # CONFIG_SENSORS_ADM1021 is not set | 752 | # CONFIG_SENSORS_ADM1021 is not set |
| 814 | # CONFIG_SENSORS_ADM1025 is not set | 753 | # CONFIG_SENSORS_ADM1025 is not set |
| @@ -816,12 +755,12 @@ CONFIG_HWMON=y | |||
| 816 | # CONFIG_SENSORS_ADM1029 is not set | 755 | # CONFIG_SENSORS_ADM1029 is not set |
| 817 | # CONFIG_SENSORS_ADM1031 is not set | 756 | # CONFIG_SENSORS_ADM1031 is not set |
| 818 | # CONFIG_SENSORS_ADM9240 is not set | 757 | # CONFIG_SENSORS_ADM9240 is not set |
| 819 | # CONFIG_SENSORS_ASB100 is not set | 758 | # CONFIG_SENSORS_ADT7470 is not set |
| 820 | # CONFIG_SENSORS_ATXP1 is not set | 759 | # CONFIG_SENSORS_ATXP1 is not set |
| 821 | # CONFIG_SENSORS_DS1621 is not set | 760 | # CONFIG_SENSORS_DS1621 is not set |
| 822 | # CONFIG_SENSORS_F71805F is not set | 761 | # CONFIG_SENSORS_F71805F is not set |
| 823 | # CONFIG_SENSORS_FSCHER is not set | 762 | # CONFIG_SENSORS_F71882FG is not set |
| 824 | # CONFIG_SENSORS_FSCPOS is not set | 763 | # CONFIG_SENSORS_F75375S is not set |
| 825 | # CONFIG_SENSORS_GL518SM is not set | 764 | # CONFIG_SENSORS_GL518SM is not set |
| 826 | # CONFIG_SENSORS_GL520SM is not set | 765 | # CONFIG_SENSORS_GL520SM is not set |
| 827 | # CONFIG_SENSORS_IT87 is not set | 766 | # CONFIG_SENSORS_IT87 is not set |
| @@ -836,13 +775,16 @@ CONFIG_HWMON=y | |||
| 836 | # CONFIG_SENSORS_LM87 is not set | 775 | # CONFIG_SENSORS_LM87 is not set |
| 837 | # CONFIG_SENSORS_LM90 is not set | 776 | # CONFIG_SENSORS_LM90 is not set |
| 838 | # CONFIG_SENSORS_LM92 is not set | 777 | # CONFIG_SENSORS_LM92 is not set |
| 778 | # CONFIG_SENSORS_LM93 is not set | ||
| 839 | # CONFIG_SENSORS_MAX1619 is not set | 779 | # CONFIG_SENSORS_MAX1619 is not set |
| 840 | # CONFIG_SENSORS_MAX6650 is not set | 780 | # CONFIG_SENSORS_MAX6650 is not set |
| 841 | # CONFIG_SENSORS_PC87360 is not set | 781 | # CONFIG_SENSORS_PC87360 is not set |
| 842 | # CONFIG_SENSORS_PC87427 is not set | 782 | # CONFIG_SENSORS_PC87427 is not set |
| 783 | # CONFIG_SENSORS_DME1737 is not set | ||
| 843 | # CONFIG_SENSORS_SMSC47M1 is not set | 784 | # CONFIG_SENSORS_SMSC47M1 is not set |
| 844 | # CONFIG_SENSORS_SMSC47M192 is not set | 785 | # CONFIG_SENSORS_SMSC47M192 is not set |
| 845 | # CONFIG_SENSORS_SMSC47B397 is not set | 786 | # CONFIG_SENSORS_SMSC47B397 is not set |
| 787 | # CONFIG_SENSORS_THMC50 is not set | ||
| 846 | # CONFIG_SENSORS_VT1211 is not set | 788 | # CONFIG_SENSORS_VT1211 is not set |
| 847 | # CONFIG_SENSORS_W83781D is not set | 789 | # CONFIG_SENSORS_W83781D is not set |
| 848 | # CONFIG_SENSORS_W83791D is not set | 790 | # CONFIG_SENSORS_W83791D is not set |
| @@ -852,6 +794,20 @@ CONFIG_HWMON=y | |||
| 852 | # CONFIG_SENSORS_W83627HF is not set | 794 | # CONFIG_SENSORS_W83627HF is not set |
| 853 | # CONFIG_SENSORS_W83627EHF is not set | 795 | # CONFIG_SENSORS_W83627EHF is not set |
| 854 | # CONFIG_HWMON_DEBUG_CHIP is not set | 796 | # CONFIG_HWMON_DEBUG_CHIP is not set |
| 797 | CONFIG_WATCHDOG=y | ||
| 798 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
| 799 | |||
| 800 | # | ||
| 801 | # Watchdog Device Drivers | ||
| 802 | # | ||
| 803 | # CONFIG_SOFT_WATCHDOG is not set | ||
| 804 | CONFIG_BFIN_WDT=y | ||
| 805 | |||
| 806 | # | ||
| 807 | # Sonics Silicon Backplane | ||
| 808 | # | ||
| 809 | CONFIG_SSB_POSSIBLE=y | ||
| 810 | # CONFIG_SSB is not set | ||
| 855 | 811 | ||
| 856 | # | 812 | # |
| 857 | # Multifunction device drivers | 813 | # Multifunction device drivers |
| @@ -863,24 +819,20 @@ CONFIG_HWMON=y | |||
| 863 | # | 819 | # |
| 864 | # CONFIG_VIDEO_DEV is not set | 820 | # CONFIG_VIDEO_DEV is not set |
| 865 | # CONFIG_DVB_CORE is not set | 821 | # CONFIG_DVB_CORE is not set |
| 866 | CONFIG_DAB=y | 822 | # CONFIG_DAB is not set |
| 867 | 823 | ||
| 868 | # | 824 | # |
| 869 | # Graphics support | 825 | # Graphics support |
| 870 | # | 826 | # |
| 871 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
| 872 | |||
| 873 | # | ||
| 874 | # Display device support | ||
| 875 | # | ||
| 876 | # CONFIG_DISPLAY_SUPPORT is not set | ||
| 877 | # CONFIG_VGASTATE is not set | 827 | # CONFIG_VGASTATE is not set |
| 828 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
| 878 | CONFIG_FB=m | 829 | CONFIG_FB=m |
| 879 | CONFIG_FIRMWARE_EDID=y | 830 | CONFIG_FIRMWARE_EDID=y |
| 880 | # CONFIG_FB_DDC is not set | 831 | # CONFIG_FB_DDC is not set |
| 881 | CONFIG_FB_CFB_FILLRECT=m | 832 | CONFIG_FB_CFB_FILLRECT=m |
| 882 | CONFIG_FB_CFB_COPYAREA=m | 833 | CONFIG_FB_CFB_COPYAREA=m |
| 883 | CONFIG_FB_CFB_IMAGEBLIT=m | 834 | CONFIG_FB_CFB_IMAGEBLIT=m |
| 835 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set | ||
| 884 | # CONFIG_FB_SYS_FILLRECT is not set | 836 | # CONFIG_FB_SYS_FILLRECT is not set |
| 885 | # CONFIG_FB_SYS_COPYAREA is not set | 837 | # CONFIG_FB_SYS_COPYAREA is not set |
| 886 | # CONFIG_FB_SYS_IMAGEBLIT is not set | 838 | # CONFIG_FB_SYS_IMAGEBLIT is not set |
| @@ -895,7 +847,7 @@ CONFIG_FB_DEFERRED_IO=y | |||
| 895 | # | 847 | # |
| 896 | # Frame buffer hardware drivers | 848 | # Frame buffer hardware drivers |
| 897 | # | 849 | # |
| 898 | CONFIG_FB_BFIN_7171=m | 850 | # CONFIG_FB_BFIN_T350MCQB is not set |
| 899 | CONFIG_FB_BFIN_7393=m | 851 | CONFIG_FB_BFIN_7393=m |
| 900 | CONFIG_NTSC=y | 852 | CONFIG_NTSC=y |
| 901 | # CONFIG_PAL is not set | 853 | # CONFIG_PAL is not set |
| @@ -905,9 +857,14 @@ CONFIG_NTSC=y | |||
| 905 | # CONFIG_PAL_YCBCR is not set | 857 | # CONFIG_PAL_YCBCR is not set |
| 906 | CONFIG_ADV7393_1XMEM=y | 858 | CONFIG_ADV7393_1XMEM=y |
| 907 | # CONFIG_ADV7393_2XMEM is not set | 859 | # CONFIG_ADV7393_2XMEM is not set |
| 908 | # CONFIG_FB_BFIN_T350MCQB is not set | ||
| 909 | # CONFIG_FB_S1D13XXX is not set | 860 | # CONFIG_FB_S1D13XXX is not set |
| 910 | # CONFIG_FB_VIRTUAL is not set | 861 | # CONFIG_FB_VIRTUAL is not set |
| 862 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
| 863 | |||
| 864 | # | ||
| 865 | # Display device support | ||
| 866 | # | ||
| 867 | # CONFIG_DISPLAY_SUPPORT is not set | ||
| 911 | # CONFIG_LOGO is not set | 868 | # CONFIG_LOGO is not set |
| 912 | 869 | ||
| 913 | # | 870 | # |
| @@ -941,6 +898,10 @@ CONFIG_SND_VERBOSE_PROCFS=y | |||
| 941 | # CONFIG_SND_MPU401 is not set | 898 | # CONFIG_SND_MPU401 is not set |
| 942 | 899 | ||
| 943 | # | 900 | # |
| 901 | # SPI devices | ||
| 902 | # | ||
| 903 | |||
| 904 | # | ||
| 944 | # ALSA Blackfin devices | 905 | # ALSA Blackfin devices |
| 945 | # | 906 | # |
| 946 | CONFIG_SND_BLACKFIN_AD1836=m | 907 | CONFIG_SND_BLACKFIN_AD1836=m |
| @@ -953,69 +914,43 @@ CONFIG_SND_BLACKFIN_SPI_PFBIT=4 | |||
| 953 | CONFIG_SND_BFIN_AD73311=m | 914 | CONFIG_SND_BFIN_AD73311=m |
| 954 | CONFIG_SND_BFIN_SPORT=0 | 915 | CONFIG_SND_BFIN_SPORT=0 |
| 955 | CONFIG_SND_BFIN_AD73311_SE=4 | 916 | CONFIG_SND_BFIN_AD73311_SE=4 |
| 917 | CONFIG_SND_BFIN_AD73322=m | ||
| 918 | CONFIG_SND_BFIN_AD73322_SPORT0_SE=10 | ||
| 919 | CONFIG_SND_BFIN_AD73322_SPORT1_SE=14 | ||
| 920 | CONFIG_SND_BFIN_AD73322_RESET=12 | ||
| 956 | 921 | ||
| 957 | # | 922 | # |
| 958 | # System on Chip audio support | 923 | # System on Chip audio support |
| 959 | # | 924 | # |
| 960 | # CONFIG_SND_SOC is not set | 925 | CONFIG_SND_SOC_AC97_BUS=y |
| 926 | CONFIG_SND_SOC=m | ||
| 927 | CONFIG_SND_BF5XX_SOC=m | ||
| 928 | CONFIG_SND_MMAP_SUPPORT=y | ||
| 929 | CONFIG_SND_BF5XX_SOC_AC97=m | ||
| 930 | # CONFIG_SND_BF5XX_SOC_WM8750 is not set | ||
| 931 | # CONFIG_SND_BF5XX_SOC_WM8731 is not set | ||
| 932 | # CONFIG_SND_BF5XX_SOC_SSM2602 is not set | ||
| 933 | CONFIG_SND_BF5XX_SOC_BF5xx=m | ||
| 934 | CONFIG_SND_BF5XX_SPORT_NUM=0 | ||
| 935 | # CONFIG_SND_BF5XX_HAVE_COLD_RESET is not set | ||
| 961 | 936 | ||
| 962 | # | 937 | # |
| 963 | # Open Sound System | 938 | # SoC Audio support for SuperH |
| 964 | # | 939 | # |
| 965 | # CONFIG_SOUND_PRIME is not set | 940 | CONFIG_SND_SOC_AD1980=m |
| 966 | 941 | ||
| 967 | # | 942 | # |
| 968 | # HID Devices | 943 | # Open Sound System |
| 969 | # | 944 | # |
| 945 | # CONFIG_SOUND_PRIME is not set | ||
| 946 | CONFIG_AC97_BUS=m | ||
| 947 | CONFIG_HID_SUPPORT=y | ||
| 970 | CONFIG_HID=y | 948 | CONFIG_HID=y |
| 971 | # CONFIG_HID_DEBUG is not set | 949 | # CONFIG_HID_DEBUG is not set |
| 972 | 950 | # CONFIG_HIDRAW is not set | |
| 973 | # | 951 | # CONFIG_USB_SUPPORT is not set |
| 974 | # USB support | ||
| 975 | # | ||
| 976 | CONFIG_USB_ARCH_HAS_HCD=y | ||
| 977 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
| 978 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
| 979 | # CONFIG_USB is not set | ||
| 980 | |||
| 981 | # | ||
| 982 | # Enable Host or Gadget support to see Inventra options | ||
| 983 | # | ||
| 984 | |||
| 985 | # | ||
| 986 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
| 987 | # | ||
| 988 | |||
| 989 | # | ||
| 990 | # USB Gadget Support | ||
| 991 | # | ||
| 992 | # CONFIG_USB_GADGET is not set | ||
| 993 | # CONFIG_MMC is not set | 952 | # CONFIG_MMC is not set |
| 994 | |||
| 995 | # | ||
| 996 | # LED devices | ||
| 997 | # | ||
| 998 | # CONFIG_NEW_LEDS is not set | 953 | # CONFIG_NEW_LEDS is not set |
| 999 | |||
| 1000 | # | ||
| 1001 | # LED drivers | ||
| 1002 | # | ||
| 1003 | |||
| 1004 | # | ||
| 1005 | # LED Triggers | ||
| 1006 | # | ||
| 1007 | |||
| 1008 | # | ||
| 1009 | # InfiniBand support | ||
| 1010 | # | ||
| 1011 | |||
| 1012 | # | ||
| 1013 | # EDAC - error detection and reporting (RAS) (EXPERIMENTAL) | ||
| 1014 | # | ||
| 1015 | |||
| 1016 | # | ||
| 1017 | # Real Time Clock | ||
| 1018 | # | ||
| 1019 | CONFIG_RTC_LIB=y | 954 | CONFIG_RTC_LIB=y |
| 1020 | CONFIG_RTC_CLASS=y | 955 | CONFIG_RTC_CLASS=y |
| 1021 | CONFIG_RTC_HCTOSYS=y | 956 | CONFIG_RTC_HCTOSYS=y |
| @@ -1035,6 +970,7 @@ CONFIG_RTC_INTF_DEV=y | |||
| 1035 | # I2C RTC drivers | 970 | # I2C RTC drivers |
| 1036 | # | 971 | # |
| 1037 | # CONFIG_RTC_DRV_DS1307 is not set | 972 | # CONFIG_RTC_DRV_DS1307 is not set |
| 973 | # CONFIG_RTC_DRV_DS1374 is not set | ||
| 1038 | # CONFIG_RTC_DRV_DS1672 is not set | 974 | # CONFIG_RTC_DRV_DS1672 is not set |
| 1039 | # CONFIG_RTC_DRV_MAX6900 is not set | 975 | # CONFIG_RTC_DRV_MAX6900 is not set |
| 1040 | # CONFIG_RTC_DRV_RS5C372 is not set | 976 | # CONFIG_RTC_DRV_RS5C372 is not set |
| @@ -1042,6 +978,7 @@ CONFIG_RTC_INTF_DEV=y | |||
| 1042 | # CONFIG_RTC_DRV_X1205 is not set | 978 | # CONFIG_RTC_DRV_X1205 is not set |
| 1043 | # CONFIG_RTC_DRV_PCF8563 is not set | 979 | # CONFIG_RTC_DRV_PCF8563 is not set |
| 1044 | # CONFIG_RTC_DRV_PCF8583 is not set | 980 | # CONFIG_RTC_DRV_PCF8583 is not set |
| 981 | # CONFIG_RTC_DRV_M41T80 is not set | ||
| 1045 | 982 | ||
| 1046 | # | 983 | # |
| 1047 | # SPI RTC drivers | 984 | # SPI RTC drivers |
| @@ -1053,8 +990,10 @@ CONFIG_RTC_INTF_DEV=y | |||
| 1053 | # Platform RTC drivers | 990 | # Platform RTC drivers |
| 1054 | # | 991 | # |
| 1055 | # CONFIG_RTC_DRV_DS1553 is not set | 992 | # CONFIG_RTC_DRV_DS1553 is not set |
| 993 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
| 1056 | # CONFIG_RTC_DRV_DS1742 is not set | 994 | # CONFIG_RTC_DRV_DS1742 is not set |
| 1057 | # CONFIG_RTC_DRV_M48T86 is not set | 995 | # CONFIG_RTC_DRV_M48T86 is not set |
| 996 | # CONFIG_RTC_DRV_M48T59 is not set | ||
| 1058 | # CONFIG_RTC_DRV_V3020 is not set | 997 | # CONFIG_RTC_DRV_V3020 is not set |
| 1059 | 998 | ||
| 1060 | # | 999 | # |
| @@ -1063,22 +1002,9 @@ CONFIG_RTC_INTF_DEV=y | |||
| 1063 | CONFIG_RTC_DRV_BFIN=y | 1002 | CONFIG_RTC_DRV_BFIN=y |
| 1064 | 1003 | ||
| 1065 | # | 1004 | # |
| 1066 | # DMA Engine support | 1005 | # Userspace I/O |
| 1067 | # | 1006 | # |
| 1068 | # CONFIG_DMA_ENGINE is not set | 1007 | # CONFIG_UIO is not set |
| 1069 | |||
| 1070 | # | ||
| 1071 | # DMA Clients | ||
| 1072 | # | ||
| 1073 | |||
| 1074 | # | ||
| 1075 | # DMA Devices | ||
| 1076 | # | ||
| 1077 | |||
| 1078 | # | ||
| 1079 | # PBX support | ||
| 1080 | # | ||
| 1081 | # CONFIG_PBX is not set | ||
| 1082 | 1008 | ||
| 1083 | # | 1009 | # |
| 1084 | # File systems | 1010 | # File systems |
| @@ -1123,7 +1049,6 @@ CONFIG_PROC_SYSCTL=y | |||
| 1123 | CONFIG_SYSFS=y | 1049 | CONFIG_SYSFS=y |
| 1124 | # CONFIG_TMPFS is not set | 1050 | # CONFIG_TMPFS is not set |
| 1125 | # CONFIG_HUGETLB_PAGE is not set | 1051 | # CONFIG_HUGETLB_PAGE is not set |
| 1126 | CONFIG_RAMFS=y | ||
| 1127 | # CONFIG_CONFIGFS_FS is not set | 1052 | # CONFIG_CONFIGFS_FS is not set |
| 1128 | 1053 | ||
| 1129 | # | 1054 | # |
| @@ -1149,10 +1074,12 @@ CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y | |||
| 1149 | CONFIG_JFFS2_FS=m | 1074 | CONFIG_JFFS2_FS=m |
| 1150 | CONFIG_JFFS2_FS_DEBUG=0 | 1075 | CONFIG_JFFS2_FS_DEBUG=0 |
| 1151 | CONFIG_JFFS2_FS_WRITEBUFFER=y | 1076 | CONFIG_JFFS2_FS_WRITEBUFFER=y |
| 1077 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
| 1152 | # CONFIG_JFFS2_SUMMARY is not set | 1078 | # CONFIG_JFFS2_SUMMARY is not set |
| 1153 | # CONFIG_JFFS2_FS_XATTR is not set | 1079 | # CONFIG_JFFS2_FS_XATTR is not set |
| 1154 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | 1080 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set |
| 1155 | CONFIG_JFFS2_ZLIB=y | 1081 | CONFIG_JFFS2_ZLIB=y |
| 1082 | # CONFIG_JFFS2_LZO is not set | ||
| 1156 | CONFIG_JFFS2_RTIME=y | 1083 | CONFIG_JFFS2_RTIME=y |
| 1157 | # CONFIG_JFFS2_RUBIN is not set | 1084 | # CONFIG_JFFS2_RUBIN is not set |
| 1158 | # CONFIG_CRAMFS is not set | 1085 | # CONFIG_CRAMFS is not set |
| @@ -1161,10 +1088,7 @@ CONFIG_JFFS2_RTIME=y | |||
| 1161 | # CONFIG_QNX4FS_FS is not set | 1088 | # CONFIG_QNX4FS_FS is not set |
| 1162 | # CONFIG_SYSV_FS is not set | 1089 | # CONFIG_SYSV_FS is not set |
| 1163 | # CONFIG_UFS_FS is not set | 1090 | # CONFIG_UFS_FS is not set |
| 1164 | 1091 | CONFIG_NETWORK_FILESYSTEMS=y | |
| 1165 | # | ||
| 1166 | # Network File Systems | ||
| 1167 | # | ||
| 1168 | CONFIG_NFS_FS=m | 1092 | CONFIG_NFS_FS=m |
| 1169 | CONFIG_NFS_V3=y | 1093 | CONFIG_NFS_V3=y |
| 1170 | # CONFIG_NFS_V3_ACL is not set | 1094 | # CONFIG_NFS_V3_ACL is not set |
| @@ -1184,17 +1108,12 @@ CONFIG_SMB_FS=m | |||
| 1184 | # CONFIG_NCP_FS is not set | 1108 | # CONFIG_NCP_FS is not set |
| 1185 | # CONFIG_CODA_FS is not set | 1109 | # CONFIG_CODA_FS is not set |
| 1186 | # CONFIG_AFS_FS is not set | 1110 | # CONFIG_AFS_FS is not set |
| 1187 | # CONFIG_9P_FS is not set | ||
| 1188 | 1111 | ||
| 1189 | # | 1112 | # |
| 1190 | # Partition Types | 1113 | # Partition Types |
| 1191 | # | 1114 | # |
| 1192 | # CONFIG_PARTITION_ADVANCED is not set | 1115 | # CONFIG_PARTITION_ADVANCED is not set |
| 1193 | CONFIG_MSDOS_PARTITION=y | 1116 | CONFIG_MSDOS_PARTITION=y |
| 1194 | |||
| 1195 | # | ||
| 1196 | # Native Language Support | ||
| 1197 | # | ||
| 1198 | CONFIG_NLS=m | 1117 | CONFIG_NLS=m |
| 1199 | CONFIG_NLS_DEFAULT="iso8859-1" | 1118 | CONFIG_NLS_DEFAULT="iso8859-1" |
| 1200 | # CONFIG_NLS_CODEPAGE_437 is not set | 1119 | # CONFIG_NLS_CODEPAGE_437 is not set |
| @@ -1235,21 +1154,16 @@ CONFIG_NLS_DEFAULT="iso8859-1" | |||
| 1235 | # CONFIG_NLS_KOI8_R is not set | 1154 | # CONFIG_NLS_KOI8_R is not set |
| 1236 | # CONFIG_NLS_KOI8_U is not set | 1155 | # CONFIG_NLS_KOI8_U is not set |
| 1237 | # CONFIG_NLS_UTF8 is not set | 1156 | # CONFIG_NLS_UTF8 is not set |
| 1238 | |||
| 1239 | # | ||
| 1240 | # Distributed Lock Manager | ||
| 1241 | # | ||
| 1242 | # CONFIG_DLM is not set | 1157 | # CONFIG_DLM is not set |
| 1243 | 1158 | CONFIG_INSTRUMENTATION=y | |
| 1244 | # | ||
| 1245 | # Profiling support | ||
| 1246 | # | ||
| 1247 | # CONFIG_PROFILING is not set | 1159 | # CONFIG_PROFILING is not set |
| 1160 | # CONFIG_MARKERS is not set | ||
| 1248 | 1161 | ||
| 1249 | # | 1162 | # |
| 1250 | # Kernel hacking | 1163 | # Kernel hacking |
| 1251 | # | 1164 | # |
| 1252 | # CONFIG_PRINTK_TIME is not set | 1165 | # CONFIG_PRINTK_TIME is not set |
| 1166 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
| 1253 | CONFIG_ENABLE_MUST_CHECK=y | 1167 | CONFIG_ENABLE_MUST_CHECK=y |
| 1254 | # CONFIG_MAGIC_SYSRQ is not set | 1168 | # CONFIG_MAGIC_SYSRQ is not set |
| 1255 | # CONFIG_UNUSED_SYMBOLS is not set | 1169 | # CONFIG_UNUSED_SYMBOLS is not set |
| @@ -1257,6 +1171,7 @@ CONFIG_DEBUG_FS=y | |||
| 1257 | # CONFIG_HEADERS_CHECK is not set | 1171 | # CONFIG_HEADERS_CHECK is not set |
| 1258 | # CONFIG_DEBUG_KERNEL is not set | 1172 | # CONFIG_DEBUG_KERNEL is not set |
| 1259 | # CONFIG_DEBUG_BUGVERBOSE is not set | 1173 | # CONFIG_DEBUG_BUGVERBOSE is not set |
| 1174 | # CONFIG_SAMPLES is not set | ||
| 1260 | CONFIG_DEBUG_MMRS=y | 1175 | CONFIG_DEBUG_MMRS=y |
| 1261 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 1176 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
| 1262 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | 1177 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y |
| @@ -1276,11 +1191,7 @@ CONFIG_ACCESS_CHECK=y | |||
| 1276 | # CONFIG_KEYS is not set | 1191 | # CONFIG_KEYS is not set |
| 1277 | CONFIG_SECURITY=y | 1192 | CONFIG_SECURITY=y |
| 1278 | # CONFIG_SECURITY_NETWORK is not set | 1193 | # CONFIG_SECURITY_NETWORK is not set |
| 1279 | CONFIG_SECURITY_CAPABILITIES=m | 1194 | # CONFIG_SECURITY_CAPABILITIES is not set |
| 1280 | |||
| 1281 | # | ||
| 1282 | # Cryptographic options | ||
| 1283 | # | ||
| 1284 | # CONFIG_CRYPTO is not set | 1195 | # CONFIG_CRYPTO is not set |
| 1285 | 1196 | ||
| 1286 | # | 1197 | # |
| @@ -1291,6 +1202,7 @@ CONFIG_CRC_CCITT=m | |||
| 1291 | # CONFIG_CRC16 is not set | 1202 | # CONFIG_CRC16 is not set |
| 1292 | # CONFIG_CRC_ITU_T is not set | 1203 | # CONFIG_CRC_ITU_T is not set |
| 1293 | CONFIG_CRC32=y | 1204 | CONFIG_CRC32=y |
| 1205 | # CONFIG_CRC7 is not set | ||
| 1294 | # CONFIG_LIBCRC32C is not set | 1206 | # CONFIG_LIBCRC32C is not set |
| 1295 | CONFIG_ZLIB_INFLATE=y | 1207 | CONFIG_ZLIB_INFLATE=y |
| 1296 | CONFIG_ZLIB_DEFLATE=m | 1208 | CONFIG_ZLIB_DEFLATE=m |
diff --git a/arch/blackfin/configs/BF537-STAMP_defconfig b/arch/blackfin/configs/BF537-STAMP_defconfig index b5189c8ba263..5fd7c4b143df 100644 --- a/arch/blackfin/configs/BF537-STAMP_defconfig +++ b/arch/blackfin/configs/BF537-STAMP_defconfig | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.22.16 | 3 | # Linux kernel version: 2.6.24.7 |
| 4 | # | 4 | # |
| 5 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
| 6 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
| @@ -13,35 +13,34 @@ CONFIG_GENERIC_FIND_NEXT_BIT=y | |||
| 13 | CONFIG_GENERIC_HWEIGHT=y | 13 | CONFIG_GENERIC_HWEIGHT=y |
| 14 | CONFIG_GENERIC_HARDIRQS=y | 14 | CONFIG_GENERIC_HARDIRQS=y |
| 15 | CONFIG_GENERIC_IRQ_PROBE=y | 15 | CONFIG_GENERIC_IRQ_PROBE=y |
| 16 | CONFIG_GENERIC_TIME=y | ||
| 17 | CONFIG_GENERIC_GPIO=y | 16 | CONFIG_GENERIC_GPIO=y |
| 18 | CONFIG_FORCE_MAX_ZONEORDER=14 | 17 | CONFIG_FORCE_MAX_ZONEORDER=14 |
| 19 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
| 20 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 19 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
| 21 | 20 | ||
| 22 | # | 21 | # |
| 23 | # Code maturity level options | 22 | # General setup |
| 24 | # | 23 | # |
| 25 | CONFIG_EXPERIMENTAL=y | 24 | CONFIG_EXPERIMENTAL=y |
| 26 | CONFIG_BROKEN_ON_SMP=y | 25 | CONFIG_BROKEN_ON_SMP=y |
| 27 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 26 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
| 28 | |||
| 29 | # | ||
| 30 | # General setup | ||
| 31 | # | ||
| 32 | CONFIG_LOCALVERSION="" | 27 | CONFIG_LOCALVERSION="" |
| 33 | CONFIG_LOCALVERSION_AUTO=y | 28 | CONFIG_LOCALVERSION_AUTO=y |
| 34 | CONFIG_SYSVIPC=y | 29 | CONFIG_SYSVIPC=y |
| 35 | # CONFIG_IPC_NS is not set | ||
| 36 | CONFIG_SYSVIPC_SYSCTL=y | 30 | CONFIG_SYSVIPC_SYSCTL=y |
| 37 | # CONFIG_POSIX_MQUEUE is not set | 31 | # CONFIG_POSIX_MQUEUE is not set |
| 38 | # CONFIG_BSD_PROCESS_ACCT is not set | 32 | # CONFIG_BSD_PROCESS_ACCT is not set |
| 39 | # CONFIG_TASKSTATS is not set | 33 | # CONFIG_TASKSTATS is not set |
| 40 | # CONFIG_UTS_NS is not set | 34 | # CONFIG_USER_NS is not set |
| 35 | # CONFIG_PID_NS is not set | ||
| 41 | # CONFIG_AUDIT is not set | 36 | # CONFIG_AUDIT is not set |
| 42 | CONFIG_IKCONFIG=y | 37 | CONFIG_IKCONFIG=y |
| 43 | CONFIG_IKCONFIG_PROC=y | 38 | CONFIG_IKCONFIG_PROC=y |
| 44 | CONFIG_LOG_BUF_SHIFT=14 | 39 | CONFIG_LOG_BUF_SHIFT=14 |
| 40 | # CONFIG_CGROUPS is not set | ||
| 41 | CONFIG_FAIR_GROUP_SCHED=y | ||
| 42 | CONFIG_FAIR_USER_SCHED=y | ||
| 43 | # CONFIG_FAIR_CGROUP_SCHED is not set | ||
| 45 | CONFIG_SYSFS_DEPRECATED=y | 44 | CONFIG_SYSFS_DEPRECATED=y |
| 46 | # CONFIG_RELAY is not set | 45 | # CONFIG_RELAY is not set |
| 47 | CONFIG_BLK_DEV_INITRD=y | 46 | CONFIG_BLK_DEV_INITRD=y |
| @@ -64,32 +63,24 @@ CONFIG_EPOLL=y | |||
| 64 | CONFIG_SIGNALFD=y | 63 | CONFIG_SIGNALFD=y |
| 65 | CONFIG_EVENTFD=y | 64 | CONFIG_EVENTFD=y |
| 66 | CONFIG_VM_EVENT_COUNTERS=y | 65 | CONFIG_VM_EVENT_COUNTERS=y |
| 67 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | ||
| 68 | # CONFIG_NP2 is not set | ||
| 69 | CONFIG_SLAB=y | 66 | CONFIG_SLAB=y |
| 70 | # CONFIG_SLUB is not set | 67 | # CONFIG_SLUB is not set |
| 71 | # CONFIG_SLOB is not set | 68 | # CONFIG_SLOB is not set |
| 69 | CONFIG_SLABINFO=y | ||
| 72 | CONFIG_RT_MUTEXES=y | 70 | CONFIG_RT_MUTEXES=y |
| 73 | CONFIG_TINY_SHMEM=y | 71 | CONFIG_TINY_SHMEM=y |
| 74 | CONFIG_BASE_SMALL=0 | 72 | CONFIG_BASE_SMALL=0 |
| 75 | |||
| 76 | # | ||
| 77 | # Loadable module support | ||
| 78 | # | ||
| 79 | CONFIG_MODULES=y | 73 | CONFIG_MODULES=y |
| 80 | CONFIG_MODULE_UNLOAD=y | 74 | CONFIG_MODULE_UNLOAD=y |
| 81 | # CONFIG_MODULE_FORCE_UNLOAD is not set | 75 | # CONFIG_MODULE_FORCE_UNLOAD is not set |
| 82 | # CONFIG_MODVERSIONS is not set | 76 | # CONFIG_MODVERSIONS is not set |
| 83 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 77 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
| 84 | CONFIG_KMOD=y | 78 | CONFIG_KMOD=y |
| 85 | |||
| 86 | # | ||
| 87 | # Block layer | ||
| 88 | # | ||
| 89 | CONFIG_BLOCK=y | 79 | CONFIG_BLOCK=y |
| 90 | # CONFIG_LBD is not set | 80 | # CONFIG_LBD is not set |
| 91 | # CONFIG_BLK_DEV_IO_TRACE is not set | 81 | # CONFIG_BLK_DEV_IO_TRACE is not set |
| 92 | # CONFIG_LSF is not set | 82 | # CONFIG_LSF is not set |
| 83 | # CONFIG_BLK_DEV_BSG is not set | ||
| 93 | 84 | ||
| 94 | # | 85 | # |
| 95 | # IO Schedulers | 86 | # IO Schedulers |
| @@ -141,7 +132,6 @@ CONFIG_BF_REV_0_2=y | |||
| 141 | # CONFIG_BF_REV_ANY is not set | 132 | # CONFIG_BF_REV_ANY is not set |
| 142 | # CONFIG_BF_REV_NONE is not set | 133 | # CONFIG_BF_REV_NONE is not set |
| 143 | CONFIG_BF53x=y | 134 | CONFIG_BF53x=y |
| 144 | CONFIG_BFIN_SINGLE_CORE=y | ||
| 145 | CONFIG_MEM_MT48LC32M8A2_75=y | 135 | CONFIG_MEM_MT48LC32M8A2_75=y |
| 146 | CONFIG_IRQ_PLL_WAKEUP=7 | 136 | CONFIG_IRQ_PLL_WAKEUP=7 |
| 147 | CONFIG_IRQ_RTC=8 | 137 | CONFIG_IRQ_RTC=8 |
| @@ -197,12 +187,14 @@ CONFIG_IRQ_PROG_INTA=12 | |||
| 197 | # Board customizations | 187 | # Board customizations |
| 198 | # | 188 | # |
| 199 | # CONFIG_CMDLINE_BOOL is not set | 189 | # CONFIG_CMDLINE_BOOL is not set |
| 190 | CONFIG_BOOT_LOAD=0x1000 | ||
| 200 | 191 | ||
| 201 | # | 192 | # |
| 202 | # Clock/PLL Setup | 193 | # Clock/PLL Setup |
| 203 | # | 194 | # |
| 204 | CONFIG_CLKIN_HZ=25000000 | 195 | CONFIG_CLKIN_HZ=25000000 |
| 205 | # CONFIG_BFIN_KERNEL_CLOCK is not set | 196 | # CONFIG_BFIN_KERNEL_CLOCK is not set |
| 197 | CONFIG_MAX_MEM_SIZE=512 | ||
| 206 | CONFIG_MAX_VCO_HZ=600000000 | 198 | CONFIG_MAX_VCO_HZ=600000000 |
| 207 | CONFIG_MIN_VCO_HZ=50000000 | 199 | CONFIG_MIN_VCO_HZ=50000000 |
| 208 | CONFIG_MAX_SCLK_HZ=133333333 | 200 | CONFIG_MAX_SCLK_HZ=133333333 |
| @@ -216,13 +208,17 @@ CONFIG_HZ_250=y | |||
| 216 | # CONFIG_HZ_300 is not set | 208 | # CONFIG_HZ_300 is not set |
| 217 | # CONFIG_HZ_1000 is not set | 209 | # CONFIG_HZ_1000 is not set |
| 218 | CONFIG_HZ=250 | 210 | CONFIG_HZ=250 |
| 211 | CONFIG_GENERIC_TIME=y | ||
| 212 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
| 213 | # CONFIG_CYCLES_CLOCKSOURCE is not set | ||
| 214 | CONFIG_TICK_ONESHOT=y | ||
| 215 | # CONFIG_NO_HZ is not set | ||
| 216 | CONFIG_HIGH_RES_TIMERS=y | ||
| 217 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
| 219 | 218 | ||
| 220 | # | 219 | # |
| 221 | # Memory Setup | 220 | # Misc |
| 222 | # | 221 | # |
| 223 | CONFIG_MAX_MEM_SIZE=512 | ||
| 224 | CONFIG_MEM_ADD_WIDTH=10 | ||
| 225 | CONFIG_BOOT_LOAD=0x1000 | ||
| 226 | CONFIG_BFIN_SCRATCH_REG_RETN=y | 222 | CONFIG_BFIN_SCRATCH_REG_RETN=y |
| 227 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | 223 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set |
| 228 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | 224 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set |
| @@ -258,12 +254,14 @@ CONFIG_FLATMEM_MANUAL=y | |||
| 258 | CONFIG_FLATMEM=y | 254 | CONFIG_FLATMEM=y |
| 259 | CONFIG_FLAT_NODE_MEM_MAP=y | 255 | CONFIG_FLAT_NODE_MEM_MAP=y |
| 260 | # CONFIG_SPARSEMEM_STATIC is not set | 256 | # CONFIG_SPARSEMEM_STATIC is not set |
| 257 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
| 261 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 258 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
| 262 | # CONFIG_RESOURCES_64BIT is not set | 259 | # CONFIG_RESOURCES_64BIT is not set |
| 263 | CONFIG_ZONE_DMA_FLAG=1 | 260 | CONFIG_ZONE_DMA_FLAG=1 |
| 264 | CONFIG_LARGE_ALLOCS=y | 261 | CONFIG_VIRT_TO_BUS=y |
| 265 | # CONFIG_BFIN_GPTIMERS is not set | 262 | # CONFIG_BFIN_GPTIMERS is not set |
| 266 | CONFIG_BFIN_DMA_5XX=y | 263 | CONFIG_BFIN_DMA_5XX=y |
| 264 | # CONFIG_DMA_UNCACHED_4M is not set | ||
| 267 | # CONFIG_DMA_UNCACHED_2M is not set | 265 | # CONFIG_DMA_UNCACHED_2M is not set |
| 268 | CONFIG_DMA_UNCACHED_1M=y | 266 | CONFIG_DMA_UNCACHED_1M=y |
| 269 | # CONFIG_DMA_UNCACHED_NONE is not set | 267 | # CONFIG_DMA_UNCACHED_NONE is not set |
| @@ -301,17 +299,13 @@ CONFIG_C_AMBEN_ALL=y | |||
| 301 | CONFIG_BANK_0=0x7BB0 | 299 | CONFIG_BANK_0=0x7BB0 |
| 302 | CONFIG_BANK_1=0x7BB0 | 300 | CONFIG_BANK_1=0x7BB0 |
| 303 | CONFIG_BANK_2=0x7BB0 | 301 | CONFIG_BANK_2=0x7BB0 |
| 304 | CONFIG_BANK_3=0x99B3 | 302 | CONFIG_BANK_3=0x99B2 |
| 305 | 303 | ||
| 306 | # | 304 | # |
| 307 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 305 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
| 308 | # | 306 | # |
| 309 | # CONFIG_PCI is not set | 307 | # CONFIG_PCI is not set |
| 310 | # CONFIG_ARCH_SUPPORTS_MSI is not set | 308 | # CONFIG_ARCH_SUPPORTS_MSI is not set |
| 311 | |||
| 312 | # | ||
| 313 | # PCCARD (PCMCIA/CardBus) support | ||
| 314 | # | ||
| 315 | # CONFIG_PCCARD is not set | 309 | # CONFIG_PCCARD is not set |
| 316 | 310 | ||
| 317 | # | 311 | # |
| @@ -329,7 +323,9 @@ CONFIG_BINFMT_ZFLAT=y | |||
| 329 | CONFIG_PM=y | 323 | CONFIG_PM=y |
| 330 | # CONFIG_PM_LEGACY is not set | 324 | # CONFIG_PM_LEGACY is not set |
| 331 | # CONFIG_PM_DEBUG is not set | 325 | # CONFIG_PM_DEBUG is not set |
| 332 | # CONFIG_PM_SYSFS_DEPRECATED is not set | 326 | CONFIG_PM_SLEEP=y |
| 327 | CONFIG_SUSPEND_UP_POSSIBLE=y | ||
| 328 | CONFIG_SUSPEND=y | ||
| 333 | CONFIG_PM_BFIN_SLEEP_DEEPER=y | 329 | CONFIG_PM_BFIN_SLEEP_DEEPER=y |
| 334 | # CONFIG_PM_BFIN_SLEEP is not set | 330 | # CONFIG_PM_BFIN_SLEEP is not set |
| 335 | # CONFIG_PM_WAKEUP_BY_GPIO is not set | 331 | # CONFIG_PM_WAKEUP_BY_GPIO is not set |
| @@ -375,6 +371,7 @@ CONFIG_SYN_COOKIES=y | |||
| 375 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | 371 | CONFIG_INET_XFRM_MODE_TRANSPORT=y |
| 376 | CONFIG_INET_XFRM_MODE_TUNNEL=y | 372 | CONFIG_INET_XFRM_MODE_TUNNEL=y |
| 377 | CONFIG_INET_XFRM_MODE_BEET=y | 373 | CONFIG_INET_XFRM_MODE_BEET=y |
| 374 | # CONFIG_INET_LRO is not set | ||
| 378 | CONFIG_INET_DIAG=y | 375 | CONFIG_INET_DIAG=y |
| 379 | CONFIG_INET_TCP_DIAG=y | 376 | CONFIG_INET_TCP_DIAG=y |
| 380 | # CONFIG_TCP_CONG_ADVANCED is not set | 377 | # CONFIG_TCP_CONG_ADVANCED is not set |
| @@ -401,10 +398,6 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 401 | # CONFIG_LAPB is not set | 398 | # CONFIG_LAPB is not set |
| 402 | # CONFIG_ECONET is not set | 399 | # CONFIG_ECONET is not set |
| 403 | # CONFIG_WAN_ROUTER is not set | 400 | # CONFIG_WAN_ROUTER is not set |
| 404 | |||
| 405 | # | ||
| 406 | # QoS and/or fair queueing | ||
| 407 | # | ||
| 408 | # CONFIG_NET_SCHED is not set | 401 | # CONFIG_NET_SCHED is not set |
| 409 | 402 | ||
| 410 | # | 403 | # |
| @@ -436,6 +429,10 @@ CONFIG_IRDA_CACHE_LAST_LSAP=y | |||
| 436 | # SIR device drivers | 429 | # SIR device drivers |
| 437 | # | 430 | # |
| 438 | CONFIG_IRTTY_SIR=m | 431 | CONFIG_IRTTY_SIR=m |
| 432 | CONFIG_BFIN_SIR=m | ||
| 433 | CONFIG_BFIN_SIR1=y | ||
| 434 | CONFIG_SIR_BFIN_DMA=y | ||
| 435 | # CONFIG_SIR_BFIN_PIO is not set | ||
| 439 | 436 | ||
| 440 | # | 437 | # |
| 441 | # Dongle support | 438 | # Dongle support |
| @@ -465,6 +462,7 @@ CONFIG_IRTTY_SIR=m | |||
| 465 | # CONFIG_MAC80211 is not set | 462 | # CONFIG_MAC80211 is not set |
| 466 | # CONFIG_IEEE80211 is not set | 463 | # CONFIG_IEEE80211 is not set |
| 467 | # CONFIG_RFKILL is not set | 464 | # CONFIG_RFKILL is not set |
| 465 | # CONFIG_NET_9P is not set | ||
| 468 | 466 | ||
| 469 | # | 467 | # |
| 470 | # Device Drivers | 468 | # Device Drivers |
| @@ -473,14 +471,11 @@ CONFIG_IRTTY_SIR=m | |||
| 473 | # | 471 | # |
| 474 | # Generic Driver Options | 472 | # Generic Driver Options |
| 475 | # | 473 | # |
| 474 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
| 476 | CONFIG_STANDALONE=y | 475 | CONFIG_STANDALONE=y |
| 477 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 476 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
| 478 | # CONFIG_FW_LOADER is not set | 477 | # CONFIG_FW_LOADER is not set |
| 479 | # CONFIG_SYS_HYPERVISOR is not set | 478 | # CONFIG_SYS_HYPERVISOR is not set |
| 480 | |||
| 481 | # | ||
| 482 | # Connector - unified userspace <-> kernelspace linker | ||
| 483 | # | ||
| 484 | # CONFIG_CONNECTOR is not set | 479 | # CONFIG_CONNECTOR is not set |
| 485 | CONFIG_MTD=y | 480 | CONFIG_MTD=y |
| 486 | # CONFIG_MTD_DEBUG is not set | 481 | # CONFIG_MTD_DEBUG is not set |
| @@ -500,6 +495,7 @@ CONFIG_MTD_BLOCK=y | |||
| 500 | # CONFIG_INFTL is not set | 495 | # CONFIG_INFTL is not set |
| 501 | # CONFIG_RFD_FTL is not set | 496 | # CONFIG_RFD_FTL is not set |
| 502 | # CONFIG_SSFDC is not set | 497 | # CONFIG_SSFDC is not set |
| 498 | # CONFIG_MTD_OOPS is not set | ||
| 503 | 499 | ||
| 504 | # | 500 | # |
| 505 | # RAM/ROM/Flash chip drivers | 501 | # RAM/ROM/Flash chip drivers |
| @@ -572,20 +568,8 @@ CONFIG_MTD_NAND_IDS=m | |||
| 572 | # UBI - Unsorted block images | 568 | # UBI - Unsorted block images |
| 573 | # | 569 | # |
| 574 | # CONFIG_MTD_UBI is not set | 570 | # CONFIG_MTD_UBI is not set |
| 575 | |||
| 576 | # | ||
| 577 | # Parallel port support | ||
| 578 | # | ||
| 579 | # CONFIG_PARPORT is not set | 571 | # CONFIG_PARPORT is not set |
| 580 | 572 | CONFIG_BLK_DEV=y | |
| 581 | # | ||
| 582 | # Plug and Play support | ||
| 583 | # | ||
| 584 | # CONFIG_PNPACPI is not set | ||
| 585 | |||
| 586 | # | ||
| 587 | # Block devices | ||
| 588 | # | ||
| 589 | # CONFIG_BLK_DEV_COW_COMMON is not set | 573 | # CONFIG_BLK_DEV_COW_COMMON is not set |
| 590 | # CONFIG_BLK_DEV_LOOP is not set | 574 | # CONFIG_BLK_DEV_LOOP is not set |
| 591 | # CONFIG_BLK_DEV_NBD is not set | 575 | # CONFIG_BLK_DEV_NBD is not set |
| @@ -595,10 +579,8 @@ CONFIG_BLK_DEV_RAM_SIZE=4096 | |||
| 595 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | 579 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 |
| 596 | # CONFIG_CDROM_PKTCDVD is not set | 580 | # CONFIG_CDROM_PKTCDVD is not set |
| 597 | # CONFIG_ATA_OVER_ETH is not set | 581 | # CONFIG_ATA_OVER_ETH is not set |
| 598 | 582 | CONFIG_MISC_DEVICES=y | |
| 599 | # | 583 | # CONFIG_EEPROM_93CX6 is not set |
| 600 | # Misc devices | ||
| 601 | # | ||
| 602 | # CONFIG_IDE is not set | 584 | # CONFIG_IDE is not set |
| 603 | 585 | ||
| 604 | # | 586 | # |
| @@ -606,22 +588,18 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
| 606 | # | 588 | # |
| 607 | # CONFIG_RAID_ATTRS is not set | 589 | # CONFIG_RAID_ATTRS is not set |
| 608 | # CONFIG_SCSI is not set | 590 | # CONFIG_SCSI is not set |
| 591 | # CONFIG_SCSI_DMA is not set | ||
| 609 | # CONFIG_SCSI_NETLINK is not set | 592 | # CONFIG_SCSI_NETLINK is not set |
| 610 | # CONFIG_ATA is not set | 593 | # CONFIG_ATA is not set |
| 611 | |||
| 612 | # | ||
| 613 | # Multi-device support (RAID and LVM) | ||
| 614 | # | ||
| 615 | # CONFIG_MD is not set | 594 | # CONFIG_MD is not set |
| 616 | |||
| 617 | # | ||
| 618 | # Network device support | ||
| 619 | # | ||
| 620 | CONFIG_NETDEVICES=y | 595 | CONFIG_NETDEVICES=y |
| 596 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
| 621 | # CONFIG_DUMMY is not set | 597 | # CONFIG_DUMMY is not set |
| 622 | # CONFIG_BONDING is not set | 598 | # CONFIG_BONDING is not set |
| 599 | # CONFIG_MACVLAN is not set | ||
| 623 | # CONFIG_EQUALIZER is not set | 600 | # CONFIG_EQUALIZER is not set |
| 624 | # CONFIG_TUN is not set | 601 | # CONFIG_TUN is not set |
| 602 | # CONFIG_VETH is not set | ||
| 625 | CONFIG_PHYLIB=y | 603 | CONFIG_PHYLIB=y |
| 626 | 604 | ||
| 627 | # | 605 | # |
| @@ -635,21 +613,24 @@ CONFIG_PHYLIB=y | |||
| 635 | # CONFIG_VITESSE_PHY is not set | 613 | # CONFIG_VITESSE_PHY is not set |
| 636 | CONFIG_SMSC_PHY=y | 614 | CONFIG_SMSC_PHY=y |
| 637 | # CONFIG_BROADCOM_PHY is not set | 615 | # CONFIG_BROADCOM_PHY is not set |
| 616 | # CONFIG_ICPLUS_PHY is not set | ||
| 638 | # CONFIG_FIXED_PHY is not set | 617 | # CONFIG_FIXED_PHY is not set |
| 639 | 618 | # CONFIG_MDIO_BITBANG is not set | |
| 640 | # | ||
| 641 | # Ethernet (10 or 100Mbit) | ||
| 642 | # | ||
| 643 | CONFIG_NET_ETHERNET=y | 619 | CONFIG_NET_ETHERNET=y |
| 644 | CONFIG_MII=y | 620 | CONFIG_MII=y |
| 645 | # CONFIG_SMC91X is not set | ||
| 646 | CONFIG_BFIN_MAC=y | 621 | CONFIG_BFIN_MAC=y |
| 647 | CONFIG_BFIN_MAC_USE_L1=y | 622 | CONFIG_BFIN_MAC_USE_L1=y |
| 648 | CONFIG_BFIN_TX_DESC_NUM=10 | 623 | CONFIG_BFIN_TX_DESC_NUM=10 |
| 649 | CONFIG_BFIN_RX_DESC_NUM=20 | 624 | CONFIG_BFIN_RX_DESC_NUM=20 |
| 650 | # CONFIG_BFIN_MAC_RMII is not set | 625 | # CONFIG_BFIN_MAC_RMII is not set |
| 626 | # CONFIG_SMC91X is not set | ||
| 651 | # CONFIG_SMSC911X is not set | 627 | # CONFIG_SMSC911X is not set |
| 652 | # CONFIG_DM9000 is not set | 628 | # CONFIG_DM9000 is not set |
| 629 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
| 630 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
| 631 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
| 632 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
| 633 | # CONFIG_B44 is not set | ||
| 653 | CONFIG_NETDEV_1000=y | 634 | CONFIG_NETDEV_1000=y |
| 654 | # CONFIG_AX88180 is not set | 635 | # CONFIG_AX88180 is not set |
| 655 | CONFIG_NETDEV_10000=y | 636 | CONFIG_NETDEV_10000=y |
| @@ -666,15 +647,7 @@ CONFIG_NETDEV_10000=y | |||
| 666 | # CONFIG_NETCONSOLE is not set | 647 | # CONFIG_NETCONSOLE is not set |
| 667 | # CONFIG_NETPOLL is not set | 648 | # CONFIG_NETPOLL is not set |
| 668 | # CONFIG_NET_POLL_CONTROLLER is not set | 649 | # CONFIG_NET_POLL_CONTROLLER is not set |
| 669 | |||
| 670 | # | ||
| 671 | # ISDN subsystem | ||
| 672 | # | ||
| 673 | # CONFIG_ISDN is not set | 650 | # CONFIG_ISDN is not set |
| 674 | |||
| 675 | # | ||
| 676 | # Telephony Support | ||
| 677 | # | ||
| 678 | # CONFIG_PHONE is not set | 651 | # CONFIG_PHONE is not set |
| 679 | 652 | ||
| 680 | # | 653 | # |
| @@ -689,7 +662,6 @@ CONFIG_INPUT=y | |||
| 689 | # | 662 | # |
| 690 | # CONFIG_INPUT_MOUSEDEV is not set | 663 | # CONFIG_INPUT_MOUSEDEV is not set |
| 691 | # CONFIG_INPUT_JOYDEV is not set | 664 | # CONFIG_INPUT_JOYDEV is not set |
| 692 | # CONFIG_INPUT_TSDEV is not set | ||
| 693 | CONFIG_INPUT_EVDEV=m | 665 | CONFIG_INPUT_EVDEV=m |
| 694 | # CONFIG_INPUT_EVBUG is not set | 666 | # CONFIG_INPUT_EVBUG is not set |
| 695 | 667 | ||
| @@ -702,14 +674,8 @@ CONFIG_INPUT_EVDEV=m | |||
| 702 | # CONFIG_INPUT_TABLET is not set | 674 | # CONFIG_INPUT_TABLET is not set |
| 703 | # CONFIG_INPUT_TOUCHSCREEN is not set | 675 | # CONFIG_INPUT_TOUCHSCREEN is not set |
| 704 | CONFIG_INPUT_MISC=y | 676 | CONFIG_INPUT_MISC=y |
| 705 | # CONFIG_INPUT_ATI_REMOTE is not set | ||
| 706 | # CONFIG_INPUT_ATI_REMOTE2 is not set | ||
| 707 | # CONFIG_INPUT_KEYSPAN_REMOTE is not set | ||
| 708 | # CONFIG_INPUT_POWERMATE is not set | ||
| 709 | # CONFIG_INPUT_YEALINK is not set | ||
| 710 | # CONFIG_INPUT_UINPUT is not set | 677 | # CONFIG_INPUT_UINPUT is not set |
| 711 | CONFIG_TWI_KEYPAD=m | 678 | CONFIG_TWI_KEYPAD=m |
| 712 | CONFIG_BFIN_TWIKEYPAD_IRQ_PFX=72 | ||
| 713 | 679 | ||
| 714 | # | 680 | # |
| 715 | # Hardware I/O ports | 681 | # Hardware I/O ports |
| @@ -722,15 +688,13 @@ CONFIG_BFIN_TWIKEYPAD_IRQ_PFX=72 | |||
| 722 | # | 688 | # |
| 723 | # CONFIG_AD9960 is not set | 689 | # CONFIG_AD9960 is not set |
| 724 | # CONFIG_SPI_ADC_BF533 is not set | 690 | # CONFIG_SPI_ADC_BF533 is not set |
| 725 | # CONFIG_BF5xx_PFLAGS is not set | ||
| 726 | # CONFIG_BF5xx_PPIFCD is not set | 691 | # CONFIG_BF5xx_PPIFCD is not set |
| 727 | # CONFIG_BFIN_SIMPLE_TIMER is not set | 692 | # CONFIG_BFIN_SIMPLE_TIMER is not set |
| 728 | # CONFIG_BF5xx_PPI is not set | 693 | # CONFIG_BF5xx_PPI is not set |
| 729 | CONFIG_BFIN_SPORT=y | 694 | CONFIG_BFIN_SPORT=y |
| 730 | # CONFIG_BFIN_TIMER_LATENCY is not set | 695 | # CONFIG_BFIN_TIMER_LATENCY is not set |
| 731 | CONFIG_TWI_LCD=m | 696 | CONFIG_TWI_LCD=m |
| 732 | CONFIG_TWI_LCD_SLAVE_ADDR=34 | 697 | CONFIG_SIMPLE_GPIO=m |
| 733 | # CONFIG_AD5304 is not set | ||
| 734 | # CONFIG_VT is not set | 698 | # CONFIG_VT is not set |
| 735 | # CONFIG_SERIAL_NONSTANDARD is not set | 699 | # CONFIG_SERIAL_NONSTANDARD is not set |
| 736 | 700 | ||
| @@ -766,28 +730,11 @@ CONFIG_CAN4LINUX=y | |||
| 766 | # CONFIG_CAN_MCF5282 is not set | 730 | # CONFIG_CAN_MCF5282 is not set |
| 767 | # CONFIG_CAN_UNCTWINCAN is not set | 731 | # CONFIG_CAN_UNCTWINCAN is not set |
| 768 | CONFIG_CAN_BLACKFIN=m | 732 | CONFIG_CAN_BLACKFIN=m |
| 769 | |||
| 770 | # | ||
| 771 | # IPMI | ||
| 772 | # | ||
| 773 | # CONFIG_IPMI_HANDLER is not set | 733 | # CONFIG_IPMI_HANDLER is not set |
| 774 | CONFIG_WATCHDOG=y | ||
| 775 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
| 776 | |||
| 777 | # | ||
| 778 | # Watchdog Device Drivers | ||
| 779 | # | ||
| 780 | # CONFIG_SOFT_WATCHDOG is not set | ||
| 781 | CONFIG_BFIN_WDT=y | ||
| 782 | CONFIG_HW_RANDOM=y | 734 | CONFIG_HW_RANDOM=y |
| 783 | # CONFIG_GEN_RTC is not set | 735 | # CONFIG_GEN_RTC is not set |
| 784 | CONFIG_BLACKFIN_DPMC=y | ||
| 785 | # CONFIG_R3964 is not set | 736 | # CONFIG_R3964 is not set |
| 786 | # CONFIG_RAW_DRIVER is not set | 737 | # CONFIG_RAW_DRIVER is not set |
| 787 | |||
| 788 | # | ||
| 789 | # TPM devices | ||
| 790 | # | ||
| 791 | # CONFIG_TCG_TPM is not set | 738 | # CONFIG_TCG_TPM is not set |
| 792 | CONFIG_I2C=m | 739 | CONFIG_I2C=m |
| 793 | CONFIG_I2C_BOARDINFO=y | 740 | CONFIG_I2C_BOARDINFO=y |
| @@ -809,6 +756,7 @@ CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=50 | |||
| 809 | # CONFIG_I2C_OCORES is not set | 756 | # CONFIG_I2C_OCORES is not set |
| 810 | # CONFIG_I2C_PARPORT_LIGHT is not set | 757 | # CONFIG_I2C_PARPORT_LIGHT is not set |
| 811 | # CONFIG_I2C_SIMTEC is not set | 758 | # CONFIG_I2C_SIMTEC is not set |
| 759 | # CONFIG_I2C_TAOS_EVM is not set | ||
| 812 | # CONFIG_I2C_STUB is not set | 760 | # CONFIG_I2C_STUB is not set |
| 813 | 761 | ||
| 814 | # | 762 | # |
| @@ -816,14 +764,15 @@ CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=50 | |||
| 816 | # | 764 | # |
| 817 | # CONFIG_SENSORS_DS1337 is not set | 765 | # CONFIG_SENSORS_DS1337 is not set |
| 818 | # CONFIG_SENSORS_DS1374 is not set | 766 | # CONFIG_SENSORS_DS1374 is not set |
| 767 | # CONFIG_DS1682 is not set | ||
| 819 | CONFIG_SENSORS_AD5252=m | 768 | CONFIG_SENSORS_AD5252=m |
| 820 | # CONFIG_SENSORS_EEPROM is not set | 769 | # CONFIG_SENSORS_EEPROM is not set |
| 821 | # CONFIG_SENSORS_PCF8574 is not set | 770 | # CONFIG_SENSORS_PCF8574 is not set |
| 822 | # CONFIG_SENSORS_PCF8575 is not set | 771 | # CONFIG_SENSORS_PCF8575 is not set |
| 823 | # CONFIG_SENSORS_PCA9543 is not set | ||
| 824 | # CONFIG_SENSORS_PCA9539 is not set | 772 | # CONFIG_SENSORS_PCA9539 is not set |
| 825 | # CONFIG_SENSORS_PCF8591 is not set | 773 | # CONFIG_SENSORS_PCF8591 is not set |
| 826 | # CONFIG_SENSORS_MAX6875 is not set | 774 | # CONFIG_SENSORS_MAX6875 is not set |
| 775 | # CONFIG_SENSORS_TSL2550 is not set | ||
| 827 | # CONFIG_I2C_DEBUG_CORE is not set | 776 | # CONFIG_I2C_DEBUG_CORE is not set |
| 828 | # CONFIG_I2C_DEBUG_ALGO is not set | 777 | # CONFIG_I2C_DEBUG_ALGO is not set |
| 829 | # CONFIG_I2C_DEBUG_BUS is not set | 778 | # CONFIG_I2C_DEBUG_BUS is not set |
| @@ -846,14 +795,11 @@ CONFIG_SPI_BFIN=y | |||
| 846 | # | 795 | # |
| 847 | # CONFIG_SPI_AT25 is not set | 796 | # CONFIG_SPI_AT25 is not set |
| 848 | # CONFIG_SPI_SPIDEV is not set | 797 | # CONFIG_SPI_SPIDEV is not set |
| 849 | 798 | # CONFIG_SPI_TLE62X0 is not set | |
| 850 | # | ||
| 851 | # Dallas's 1-wire bus | ||
| 852 | # | ||
| 853 | # CONFIG_W1 is not set | 799 | # CONFIG_W1 is not set |
| 800 | # CONFIG_POWER_SUPPLY is not set | ||
| 854 | CONFIG_HWMON=y | 801 | CONFIG_HWMON=y |
| 855 | # CONFIG_HWMON_VID is not set | 802 | # CONFIG_HWMON_VID is not set |
| 856 | # CONFIG_SENSORS_ABITUGURU is not set | ||
| 857 | # CONFIG_SENSORS_AD7418 is not set | 803 | # CONFIG_SENSORS_AD7418 is not set |
| 858 | # CONFIG_SENSORS_ADM1021 is not set | 804 | # CONFIG_SENSORS_ADM1021 is not set |
| 859 | # CONFIG_SENSORS_ADM1025 is not set | 805 | # CONFIG_SENSORS_ADM1025 is not set |
| @@ -861,12 +807,12 @@ CONFIG_HWMON=y | |||
| 861 | # CONFIG_SENSORS_ADM1029 is not set | 807 | # CONFIG_SENSORS_ADM1029 is not set |
| 862 | # CONFIG_SENSORS_ADM1031 is not set | 808 | # CONFIG_SENSORS_ADM1031 is not set |
| 863 | # CONFIG_SENSORS_ADM9240 is not set | 809 | # CONFIG_SENSORS_ADM9240 is not set |
| 864 | # CONFIG_SENSORS_ASB100 is not set | 810 | # CONFIG_SENSORS_ADT7470 is not set |
| 865 | # CONFIG_SENSORS_ATXP1 is not set | 811 | # CONFIG_SENSORS_ATXP1 is not set |
| 866 | # CONFIG_SENSORS_DS1621 is not set | 812 | # CONFIG_SENSORS_DS1621 is not set |
| 867 | # CONFIG_SENSORS_F71805F is not set | 813 | # CONFIG_SENSORS_F71805F is not set |
| 868 | # CONFIG_SENSORS_FSCHER is not set | 814 | # CONFIG_SENSORS_F71882FG is not set |
| 869 | # CONFIG_SENSORS_FSCPOS is not set | 815 | # CONFIG_SENSORS_F75375S is not set |
| 870 | # CONFIG_SENSORS_GL518SM is not set | 816 | # CONFIG_SENSORS_GL518SM is not set |
| 871 | # CONFIG_SENSORS_GL520SM is not set | 817 | # CONFIG_SENSORS_GL520SM is not set |
| 872 | # CONFIG_SENSORS_IT87 is not set | 818 | # CONFIG_SENSORS_IT87 is not set |
| @@ -881,13 +827,16 @@ CONFIG_HWMON=y | |||
| 881 | # CONFIG_SENSORS_LM87 is not set | 827 | # CONFIG_SENSORS_LM87 is not set |
| 882 | # CONFIG_SENSORS_LM90 is not set | 828 | # CONFIG_SENSORS_LM90 is not set |
| 883 | # CONFIG_SENSORS_LM92 is not set | 829 | # CONFIG_SENSORS_LM92 is not set |
| 830 | # CONFIG_SENSORS_LM93 is not set | ||
| 884 | # CONFIG_SENSORS_MAX1619 is not set | 831 | # CONFIG_SENSORS_MAX1619 is not set |
| 885 | # CONFIG_SENSORS_MAX6650 is not set | 832 | # CONFIG_SENSORS_MAX6650 is not set |
| 886 | # CONFIG_SENSORS_PC87360 is not set | 833 | # CONFIG_SENSORS_PC87360 is not set |
| 887 | # CONFIG_SENSORS_PC87427 is not set | 834 | # CONFIG_SENSORS_PC87427 is not set |
| 835 | # CONFIG_SENSORS_DME1737 is not set | ||
| 888 | # CONFIG_SENSORS_SMSC47M1 is not set | 836 | # CONFIG_SENSORS_SMSC47M1 is not set |
| 889 | # CONFIG_SENSORS_SMSC47M192 is not set | 837 | # CONFIG_SENSORS_SMSC47M192 is not set |
| 890 | # CONFIG_SENSORS_SMSC47B397 is not set | 838 | # CONFIG_SENSORS_SMSC47B397 is not set |
| 839 | # CONFIG_SENSORS_THMC50 is not set | ||
| 891 | # CONFIG_SENSORS_VT1211 is not set | 840 | # CONFIG_SENSORS_VT1211 is not set |
| 892 | # CONFIG_SENSORS_W83781D is not set | 841 | # CONFIG_SENSORS_W83781D is not set |
| 893 | # CONFIG_SENSORS_W83791D is not set | 842 | # CONFIG_SENSORS_W83791D is not set |
| @@ -897,6 +846,20 @@ CONFIG_HWMON=y | |||
| 897 | # CONFIG_SENSORS_W83627HF is not set | 846 | # CONFIG_SENSORS_W83627HF is not set |
| 898 | # CONFIG_SENSORS_W83627EHF is not set | 847 | # CONFIG_SENSORS_W83627EHF is not set |
| 899 | # CONFIG_HWMON_DEBUG_CHIP is not set | 848 | # CONFIG_HWMON_DEBUG_CHIP is not set |
| 849 | CONFIG_WATCHDOG=y | ||
| 850 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
| 851 | |||
| 852 | # | ||
| 853 | # Watchdog Device Drivers | ||
| 854 | # | ||
| 855 | # CONFIG_SOFT_WATCHDOG is not set | ||
| 856 | CONFIG_BFIN_WDT=y | ||
| 857 | |||
| 858 | # | ||
| 859 | # Sonics Silicon Backplane | ||
| 860 | # | ||
| 861 | CONFIG_SSB_POSSIBLE=y | ||
| 862 | # CONFIG_SSB is not set | ||
| 900 | 863 | ||
| 901 | # | 864 | # |
| 902 | # Multifunction device drivers | 865 | # Multifunction device drivers |
| @@ -913,21 +876,15 @@ CONFIG_DAB=y | |||
| 913 | # | 876 | # |
| 914 | # Graphics support | 877 | # Graphics support |
| 915 | # | 878 | # |
| 916 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
| 917 | CONFIG_BACKLIGHT_CLASS_DEVICE=m | ||
| 918 | CONFIG_LCD_CLASS_DEVICE=m | ||
| 919 | |||
| 920 | # | ||
| 921 | # Display device support | ||
| 922 | # | ||
| 923 | # CONFIG_DISPLAY_SUPPORT is not set | ||
| 924 | # CONFIG_VGASTATE is not set | 879 | # CONFIG_VGASTATE is not set |
| 880 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
| 925 | CONFIG_FB=m | 881 | CONFIG_FB=m |
| 926 | CONFIG_FIRMWARE_EDID=y | 882 | CONFIG_FIRMWARE_EDID=y |
| 927 | # CONFIG_FB_DDC is not set | 883 | # CONFIG_FB_DDC is not set |
| 928 | CONFIG_FB_CFB_FILLRECT=m | 884 | CONFIG_FB_CFB_FILLRECT=m |
| 929 | CONFIG_FB_CFB_COPYAREA=m | 885 | CONFIG_FB_CFB_COPYAREA=m |
| 930 | CONFIG_FB_CFB_IMAGEBLIT=m | 886 | CONFIG_FB_CFB_IMAGEBLIT=m |
| 887 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set | ||
| 931 | # CONFIG_FB_SYS_FILLRECT is not set | 888 | # CONFIG_FB_SYS_FILLRECT is not set |
| 932 | # CONFIG_FB_SYS_COPYAREA is not set | 889 | # CONFIG_FB_SYS_COPYAREA is not set |
| 933 | # CONFIG_FB_SYS_IMAGEBLIT is not set | 890 | # CONFIG_FB_SYS_IMAGEBLIT is not set |
| @@ -942,7 +899,8 @@ CONFIG_FB_DEFERRED_IO=y | |||
| 942 | # | 899 | # |
| 943 | # Frame buffer hardware drivers | 900 | # Frame buffer hardware drivers |
| 944 | # | 901 | # |
| 945 | CONFIG_FB_BFIN_7171=m | 902 | # CONFIG_FB_HITACHI_TX09 is not set |
| 903 | # CONFIG_FB_BFIN_T350MCQB is not set | ||
| 946 | CONFIG_FB_BFIN_7393=m | 904 | CONFIG_FB_BFIN_7393=m |
| 947 | CONFIG_NTSC=y | 905 | CONFIG_NTSC=y |
| 948 | # CONFIG_PAL is not set | 906 | # CONFIG_PAL is not set |
| @@ -956,10 +914,18 @@ CONFIG_FB_BF537_LQ035=m | |||
| 956 | CONFIG_LQ035_SLAVE_ADDR=0x58 | 914 | CONFIG_LQ035_SLAVE_ADDR=0x58 |
| 957 | # CONFIG_FB_BFIN_LANDSCAPE is not set | 915 | # CONFIG_FB_BFIN_LANDSCAPE is not set |
| 958 | # CONFIG_FB_BFIN_BGR is not set | 916 | # CONFIG_FB_BFIN_BGR is not set |
| 959 | # CONFIG_FB_BFIN_T350MCQB is not set | ||
| 960 | # CONFIG_FB_HITACHI_TX09 is not set | ||
| 961 | # CONFIG_FB_S1D13XXX is not set | 917 | # CONFIG_FB_S1D13XXX is not set |
| 962 | # CONFIG_FB_VIRTUAL is not set | 918 | # CONFIG_FB_VIRTUAL is not set |
| 919 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
| 920 | CONFIG_LCD_CLASS_DEVICE=m | ||
| 921 | # CONFIG_LCD_LTV350QV is not set | ||
| 922 | CONFIG_BACKLIGHT_CLASS_DEVICE=m | ||
| 923 | CONFIG_BACKLIGHT_CORGI=m | ||
| 924 | |||
| 925 | # | ||
| 926 | # Display device support | ||
| 927 | # | ||
| 928 | # CONFIG_DISPLAY_SUPPORT is not set | ||
| 963 | # CONFIG_LOGO is not set | 929 | # CONFIG_LOGO is not set |
| 964 | 930 | ||
| 965 | # | 931 | # |
| @@ -993,6 +959,10 @@ CONFIG_SND_VERBOSE_PROCFS=y | |||
| 993 | # CONFIG_SND_MPU401 is not set | 959 | # CONFIG_SND_MPU401 is not set |
| 994 | 960 | ||
| 995 | # | 961 | # |
| 962 | # SPI devices | ||
| 963 | # | ||
| 964 | |||
| 965 | # | ||
| 996 | # ALSA Blackfin devices | 966 | # ALSA Blackfin devices |
| 997 | # | 967 | # |
| 998 | CONFIG_SND_BLACKFIN_AD1836=m | 968 | CONFIG_SND_BLACKFIN_AD1836=m |
| @@ -1005,6 +975,10 @@ CONFIG_SND_BLACKFIN_SPI_PFBIT=4 | |||
| 1005 | CONFIG_SND_BFIN_AD73311=m | 975 | CONFIG_SND_BFIN_AD73311=m |
| 1006 | CONFIG_SND_BFIN_SPORT=0 | 976 | CONFIG_SND_BFIN_SPORT=0 |
| 1007 | CONFIG_SND_BFIN_AD73311_SE=4 | 977 | CONFIG_SND_BFIN_AD73311_SE=4 |
| 978 | CONFIG_SND_BFIN_AD73322=m | ||
| 979 | CONFIG_SND_BFIN_AD73322_SPORT0_SE=10 | ||
| 980 | CONFIG_SND_BFIN_AD73322_SPORT1_SE=14 | ||
| 981 | CONFIG_SND_BFIN_AD73322_RESET=12 | ||
| 1008 | 982 | ||
| 1009 | # | 983 | # |
| 1010 | # System on Chip audio support | 984 | # System on Chip audio support |
| @@ -1016,9 +990,14 @@ CONFIG_SND_MMAP_SUPPORT=y | |||
| 1016 | CONFIG_SND_BF5XX_SOC_AC97=m | 990 | CONFIG_SND_BF5XX_SOC_AC97=m |
| 1017 | # CONFIG_SND_BF5XX_SOC_WM8750 is not set | 991 | # CONFIG_SND_BF5XX_SOC_WM8750 is not set |
| 1018 | # CONFIG_SND_BF5XX_SOC_WM8731 is not set | 992 | # CONFIG_SND_BF5XX_SOC_WM8731 is not set |
| 993 | # CONFIG_SND_BF5XX_SOC_SSM2602 is not set | ||
| 1019 | CONFIG_SND_BF5XX_SOC_BF5xx=m | 994 | CONFIG_SND_BF5XX_SOC_BF5xx=m |
| 1020 | CONFIG_SND_BF5XX_SPORT_NUM=0 | 995 | CONFIG_SND_BF5XX_SPORT_NUM=0 |
| 1021 | # CONFIG_SND_BF5XX_HAVE_COLD_RESET is not set | 996 | # CONFIG_SND_BF5XX_HAVE_COLD_RESET is not set |
| 997 | |||
| 998 | # | ||
| 999 | # SoC Audio support for SuperH | ||
| 1000 | # | ||
| 1022 | CONFIG_SND_SOC_AD1980=m | 1001 | CONFIG_SND_SOC_AD1980=m |
| 1023 | 1002 | ||
| 1024 | # | 1003 | # |
| @@ -1026,59 +1005,18 @@ CONFIG_SND_SOC_AD1980=m | |||
| 1026 | # | 1005 | # |
| 1027 | # CONFIG_SOUND_PRIME is not set | 1006 | # CONFIG_SOUND_PRIME is not set |
| 1028 | CONFIG_AC97_BUS=m | 1007 | CONFIG_AC97_BUS=m |
| 1029 | 1008 | CONFIG_HID_SUPPORT=y | |
| 1030 | # | ||
| 1031 | # HID Devices | ||
| 1032 | # | ||
| 1033 | CONFIG_HID=y | 1009 | CONFIG_HID=y |
| 1034 | # CONFIG_HID_DEBUG is not set | 1010 | # CONFIG_HID_DEBUG is not set |
| 1035 | 1011 | # CONFIG_HIDRAW is not set | |
| 1036 | # | 1012 | # CONFIG_USB_SUPPORT is not set |
| 1037 | # USB support | 1013 | # CONFIG_NO_DUMMY_DELAY is not set |
| 1038 | # | 1014 | # CONFIG_DUMMY_DELAY_BANK0 is not set |
| 1039 | CONFIG_USB_ARCH_HAS_HCD=y | 1015 | # CONFIG_DUMMY_DELAY_BANK1 is not set |
| 1040 | # CONFIG_USB_ARCH_HAS_OHCI is not set | 1016 | # CONFIG_DUMMY_DELAY_BANK2 is not set |
| 1041 | # CONFIG_USB_ARCH_HAS_EHCI is not set | 1017 | # CONFIG_DUMMY_DELAY_BANK3 is not set |
| 1042 | # CONFIG_USB is not set | ||
| 1043 | |||
| 1044 | # | ||
| 1045 | # Enable Host or Gadget support to see Inventra options | ||
| 1046 | # | ||
| 1047 | |||
| 1048 | # | ||
| 1049 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
| 1050 | # | ||
| 1051 | |||
| 1052 | # | ||
| 1053 | # USB Gadget Support | ||
| 1054 | # | ||
| 1055 | # CONFIG_USB_GADGET is not set | ||
| 1056 | # CONFIG_MMC is not set | 1018 | # CONFIG_MMC is not set |
| 1057 | |||
| 1058 | # | ||
| 1059 | # LED devices | ||
| 1060 | # | ||
| 1061 | # CONFIG_NEW_LEDS is not set | 1019 | # CONFIG_NEW_LEDS is not set |
| 1062 | |||
| 1063 | # | ||
| 1064 | # LED drivers | ||
| 1065 | # | ||
| 1066 | |||
| 1067 | # | ||
| 1068 | # LED Triggers | ||
| 1069 | # | ||
| 1070 | |||
| 1071 | # | ||
| 1072 | # InfiniBand support | ||
| 1073 | # | ||
| 1074 | |||
| 1075 | # | ||
| 1076 | # EDAC - error detection and reporting (RAS) (EXPERIMENTAL) | ||
| 1077 | # | ||
| 1078 | |||
| 1079 | # | ||
| 1080 | # Real Time Clock | ||
| 1081 | # | ||
| 1082 | CONFIG_RTC_LIB=y | 1020 | CONFIG_RTC_LIB=y |
| 1083 | CONFIG_RTC_CLASS=y | 1021 | CONFIG_RTC_CLASS=y |
| 1084 | CONFIG_RTC_HCTOSYS=y | 1022 | CONFIG_RTC_HCTOSYS=y |
| @@ -1098,6 +1036,7 @@ CONFIG_RTC_INTF_DEV=y | |||
| 1098 | # I2C RTC drivers | 1036 | # I2C RTC drivers |
| 1099 | # | 1037 | # |
| 1100 | # CONFIG_RTC_DRV_DS1307 is not set | 1038 | # CONFIG_RTC_DRV_DS1307 is not set |
| 1039 | # CONFIG_RTC_DRV_DS1374 is not set | ||
| 1101 | # CONFIG_RTC_DRV_DS1672 is not set | 1040 | # CONFIG_RTC_DRV_DS1672 is not set |
| 1102 | # CONFIG_RTC_DRV_MAX6900 is not set | 1041 | # CONFIG_RTC_DRV_MAX6900 is not set |
| 1103 | # CONFIG_RTC_DRV_RS5C372 is not set | 1042 | # CONFIG_RTC_DRV_RS5C372 is not set |
| @@ -1105,6 +1044,7 @@ CONFIG_RTC_INTF_DEV=y | |||
| 1105 | # CONFIG_RTC_DRV_X1205 is not set | 1044 | # CONFIG_RTC_DRV_X1205 is not set |
| 1106 | # CONFIG_RTC_DRV_PCF8563 is not set | 1045 | # CONFIG_RTC_DRV_PCF8563 is not set |
| 1107 | # CONFIG_RTC_DRV_PCF8583 is not set | 1046 | # CONFIG_RTC_DRV_PCF8583 is not set |
| 1047 | # CONFIG_RTC_DRV_M41T80 is not set | ||
| 1108 | 1048 | ||
| 1109 | # | 1049 | # |
| 1110 | # SPI RTC drivers | 1050 | # SPI RTC drivers |
| @@ -1116,8 +1056,10 @@ CONFIG_RTC_INTF_DEV=y | |||
| 1116 | # Platform RTC drivers | 1056 | # Platform RTC drivers |
| 1117 | # | 1057 | # |
| 1118 | # CONFIG_RTC_DRV_DS1553 is not set | 1058 | # CONFIG_RTC_DRV_DS1553 is not set |
| 1059 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
| 1119 | # CONFIG_RTC_DRV_DS1742 is not set | 1060 | # CONFIG_RTC_DRV_DS1742 is not set |
| 1120 | # CONFIG_RTC_DRV_M48T86 is not set | 1061 | # CONFIG_RTC_DRV_M48T86 is not set |
| 1062 | # CONFIG_RTC_DRV_M48T59 is not set | ||
| 1121 | # CONFIG_RTC_DRV_V3020 is not set | 1063 | # CONFIG_RTC_DRV_V3020 is not set |
| 1122 | 1064 | ||
| 1123 | # | 1065 | # |
| @@ -1126,22 +1068,9 @@ CONFIG_RTC_INTF_DEV=y | |||
| 1126 | CONFIG_RTC_DRV_BFIN=y | 1068 | CONFIG_RTC_DRV_BFIN=y |
| 1127 | 1069 | ||
| 1128 | # | 1070 | # |
| 1129 | # DMA Engine support | 1071 | # Userspace I/O |
| 1130 | # | 1072 | # |
| 1131 | # CONFIG_DMA_ENGINE is not set | 1073 | # CONFIG_UIO is not set |
| 1132 | |||
| 1133 | # | ||
| 1134 | # DMA Clients | ||
| 1135 | # | ||
| 1136 | |||
| 1137 | # | ||
| 1138 | # DMA Devices | ||
| 1139 | # | ||
| 1140 | |||
| 1141 | # | ||
| 1142 | # PBX support | ||
| 1143 | # | ||
| 1144 | # CONFIG_PBX is not set | ||
| 1145 | 1074 | ||
| 1146 | # | 1075 | # |
| 1147 | # File systems | 1076 | # File systems |
| @@ -1186,7 +1115,6 @@ CONFIG_PROC_SYSCTL=y | |||
| 1186 | CONFIG_SYSFS=y | 1115 | CONFIG_SYSFS=y |
| 1187 | # CONFIG_TMPFS is not set | 1116 | # CONFIG_TMPFS is not set |
| 1188 | # CONFIG_HUGETLB_PAGE is not set | 1117 | # CONFIG_HUGETLB_PAGE is not set |
| 1189 | CONFIG_RAMFS=y | ||
| 1190 | # CONFIG_CONFIGFS_FS is not set | 1118 | # CONFIG_CONFIGFS_FS is not set |
| 1191 | 1119 | ||
| 1192 | # | 1120 | # |
| @@ -1212,10 +1140,12 @@ CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y | |||
| 1212 | CONFIG_JFFS2_FS=m | 1140 | CONFIG_JFFS2_FS=m |
| 1213 | CONFIG_JFFS2_FS_DEBUG=0 | 1141 | CONFIG_JFFS2_FS_DEBUG=0 |
| 1214 | CONFIG_JFFS2_FS_WRITEBUFFER=y | 1142 | CONFIG_JFFS2_FS_WRITEBUFFER=y |
| 1143 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
| 1215 | # CONFIG_JFFS2_SUMMARY is not set | 1144 | # CONFIG_JFFS2_SUMMARY is not set |
| 1216 | # CONFIG_JFFS2_FS_XATTR is not set | 1145 | # CONFIG_JFFS2_FS_XATTR is not set |
| 1217 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | 1146 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set |
| 1218 | CONFIG_JFFS2_ZLIB=y | 1147 | CONFIG_JFFS2_ZLIB=y |
| 1148 | # CONFIG_JFFS2_LZO is not set | ||
| 1219 | CONFIG_JFFS2_RTIME=y | 1149 | CONFIG_JFFS2_RTIME=y |
| 1220 | # CONFIG_JFFS2_RUBIN is not set | 1150 | # CONFIG_JFFS2_RUBIN is not set |
| 1221 | # CONFIG_CRAMFS is not set | 1151 | # CONFIG_CRAMFS is not set |
| @@ -1224,10 +1154,7 @@ CONFIG_JFFS2_RTIME=y | |||
| 1224 | # CONFIG_QNX4FS_FS is not set | 1154 | # CONFIG_QNX4FS_FS is not set |
| 1225 | # CONFIG_SYSV_FS is not set | 1155 | # CONFIG_SYSV_FS is not set |
| 1226 | # CONFIG_UFS_FS is not set | 1156 | # CONFIG_UFS_FS is not set |
| 1227 | 1157 | CONFIG_NETWORK_FILESYSTEMS=y | |
| 1228 | # | ||
| 1229 | # Network File Systems | ||
| 1230 | # | ||
| 1231 | CONFIG_NFS_FS=m | 1158 | CONFIG_NFS_FS=m |
| 1232 | CONFIG_NFS_V3=y | 1159 | CONFIG_NFS_V3=y |
| 1233 | # CONFIG_NFS_V3_ACL is not set | 1160 | # CONFIG_NFS_V3_ACL is not set |
| @@ -1247,17 +1174,12 @@ CONFIG_SMB_FS=m | |||
| 1247 | # CONFIG_NCP_FS is not set | 1174 | # CONFIG_NCP_FS is not set |
| 1248 | # CONFIG_CODA_FS is not set | 1175 | # CONFIG_CODA_FS is not set |
| 1249 | # CONFIG_AFS_FS is not set | 1176 | # CONFIG_AFS_FS is not set |
| 1250 | # CONFIG_9P_FS is not set | ||
| 1251 | 1177 | ||
| 1252 | # | 1178 | # |
| 1253 | # Partition Types | 1179 | # Partition Types |
| 1254 | # | 1180 | # |
| 1255 | # CONFIG_PARTITION_ADVANCED is not set | 1181 | # CONFIG_PARTITION_ADVANCED is not set |
| 1256 | CONFIG_MSDOS_PARTITION=y | 1182 | CONFIG_MSDOS_PARTITION=y |
| 1257 | |||
| 1258 | # | ||
| 1259 | # Native Language Support | ||
| 1260 | # | ||
| 1261 | CONFIG_NLS=m | 1183 | CONFIG_NLS=m |
| 1262 | CONFIG_NLS_DEFAULT="iso8859-1" | 1184 | CONFIG_NLS_DEFAULT="iso8859-1" |
| 1263 | # CONFIG_NLS_CODEPAGE_437 is not set | 1185 | # CONFIG_NLS_CODEPAGE_437 is not set |
| @@ -1298,21 +1220,16 @@ CONFIG_NLS_DEFAULT="iso8859-1" | |||
| 1298 | # CONFIG_NLS_KOI8_R is not set | 1220 | # CONFIG_NLS_KOI8_R is not set |
| 1299 | # CONFIG_NLS_KOI8_U is not set | 1221 | # CONFIG_NLS_KOI8_U is not set |
| 1300 | # CONFIG_NLS_UTF8 is not set | 1222 | # CONFIG_NLS_UTF8 is not set |
| 1301 | |||
| 1302 | # | ||
| 1303 | # Distributed Lock Manager | ||
| 1304 | # | ||
| 1305 | # CONFIG_DLM is not set | 1223 | # CONFIG_DLM is not set |
| 1306 | 1224 | CONFIG_INSTRUMENTATION=y | |
| 1307 | # | ||
| 1308 | # Profiling support | ||
| 1309 | # | ||
| 1310 | # CONFIG_PROFILING is not set | 1225 | # CONFIG_PROFILING is not set |
| 1226 | # CONFIG_MARKERS is not set | ||
| 1311 | 1227 | ||
| 1312 | # | 1228 | # |
| 1313 | # Kernel hacking | 1229 | # Kernel hacking |
| 1314 | # | 1230 | # |
| 1315 | # CONFIG_PRINTK_TIME is not set | 1231 | # CONFIG_PRINTK_TIME is not set |
| 1232 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
| 1316 | CONFIG_ENABLE_MUST_CHECK=y | 1233 | CONFIG_ENABLE_MUST_CHECK=y |
| 1317 | # CONFIG_MAGIC_SYSRQ is not set | 1234 | # CONFIG_MAGIC_SYSRQ is not set |
| 1318 | # CONFIG_UNUSED_SYMBOLS is not set | 1235 | # CONFIG_UNUSED_SYMBOLS is not set |
| @@ -1320,6 +1237,7 @@ CONFIG_DEBUG_FS=y | |||
| 1320 | # CONFIG_HEADERS_CHECK is not set | 1237 | # CONFIG_HEADERS_CHECK is not set |
| 1321 | # CONFIG_DEBUG_KERNEL is not set | 1238 | # CONFIG_DEBUG_KERNEL is not set |
| 1322 | # CONFIG_DEBUG_BUGVERBOSE is not set | 1239 | # CONFIG_DEBUG_BUGVERBOSE is not set |
| 1240 | # CONFIG_SAMPLES is not set | ||
| 1323 | CONFIG_DEBUG_MMRS=y | 1241 | CONFIG_DEBUG_MMRS=y |
| 1324 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 1242 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
| 1325 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | 1243 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y |
| @@ -1339,11 +1257,7 @@ CONFIG_ACCESS_CHECK=y | |||
| 1339 | # CONFIG_KEYS is not set | 1257 | # CONFIG_KEYS is not set |
| 1340 | CONFIG_SECURITY=y | 1258 | CONFIG_SECURITY=y |
| 1341 | # CONFIG_SECURITY_NETWORK is not set | 1259 | # CONFIG_SECURITY_NETWORK is not set |
| 1342 | CONFIG_SECURITY_CAPABILITIES=m | 1260 | # CONFIG_SECURITY_CAPABILITIES is not set |
| 1343 | |||
| 1344 | # | ||
| 1345 | # Cryptographic options | ||
| 1346 | # | ||
| 1347 | # CONFIG_CRYPTO is not set | 1261 | # CONFIG_CRYPTO is not set |
| 1348 | 1262 | ||
| 1349 | # | 1263 | # |
| @@ -1354,6 +1268,7 @@ CONFIG_CRC_CCITT=m | |||
| 1354 | # CONFIG_CRC16 is not set | 1268 | # CONFIG_CRC16 is not set |
| 1355 | # CONFIG_CRC_ITU_T is not set | 1269 | # CONFIG_CRC_ITU_T is not set |
| 1356 | CONFIG_CRC32=y | 1270 | CONFIG_CRC32=y |
| 1271 | # CONFIG_CRC7 is not set | ||
| 1357 | # CONFIG_LIBCRC32C is not set | 1272 | # CONFIG_LIBCRC32C is not set |
| 1358 | CONFIG_ZLIB_INFLATE=y | 1273 | CONFIG_ZLIB_INFLATE=y |
| 1359 | CONFIG_ZLIB_DEFLATE=m | 1274 | CONFIG_ZLIB_DEFLATE=m |
diff --git a/arch/blackfin/configs/BF548-EZKIT_defconfig b/arch/blackfin/configs/BF548-EZKIT_defconfig index 1ff2ff4b49aa..390669e8668e 100644 --- a/arch/blackfin/configs/BF548-EZKIT_defconfig +++ b/arch/blackfin/configs/BF548-EZKIT_defconfig | |||
| @@ -365,7 +365,7 @@ CONFIG_C_AMBEN_ALL=y | |||
| 365 | CONFIG_BANK_0=0x7BB0 | 365 | CONFIG_BANK_0=0x7BB0 |
| 366 | CONFIG_BANK_1=0x5554 | 366 | CONFIG_BANK_1=0x5554 |
| 367 | CONFIG_BANK_2=0x7BB0 | 367 | CONFIG_BANK_2=0x7BB0 |
| 368 | CONFIG_BANK_3=0x99B3 | 368 | CONFIG_BANK_3=0x99B2 |
| 369 | CONFIG_EBIU_MBSCTLVAL=0x0 | 369 | CONFIG_EBIU_MBSCTLVAL=0x0 |
| 370 | CONFIG_EBIU_MODEVAL=0x1 | 370 | CONFIG_EBIU_MODEVAL=0x1 |
| 371 | CONFIG_EBIU_FCTLVAL=0x6 | 371 | CONFIG_EBIU_FCTLVAL=0x6 |
| @@ -468,7 +468,60 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 468 | # | 468 | # |
| 469 | # CONFIG_NET_PKTGEN is not set | 469 | # CONFIG_NET_PKTGEN is not set |
| 470 | # CONFIG_HAMRADIO is not set | 470 | # CONFIG_HAMRADIO is not set |
| 471 | # CONFIG_IRDA is not set | 471 | CONFIG_IRDA=m |
| 472 | |||
| 473 | # | ||
| 474 | # IrDA protocols | ||
| 475 | # | ||
| 476 | CONFIG_IRLAN=m | ||
| 477 | CONFIG_IRCOMM=m | ||
| 478 | # CONFIG_IRDA_ULTRA is not set | ||
| 479 | |||
| 480 | # | ||
| 481 | # IrDA options | ||
| 482 | # | ||
| 483 | # CONFIG_IRDA_CACHE_LAST_LSAP is not set | ||
| 484 | # CONFIG_IRDA_FAST_RR is not set | ||
| 485 | # CONFIG_IRDA_DEBUG is not set | ||
| 486 | |||
| 487 | # | ||
| 488 | # Infrared-port device drivers | ||
| 489 | # | ||
| 490 | |||
| 491 | # | ||
| 492 | # SIR device drivers | ||
| 493 | # | ||
| 494 | CONFIG_IRTTY_SIR=m | ||
| 495 | CONFIG_BFIN_SIR=m | ||
| 496 | # CONFIG_BFIN_SIR0 is not set | ||
| 497 | # CONFIG_BFIN_SIR2 is not set | ||
| 498 | CONFIG_BFIN_SIR3=y | ||
| 499 | CONFIG_SIR_BFIN_DMA=y | ||
| 500 | # CONFIG_SIR_BFIN_PIO is not set | ||
| 501 | |||
| 502 | # | ||
| 503 | # Dongle support | ||
| 504 | # | ||
| 505 | # CONFIG_DONGLE is not set | ||
| 506 | # CONFIG_KINGSUN_DONGLE is not set | ||
| 507 | # CONFIG_KSDAZZLE_DONGLE is not set | ||
| 508 | # CONFIG_KS959_DONGLE is not set | ||
| 509 | |||
| 510 | # | ||
| 511 | # Old SIR device drivers | ||
| 512 | # | ||
| 513 | # CONFIG_IRPORT_SIR is not set | ||
| 514 | |||
| 515 | # | ||
| 516 | # Old Serial dongle support | ||
| 517 | # | ||
| 518 | |||
| 519 | # | ||
| 520 | # FIR device drivers | ||
| 521 | # | ||
| 522 | # CONFIG_USB_IRDA is not set | ||
| 523 | # CONFIG_SIGMATEL_FIR is not set | ||
| 524 | # CONFIG_MCS_FIR is not set | ||
| 472 | # CONFIG_BT is not set | 525 | # CONFIG_BT is not set |
| 473 | # CONFIG_AF_RXRPC is not set | 526 | # CONFIG_AF_RXRPC is not set |
| 474 | 527 | ||
| @@ -575,6 +628,7 @@ CONFIG_MTD_NAND=y | |||
| 575 | CONFIG_MTD_NAND_IDS=y | 628 | CONFIG_MTD_NAND_IDS=y |
| 576 | CONFIG_MTD_NAND_BF5XX=y | 629 | CONFIG_MTD_NAND_BF5XX=y |
| 577 | CONFIG_MTD_NAND_BF5XX_HWECC=y | 630 | CONFIG_MTD_NAND_BF5XX_HWECC=y |
| 631 | # CONFIG_MTD_NAND_BF5XX_BOOTROM_ECC is not set | ||
| 578 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 632 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
| 579 | # CONFIG_MTD_NAND_NANDSIM is not set | 633 | # CONFIG_MTD_NAND_NANDSIM is not set |
| 580 | # CONFIG_MTD_NAND_PLATFORM is not set | 634 | # CONFIG_MTD_NAND_PLATFORM is not set |
| @@ -766,7 +820,7 @@ CONFIG_BFIN_OTP=y | |||
| 766 | # CONFIG_BFIN_SPORT is not set | 820 | # CONFIG_BFIN_SPORT is not set |
| 767 | # CONFIG_BFIN_TIMER_LATENCY is not set | 821 | # CONFIG_BFIN_TIMER_LATENCY is not set |
| 768 | # CONFIG_TWI_LCD is not set | 822 | # CONFIG_TWI_LCD is not set |
| 769 | # CONFIG_SIMPLE_GPIO is not set | 823 | CONFIG_SIMPLE_GPIO=m |
| 770 | CONFIG_VT=y | 824 | CONFIG_VT=y |
| 771 | CONFIG_VT_CONSOLE=y | 825 | CONFIG_VT_CONSOLE=y |
| 772 | CONFIG_HW_CONSOLE=y | 826 | CONFIG_HW_CONSOLE=y |
| @@ -1071,6 +1125,7 @@ CONFIG_SND_BF5XX_SOC_AC97=y | |||
| 1071 | CONFIG_SND_BF5XX_SOC_BF548_EZKIT=y | 1125 | CONFIG_SND_BF5XX_SOC_BF548_EZKIT=y |
| 1072 | # CONFIG_SND_BF5XX_SOC_WM8750 is not set | 1126 | # CONFIG_SND_BF5XX_SOC_WM8750 is not set |
| 1073 | # CONFIG_SND_BF5XX_SOC_WM8731 is not set | 1127 | # CONFIG_SND_BF5XX_SOC_WM8731 is not set |
| 1128 | # CONFIG_SND_BF5XX_SOC_SSM2602 is not set | ||
| 1074 | CONFIG_SND_BF5XX_SPORT_NUM=0 | 1129 | CONFIG_SND_BF5XX_SPORT_NUM=0 |
| 1075 | CONFIG_SND_BF5XX_HAVE_COLD_RESET=y | 1130 | CONFIG_SND_BF5XX_HAVE_COLD_RESET=y |
| 1076 | CONFIG_SND_BF5XX_RESET_GPIO_NUM=19 | 1131 | CONFIG_SND_BF5XX_RESET_GPIO_NUM=19 |
| @@ -1133,7 +1188,7 @@ CONFIG_USB_MUSB_HOST=y | |||
| 1133 | # CONFIG_USB_MUSB_OTG is not set | 1188 | # CONFIG_USB_MUSB_OTG is not set |
| 1134 | CONFIG_USB_MUSB_HDRC_HCD=y | 1189 | CONFIG_USB_MUSB_HDRC_HCD=y |
| 1135 | # CONFIG_MUSB_PIO_ONLY is not set | 1190 | # CONFIG_MUSB_PIO_ONLY is not set |
| 1136 | # CONFIG_USB_INVENTRA_DMA is not set | 1191 | CONFIG_USB_INVENTRA_DMA=y |
| 1137 | # CONFIG_USB_TI_CPPI_DMA is not set | 1192 | # CONFIG_USB_TI_CPPI_DMA is not set |
| 1138 | CONFIG_USB_MUSB_LOGLEVEL=0 | 1193 | CONFIG_USB_MUSB_LOGLEVEL=0 |
| 1139 | 1194 | ||
| @@ -1312,7 +1367,7 @@ CONFIG_FS_MBCACHE=y | |||
| 1312 | CONFIG_INOTIFY=y | 1367 | CONFIG_INOTIFY=y |
| 1313 | CONFIG_INOTIFY_USER=y | 1368 | CONFIG_INOTIFY_USER=y |
| 1314 | # CONFIG_QUOTA is not set | 1369 | # CONFIG_QUOTA is not set |
| 1315 | CONFIG_DNOTIFY=y | 1370 | # CONFIG_DNOTIFY is not set |
| 1316 | # CONFIG_AUTOFS_FS is not set | 1371 | # CONFIG_AUTOFS_FS is not set |
| 1317 | # CONFIG_AUTOFS4_FS is not set | 1372 | # CONFIG_AUTOFS4_FS is not set |
| 1318 | # CONFIG_FUSE_FS is not set | 1373 | # CONFIG_FUSE_FS is not set |
diff --git a/arch/blackfin/configs/BF561-EZKIT_defconfig b/arch/blackfin/configs/BF561-EZKIT_defconfig index b4a20c890816..976a4d7ba175 100644 --- a/arch/blackfin/configs/BF561-EZKIT_defconfig +++ b/arch/blackfin/configs/BF561-EZKIT_defconfig | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.22.16 | 3 | # Linux kernel version: 2.6.24.7 |
| 4 | # | 4 | # |
| 5 | # CONFIG_MMU is not set | 5 | # CONFIG_MMU is not set |
| 6 | # CONFIG_FPU is not set | 6 | # CONFIG_FPU is not set |
| @@ -13,35 +13,34 @@ CONFIG_GENERIC_FIND_NEXT_BIT=y | |||
| 13 | CONFIG_GENERIC_HWEIGHT=y | 13 | CONFIG_GENERIC_HWEIGHT=y |
| 14 | CONFIG_GENERIC_HARDIRQS=y | 14 | CONFIG_GENERIC_HARDIRQS=y |
| 15 | CONFIG_GENERIC_IRQ_PROBE=y | 15 | CONFIG_GENERIC_IRQ_PROBE=y |
| 16 | CONFIG_GENERIC_TIME=y | ||
| 17 | CONFIG_GENERIC_GPIO=y | 16 | CONFIG_GENERIC_GPIO=y |
| 18 | CONFIG_FORCE_MAX_ZONEORDER=14 | 17 | CONFIG_FORCE_MAX_ZONEORDER=14 |
| 19 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 18 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
| 20 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | 19 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" |
| 21 | 20 | ||
| 22 | # | 21 | # |
| 23 | # Code maturity level options | 22 | # General setup |
| 24 | # | 23 | # |
| 25 | CONFIG_EXPERIMENTAL=y | 24 | CONFIG_EXPERIMENTAL=y |
| 26 | CONFIG_BROKEN_ON_SMP=y | 25 | CONFIG_BROKEN_ON_SMP=y |
| 27 | CONFIG_INIT_ENV_ARG_LIMIT=32 | 26 | CONFIG_INIT_ENV_ARG_LIMIT=32 |
| 28 | |||
| 29 | # | ||
| 30 | # General setup | ||
| 31 | # | ||
| 32 | CONFIG_LOCALVERSION="" | 27 | CONFIG_LOCALVERSION="" |
| 33 | CONFIG_LOCALVERSION_AUTO=y | 28 | CONFIG_LOCALVERSION_AUTO=y |
| 34 | CONFIG_SYSVIPC=y | 29 | CONFIG_SYSVIPC=y |
| 35 | # CONFIG_IPC_NS is not set | ||
| 36 | CONFIG_SYSVIPC_SYSCTL=y | 30 | CONFIG_SYSVIPC_SYSCTL=y |
| 37 | # CONFIG_POSIX_MQUEUE is not set | 31 | # CONFIG_POSIX_MQUEUE is not set |
| 38 | # CONFIG_BSD_PROCESS_ACCT is not set | 32 | # CONFIG_BSD_PROCESS_ACCT is not set |
| 39 | # CONFIG_TASKSTATS is not set | 33 | # CONFIG_TASKSTATS is not set |
| 40 | # CONFIG_UTS_NS is not set | 34 | # CONFIG_USER_NS is not set |
| 35 | # CONFIG_PID_NS is not set | ||
| 41 | # CONFIG_AUDIT is not set | 36 | # CONFIG_AUDIT is not set |
| 42 | CONFIG_IKCONFIG=y | 37 | CONFIG_IKCONFIG=y |
| 43 | CONFIG_IKCONFIG_PROC=y | 38 | CONFIG_IKCONFIG_PROC=y |
| 44 | CONFIG_LOG_BUF_SHIFT=14 | 39 | CONFIG_LOG_BUF_SHIFT=14 |
| 40 | # CONFIG_CGROUPS is not set | ||
| 41 | CONFIG_FAIR_GROUP_SCHED=y | ||
| 42 | CONFIG_FAIR_USER_SCHED=y | ||
| 43 | # CONFIG_FAIR_CGROUP_SCHED is not set | ||
| 45 | CONFIG_SYSFS_DEPRECATED=y | 44 | CONFIG_SYSFS_DEPRECATED=y |
| 46 | # CONFIG_RELAY is not set | 45 | # CONFIG_RELAY is not set |
| 47 | CONFIG_BLK_DEV_INITRD=y | 46 | CONFIG_BLK_DEV_INITRD=y |
| @@ -64,32 +63,24 @@ CONFIG_EPOLL=y | |||
| 64 | CONFIG_SIGNALFD=y | 63 | CONFIG_SIGNALFD=y |
| 65 | CONFIG_EVENTFD=y | 64 | CONFIG_EVENTFD=y |
| 66 | CONFIG_VM_EVENT_COUNTERS=y | 65 | CONFIG_VM_EVENT_COUNTERS=y |
| 67 | CONFIG_BIG_ORDER_ALLOC_NOFAIL_MAGIC=3 | ||
| 68 | # CONFIG_NP2 is not set | ||
| 69 | CONFIG_SLAB=y | 66 | CONFIG_SLAB=y |
| 70 | # CONFIG_SLUB is not set | 67 | # CONFIG_SLUB is not set |
| 71 | # CONFIG_SLOB is not set | 68 | # CONFIG_SLOB is not set |
| 69 | CONFIG_SLABINFO=y | ||
| 72 | CONFIG_RT_MUTEXES=y | 70 | CONFIG_RT_MUTEXES=y |
| 73 | CONFIG_TINY_SHMEM=y | 71 | CONFIG_TINY_SHMEM=y |
| 74 | CONFIG_BASE_SMALL=0 | 72 | CONFIG_BASE_SMALL=0 |
| 75 | |||
| 76 | # | ||
| 77 | # Loadable module support | ||
| 78 | # | ||
| 79 | CONFIG_MODULES=y | 73 | CONFIG_MODULES=y |
| 80 | CONFIG_MODULE_UNLOAD=y | 74 | CONFIG_MODULE_UNLOAD=y |
| 81 | # CONFIG_MODULE_FORCE_UNLOAD is not set | 75 | # CONFIG_MODULE_FORCE_UNLOAD is not set |
| 82 | # CONFIG_MODVERSIONS is not set | 76 | # CONFIG_MODVERSIONS is not set |
| 83 | # CONFIG_MODULE_SRCVERSION_ALL is not set | 77 | # CONFIG_MODULE_SRCVERSION_ALL is not set |
| 84 | CONFIG_KMOD=y | 78 | CONFIG_KMOD=y |
| 85 | |||
| 86 | # | ||
| 87 | # Block layer | ||
| 88 | # | ||
| 89 | CONFIG_BLOCK=y | 79 | CONFIG_BLOCK=y |
| 90 | # CONFIG_LBD is not set | 80 | # CONFIG_LBD is not set |
| 91 | # CONFIG_BLK_DEV_IO_TRACE is not set | 81 | # CONFIG_BLK_DEV_IO_TRACE is not set |
| 92 | # CONFIG_LSF is not set | 82 | # CONFIG_LSF is not set |
| 83 | # CONFIG_BLK_DEV_BSG is not set | ||
| 93 | 84 | ||
| 94 | # | 85 | # |
| 95 | # IO Schedulers | 86 | # IO Schedulers |
| @@ -140,7 +131,6 @@ CONFIG_BF_REV_0_3=y | |||
| 140 | # CONFIG_BF_REV_0_5 is not set | 131 | # CONFIG_BF_REV_0_5 is not set |
| 141 | # CONFIG_BF_REV_ANY is not set | 132 | # CONFIG_BF_REV_ANY is not set |
| 142 | # CONFIG_BF_REV_NONE is not set | 133 | # CONFIG_BF_REV_NONE is not set |
| 143 | CONFIG_BFIN_DUAL_CORE=y | ||
| 144 | CONFIG_MEM_MT48LC16M16A2TG_75=y | 134 | CONFIG_MEM_MT48LC16M16A2TG_75=y |
| 145 | CONFIG_IRQ_PLL_WAKEUP=7 | 135 | CONFIG_IRQ_PLL_WAKEUP=7 |
| 146 | CONFIG_IRQ_SPORT0_ERROR=7 | 136 | CONFIG_IRQ_SPORT0_ERROR=7 |
| @@ -233,12 +223,14 @@ CONFIG_IRQ_WDTIMER=13 | |||
| 233 | # Board customizations | 223 | # Board customizations |
| 234 | # | 224 | # |
| 235 | # CONFIG_CMDLINE_BOOL is not set | 225 | # CONFIG_CMDLINE_BOOL is not set |
| 226 | CONFIG_BOOT_LOAD=0x1000 | ||
| 236 | 227 | ||
| 237 | # | 228 | # |
| 238 | # Clock/PLL Setup | 229 | # Clock/PLL Setup |
| 239 | # | 230 | # |
| 240 | CONFIG_CLKIN_HZ=30000000 | 231 | CONFIG_CLKIN_HZ=30000000 |
| 241 | # CONFIG_BFIN_KERNEL_CLOCK is not set | 232 | # CONFIG_BFIN_KERNEL_CLOCK is not set |
| 233 | CONFIG_MAX_MEM_SIZE=512 | ||
| 242 | CONFIG_MAX_VCO_HZ=600000000 | 234 | CONFIG_MAX_VCO_HZ=600000000 |
| 243 | CONFIG_MIN_VCO_HZ=50000000 | 235 | CONFIG_MIN_VCO_HZ=50000000 |
| 244 | CONFIG_MAX_SCLK_HZ=133333333 | 236 | CONFIG_MAX_SCLK_HZ=133333333 |
| @@ -252,13 +244,17 @@ CONFIG_HZ_250=y | |||
| 252 | # CONFIG_HZ_300 is not set | 244 | # CONFIG_HZ_300 is not set |
| 253 | # CONFIG_HZ_1000 is not set | 245 | # CONFIG_HZ_1000 is not set |
| 254 | CONFIG_HZ=250 | 246 | CONFIG_HZ=250 |
| 247 | CONFIG_GENERIC_TIME=y | ||
| 248 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
| 249 | # CONFIG_CYCLES_CLOCKSOURCE is not set | ||
| 250 | CONFIG_TICK_ONESHOT=y | ||
| 251 | # CONFIG_NO_HZ is not set | ||
| 252 | CONFIG_HIGH_RES_TIMERS=y | ||
| 253 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
| 255 | 254 | ||
| 256 | # | 255 | # |
| 257 | # Memory Setup | 256 | # Misc |
| 258 | # | 257 | # |
| 259 | CONFIG_MAX_MEM_SIZE=512 | ||
| 260 | CONFIG_MEM_ADD_WIDTH=9 | ||
| 261 | CONFIG_BOOT_LOAD=0x1000 | ||
| 262 | CONFIG_BFIN_SCRATCH_REG_RETN=y | 258 | CONFIG_BFIN_SCRATCH_REG_RETN=y |
| 263 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | 259 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set |
| 264 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | 260 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set |
| @@ -294,12 +290,14 @@ CONFIG_FLATMEM_MANUAL=y | |||
| 294 | CONFIG_FLATMEM=y | 290 | CONFIG_FLATMEM=y |
| 295 | CONFIG_FLAT_NODE_MEM_MAP=y | 291 | CONFIG_FLAT_NODE_MEM_MAP=y |
| 296 | # CONFIG_SPARSEMEM_STATIC is not set | 292 | # CONFIG_SPARSEMEM_STATIC is not set |
| 293 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
| 297 | CONFIG_SPLIT_PTLOCK_CPUS=4 | 294 | CONFIG_SPLIT_PTLOCK_CPUS=4 |
| 298 | # CONFIG_RESOURCES_64BIT is not set | 295 | # CONFIG_RESOURCES_64BIT is not set |
| 299 | CONFIG_ZONE_DMA_FLAG=1 | 296 | CONFIG_ZONE_DMA_FLAG=1 |
| 300 | CONFIG_LARGE_ALLOCS=y | 297 | CONFIG_VIRT_TO_BUS=y |
| 301 | # CONFIG_BFIN_GPTIMERS is not set | 298 | # CONFIG_BFIN_GPTIMERS is not set |
| 302 | CONFIG_BFIN_DMA_5XX=y | 299 | CONFIG_BFIN_DMA_5XX=y |
| 300 | # CONFIG_DMA_UNCACHED_4M is not set | ||
| 303 | # CONFIG_DMA_UNCACHED_2M is not set | 301 | # CONFIG_DMA_UNCACHED_2M is not set |
| 304 | CONFIG_DMA_UNCACHED_1M=y | 302 | CONFIG_DMA_UNCACHED_1M=y |
| 305 | # CONFIG_DMA_UNCACHED_NONE is not set | 303 | # CONFIG_DMA_UNCACHED_NONE is not set |
| @@ -341,17 +339,13 @@ CONFIG_C_AMBEN_ALL=y | |||
| 341 | CONFIG_BANK_0=0x7BB0 | 339 | CONFIG_BANK_0=0x7BB0 |
| 342 | CONFIG_BANK_1=0x7BB0 | 340 | CONFIG_BANK_1=0x7BB0 |
| 343 | CONFIG_BANK_2=0x7BB0 | 341 | CONFIG_BANK_2=0x7BB0 |
| 344 | CONFIG_BANK_3=0xAAC3 | 342 | CONFIG_BANK_3=0xAAC2 |
| 345 | 343 | ||
| 346 | # | 344 | # |
| 347 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 345 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
| 348 | # | 346 | # |
| 349 | # CONFIG_PCI is not set | 347 | # CONFIG_PCI is not set |
| 350 | # CONFIG_ARCH_SUPPORTS_MSI is not set | 348 | # CONFIG_ARCH_SUPPORTS_MSI is not set |
| 351 | |||
| 352 | # | ||
| 353 | # PCCARD (PCMCIA/CardBus) support | ||
| 354 | # | ||
| 355 | # CONFIG_PCCARD is not set | 349 | # CONFIG_PCCARD is not set |
| 356 | 350 | ||
| 357 | # | 351 | # |
| @@ -367,9 +361,15 @@ CONFIG_BINFMT_ZFLAT=y | |||
| 367 | # Power management options | 361 | # Power management options |
| 368 | # | 362 | # |
| 369 | # CONFIG_PM is not set | 363 | # CONFIG_PM is not set |
| 364 | CONFIG_SUSPEND_UP_POSSIBLE=y | ||
| 370 | # CONFIG_PM_WAKEUP_BY_GPIO is not set | 365 | # CONFIG_PM_WAKEUP_BY_GPIO is not set |
| 371 | 366 | ||
| 372 | # | 367 | # |
| 368 | # CPU Frequency scaling | ||
| 369 | # | ||
| 370 | # CONFIG_CPU_FREQ is not set | ||
| 371 | |||
| 372 | # | ||
| 373 | # Networking | 373 | # Networking |
| 374 | # | 374 | # |
| 375 | CONFIG_NET=y | 375 | CONFIG_NET=y |
| @@ -405,6 +405,7 @@ CONFIG_SYN_COOKIES=y | |||
| 405 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | 405 | CONFIG_INET_XFRM_MODE_TRANSPORT=y |
| 406 | CONFIG_INET_XFRM_MODE_TUNNEL=y | 406 | CONFIG_INET_XFRM_MODE_TUNNEL=y |
| 407 | CONFIG_INET_XFRM_MODE_BEET=y | 407 | CONFIG_INET_XFRM_MODE_BEET=y |
| 408 | # CONFIG_INET_LRO is not set | ||
| 408 | CONFIG_INET_DIAG=y | 409 | CONFIG_INET_DIAG=y |
| 409 | CONFIG_INET_TCP_DIAG=y | 410 | CONFIG_INET_TCP_DIAG=y |
| 410 | # CONFIG_TCP_CONG_ADVANCED is not set | 411 | # CONFIG_TCP_CONG_ADVANCED is not set |
| @@ -431,10 +432,6 @@ CONFIG_DEFAULT_TCP_CONG="cubic" | |||
| 431 | # CONFIG_LAPB is not set | 432 | # CONFIG_LAPB is not set |
| 432 | # CONFIG_ECONET is not set | 433 | # CONFIG_ECONET is not set |
| 433 | # CONFIG_WAN_ROUTER is not set | 434 | # CONFIG_WAN_ROUTER is not set |
| 434 | |||
| 435 | # | ||
| 436 | # QoS and/or fair queueing | ||
| 437 | # | ||
| 438 | # CONFIG_NET_SCHED is not set | 435 | # CONFIG_NET_SCHED is not set |
| 439 | 436 | ||
| 440 | # | 437 | # |
| @@ -466,6 +463,7 @@ CONFIG_IRDA_CACHE_LAST_LSAP=y | |||
| 466 | # SIR device drivers | 463 | # SIR device drivers |
| 467 | # | 464 | # |
| 468 | CONFIG_IRTTY_SIR=m | 465 | CONFIG_IRTTY_SIR=m |
| 466 | # CONFIG_BFIN_SIR is not set | ||
| 469 | 467 | ||
| 470 | # | 468 | # |
| 471 | # Dongle support | 469 | # Dongle support |
| @@ -495,6 +493,7 @@ CONFIG_IRTTY_SIR=m | |||
| 495 | # CONFIG_MAC80211 is not set | 493 | # CONFIG_MAC80211 is not set |
| 496 | # CONFIG_IEEE80211 is not set | 494 | # CONFIG_IEEE80211 is not set |
| 497 | # CONFIG_RFKILL is not set | 495 | # CONFIG_RFKILL is not set |
| 496 | # CONFIG_NET_9P is not set | ||
| 498 | 497 | ||
| 499 | # | 498 | # |
| 500 | # Device Drivers | 499 | # Device Drivers |
| @@ -503,14 +502,11 @@ CONFIG_IRTTY_SIR=m | |||
| 503 | # | 502 | # |
| 504 | # Generic Driver Options | 503 | # Generic Driver Options |
| 505 | # | 504 | # |
| 505 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
| 506 | CONFIG_STANDALONE=y | 506 | CONFIG_STANDALONE=y |
| 507 | CONFIG_PREVENT_FIRMWARE_BUILD=y | 507 | CONFIG_PREVENT_FIRMWARE_BUILD=y |
| 508 | # CONFIG_FW_LOADER is not set | 508 | # CONFIG_FW_LOADER is not set |
| 509 | # CONFIG_SYS_HYPERVISOR is not set | 509 | # CONFIG_SYS_HYPERVISOR is not set |
| 510 | |||
| 511 | # | ||
| 512 | # Connector - unified userspace <-> kernelspace linker | ||
| 513 | # | ||
| 514 | # CONFIG_CONNECTOR is not set | 510 | # CONFIG_CONNECTOR is not set |
| 515 | CONFIG_MTD=y | 511 | CONFIG_MTD=y |
| 516 | # CONFIG_MTD_DEBUG is not set | 512 | # CONFIG_MTD_DEBUG is not set |
| @@ -530,6 +526,7 @@ CONFIG_MTD_BLOCK=y | |||
| 530 | # CONFIG_INFTL is not set | 526 | # CONFIG_INFTL is not set |
| 531 | # CONFIG_RFD_FTL is not set | 527 | # CONFIG_RFD_FTL is not set |
| 532 | # CONFIG_SSFDC is not set | 528 | # CONFIG_SSFDC is not set |
| 529 | # CONFIG_MTD_OOPS is not set | ||
| 533 | 530 | ||
| 534 | # | 531 | # |
| 535 | # RAM/ROM/Flash chip drivers | 532 | # RAM/ROM/Flash chip drivers |
| @@ -590,20 +587,8 @@ CONFIG_MTD_PHYSMAP_BANKWIDTH=2 | |||
| 590 | # UBI - Unsorted block images | 587 | # UBI - Unsorted block images |
| 591 | # | 588 | # |
| 592 | # CONFIG_MTD_UBI is not set | 589 | # CONFIG_MTD_UBI is not set |
| 593 | |||
| 594 | # | ||
| 595 | # Parallel port support | ||
| 596 | # | ||
| 597 | # CONFIG_PARPORT is not set | 590 | # CONFIG_PARPORT is not set |
| 598 | 591 | CONFIG_BLK_DEV=y | |
| 599 | # | ||
| 600 | # Plug and Play support | ||
| 601 | # | ||
| 602 | # CONFIG_PNPACPI is not set | ||
| 603 | |||
| 604 | # | ||
| 605 | # Block devices | ||
| 606 | # | ||
| 607 | # CONFIG_BLK_DEV_COW_COMMON is not set | 592 | # CONFIG_BLK_DEV_COW_COMMON is not set |
| 608 | # CONFIG_BLK_DEV_LOOP is not set | 593 | # CONFIG_BLK_DEV_LOOP is not set |
| 609 | # CONFIG_BLK_DEV_NBD is not set | 594 | # CONFIG_BLK_DEV_NBD is not set |
| @@ -613,10 +598,8 @@ CONFIG_BLK_DEV_RAM_SIZE=4096 | |||
| 613 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | 598 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 |
| 614 | # CONFIG_CDROM_PKTCDVD is not set | 599 | # CONFIG_CDROM_PKTCDVD is not set |
| 615 | # CONFIG_ATA_OVER_ETH is not set | 600 | # CONFIG_ATA_OVER_ETH is not set |
| 616 | 601 | CONFIG_MISC_DEVICES=y | |
| 617 | # | 602 | # CONFIG_EEPROM_93CX6 is not set |
| 618 | # Misc devices | ||
| 619 | # | ||
| 620 | # CONFIG_IDE is not set | 603 | # CONFIG_IDE is not set |
| 621 | 604 | ||
| 622 | # | 605 | # |
| @@ -624,32 +607,29 @@ CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | |||
| 624 | # | 607 | # |
| 625 | # CONFIG_RAID_ATTRS is not set | 608 | # CONFIG_RAID_ATTRS is not set |
| 626 | # CONFIG_SCSI is not set | 609 | # CONFIG_SCSI is not set |
| 610 | # CONFIG_SCSI_DMA is not set | ||
| 627 | # CONFIG_SCSI_NETLINK is not set | 611 | # CONFIG_SCSI_NETLINK is not set |
| 628 | # CONFIG_ATA is not set | 612 | # CONFIG_ATA is not set |
| 629 | |||
| 630 | # | ||
| 631 | # Multi-device support (RAID and LVM) | ||
| 632 | # | ||
| 633 | # CONFIG_MD is not set | 613 | # CONFIG_MD is not set |
| 634 | |||
| 635 | # | ||
| 636 | # Network device support | ||
| 637 | # | ||
| 638 | CONFIG_NETDEVICES=y | 614 | CONFIG_NETDEVICES=y |
| 615 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
| 639 | # CONFIG_DUMMY is not set | 616 | # CONFIG_DUMMY is not set |
| 640 | # CONFIG_BONDING is not set | 617 | # CONFIG_BONDING is not set |
| 618 | # CONFIG_MACVLAN is not set | ||
| 641 | # CONFIG_EQUALIZER is not set | 619 | # CONFIG_EQUALIZER is not set |
| 642 | # CONFIG_TUN is not set | 620 | # CONFIG_TUN is not set |
| 621 | # CONFIG_VETH is not set | ||
| 643 | # CONFIG_PHYLIB is not set | 622 | # CONFIG_PHYLIB is not set |
| 644 | |||
| 645 | # | ||
| 646 | # Ethernet (10 or 100Mbit) | ||
| 647 | # | ||
| 648 | CONFIG_NET_ETHERNET=y | 623 | CONFIG_NET_ETHERNET=y |
| 649 | CONFIG_MII=y | 624 | CONFIG_MII=y |
| 650 | CONFIG_SMC91X=y | 625 | CONFIG_SMC91X=y |
| 651 | # CONFIG_SMSC911X is not set | 626 | # CONFIG_SMSC911X is not set |
| 652 | # CONFIG_DM9000 is not set | 627 | # CONFIG_DM9000 is not set |
| 628 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
| 629 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
| 630 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
| 631 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
| 632 | # CONFIG_B44 is not set | ||
| 653 | CONFIG_NETDEV_1000=y | 633 | CONFIG_NETDEV_1000=y |
| 654 | # CONFIG_AX88180 is not set | 634 | # CONFIG_AX88180 is not set |
| 655 | CONFIG_NETDEV_10000=y | 635 | CONFIG_NETDEV_10000=y |
| @@ -666,15 +646,7 @@ CONFIG_NETDEV_10000=y | |||
| 666 | # CONFIG_NETCONSOLE is not set | 646 | # CONFIG_NETCONSOLE is not set |
| 667 | # CONFIG_NETPOLL is not set | 647 | # CONFIG_NETPOLL is not set |
| 668 | # CONFIG_NET_POLL_CONTROLLER is not set | 648 | # CONFIG_NET_POLL_CONTROLLER is not set |
| 669 | |||
| 670 | # | ||
| 671 | # ISDN subsystem | ||
| 672 | # | ||
| 673 | # CONFIG_ISDN is not set | 649 | # CONFIG_ISDN is not set |
| 674 | |||
| 675 | # | ||
| 676 | # Telephony Support | ||
| 677 | # | ||
| 678 | # CONFIG_PHONE is not set | 650 | # CONFIG_PHONE is not set |
| 679 | 651 | ||
| 680 | # | 652 | # |
| @@ -689,7 +661,6 @@ CONFIG_INPUT=m | |||
| 689 | # | 661 | # |
| 690 | # CONFIG_INPUT_MOUSEDEV is not set | 662 | # CONFIG_INPUT_MOUSEDEV is not set |
| 691 | # CONFIG_INPUT_JOYDEV is not set | 663 | # CONFIG_INPUT_JOYDEV is not set |
| 692 | # CONFIG_INPUT_TSDEV is not set | ||
| 693 | CONFIG_INPUT_EVDEV=m | 664 | CONFIG_INPUT_EVDEV=m |
| 694 | # CONFIG_INPUT_EVBUG is not set | 665 | # CONFIG_INPUT_EVBUG is not set |
| 695 | 666 | ||
| @@ -714,13 +685,12 @@ CONFIG_INPUT_EVDEV=m | |||
| 714 | # | 685 | # |
| 715 | # CONFIG_AD9960 is not set | 686 | # CONFIG_AD9960 is not set |
| 716 | # CONFIG_SPI_ADC_BF533 is not set | 687 | # CONFIG_SPI_ADC_BF533 is not set |
| 717 | # CONFIG_BF5xx_PFLAGS is not set | ||
| 718 | # CONFIG_BF5xx_PPIFCD is not set | 688 | # CONFIG_BF5xx_PPIFCD is not set |
| 719 | # CONFIG_BFIN_SIMPLE_TIMER is not set | 689 | # CONFIG_BFIN_SIMPLE_TIMER is not set |
| 720 | # CONFIG_BF5xx_PPI is not set | 690 | # CONFIG_BF5xx_PPI is not set |
| 721 | # CONFIG_BFIN_SPORT is not set | 691 | # CONFIG_BFIN_SPORT is not set |
| 722 | # CONFIG_BFIN_TIMER_LATENCY is not set | 692 | # CONFIG_BFIN_TIMER_LATENCY is not set |
| 723 | # CONFIG_AD5304 is not set | 693 | CONFIG_SIMPLE_GPIO=m |
| 724 | # CONFIG_VT is not set | 694 | # CONFIG_VT is not set |
| 725 | # CONFIG_SERIAL_NONSTANDARD is not set | 695 | # CONFIG_SERIAL_NONSTANDARD is not set |
| 726 | 696 | ||
| @@ -748,27 +718,11 @@ CONFIG_UNIX98_PTYS=y | |||
| 748 | # CAN, the car bus and industrial fieldbus | 718 | # CAN, the car bus and industrial fieldbus |
| 749 | # | 719 | # |
| 750 | # CONFIG_CAN4LINUX is not set | 720 | # CONFIG_CAN4LINUX is not set |
| 751 | |||
| 752 | # | ||
| 753 | # IPMI | ||
| 754 | # | ||
| 755 | # CONFIG_IPMI_HANDLER is not set | 721 | # CONFIG_IPMI_HANDLER is not set |
| 756 | CONFIG_WATCHDOG=y | ||
| 757 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
| 758 | |||
| 759 | # | ||
| 760 | # Watchdog Device Drivers | ||
| 761 | # | ||
| 762 | # CONFIG_SOFT_WATCHDOG is not set | ||
| 763 | CONFIG_BFIN_WDT=y | ||
| 764 | CONFIG_HW_RANDOM=y | 722 | CONFIG_HW_RANDOM=y |
| 765 | # CONFIG_GEN_RTC is not set | 723 | # CONFIG_GEN_RTC is not set |
| 766 | # CONFIG_R3964 is not set | 724 | # CONFIG_R3964 is not set |
| 767 | # CONFIG_RAW_DRIVER is not set | 725 | # CONFIG_RAW_DRIVER is not set |
| 768 | |||
| 769 | # | ||
| 770 | # TPM devices | ||
| 771 | # | ||
| 772 | # CONFIG_TCG_TPM is not set | 726 | # CONFIG_TCG_TPM is not set |
| 773 | # CONFIG_I2C is not set | 727 | # CONFIG_I2C is not set |
| 774 | 728 | ||
| @@ -789,22 +743,37 @@ CONFIG_SPI_BFIN=y | |||
| 789 | # | 743 | # |
| 790 | # CONFIG_SPI_AT25 is not set | 744 | # CONFIG_SPI_AT25 is not set |
| 791 | # CONFIG_SPI_SPIDEV is not set | 745 | # CONFIG_SPI_SPIDEV is not set |
| 792 | 746 | # CONFIG_SPI_TLE62X0 is not set | |
| 793 | # | ||
| 794 | # Dallas's 1-wire bus | ||
| 795 | # | ||
| 796 | # CONFIG_W1 is not set | 747 | # CONFIG_W1 is not set |
| 748 | # CONFIG_POWER_SUPPLY is not set | ||
| 797 | CONFIG_HWMON=y | 749 | CONFIG_HWMON=y |
| 798 | # CONFIG_HWMON_VID is not set | 750 | # CONFIG_HWMON_VID is not set |
| 799 | # CONFIG_SENSORS_ABITUGURU is not set | ||
| 800 | # CONFIG_SENSORS_F71805F is not set | 751 | # CONFIG_SENSORS_F71805F is not set |
| 752 | # CONFIG_SENSORS_F71882FG is not set | ||
| 753 | # CONFIG_SENSORS_IT87 is not set | ||
| 801 | # CONFIG_SENSORS_LM70 is not set | 754 | # CONFIG_SENSORS_LM70 is not set |
| 755 | # CONFIG_SENSORS_PC87360 is not set | ||
| 802 | # CONFIG_SENSORS_PC87427 is not set | 756 | # CONFIG_SENSORS_PC87427 is not set |
| 803 | # CONFIG_SENSORS_SMSC47M1 is not set | 757 | # CONFIG_SENSORS_SMSC47M1 is not set |
| 804 | # CONFIG_SENSORS_SMSC47B397 is not set | 758 | # CONFIG_SENSORS_SMSC47B397 is not set |
| 805 | # CONFIG_SENSORS_VT1211 is not set | 759 | # CONFIG_SENSORS_VT1211 is not set |
| 806 | # CONFIG_SENSORS_W83627HF is not set | 760 | # CONFIG_SENSORS_W83627HF is not set |
| 761 | # CONFIG_SENSORS_W83627EHF is not set | ||
| 807 | # CONFIG_HWMON_DEBUG_CHIP is not set | 762 | # CONFIG_HWMON_DEBUG_CHIP is not set |
| 763 | CONFIG_WATCHDOG=y | ||
| 764 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
| 765 | |||
| 766 | # | ||
| 767 | # Watchdog Device Drivers | ||
| 768 | # | ||
| 769 | # CONFIG_SOFT_WATCHDOG is not set | ||
| 770 | CONFIG_BFIN_WDT=y | ||
| 771 | |||
| 772 | # | ||
| 773 | # Sonics Silicon Backplane | ||
| 774 | # | ||
| 775 | CONFIG_SSB_POSSIBLE=y | ||
| 776 | # CONFIG_SSB is not set | ||
| 808 | 777 | ||
| 809 | # | 778 | # |
| 810 | # Multifunction device drivers | 779 | # Multifunction device drivers |
| @@ -821,91 +790,33 @@ CONFIG_DAB=y | |||
| 821 | # | 790 | # |
| 822 | # Graphics support | 791 | # Graphics support |
| 823 | # | 792 | # |
| 793 | # CONFIG_VGASTATE is not set | ||
| 794 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
| 795 | # CONFIG_FB is not set | ||
| 824 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | 796 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set |
| 825 | 797 | ||
| 826 | # | 798 | # |
| 827 | # Display device support | 799 | # Display device support |
| 828 | # | 800 | # |
| 829 | # CONFIG_DISPLAY_SUPPORT is not set | 801 | # CONFIG_DISPLAY_SUPPORT is not set |
| 830 | # CONFIG_VGASTATE is not set | ||
| 831 | # CONFIG_FB is not set | ||
| 832 | 802 | ||
| 833 | # | 803 | # |
| 834 | # Sound | 804 | # Sound |
| 835 | # | 805 | # |
| 836 | # CONFIG_SOUND is not set | 806 | # CONFIG_SOUND is not set |
| 837 | 807 | CONFIG_HID_SUPPORT=y | |
| 838 | # | ||
| 839 | # HID Devices | ||
| 840 | # | ||
| 841 | CONFIG_HID=m | 808 | CONFIG_HID=m |
| 842 | # CONFIG_HID_DEBUG is not set | 809 | # CONFIG_HID_DEBUG is not set |
| 843 | 810 | # CONFIG_HIDRAW is not set | |
| 844 | # | 811 | # CONFIG_USB_SUPPORT is not set |
| 845 | # USB support | ||
| 846 | # | ||
| 847 | CONFIG_USB_ARCH_HAS_HCD=y | ||
| 848 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
| 849 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
| 850 | # CONFIG_USB is not set | ||
| 851 | |||
| 852 | # | ||
| 853 | # Enable Host or Gadget support to see Inventra options | ||
| 854 | # | ||
| 855 | |||
| 856 | # | ||
| 857 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
| 858 | # | ||
| 859 | |||
| 860 | # | ||
| 861 | # USB Gadget Support | ||
| 862 | # | ||
| 863 | # CONFIG_USB_GADGET is not set | ||
| 864 | # CONFIG_MMC is not set | 812 | # CONFIG_MMC is not set |
| 865 | |||
| 866 | # | ||
| 867 | # LED devices | ||
| 868 | # | ||
| 869 | # CONFIG_NEW_LEDS is not set | 813 | # CONFIG_NEW_LEDS is not set |
| 870 | |||
| 871 | # | ||
| 872 | # LED drivers | ||
| 873 | # | ||
| 874 | |||
| 875 | # | ||
| 876 | # LED Triggers | ||
| 877 | # | ||
| 878 | |||
| 879 | # | ||
| 880 | # InfiniBand support | ||
| 881 | # | ||
| 882 | |||
| 883 | # | ||
| 884 | # EDAC - error detection and reporting (RAS) (EXPERIMENTAL) | ||
| 885 | # | ||
| 886 | |||
| 887 | # | ||
| 888 | # Real Time Clock | ||
| 889 | # | ||
| 890 | # CONFIG_RTC_CLASS is not set | 814 | # CONFIG_RTC_CLASS is not set |
| 891 | 815 | ||
| 892 | # | 816 | # |
| 893 | # DMA Engine support | 817 | # Userspace I/O |
| 894 | # | ||
| 895 | # CONFIG_DMA_ENGINE is not set | ||
| 896 | |||
| 897 | # | ||
| 898 | # DMA Clients | ||
| 899 | # | ||
| 900 | |||
| 901 | # | ||
| 902 | # DMA Devices | ||
| 903 | # | 818 | # |
| 904 | 819 | # CONFIG_UIO is not set | |
| 905 | # | ||
| 906 | # PBX support | ||
| 907 | # | ||
| 908 | # CONFIG_PBX is not set | ||
| 909 | 820 | ||
| 910 | # | 821 | # |
| 911 | # File systems | 822 | # File systems |
| @@ -950,7 +861,6 @@ CONFIG_PROC_SYSCTL=y | |||
| 950 | CONFIG_SYSFS=y | 861 | CONFIG_SYSFS=y |
| 951 | # CONFIG_TMPFS is not set | 862 | # CONFIG_TMPFS is not set |
| 952 | # CONFIG_HUGETLB_PAGE is not set | 863 | # CONFIG_HUGETLB_PAGE is not set |
| 953 | CONFIG_RAMFS=y | ||
| 954 | # CONFIG_CONFIGFS_FS is not set | 864 | # CONFIG_CONFIGFS_FS is not set |
| 955 | 865 | ||
| 956 | # | 866 | # |
| @@ -976,10 +886,12 @@ CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y | |||
| 976 | CONFIG_JFFS2_FS=m | 886 | CONFIG_JFFS2_FS=m |
| 977 | CONFIG_JFFS2_FS_DEBUG=0 | 887 | CONFIG_JFFS2_FS_DEBUG=0 |
| 978 | CONFIG_JFFS2_FS_WRITEBUFFER=y | 888 | CONFIG_JFFS2_FS_WRITEBUFFER=y |
| 889 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
| 979 | # CONFIG_JFFS2_SUMMARY is not set | 890 | # CONFIG_JFFS2_SUMMARY is not set |
| 980 | # CONFIG_JFFS2_FS_XATTR is not set | 891 | # CONFIG_JFFS2_FS_XATTR is not set |
| 981 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | 892 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set |
| 982 | CONFIG_JFFS2_ZLIB=y | 893 | CONFIG_JFFS2_ZLIB=y |
| 894 | # CONFIG_JFFS2_LZO is not set | ||
| 983 | CONFIG_JFFS2_RTIME=y | 895 | CONFIG_JFFS2_RTIME=y |
| 984 | # CONFIG_JFFS2_RUBIN is not set | 896 | # CONFIG_JFFS2_RUBIN is not set |
| 985 | # CONFIG_CRAMFS is not set | 897 | # CONFIG_CRAMFS is not set |
| @@ -988,10 +900,7 @@ CONFIG_JFFS2_RTIME=y | |||
| 988 | # CONFIG_QNX4FS_FS is not set | 900 | # CONFIG_QNX4FS_FS is not set |
| 989 | # CONFIG_SYSV_FS is not set | 901 | # CONFIG_SYSV_FS is not set |
| 990 | # CONFIG_UFS_FS is not set | 902 | # CONFIG_UFS_FS is not set |
| 991 | 903 | CONFIG_NETWORK_FILESYSTEMS=y | |
| 992 | # | ||
| 993 | # Network File Systems | ||
| 994 | # | ||
| 995 | CONFIG_NFS_FS=m | 904 | CONFIG_NFS_FS=m |
| 996 | CONFIG_NFS_V3=y | 905 | CONFIG_NFS_V3=y |
| 997 | # CONFIG_NFS_V3_ACL is not set | 906 | # CONFIG_NFS_V3_ACL is not set |
| @@ -1011,17 +920,12 @@ CONFIG_SMB_FS=m | |||
| 1011 | # CONFIG_NCP_FS is not set | 920 | # CONFIG_NCP_FS is not set |
| 1012 | # CONFIG_CODA_FS is not set | 921 | # CONFIG_CODA_FS is not set |
| 1013 | # CONFIG_AFS_FS is not set | 922 | # CONFIG_AFS_FS is not set |
| 1014 | # CONFIG_9P_FS is not set | ||
| 1015 | 923 | ||
| 1016 | # | 924 | # |
| 1017 | # Partition Types | 925 | # Partition Types |
| 1018 | # | 926 | # |
| 1019 | # CONFIG_PARTITION_ADVANCED is not set | 927 | # CONFIG_PARTITION_ADVANCED is not set |
| 1020 | CONFIG_MSDOS_PARTITION=y | 928 | CONFIG_MSDOS_PARTITION=y |
| 1021 | |||
| 1022 | # | ||
| 1023 | # Native Language Support | ||
| 1024 | # | ||
| 1025 | CONFIG_NLS=m | 929 | CONFIG_NLS=m |
| 1026 | CONFIG_NLS_DEFAULT="iso8859-1" | 930 | CONFIG_NLS_DEFAULT="iso8859-1" |
| 1027 | # CONFIG_NLS_CODEPAGE_437 is not set | 931 | # CONFIG_NLS_CODEPAGE_437 is not set |
| @@ -1062,21 +966,16 @@ CONFIG_NLS_DEFAULT="iso8859-1" | |||
| 1062 | # CONFIG_NLS_KOI8_R is not set | 966 | # CONFIG_NLS_KOI8_R is not set |
| 1063 | # CONFIG_NLS_KOI8_U is not set | 967 | # CONFIG_NLS_KOI8_U is not set |
| 1064 | # CONFIG_NLS_UTF8 is not set | 968 | # CONFIG_NLS_UTF8 is not set |
| 1065 | |||
| 1066 | # | ||
| 1067 | # Distributed Lock Manager | ||
| 1068 | # | ||
| 1069 | # CONFIG_DLM is not set | 969 | # CONFIG_DLM is not set |
| 1070 | 970 | CONFIG_INSTRUMENTATION=y | |
| 1071 | # | ||
| 1072 | # Profiling support | ||
| 1073 | # | ||
| 1074 | # CONFIG_PROFILING is not set | 971 | # CONFIG_PROFILING is not set |
| 972 | # CONFIG_MARKERS is not set | ||
| 1075 | 973 | ||
| 1076 | # | 974 | # |
| 1077 | # Kernel hacking | 975 | # Kernel hacking |
| 1078 | # | 976 | # |
| 1079 | # CONFIG_PRINTK_TIME is not set | 977 | # CONFIG_PRINTK_TIME is not set |
| 978 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
| 1080 | CONFIG_ENABLE_MUST_CHECK=y | 979 | CONFIG_ENABLE_MUST_CHECK=y |
| 1081 | # CONFIG_MAGIC_SYSRQ is not set | 980 | # CONFIG_MAGIC_SYSRQ is not set |
| 1082 | # CONFIG_UNUSED_SYMBOLS is not set | 981 | # CONFIG_UNUSED_SYMBOLS is not set |
| @@ -1084,6 +983,7 @@ CONFIG_DEBUG_FS=y | |||
| 1084 | # CONFIG_HEADERS_CHECK is not set | 983 | # CONFIG_HEADERS_CHECK is not set |
| 1085 | # CONFIG_DEBUG_KERNEL is not set | 984 | # CONFIG_DEBUG_KERNEL is not set |
| 1086 | # CONFIG_DEBUG_BUGVERBOSE is not set | 985 | # CONFIG_DEBUG_BUGVERBOSE is not set |
| 986 | # CONFIG_SAMPLES is not set | ||
| 1087 | CONFIG_DEBUG_MMRS=y | 987 | CONFIG_DEBUG_MMRS=y |
| 1088 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 988 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
| 1089 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | 989 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y |
| @@ -1104,11 +1004,7 @@ CONFIG_ACCESS_CHECK=y | |||
| 1104 | # CONFIG_KEYS is not set | 1004 | # CONFIG_KEYS is not set |
| 1105 | CONFIG_SECURITY=y | 1005 | CONFIG_SECURITY=y |
| 1106 | # CONFIG_SECURITY_NETWORK is not set | 1006 | # CONFIG_SECURITY_NETWORK is not set |
| 1107 | CONFIG_SECURITY_CAPABILITIES=m | 1007 | # CONFIG_SECURITY_CAPABILITIES is not set |
| 1108 | |||
| 1109 | # | ||
| 1110 | # Cryptographic options | ||
| 1111 | # | ||
| 1112 | # CONFIG_CRYPTO is not set | 1008 | # CONFIG_CRYPTO is not set |
| 1113 | 1009 | ||
| 1114 | # | 1010 | # |
| @@ -1119,6 +1015,7 @@ CONFIG_CRC_CCITT=m | |||
| 1119 | # CONFIG_CRC16 is not set | 1015 | # CONFIG_CRC16 is not set |
| 1120 | # CONFIG_CRC_ITU_T is not set | 1016 | # CONFIG_CRC_ITU_T is not set |
| 1121 | CONFIG_CRC32=y | 1017 | CONFIG_CRC32=y |
| 1018 | # CONFIG_CRC7 is not set | ||
| 1122 | # CONFIG_LIBCRC32C is not set | 1019 | # CONFIG_LIBCRC32C is not set |
| 1123 | CONFIG_ZLIB_INFLATE=y | 1020 | CONFIG_ZLIB_INFLATE=y |
| 1124 | CONFIG_ZLIB_DEFLATE=m | 1021 | CONFIG_ZLIB_DEFLATE=m |
diff --git a/arch/blackfin/configs/CM-BF527_defconfig b/arch/blackfin/configs/CM-BF527_defconfig new file mode 100644 index 000000000000..0799aa9bba9d --- /dev/null +++ b/arch/blackfin/configs/CM-BF527_defconfig | |||
| @@ -0,0 +1,1185 @@ | |||
| 1 | # | ||
| 2 | # Automatically generated make config: don't edit | ||
| 3 | # Linux kernel version: 2.6.24.7 | ||
| 4 | # Fri Jul 18 18:00:41 2008 | ||
| 5 | # | ||
| 6 | # CONFIG_MMU is not set | ||
| 7 | # CONFIG_FPU is not set | ||
| 8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
| 9 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | ||
| 10 | CONFIG_BLACKFIN=y | ||
| 11 | CONFIG_ZONE_DMA=y | ||
| 12 | CONFIG_SEMAPHORE_SLEEPERS=y | ||
| 13 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
| 14 | CONFIG_GENERIC_HWEIGHT=y | ||
| 15 | CONFIG_GENERIC_HARDIRQS=y | ||
| 16 | CONFIG_GENERIC_IRQ_PROBE=y | ||
| 17 | CONFIG_GENERIC_GPIO=y | ||
| 18 | CONFIG_FORCE_MAX_ZONEORDER=14 | ||
| 19 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
| 20 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
| 21 | |||
| 22 | # | ||
| 23 | # General setup | ||
| 24 | # | ||
| 25 | CONFIG_EXPERIMENTAL=y | ||
| 26 | CONFIG_BROKEN_ON_SMP=y | ||
| 27 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
| 28 | CONFIG_LOCALVERSION="" | ||
| 29 | CONFIG_LOCALVERSION_AUTO=y | ||
| 30 | CONFIG_SYSVIPC=y | ||
| 31 | CONFIG_SYSVIPC_SYSCTL=y | ||
| 32 | # CONFIG_POSIX_MQUEUE is not set | ||
| 33 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
| 34 | # CONFIG_TASKSTATS is not set | ||
| 35 | # CONFIG_USER_NS is not set | ||
| 36 | # CONFIG_PID_NS is not set | ||
| 37 | # CONFIG_AUDIT is not set | ||
| 38 | CONFIG_IKCONFIG=y | ||
| 39 | CONFIG_IKCONFIG_PROC=y | ||
| 40 | CONFIG_LOG_BUF_SHIFT=14 | ||
| 41 | # CONFIG_CGROUPS is not set | ||
| 42 | CONFIG_FAIR_GROUP_SCHED=y | ||
| 43 | CONFIG_FAIR_USER_SCHED=y | ||
| 44 | # CONFIG_FAIR_CGROUP_SCHED is not set | ||
| 45 | CONFIG_SYSFS_DEPRECATED=y | ||
| 46 | # CONFIG_RELAY is not set | ||
| 47 | CONFIG_BLK_DEV_INITRD=y | ||
| 48 | CONFIG_INITRAMFS_SOURCE="" | ||
| 49 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
| 50 | CONFIG_SYSCTL=y | ||
| 51 | CONFIG_EMBEDDED=y | ||
| 52 | CONFIG_UID16=y | ||
| 53 | CONFIG_SYSCTL_SYSCALL=y | ||
| 54 | CONFIG_KALLSYMS=y | ||
| 55 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
| 56 | CONFIG_HOTPLUG=y | ||
| 57 | CONFIG_PRINTK=y | ||
| 58 | CONFIG_BUG=y | ||
| 59 | CONFIG_ELF_CORE=y | ||
| 60 | CONFIG_BASE_FULL=y | ||
| 61 | CONFIG_FUTEX=y | ||
| 62 | CONFIG_ANON_INODES=y | ||
| 63 | CONFIG_EPOLL=y | ||
| 64 | CONFIG_SIGNALFD=y | ||
| 65 | CONFIG_EVENTFD=y | ||
| 66 | CONFIG_VM_EVENT_COUNTERS=y | ||
| 67 | CONFIG_SLAB=y | ||
| 68 | # CONFIG_SLUB is not set | ||
| 69 | # CONFIG_SLOB is not set | ||
| 70 | CONFIG_SLABINFO=y | ||
| 71 | CONFIG_RT_MUTEXES=y | ||
| 72 | CONFIG_TINY_SHMEM=y | ||
| 73 | CONFIG_BASE_SMALL=0 | ||
| 74 | CONFIG_MODULES=y | ||
| 75 | CONFIG_MODULE_UNLOAD=y | ||
| 76 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
| 77 | # CONFIG_MODVERSIONS is not set | ||
| 78 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
| 79 | CONFIG_KMOD=y | ||
| 80 | CONFIG_BLOCK=y | ||
| 81 | # CONFIG_LBD is not set | ||
| 82 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
| 83 | # CONFIG_LSF is not set | ||
| 84 | # CONFIG_BLK_DEV_BSG is not set | ||
| 85 | |||
| 86 | # | ||
| 87 | # IO Schedulers | ||
| 88 | # | ||
| 89 | CONFIG_IOSCHED_NOOP=y | ||
| 90 | # CONFIG_IOSCHED_AS is not set | ||
| 91 | # CONFIG_IOSCHED_DEADLINE is not set | ||
| 92 | CONFIG_IOSCHED_CFQ=y | ||
| 93 | # CONFIG_DEFAULT_AS is not set | ||
| 94 | # CONFIG_DEFAULT_DEADLINE is not set | ||
| 95 | CONFIG_DEFAULT_CFQ=y | ||
| 96 | # CONFIG_DEFAULT_NOOP is not set | ||
| 97 | CONFIG_DEFAULT_IOSCHED="cfq" | ||
| 98 | # CONFIG_PREEMPT_NONE is not set | ||
| 99 | CONFIG_PREEMPT_VOLUNTARY=y | ||
| 100 | # CONFIG_PREEMPT is not set | ||
| 101 | |||
| 102 | # | ||
| 103 | # Blackfin Processor Options | ||
| 104 | # | ||
| 105 | |||
| 106 | # | ||
| 107 | # Processor and Board Settings | ||
| 108 | # | ||
| 109 | # CONFIG_BF522 is not set | ||
| 110 | # CONFIG_BF523 is not set | ||
| 111 | # CONFIG_BF524 is not set | ||
| 112 | # CONFIG_BF525 is not set | ||
| 113 | # CONFIG_BF526 is not set | ||
| 114 | CONFIG_BF527=y | ||
| 115 | # CONFIG_BF531 is not set | ||
| 116 | # CONFIG_BF532 is not set | ||
| 117 | # CONFIG_BF533 is not set | ||
| 118 | # CONFIG_BF534 is not set | ||
| 119 | # CONFIG_BF536 is not set | ||
| 120 | # CONFIG_BF537 is not set | ||
| 121 | # CONFIG_BF542 is not set | ||
| 122 | # CONFIG_BF544 is not set | ||
| 123 | # CONFIG_BF547 is not set | ||
| 124 | # CONFIG_BF548 is not set | ||
| 125 | # CONFIG_BF549 is not set | ||
| 126 | # CONFIG_BF561 is not set | ||
| 127 | # CONFIG_BF_REV_0_0 is not set | ||
| 128 | CONFIG_BF_REV_0_1=y | ||
| 129 | # CONFIG_BF_REV_0_2 is not set | ||
| 130 | # CONFIG_BF_REV_0_3 is not set | ||
| 131 | # CONFIG_BF_REV_0_4 is not set | ||
| 132 | # CONFIG_BF_REV_0_5 is not set | ||
| 133 | # CONFIG_BF_REV_ANY is not set | ||
| 134 | # CONFIG_BF_REV_NONE is not set | ||
| 135 | CONFIG_BF52x=y | ||
| 136 | CONFIG_MEM_MT48LC16M16A2TG_75=y | ||
| 137 | # CONFIG_BFIN527_EZKIT is not set | ||
| 138 | CONFIG_BFIN527_BLUETECHNIX_CM=y | ||
| 139 | |||
| 140 | # | ||
| 141 | # BF527 Specific Configuration | ||
| 142 | # | ||
| 143 | |||
| 144 | # | ||
| 145 | # Alternative Multiplexing Scheme | ||
| 146 | # | ||
| 147 | # CONFIG_BF527_SPORT0_PORTF is not set | ||
| 148 | CONFIG_BF527_SPORT0_PORTG=y | ||
| 149 | CONFIG_BF527_SPORT0_TSCLK_PG10=y | ||
| 150 | # CONFIG_BF527_SPORT0_TSCLK_PG14 is not set | ||
| 151 | CONFIG_BF527_UART1_PORTF=y | ||
| 152 | # CONFIG_BF527_UART1_PORTG is not set | ||
| 153 | # CONFIG_BF527_NAND_D_PORTF is not set | ||
| 154 | CONFIG_BF527_NAND_D_PORTH=y | ||
| 155 | |||
| 156 | # | ||
| 157 | # Interrupt Priority Assignment | ||
| 158 | # | ||
| 159 | |||
| 160 | # | ||
| 161 | # Priority | ||
| 162 | # | ||
| 163 | CONFIG_IRQ_PLL_WAKEUP=7 | ||
| 164 | CONFIG_IRQ_DMA0_ERROR=7 | ||
| 165 | CONFIG_IRQ_DMAR0_BLK=7 | ||
| 166 | CONFIG_IRQ_DMAR1_BLK=7 | ||
| 167 | CONFIG_IRQ_DMAR0_OVR=7 | ||
| 168 | CONFIG_IRQ_DMAR1_OVR=7 | ||
| 169 | CONFIG_IRQ_PPI_ERROR=7 | ||
| 170 | CONFIG_IRQ_MAC_ERROR=7 | ||
| 171 | CONFIG_IRQ_SPORT0_ERROR=7 | ||
| 172 | CONFIG_IRQ_SPORT1_ERROR=7 | ||
| 173 | CONFIG_IRQ_UART0_ERROR=7 | ||
| 174 | CONFIG_IRQ_UART1_ERROR=7 | ||
| 175 | CONFIG_IRQ_RTC=8 | ||
| 176 | CONFIG_IRQ_PPI=8 | ||
| 177 | CONFIG_IRQ_SPORT0_RX=9 | ||
| 178 | CONFIG_IRQ_SPORT0_TX=9 | ||
| 179 | CONFIG_IRQ_SPORT1_RX=9 | ||
| 180 | CONFIG_IRQ_SPORT1_TX=9 | ||
| 181 | CONFIG_IRQ_TWI=10 | ||
| 182 | CONFIG_IRQ_SPI=10 | ||
| 183 | CONFIG_IRQ_UART0_RX=10 | ||
| 184 | CONFIG_IRQ_UART0_TX=10 | ||
| 185 | CONFIG_IRQ_UART1_RX=10 | ||
| 186 | CONFIG_IRQ_UART1_TX=10 | ||
| 187 | CONFIG_IRQ_OPTSEC=11 | ||
| 188 | CONFIG_IRQ_CNT=11 | ||
| 189 | CONFIG_IRQ_MAC_RX=11 | ||
| 190 | CONFIG_IRQ_PORTH_INTA=11 | ||
| 191 | CONFIG_IRQ_MAC_TX=11 | ||
| 192 | CONFIG_IRQ_PORTH_INTB=11 | ||
| 193 | CONFIG_IRQ_TMR0=12 | ||
| 194 | CONFIG_IRQ_TMR1=12 | ||
| 195 | CONFIG_IRQ_TMR2=12 | ||
| 196 | CONFIG_IRQ_TMR3=12 | ||
| 197 | CONFIG_IRQ_TMR4=12 | ||
| 198 | CONFIG_IRQ_TMR5=12 | ||
| 199 | CONFIG_IRQ_TMR6=12 | ||
| 200 | CONFIG_IRQ_TMR7=12 | ||
| 201 | CONFIG_IRQ_PORTG_INTA=12 | ||
| 202 | CONFIG_IRQ_PORTG_INTB=12 | ||
| 203 | CONFIG_IRQ_MEM_DMA0=13 | ||
| 204 | CONFIG_IRQ_MEM_DMA1=13 | ||
| 205 | CONFIG_IRQ_WATCH=13 | ||
| 206 | CONFIG_IRQ_PORTF_INTA=13 | ||
| 207 | CONFIG_IRQ_PORTF_INTB=13 | ||
| 208 | CONFIG_IRQ_SPI_ERROR=7 | ||
| 209 | CONFIG_IRQ_NFC_ERROR=7 | ||
| 210 | CONFIG_IRQ_HDMA_ERROR=7 | ||
| 211 | CONFIG_IRQ_HDMA=7 | ||
| 212 | CONFIG_IRQ_USB_EINT=10 | ||
| 213 | CONFIG_IRQ_USB_INT0=11 | ||
| 214 | CONFIG_IRQ_USB_INT1=11 | ||
| 215 | CONFIG_IRQ_USB_INT2=11 | ||
| 216 | CONFIG_IRQ_USB_DMA=11 | ||
| 217 | |||
| 218 | # | ||
| 219 | # Board customizations | ||
| 220 | # | ||
| 221 | # CONFIG_CMDLINE_BOOL is not set | ||
| 222 | CONFIG_BOOT_LOAD=0x1000 | ||
| 223 | |||
| 224 | # | ||
| 225 | # Clock/PLL Setup | ||
| 226 | # | ||
| 227 | CONFIG_CLKIN_HZ=25000000 | ||
| 228 | # CONFIG_BFIN_KERNEL_CLOCK is not set | ||
| 229 | CONFIG_MAX_MEM_SIZE=512 | ||
| 230 | CONFIG_MAX_VCO_HZ=600000000 | ||
| 231 | CONFIG_MIN_VCO_HZ=50000000 | ||
| 232 | CONFIG_MAX_SCLK_HZ=133333333 | ||
| 233 | CONFIG_MIN_SCLK_HZ=27000000 | ||
| 234 | |||
| 235 | # | ||
| 236 | # Kernel Timer/Scheduler | ||
| 237 | # | ||
| 238 | # CONFIG_HZ_100 is not set | ||
| 239 | CONFIG_HZ_250=y | ||
| 240 | # CONFIG_HZ_300 is not set | ||
| 241 | # CONFIG_HZ_1000 is not set | ||
| 242 | CONFIG_HZ=250 | ||
| 243 | CONFIG_GENERIC_TIME=y | ||
| 244 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
| 245 | # CONFIG_CYCLES_CLOCKSOURCE is not set | ||
| 246 | # CONFIG_TICK_ONESHOT is not set | ||
| 247 | # CONFIG_NO_HZ is not set | ||
| 248 | # CONFIG_HIGH_RES_TIMERS is not set | ||
| 249 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
| 250 | |||
| 251 | # | ||
| 252 | # Misc | ||
| 253 | # | ||
| 254 | CONFIG_BFIN_SCRATCH_REG_RETN=y | ||
| 255 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | ||
| 256 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | ||
| 257 | |||
| 258 | # | ||
| 259 | # Blackfin Kernel Optimizations | ||
| 260 | # | ||
| 261 | |||
| 262 | # | ||
| 263 | # Memory Optimizations | ||
| 264 | # | ||
| 265 | CONFIG_I_ENTRY_L1=y | ||
| 266 | CONFIG_EXCPT_IRQ_SYSC_L1=y | ||
| 267 | CONFIG_DO_IRQ_L1=y | ||
| 268 | CONFIG_CORE_TIMER_IRQ_L1=y | ||
| 269 | CONFIG_IDLE_L1=y | ||
| 270 | # CONFIG_SCHEDULE_L1 is not set | ||
| 271 | CONFIG_ARITHMETIC_OPS_L1=y | ||
| 272 | CONFIG_ACCESS_OK_L1=y | ||
| 273 | # CONFIG_MEMSET_L1 is not set | ||
| 274 | # CONFIG_MEMCPY_L1 is not set | ||
| 275 | # CONFIG_SYS_BFIN_SPINLOCK_L1 is not set | ||
| 276 | # CONFIG_IP_CHECKSUM_L1 is not set | ||
| 277 | CONFIG_CACHELINE_ALIGNED_L1=y | ||
| 278 | # CONFIG_SYSCALL_TAB_L1 is not set | ||
| 279 | # CONFIG_CPLB_SWITCH_TAB_L1 is not set | ||
| 280 | CONFIG_RAMKERNEL=y | ||
| 281 | # CONFIG_ROMKERNEL is not set | ||
| 282 | CONFIG_SELECT_MEMORY_MODEL=y | ||
| 283 | CONFIG_FLATMEM_MANUAL=y | ||
| 284 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
| 285 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
| 286 | CONFIG_FLATMEM=y | ||
| 287 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
| 288 | # CONFIG_SPARSEMEM_STATIC is not set | ||
| 289 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
| 290 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
| 291 | # CONFIG_RESOURCES_64BIT is not set | ||
| 292 | CONFIG_ZONE_DMA_FLAG=1 | ||
| 293 | CONFIG_VIRT_TO_BUS=y | ||
| 294 | CONFIG_BFIN_GPTIMERS=y | ||
| 295 | CONFIG_BFIN_DMA_5XX=y | ||
| 296 | # CONFIG_DMA_UNCACHED_4M is not set | ||
| 297 | # CONFIG_DMA_UNCACHED_2M is not set | ||
| 298 | CONFIG_DMA_UNCACHED_1M=y | ||
| 299 | # CONFIG_DMA_UNCACHED_NONE is not set | ||
| 300 | |||
| 301 | # | ||
| 302 | # Cache Support | ||
| 303 | # | ||
| 304 | CONFIG_BFIN_ICACHE=y | ||
| 305 | CONFIG_BFIN_DCACHE=y | ||
| 306 | # CONFIG_BFIN_DCACHE_BANKA is not set | ||
| 307 | # CONFIG_BFIN_ICACHE_LOCK is not set | ||
| 308 | # CONFIG_BFIN_WB is not set | ||
| 309 | CONFIG_BFIN_WT=y | ||
| 310 | # CONFIG_MPU is not set | ||
| 311 | |||
| 312 | # | ||
| 313 | # Asynchonous Memory Configuration | ||
| 314 | # | ||
| 315 | |||
| 316 | # | ||
| 317 | # EBIU_AMGCTL Global Control | ||
| 318 | # | ||
| 319 | CONFIG_C_AMCKEN=y | ||
| 320 | CONFIG_C_CDPRIO=y | ||
| 321 | # CONFIG_C_AMBEN is not set | ||
| 322 | # CONFIG_C_AMBEN_B0 is not set | ||
| 323 | # CONFIG_C_AMBEN_B0_B1 is not set | ||
| 324 | # CONFIG_C_AMBEN_B0_B1_B2 is not set | ||
| 325 | CONFIG_C_AMBEN_ALL=y | ||
| 326 | |||
| 327 | # | ||
| 328 | # EBIU_AMBCTL Control | ||
| 329 | # | ||
| 330 | CONFIG_BANK_0=0x7BB0 | ||
| 331 | CONFIG_BANK_1=0x5554 | ||
| 332 | CONFIG_BANK_2=0x7BB0 | ||
| 333 | CONFIG_BANK_3=0xFFC0 | ||
| 334 | |||
| 335 | # | ||
| 336 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | ||
| 337 | # | ||
| 338 | # CONFIG_PCI is not set | ||
| 339 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
| 340 | # CONFIG_PCCARD is not set | ||
| 341 | |||
| 342 | # | ||
| 343 | # Executable file formats | ||
| 344 | # | ||
| 345 | CONFIG_BINFMT_ELF_FDPIC=y | ||
| 346 | CONFIG_BINFMT_FLAT=y | ||
| 347 | CONFIG_BINFMT_ZFLAT=y | ||
| 348 | # CONFIG_BINFMT_SHARED_FLAT is not set | ||
| 349 | # CONFIG_BINFMT_MISC is not set | ||
| 350 | |||
| 351 | # | ||
| 352 | # Power management options | ||
| 353 | # | ||
| 354 | # CONFIG_PM is not set | ||
| 355 | CONFIG_SUSPEND_UP_POSSIBLE=y | ||
| 356 | # CONFIG_PM_BFIN_SLEEP_DEEPER is not set | ||
| 357 | # CONFIG_PM_BFIN_SLEEP is not set | ||
| 358 | # CONFIG_PM_WAKEUP_BY_GPIO is not set | ||
| 359 | |||
| 360 | # | ||
| 361 | # CPU Frequency scaling | ||
| 362 | # | ||
| 363 | # CONFIG_CPU_FREQ is not set | ||
| 364 | |||
| 365 | # | ||
| 366 | # Networking | ||
| 367 | # | ||
| 368 | CONFIG_NET=y | ||
| 369 | |||
| 370 | # | ||
| 371 | # Networking options | ||
| 372 | # | ||
| 373 | CONFIG_PACKET=y | ||
| 374 | # CONFIG_PACKET_MMAP is not set | ||
| 375 | CONFIG_UNIX=y | ||
| 376 | CONFIG_XFRM=y | ||
| 377 | # CONFIG_XFRM_USER is not set | ||
| 378 | # CONFIG_XFRM_SUB_POLICY is not set | ||
| 379 | # CONFIG_XFRM_MIGRATE is not set | ||
| 380 | # CONFIG_NET_KEY is not set | ||
| 381 | CONFIG_INET=y | ||
| 382 | # CONFIG_IP_MULTICAST is not set | ||
| 383 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
| 384 | CONFIG_IP_FIB_HASH=y | ||
| 385 | CONFIG_IP_PNP=y | ||
| 386 | # CONFIG_IP_PNP_DHCP is not set | ||
| 387 | # CONFIG_IP_PNP_BOOTP is not set | ||
| 388 | # CONFIG_IP_PNP_RARP is not set | ||
| 389 | # CONFIG_NET_IPIP is not set | ||
| 390 | # CONFIG_NET_IPGRE is not set | ||
| 391 | # CONFIG_ARPD is not set | ||
| 392 | CONFIG_SYN_COOKIES=y | ||
| 393 | # CONFIG_INET_AH is not set | ||
| 394 | # CONFIG_INET_ESP is not set | ||
| 395 | # CONFIG_INET_IPCOMP is not set | ||
| 396 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
| 397 | # CONFIG_INET_TUNNEL is not set | ||
| 398 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
| 399 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
| 400 | CONFIG_INET_XFRM_MODE_BEET=y | ||
| 401 | # CONFIG_INET_LRO is not set | ||
| 402 | CONFIG_INET_DIAG=y | ||
| 403 | CONFIG_INET_TCP_DIAG=y | ||
| 404 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
| 405 | CONFIG_TCP_CONG_CUBIC=y | ||
| 406 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
| 407 | # CONFIG_TCP_MD5SIG is not set | ||
| 408 | # CONFIG_IPV6 is not set | ||
| 409 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
| 410 | # CONFIG_INET6_TUNNEL is not set | ||
| 411 | # CONFIG_NETLABEL is not set | ||
| 412 | # CONFIG_NETWORK_SECMARK is not set | ||
| 413 | # CONFIG_NETFILTER is not set | ||
| 414 | # CONFIG_IP_DCCP is not set | ||
| 415 | # CONFIG_IP_SCTP is not set | ||
| 416 | # CONFIG_TIPC is not set | ||
| 417 | # CONFIG_ATM is not set | ||
| 418 | # CONFIG_BRIDGE is not set | ||
| 419 | # CONFIG_VLAN_8021Q is not set | ||
| 420 | # CONFIG_DECNET is not set | ||
| 421 | # CONFIG_LLC2 is not set | ||
| 422 | # CONFIG_IPX is not set | ||
| 423 | # CONFIG_ATALK is not set | ||
| 424 | # CONFIG_X25 is not set | ||
| 425 | # CONFIG_LAPB is not set | ||
| 426 | # CONFIG_ECONET is not set | ||
| 427 | # CONFIG_WAN_ROUTER is not set | ||
| 428 | # CONFIG_NET_SCHED is not set | ||
| 429 | |||
| 430 | # | ||
| 431 | # Network testing | ||
| 432 | # | ||
| 433 | # CONFIG_NET_PKTGEN is not set | ||
| 434 | # CONFIG_HAMRADIO is not set | ||
| 435 | # CONFIG_IRDA is not set | ||
| 436 | # CONFIG_BT is not set | ||
| 437 | # CONFIG_AF_RXRPC is not set | ||
| 438 | |||
| 439 | # | ||
| 440 | # Wireless | ||
| 441 | # | ||
| 442 | # CONFIG_CFG80211 is not set | ||
| 443 | # CONFIG_WIRELESS_EXT is not set | ||
| 444 | # CONFIG_MAC80211 is not set | ||
| 445 | # CONFIG_IEEE80211 is not set | ||
| 446 | # CONFIG_RFKILL is not set | ||
| 447 | # CONFIG_NET_9P is not set | ||
| 448 | |||
| 449 | # | ||
| 450 | # Device Drivers | ||
| 451 | # | ||
| 452 | |||
| 453 | # | ||
| 454 | # Generic Driver Options | ||
| 455 | # | ||
| 456 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
| 457 | CONFIG_STANDALONE=y | ||
| 458 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
| 459 | # CONFIG_FW_LOADER is not set | ||
| 460 | # CONFIG_SYS_HYPERVISOR is not set | ||
| 461 | # CONFIG_CONNECTOR is not set | ||
| 462 | CONFIG_MTD=y | ||
| 463 | # CONFIG_MTD_DEBUG is not set | ||
| 464 | # CONFIG_MTD_CONCAT is not set | ||
| 465 | CONFIG_MTD_PARTITIONS=y | ||
| 466 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
| 467 | # CONFIG_MTD_CMDLINE_PARTS is not set | ||
| 468 | |||
| 469 | # | ||
| 470 | # User Modules And Translation Layers | ||
| 471 | # | ||
| 472 | CONFIG_MTD_CHAR=m | ||
| 473 | CONFIG_MTD_BLKDEVS=y | ||
| 474 | CONFIG_MTD_BLOCK=y | ||
| 475 | # CONFIG_FTL is not set | ||
| 476 | # CONFIG_NFTL is not set | ||
| 477 | # CONFIG_INFTL is not set | ||
| 478 | # CONFIG_RFD_FTL is not set | ||
| 479 | # CONFIG_SSFDC is not set | ||
| 480 | # CONFIG_MTD_OOPS is not set | ||
| 481 | |||
| 482 | # | ||
| 483 | # RAM/ROM/Flash chip drivers | ||
| 484 | # | ||
| 485 | # CONFIG_MTD_CFI is not set | ||
| 486 | CONFIG_MTD_JEDECPROBE=m | ||
| 487 | CONFIG_MTD_GEN_PROBE=m | ||
| 488 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
| 489 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
| 490 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
| 491 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
| 492 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
| 493 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
| 494 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
| 495 | CONFIG_MTD_CFI_I1=y | ||
| 496 | CONFIG_MTD_CFI_I2=y | ||
| 497 | # CONFIG_MTD_CFI_I4 is not set | ||
| 498 | # CONFIG_MTD_CFI_I8 is not set | ||
| 499 | # CONFIG_MTD_CFI_INTELEXT is not set | ||
| 500 | # CONFIG_MTD_CFI_AMDSTD is not set | ||
| 501 | # CONFIG_MTD_CFI_STAA is not set | ||
| 502 | CONFIG_MTD_RAM=y | ||
| 503 | CONFIG_MTD_ROM=m | ||
| 504 | # CONFIG_MTD_ABSENT is not set | ||
| 505 | |||
| 506 | # | ||
| 507 | # Mapping drivers for chip access | ||
| 508 | # | ||
| 509 | CONFIG_MTD_COMPLEX_MAPPINGS=y | ||
| 510 | # CONFIG_MTD_PHYSMAP is not set | ||
| 511 | # CONFIG_MTD_UCLINUX is not set | ||
| 512 | # CONFIG_MTD_PLATRAM is not set | ||
| 513 | |||
| 514 | # | ||
| 515 | # Self-contained MTD device drivers | ||
| 516 | # | ||
| 517 | # CONFIG_MTD_DATAFLASH is not set | ||
| 518 | # CONFIG_MTD_M25P80 is not set | ||
| 519 | # CONFIG_MTD_SLRAM is not set | ||
| 520 | # CONFIG_MTD_PHRAM is not set | ||
| 521 | # CONFIG_MTD_MTDRAM is not set | ||
| 522 | # CONFIG_MTD_BLOCK2MTD is not set | ||
| 523 | |||
| 524 | # | ||
| 525 | # Disk-On-Chip Device Drivers | ||
| 526 | # | ||
| 527 | # CONFIG_MTD_DOC2000 is not set | ||
| 528 | # CONFIG_MTD_DOC2001 is not set | ||
| 529 | # CONFIG_MTD_DOC2001PLUS is not set | ||
| 530 | # CONFIG_MTD_NAND is not set | ||
| 531 | # CONFIG_MTD_ONENAND is not set | ||
| 532 | |||
| 533 | # | ||
| 534 | # UBI - Unsorted block images | ||
| 535 | # | ||
| 536 | # CONFIG_MTD_UBI is not set | ||
| 537 | # CONFIG_PARPORT is not set | ||
| 538 | CONFIG_BLK_DEV=y | ||
| 539 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
| 540 | # CONFIG_BLK_DEV_LOOP is not set | ||
| 541 | # CONFIG_BLK_DEV_NBD is not set | ||
| 542 | # CONFIG_BLK_DEV_UB is not set | ||
| 543 | CONFIG_BLK_DEV_RAM=y | ||
| 544 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
| 545 | CONFIG_BLK_DEV_RAM_SIZE=4096 | ||
| 546 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | ||
| 547 | # CONFIG_CDROM_PKTCDVD is not set | ||
| 548 | # CONFIG_ATA_OVER_ETH is not set | ||
| 549 | # CONFIG_MISC_DEVICES is not set | ||
| 550 | # CONFIG_IDE is not set | ||
| 551 | |||
| 552 | # | ||
| 553 | # SCSI device support | ||
| 554 | # | ||
| 555 | # CONFIG_RAID_ATTRS is not set | ||
| 556 | # CONFIG_SCSI is not set | ||
| 557 | # CONFIG_SCSI_DMA is not set | ||
| 558 | # CONFIG_SCSI_NETLINK is not set | ||
| 559 | # CONFIG_ATA is not set | ||
| 560 | # CONFIG_MD is not set | ||
| 561 | CONFIG_NETDEVICES=y | ||
| 562 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
| 563 | # CONFIG_DUMMY is not set | ||
| 564 | # CONFIG_BONDING is not set | ||
| 565 | # CONFIG_MACVLAN is not set | ||
| 566 | # CONFIG_EQUALIZER is not set | ||
| 567 | # CONFIG_TUN is not set | ||
| 568 | # CONFIG_VETH is not set | ||
| 569 | CONFIG_PHYLIB=y | ||
| 570 | |||
| 571 | # | ||
| 572 | # MII PHY device drivers | ||
| 573 | # | ||
| 574 | # CONFIG_MARVELL_PHY is not set | ||
| 575 | # CONFIG_DAVICOM_PHY is not set | ||
| 576 | # CONFIG_QSEMI_PHY is not set | ||
| 577 | # CONFIG_LXT_PHY is not set | ||
| 578 | # CONFIG_CICADA_PHY is not set | ||
| 579 | # CONFIG_VITESSE_PHY is not set | ||
| 580 | # CONFIG_SMSC_PHY is not set | ||
| 581 | # CONFIG_BROADCOM_PHY is not set | ||
| 582 | # CONFIG_ICPLUS_PHY is not set | ||
| 583 | # CONFIG_FIXED_PHY is not set | ||
| 584 | # CONFIG_MDIO_BITBANG is not set | ||
| 585 | CONFIG_NET_ETHERNET=y | ||
| 586 | CONFIG_MII=y | ||
| 587 | CONFIG_BFIN_MAC=y | ||
| 588 | CONFIG_BFIN_MAC_USE_L1=y | ||
| 589 | CONFIG_BFIN_TX_DESC_NUM=10 | ||
| 590 | CONFIG_BFIN_RX_DESC_NUM=20 | ||
| 591 | CONFIG_BFIN_MAC_RMII=y | ||
| 592 | # CONFIG_SMC91X is not set | ||
| 593 | # CONFIG_SMSC911X is not set | ||
| 594 | # CONFIG_DM9000 is not set | ||
| 595 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
| 596 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
| 597 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
| 598 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
| 599 | # CONFIG_B44 is not set | ||
| 600 | # CONFIG_NETDEV_1000 is not set | ||
| 601 | # CONFIG_NETDEV_10000 is not set | ||
| 602 | |||
| 603 | # | ||
| 604 | # Wireless LAN | ||
| 605 | # | ||
| 606 | # CONFIG_WLAN_PRE80211 is not set | ||
| 607 | # CONFIG_WLAN_80211 is not set | ||
| 608 | |||
| 609 | # | ||
| 610 | # USB Network Adapters | ||
| 611 | # | ||
| 612 | # CONFIG_USB_CATC is not set | ||
| 613 | # CONFIG_USB_KAWETH is not set | ||
| 614 | # CONFIG_USB_PEGASUS is not set | ||
| 615 | # CONFIG_USB_RTL8150 is not set | ||
| 616 | # CONFIG_USB_USBNET is not set | ||
| 617 | # CONFIG_WAN is not set | ||
| 618 | # CONFIG_PPP is not set | ||
| 619 | # CONFIG_SLIP is not set | ||
| 620 | # CONFIG_SHAPER is not set | ||
| 621 | # CONFIG_NETCONSOLE is not set | ||
| 622 | # CONFIG_NETPOLL is not set | ||
| 623 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
| 624 | # CONFIG_ISDN is not set | ||
| 625 | # CONFIG_PHONE is not set | ||
| 626 | |||
| 627 | # | ||
| 628 | # Input device support | ||
| 629 | # | ||
| 630 | # CONFIG_INPUT is not set | ||
| 631 | |||
| 632 | # | ||
| 633 | # Hardware I/O ports | ||
| 634 | # | ||
| 635 | # CONFIG_SERIO is not set | ||
| 636 | # CONFIG_GAMEPORT is not set | ||
| 637 | |||
| 638 | # | ||
| 639 | # Character devices | ||
| 640 | # | ||
| 641 | # CONFIG_AD9960 is not set | ||
| 642 | # CONFIG_SPI_ADC_BF533 is not set | ||
| 643 | # CONFIG_BF5xx_PPIFCD is not set | ||
| 644 | # CONFIG_BFIN_SIMPLE_TIMER is not set | ||
| 645 | # CONFIG_BF5xx_PPI is not set | ||
| 646 | CONFIG_BFIN_OTP=y | ||
| 647 | # CONFIG_BFIN_OTP_WRITE_ENABLE is not set | ||
| 648 | # CONFIG_BFIN_SPORT is not set | ||
| 649 | # CONFIG_BFIN_TIMER_LATENCY is not set | ||
| 650 | # CONFIG_TWI_LCD is not set | ||
| 651 | CONFIG_SIMPLE_GPIO=m | ||
| 652 | # CONFIG_VT is not set | ||
| 653 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
| 654 | |||
| 655 | # | ||
| 656 | # Serial drivers | ||
| 657 | # | ||
| 658 | # CONFIG_SERIAL_8250 is not set | ||
| 659 | |||
| 660 | # | ||
| 661 | # Non-8250 serial port support | ||
| 662 | # | ||
| 663 | CONFIG_SERIAL_BFIN=y | ||
| 664 | CONFIG_SERIAL_BFIN_CONSOLE=y | ||
| 665 | CONFIG_SERIAL_BFIN_DMA=y | ||
| 666 | # CONFIG_SERIAL_BFIN_PIO is not set | ||
| 667 | CONFIG_SERIAL_BFIN_UART0=y | ||
| 668 | # CONFIG_BFIN_UART0_CTSRTS is not set | ||
| 669 | CONFIG_SERIAL_BFIN_UART1=y | ||
| 670 | # CONFIG_BFIN_UART1_CTSRTS is not set | ||
| 671 | CONFIG_SERIAL_CORE=y | ||
| 672 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
| 673 | # CONFIG_SERIAL_BFIN_SPORT is not set | ||
| 674 | CONFIG_UNIX98_PTYS=y | ||
| 675 | # CONFIG_LEGACY_PTYS is not set | ||
| 676 | |||
| 677 | # | ||
| 678 | # CAN, the car bus and industrial fieldbus | ||
| 679 | # | ||
| 680 | # CONFIG_CAN4LINUX is not set | ||
| 681 | # CONFIG_IPMI_HANDLER is not set | ||
| 682 | CONFIG_HW_RANDOM=y | ||
| 683 | # CONFIG_GEN_RTC is not set | ||
| 684 | # CONFIG_R3964 is not set | ||
| 685 | # CONFIG_RAW_DRIVER is not set | ||
| 686 | # CONFIG_TCG_TPM is not set | ||
| 687 | CONFIG_I2C=y | ||
| 688 | CONFIG_I2C_BOARDINFO=y | ||
| 689 | CONFIG_I2C_CHARDEV=m | ||
| 690 | |||
| 691 | # | ||
| 692 | # I2C Algorithms | ||
| 693 | # | ||
| 694 | # CONFIG_I2C_ALGOBIT is not set | ||
| 695 | # CONFIG_I2C_ALGOPCF is not set | ||
| 696 | # CONFIG_I2C_ALGOPCA is not set | ||
| 697 | |||
| 698 | # | ||
| 699 | # I2C Hardware Bus support | ||
| 700 | # | ||
| 701 | CONFIG_I2C_BLACKFIN_TWI=m | ||
| 702 | CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=50 | ||
| 703 | # CONFIG_I2C_GPIO is not set | ||
| 704 | # CONFIG_I2C_OCORES is not set | ||
| 705 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
| 706 | # CONFIG_I2C_SIMTEC is not set | ||
| 707 | # CONFIG_I2C_TAOS_EVM is not set | ||
| 708 | # CONFIG_I2C_STUB is not set | ||
| 709 | # CONFIG_I2C_TINY_USB is not set | ||
| 710 | |||
| 711 | # | ||
| 712 | # Miscellaneous I2C Chip support | ||
| 713 | # | ||
| 714 | # CONFIG_SENSORS_DS1337 is not set | ||
| 715 | # CONFIG_SENSORS_DS1374 is not set | ||
| 716 | # CONFIG_DS1682 is not set | ||
| 717 | # CONFIG_SENSORS_AD5252 is not set | ||
| 718 | # CONFIG_SENSORS_EEPROM is not set | ||
| 719 | # CONFIG_SENSORS_PCF8574 is not set | ||
| 720 | # CONFIG_SENSORS_PCF8575 is not set | ||
| 721 | # CONFIG_SENSORS_PCA9539 is not set | ||
| 722 | # CONFIG_SENSORS_PCF8591 is not set | ||
| 723 | # CONFIG_SENSORS_MAX6875 is not set | ||
| 724 | # CONFIG_SENSORS_TSL2550 is not set | ||
| 725 | # CONFIG_I2C_DEBUG_CORE is not set | ||
| 726 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
| 727 | # CONFIG_I2C_DEBUG_BUS is not set | ||
| 728 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
| 729 | |||
| 730 | # | ||
| 731 | # SPI support | ||
| 732 | # | ||
| 733 | CONFIG_SPI=y | ||
| 734 | CONFIG_SPI_MASTER=y | ||
| 735 | |||
| 736 | # | ||
| 737 | # SPI Master Controller Drivers | ||
| 738 | # | ||
| 739 | CONFIG_SPI_BFIN=y | ||
| 740 | # CONFIG_SPI_BITBANG is not set | ||
| 741 | |||
| 742 | # | ||
| 743 | # SPI Protocol Masters | ||
| 744 | # | ||
| 745 | # CONFIG_SPI_AT25 is not set | ||
| 746 | # CONFIG_SPI_SPIDEV is not set | ||
| 747 | # CONFIG_SPI_TLE62X0 is not set | ||
| 748 | # CONFIG_W1 is not set | ||
| 749 | # CONFIG_POWER_SUPPLY is not set | ||
| 750 | CONFIG_HWMON=y | ||
| 751 | # CONFIG_HWMON_VID is not set | ||
| 752 | # CONFIG_SENSORS_AD7418 is not set | ||
| 753 | # CONFIG_SENSORS_ADM1021 is not set | ||
| 754 | # CONFIG_SENSORS_ADM1025 is not set | ||
| 755 | # CONFIG_SENSORS_ADM1026 is not set | ||
| 756 | # CONFIG_SENSORS_ADM1029 is not set | ||
| 757 | # CONFIG_SENSORS_ADM1031 is not set | ||
| 758 | # CONFIG_SENSORS_ADM9240 is not set | ||
| 759 | # CONFIG_SENSORS_ADT7470 is not set | ||
| 760 | # CONFIG_SENSORS_ATXP1 is not set | ||
| 761 | # CONFIG_SENSORS_DS1621 is not set | ||
| 762 | # CONFIG_SENSORS_F71805F is not set | ||
| 763 | # CONFIG_SENSORS_F71882FG is not set | ||
| 764 | # CONFIG_SENSORS_F75375S is not set | ||
| 765 | # CONFIG_SENSORS_GL518SM is not set | ||
| 766 | # CONFIG_SENSORS_GL520SM is not set | ||
| 767 | # CONFIG_SENSORS_IT87 is not set | ||
| 768 | # CONFIG_SENSORS_LM63 is not set | ||
| 769 | # CONFIG_SENSORS_LM70 is not set | ||
| 770 | # CONFIG_SENSORS_LM75 is not set | ||
| 771 | # CONFIG_SENSORS_LM77 is not set | ||
| 772 | # CONFIG_SENSORS_LM78 is not set | ||
| 773 | # CONFIG_SENSORS_LM80 is not set | ||
| 774 | # CONFIG_SENSORS_LM83 is not set | ||
| 775 | # CONFIG_SENSORS_LM85 is not set | ||
| 776 | # CONFIG_SENSORS_LM87 is not set | ||
| 777 | # CONFIG_SENSORS_LM90 is not set | ||
| 778 | # CONFIG_SENSORS_LM92 is not set | ||
| 779 | # CONFIG_SENSORS_LM93 is not set | ||
| 780 | # CONFIG_SENSORS_MAX1619 is not set | ||
| 781 | # CONFIG_SENSORS_MAX6650 is not set | ||
| 782 | # CONFIG_SENSORS_PC87360 is not set | ||
| 783 | # CONFIG_SENSORS_PC87427 is not set | ||
| 784 | # CONFIG_SENSORS_DME1737 is not set | ||
| 785 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
| 786 | # CONFIG_SENSORS_SMSC47M192 is not set | ||
| 787 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
| 788 | # CONFIG_SENSORS_THMC50 is not set | ||
| 789 | # CONFIG_SENSORS_VT1211 is not set | ||
| 790 | # CONFIG_SENSORS_W83781D is not set | ||
| 791 | # CONFIG_SENSORS_W83791D is not set | ||
| 792 | # CONFIG_SENSORS_W83792D is not set | ||
| 793 | # CONFIG_SENSORS_W83793 is not set | ||
| 794 | # CONFIG_SENSORS_W83L785TS is not set | ||
| 795 | # CONFIG_SENSORS_W83627HF is not set | ||
| 796 | # CONFIG_SENSORS_W83627EHF is not set | ||
| 797 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
| 798 | CONFIG_WATCHDOG=y | ||
| 799 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
| 800 | |||
| 801 | # | ||
| 802 | # Watchdog Device Drivers | ||
| 803 | # | ||
| 804 | # CONFIG_SOFT_WATCHDOG is not set | ||
| 805 | CONFIG_BFIN_WDT=y | ||
| 806 | |||
| 807 | # | ||
| 808 | # USB-based Watchdog Cards | ||
| 809 | # | ||
| 810 | # CONFIG_USBPCWATCHDOG is not set | ||
| 811 | |||
| 812 | # | ||
| 813 | # Sonics Silicon Backplane | ||
| 814 | # | ||
| 815 | CONFIG_SSB_POSSIBLE=y | ||
| 816 | # CONFIG_SSB is not set | ||
| 817 | |||
| 818 | # | ||
| 819 | # Multifunction device drivers | ||
| 820 | # | ||
| 821 | # CONFIG_MFD_SM501 is not set | ||
| 822 | |||
| 823 | # | ||
| 824 | # Multimedia devices | ||
| 825 | # | ||
| 826 | # CONFIG_VIDEO_DEV is not set | ||
| 827 | # CONFIG_DVB_CORE is not set | ||
| 828 | # CONFIG_DAB is not set | ||
| 829 | |||
| 830 | # | ||
| 831 | # Graphics support | ||
| 832 | # | ||
| 833 | # CONFIG_VGASTATE is not set | ||
| 834 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
| 835 | # CONFIG_FB is not set | ||
| 836 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
| 837 | |||
| 838 | # | ||
| 839 | # Display device support | ||
| 840 | # | ||
| 841 | # CONFIG_DISPLAY_SUPPORT is not set | ||
| 842 | |||
| 843 | # | ||
| 844 | # Sound | ||
| 845 | # | ||
| 846 | # CONFIG_SOUND is not set | ||
| 847 | CONFIG_USB_SUPPORT=y | ||
| 848 | CONFIG_USB_ARCH_HAS_HCD=y | ||
| 849 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
| 850 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
| 851 | CONFIG_USB=y | ||
| 852 | # CONFIG_USB_DEBUG is not set | ||
| 853 | |||
| 854 | # | ||
| 855 | # Miscellaneous USB options | ||
| 856 | # | ||
| 857 | # CONFIG_USB_DEVICEFS is not set | ||
| 858 | CONFIG_USB_DEVICE_CLASS=y | ||
| 859 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
| 860 | # CONFIG_USB_OTG is not set | ||
| 861 | # CONFIG_USB_OTG_WHITELIST is not set | ||
| 862 | CONFIG_USB_OTG_BLACKLIST_HUB=y | ||
| 863 | |||
| 864 | # | ||
| 865 | # USB Host Controller Drivers | ||
| 866 | # | ||
| 867 | # CONFIG_USB_ISP116X_HCD is not set | ||
| 868 | # CONFIG_USB_ISP1362_HCD is not set | ||
| 869 | # CONFIG_USB_ISP1760_HCD is not set | ||
| 870 | # CONFIG_USB_SL811_HCD is not set | ||
| 871 | # CONFIG_USB_R8A66597_HCD is not set | ||
| 872 | CONFIG_USB_MUSB_HDRC=y | ||
| 873 | CONFIG_USB_MUSB_SOC=y | ||
| 874 | |||
| 875 | # | ||
| 876 | # Blackfin high speed USB support | ||
| 877 | # | ||
| 878 | CONFIG_USB_MUSB_HOST=y | ||
| 879 | # CONFIG_USB_MUSB_PERIPHERAL is not set | ||
| 880 | # CONFIG_USB_MUSB_OTG is not set | ||
| 881 | CONFIG_USB_MUSB_HDRC_HCD=y | ||
| 882 | CONFIG_MUSB_PIO_ONLY=y | ||
| 883 | CONFIG_USB_MUSB_LOGLEVEL=0 | ||
| 884 | |||
| 885 | # | ||
| 886 | # USB Device Class drivers | ||
| 887 | # | ||
| 888 | # CONFIG_USB_ACM is not set | ||
| 889 | # CONFIG_USB_PRINTER is not set | ||
| 890 | |||
| 891 | # | ||
| 892 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
| 893 | # | ||
| 894 | |||
| 895 | # | ||
| 896 | # may also be needed; see USB_STORAGE Help for more information | ||
| 897 | # | ||
| 898 | # CONFIG_USB_LIBUSUAL is not set | ||
| 899 | |||
| 900 | # | ||
| 901 | # USB Imaging devices | ||
| 902 | # | ||
| 903 | # CONFIG_USB_MDC800 is not set | ||
| 904 | CONFIG_USB_MON=y | ||
| 905 | |||
| 906 | # | ||
| 907 | # USB port drivers | ||
| 908 | # | ||
| 909 | |||
| 910 | # | ||
| 911 | # USB Serial Converter support | ||
| 912 | # | ||
| 913 | # CONFIG_USB_SERIAL is not set | ||
| 914 | |||
| 915 | # | ||
| 916 | # USB Miscellaneous drivers | ||
| 917 | # | ||
| 918 | # CONFIG_USB_EMI62 is not set | ||
| 919 | # CONFIG_USB_EMI26 is not set | ||
| 920 | # CONFIG_USB_ADUTUX is not set | ||
| 921 | # CONFIG_USB_AUERSWALD is not set | ||
| 922 | # CONFIG_USB_RIO500 is not set | ||
| 923 | # CONFIG_USB_LEGOTOWER is not set | ||
| 924 | # CONFIG_USB_LCD is not set | ||
| 925 | # CONFIG_USB_BERRY_CHARGE is not set | ||
| 926 | # CONFIG_USB_LED is not set | ||
| 927 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
| 928 | # CONFIG_USB_CYTHERM is not set | ||
| 929 | # CONFIG_USB_PHIDGET is not set | ||
| 930 | # CONFIG_USB_IDMOUSE is not set | ||
| 931 | # CONFIG_USB_FTDI_ELAN is not set | ||
| 932 | # CONFIG_USB_APPLEDISPLAY is not set | ||
| 933 | # CONFIG_USB_SISUSBVGA is not set | ||
| 934 | # CONFIG_USB_LD is not set | ||
| 935 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
| 936 | # CONFIG_USB_IOWARRIOR is not set | ||
| 937 | |||
| 938 | # | ||
| 939 | # USB DSL modem support | ||
| 940 | # | ||
| 941 | |||
| 942 | # | ||
| 943 | # USB Gadget Support | ||
| 944 | # | ||
| 945 | # CONFIG_USB_GADGET is not set | ||
| 946 | # CONFIG_MMC is not set | ||
| 947 | # CONFIG_NEW_LEDS is not set | ||
| 948 | CONFIG_RTC_LIB=y | ||
| 949 | CONFIG_RTC_CLASS=y | ||
| 950 | CONFIG_RTC_HCTOSYS=y | ||
| 951 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
| 952 | # CONFIG_RTC_DEBUG is not set | ||
| 953 | |||
| 954 | # | ||
| 955 | # RTC interfaces | ||
| 956 | # | ||
| 957 | CONFIG_RTC_INTF_SYSFS=y | ||
| 958 | CONFIG_RTC_INTF_PROC=y | ||
| 959 | CONFIG_RTC_INTF_DEV=y | ||
| 960 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
| 961 | # CONFIG_RTC_DRV_TEST is not set | ||
| 962 | |||
| 963 | # | ||
| 964 | # I2C RTC drivers | ||
| 965 | # | ||
| 966 | # CONFIG_RTC_DRV_DS1307 is not set | ||
| 967 | # CONFIG_RTC_DRV_DS1374 is not set | ||
| 968 | # CONFIG_RTC_DRV_DS1672 is not set | ||
| 969 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
| 970 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
| 971 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
| 972 | # CONFIG_RTC_DRV_X1205 is not set | ||
| 973 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
| 974 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
| 975 | # CONFIG_RTC_DRV_M41T80 is not set | ||
| 976 | |||
| 977 | # | ||
| 978 | # SPI RTC drivers | ||
| 979 | # | ||
| 980 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
| 981 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
| 982 | |||
| 983 | # | ||
| 984 | # Platform RTC drivers | ||
| 985 | # | ||
| 986 | # CONFIG_RTC_DRV_DS1553 is not set | ||
| 987 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
| 988 | # CONFIG_RTC_DRV_DS1742 is not set | ||
| 989 | # CONFIG_RTC_DRV_M48T86 is not set | ||
| 990 | # CONFIG_RTC_DRV_M48T59 is not set | ||
| 991 | # CONFIG_RTC_DRV_V3020 is not set | ||
| 992 | |||
| 993 | # | ||
| 994 | # on-CPU RTC drivers | ||
| 995 | # | ||
| 996 | CONFIG_RTC_DRV_BFIN=y | ||
| 997 | |||
| 998 | # | ||
| 999 | # Userspace I/O | ||
| 1000 | # | ||
| 1001 | # CONFIG_UIO is not set | ||
| 1002 | |||
| 1003 | # | ||
| 1004 | # File systems | ||
| 1005 | # | ||
| 1006 | # CONFIG_EXT2_FS is not set | ||
| 1007 | # CONFIG_EXT3_FS is not set | ||
| 1008 | # CONFIG_EXT4DEV_FS is not set | ||
| 1009 | # CONFIG_REISERFS_FS is not set | ||
| 1010 | # CONFIG_JFS_FS is not set | ||
| 1011 | # CONFIG_FS_POSIX_ACL is not set | ||
| 1012 | # CONFIG_XFS_FS is not set | ||
| 1013 | # CONFIG_GFS2_FS is not set | ||
| 1014 | # CONFIG_OCFS2_FS is not set | ||
| 1015 | # CONFIG_MINIX_FS is not set | ||
| 1016 | # CONFIG_ROMFS_FS is not set | ||
| 1017 | CONFIG_INOTIFY=y | ||
| 1018 | CONFIG_INOTIFY_USER=y | ||
| 1019 | # CONFIG_QUOTA is not set | ||
| 1020 | # CONFIG_DNOTIFY is not set | ||
| 1021 | # CONFIG_AUTOFS_FS is not set | ||
| 1022 | # CONFIG_AUTOFS4_FS is not set | ||
| 1023 | # CONFIG_FUSE_FS is not set | ||
| 1024 | |||
| 1025 | # | ||
| 1026 | # CD-ROM/DVD Filesystems | ||
| 1027 | # | ||
| 1028 | # CONFIG_ISO9660_FS is not set | ||
| 1029 | # CONFIG_UDF_FS is not set | ||
| 1030 | |||
| 1031 | # | ||
| 1032 | # DOS/FAT/NT Filesystems | ||
| 1033 | # | ||
| 1034 | # CONFIG_MSDOS_FS is not set | ||
| 1035 | # CONFIG_VFAT_FS is not set | ||
| 1036 | # CONFIG_NTFS_FS is not set | ||
| 1037 | |||
| 1038 | # | ||
| 1039 | # Pseudo filesystems | ||
| 1040 | # | ||
| 1041 | CONFIG_PROC_FS=y | ||
| 1042 | CONFIG_PROC_SYSCTL=y | ||
| 1043 | CONFIG_SYSFS=y | ||
| 1044 | # CONFIG_TMPFS is not set | ||
| 1045 | # CONFIG_HUGETLB_PAGE is not set | ||
| 1046 | # CONFIG_CONFIGFS_FS is not set | ||
| 1047 | |||
| 1048 | # | ||
| 1049 | # Miscellaneous filesystems | ||
| 1050 | # | ||
| 1051 | # CONFIG_ADFS_FS is not set | ||
| 1052 | # CONFIG_AFFS_FS is not set | ||
| 1053 | # CONFIG_HFS_FS is not set | ||
| 1054 | # CONFIG_HFSPLUS_FS is not set | ||
| 1055 | # CONFIG_BEFS_FS is not set | ||
| 1056 | # CONFIG_BFS_FS is not set | ||
| 1057 | # CONFIG_EFS_FS is not set | ||
| 1058 | # CONFIG_YAFFS_FS is not set | ||
| 1059 | # CONFIG_JFFS2_FS is not set | ||
| 1060 | # CONFIG_CRAMFS is not set | ||
| 1061 | # CONFIG_VXFS_FS is not set | ||
| 1062 | # CONFIG_HPFS_FS is not set | ||
| 1063 | # CONFIG_QNX4FS_FS is not set | ||
| 1064 | # CONFIG_SYSV_FS is not set | ||
| 1065 | # CONFIG_UFS_FS is not set | ||
| 1066 | CONFIG_NETWORK_FILESYSTEMS=y | ||
| 1067 | CONFIG_NFS_FS=m | ||
| 1068 | CONFIG_NFS_V3=y | ||
| 1069 | # CONFIG_NFS_V3_ACL is not set | ||
| 1070 | # CONFIG_NFS_V4 is not set | ||
| 1071 | # CONFIG_NFS_DIRECTIO is not set | ||
| 1072 | # CONFIG_NFSD is not set | ||
| 1073 | CONFIG_LOCKD=m | ||
| 1074 | CONFIG_LOCKD_V4=y | ||
| 1075 | CONFIG_NFS_COMMON=y | ||
| 1076 | CONFIG_SUNRPC=m | ||
| 1077 | # CONFIG_SUNRPC_BIND34 is not set | ||
| 1078 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
| 1079 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
| 1080 | CONFIG_SMB_FS=m | ||
| 1081 | # CONFIG_SMB_NLS_DEFAULT is not set | ||
| 1082 | # CONFIG_CIFS is not set | ||
| 1083 | # CONFIG_NCP_FS is not set | ||
| 1084 | # CONFIG_CODA_FS is not set | ||
| 1085 | # CONFIG_AFS_FS is not set | ||
| 1086 | |||
| 1087 | # | ||
| 1088 | # Partition Types | ||
| 1089 | # | ||
| 1090 | # CONFIG_PARTITION_ADVANCED is not set | ||
| 1091 | CONFIG_MSDOS_PARTITION=y | ||
| 1092 | CONFIG_NLS=m | ||
| 1093 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
| 1094 | # CONFIG_NLS_CODEPAGE_437 is not set | ||
| 1095 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
| 1096 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
| 1097 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
| 1098 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
| 1099 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
| 1100 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
| 1101 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
| 1102 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
| 1103 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
| 1104 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
| 1105 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
| 1106 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
| 1107 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
| 1108 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
| 1109 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
| 1110 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
| 1111 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
| 1112 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
| 1113 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
| 1114 | # CONFIG_NLS_ISO8859_8 is not set | ||
| 1115 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
| 1116 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
| 1117 | # CONFIG_NLS_ASCII is not set | ||
| 1118 | # CONFIG_NLS_ISO8859_1 is not set | ||
| 1119 | # CONFIG_NLS_ISO8859_2 is not set | ||
| 1120 | # CONFIG_NLS_ISO8859_3 is not set | ||
| 1121 | # CONFIG_NLS_ISO8859_4 is not set | ||
| 1122 | # CONFIG_NLS_ISO8859_5 is not set | ||
| 1123 | # CONFIG_NLS_ISO8859_6 is not set | ||
| 1124 | # CONFIG_NLS_ISO8859_7 is not set | ||
| 1125 | # CONFIG_NLS_ISO8859_9 is not set | ||
| 1126 | # CONFIG_NLS_ISO8859_13 is not set | ||
| 1127 | # CONFIG_NLS_ISO8859_14 is not set | ||
| 1128 | # CONFIG_NLS_ISO8859_15 is not set | ||
| 1129 | # CONFIG_NLS_KOI8_R is not set | ||
| 1130 | # CONFIG_NLS_KOI8_U is not set | ||
| 1131 | # CONFIG_NLS_UTF8 is not set | ||
| 1132 | # CONFIG_DLM is not set | ||
| 1133 | # CONFIG_INSTRUMENTATION is not set | ||
| 1134 | |||
| 1135 | # | ||
| 1136 | # Kernel hacking | ||
| 1137 | # | ||
| 1138 | # CONFIG_PRINTK_TIME is not set | ||
| 1139 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
| 1140 | CONFIG_ENABLE_MUST_CHECK=y | ||
| 1141 | # CONFIG_MAGIC_SYSRQ is not set | ||
| 1142 | # CONFIG_UNUSED_SYMBOLS is not set | ||
| 1143 | CONFIG_DEBUG_FS=y | ||
| 1144 | # CONFIG_HEADERS_CHECK is not set | ||
| 1145 | # CONFIG_DEBUG_KERNEL is not set | ||
| 1146 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
| 1147 | # CONFIG_SAMPLES is not set | ||
| 1148 | CONFIG_DEBUG_MMRS=y | ||
| 1149 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | ||
| 1150 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | ||
| 1151 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | ||
| 1152 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_ONE is not set | ||
| 1153 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_TWO is not set | ||
| 1154 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | ||
| 1155 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | ||
| 1156 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | ||
| 1157 | CONFIG_EARLY_PRINTK=y | ||
| 1158 | # CONFIG_CPLB_INFO is not set | ||
| 1159 | CONFIG_ACCESS_CHECK=y | ||
| 1160 | |||
| 1161 | # | ||
| 1162 | # Security options | ||
| 1163 | # | ||
| 1164 | # CONFIG_KEYS is not set | ||
| 1165 | CONFIG_SECURITY=y | ||
| 1166 | # CONFIG_SECURITY_NETWORK is not set | ||
| 1167 | # CONFIG_SECURITY_CAPABILITIES is not set | ||
| 1168 | # CONFIG_SECURITY_ROOTPLUG is not set | ||
| 1169 | # CONFIG_CRYPTO is not set | ||
| 1170 | |||
| 1171 | # | ||
| 1172 | # Library routines | ||
| 1173 | # | ||
| 1174 | CONFIG_BITREVERSE=y | ||
| 1175 | CONFIG_CRC_CCITT=m | ||
| 1176 | # CONFIG_CRC16 is not set | ||
| 1177 | # CONFIG_CRC_ITU_T is not set | ||
| 1178 | CONFIG_CRC32=y | ||
| 1179 | # CONFIG_CRC7 is not set | ||
| 1180 | # CONFIG_LIBCRC32C is not set | ||
| 1181 | CONFIG_ZLIB_INFLATE=y | ||
| 1182 | CONFIG_PLIST=y | ||
| 1183 | CONFIG_HAS_IOMEM=y | ||
| 1184 | CONFIG_HAS_IOPORT=y | ||
| 1185 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/blackfin/configs/CM-BF533_defconfig b/arch/blackfin/configs/CM-BF533_defconfig index 560890fe0d30..09deea44480b 100644 --- a/arch/blackfin/configs/CM-BF533_defconfig +++ b/arch/blackfin/configs/CM-BF533_defconfig | |||
| @@ -39,7 +39,8 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
| 39 | # CONFIG_TASKSTATS is not set | 39 | # CONFIG_TASKSTATS is not set |
| 40 | # CONFIG_UTS_NS is not set | 40 | # CONFIG_UTS_NS is not set |
| 41 | # CONFIG_AUDIT is not set | 41 | # CONFIG_AUDIT is not set |
| 42 | # CONFIG_IKCONFIG is not set | 42 | CONFIG_IKCONFIG=y |
| 43 | CONFIG_IKCONFIG_PROC=y | ||
| 43 | CONFIG_LOG_BUF_SHIFT=14 | 44 | CONFIG_LOG_BUF_SHIFT=14 |
| 44 | CONFIG_SYSFS_DEPRECATED=y | 45 | CONFIG_SYSFS_DEPRECATED=y |
| 45 | # CONFIG_RELAY is not set | 46 | # CONFIG_RELAY is not set |
| @@ -291,7 +292,7 @@ CONFIG_C_AMBEN_ALL=y | |||
| 291 | CONFIG_BANK_0=0x7BB0 | 292 | CONFIG_BANK_0=0x7BB0 |
| 292 | CONFIG_BANK_1=0x7BB0 | 293 | CONFIG_BANK_1=0x7BB0 |
| 293 | CONFIG_BANK_2=0x7BB0 | 294 | CONFIG_BANK_2=0x7BB0 |
| 294 | CONFIG_BANK_3=0xFFC3 | 295 | CONFIG_BANK_3=0xFFC2 |
| 295 | 296 | ||
| 296 | # | 297 | # |
| 297 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 298 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
| @@ -617,8 +618,7 @@ CONFIG_SERIAL_CORE=y | |||
| 617 | CONFIG_SERIAL_CORE_CONSOLE=y | 618 | CONFIG_SERIAL_CORE_CONSOLE=y |
| 618 | # CONFIG_SERIAL_BFIN_SPORT is not set | 619 | # CONFIG_SERIAL_BFIN_SPORT is not set |
| 619 | CONFIG_UNIX98_PTYS=y | 620 | CONFIG_UNIX98_PTYS=y |
| 620 | CONFIG_LEGACY_PTYS=y | 621 | # CONFIG_LEGACY_PTYS is not set |
| 621 | CONFIG_LEGACY_PTY_COUNT=256 | ||
| 622 | 622 | ||
| 623 | # | 623 | # |
| 624 | # CAN, the car bus and industrial fieldbus | 624 | # CAN, the car bus and industrial fieldbus |
| @@ -778,7 +778,7 @@ CONFIG_FS_MBCACHE=y | |||
| 778 | CONFIG_INOTIFY=y | 778 | CONFIG_INOTIFY=y |
| 779 | CONFIG_INOTIFY_USER=y | 779 | CONFIG_INOTIFY_USER=y |
| 780 | # CONFIG_QUOTA is not set | 780 | # CONFIG_QUOTA is not set |
| 781 | CONFIG_DNOTIFY=y | 781 | # CONFIG_DNOTIFY is not set |
| 782 | # CONFIG_AUTOFS_FS is not set | 782 | # CONFIG_AUTOFS_FS is not set |
| 783 | # CONFIG_AUTOFS4_FS is not set | 783 | # CONFIG_AUTOFS4_FS is not set |
| 784 | # CONFIG_FUSE_FS is not set | 784 | # CONFIG_FUSE_FS is not set |
| @@ -866,11 +866,11 @@ CONFIG_MSDOS_PARTITION=y | |||
| 866 | CONFIG_ENABLE_MUST_CHECK=y | 866 | CONFIG_ENABLE_MUST_CHECK=y |
| 867 | # CONFIG_MAGIC_SYSRQ is not set | 867 | # CONFIG_MAGIC_SYSRQ is not set |
| 868 | # CONFIG_UNUSED_SYMBOLS is not set | 868 | # CONFIG_UNUSED_SYMBOLS is not set |
| 869 | # CONFIG_DEBUG_FS is not set | 869 | CONFIG_DEBUG_FS=y |
| 870 | # CONFIG_HEADERS_CHECK is not set | 870 | # CONFIG_HEADERS_CHECK is not set |
| 871 | # CONFIG_DEBUG_KERNEL is not set | 871 | # CONFIG_DEBUG_KERNEL is not set |
| 872 | # CONFIG_DEBUG_BUGVERBOSE is not set | 872 | # CONFIG_DEBUG_BUGVERBOSE is not set |
| 873 | # CONFIG_DEBUG_MMRS is not set | 873 | CONFIG_DEBUG_MMRS=y |
| 874 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 874 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
| 875 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | 875 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y |
| 876 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | 876 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y |
diff --git a/arch/blackfin/configs/CM-BF537E_defconfig b/arch/blackfin/configs/CM-BF537E_defconfig index 9f66d2de1007..219fc345a5f5 100644 --- a/arch/blackfin/configs/CM-BF537E_defconfig +++ b/arch/blackfin/configs/CM-BF537E_defconfig | |||
| @@ -39,7 +39,8 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
| 39 | # CONFIG_TASKSTATS is not set | 39 | # CONFIG_TASKSTATS is not set |
| 40 | # CONFIG_UTS_NS is not set | 40 | # CONFIG_UTS_NS is not set |
| 41 | # CONFIG_AUDIT is not set | 41 | # CONFIG_AUDIT is not set |
| 42 | # CONFIG_IKCONFIG is not set | 42 | CONFIG_IKCONFIG=y |
| 43 | CONFIG_IKCONFIG_PROC=y | ||
| 43 | CONFIG_LOG_BUF_SHIFT=14 | 44 | CONFIG_LOG_BUF_SHIFT=14 |
| 44 | CONFIG_SYSFS_DEPRECATED=y | 45 | CONFIG_SYSFS_DEPRECATED=y |
| 45 | # CONFIG_RELAY is not set | 46 | # CONFIG_RELAY is not set |
| @@ -299,7 +300,7 @@ CONFIG_C_AMBEN_ALL=y | |||
| 299 | CONFIG_BANK_0=0x7BB0 | 300 | CONFIG_BANK_0=0x7BB0 |
| 300 | CONFIG_BANK_1=0x7BB0 | 301 | CONFIG_BANK_1=0x7BB0 |
| 301 | CONFIG_BANK_2=0x7BB0 | 302 | CONFIG_BANK_2=0x7BB0 |
| 302 | CONFIG_BANK_3=0xFFC3 | 303 | CONFIG_BANK_3=0xFFC2 |
| 303 | 304 | ||
| 304 | # | 305 | # |
| 305 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 306 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
| @@ -351,7 +352,10 @@ CONFIG_INET=y | |||
| 351 | # CONFIG_IP_MULTICAST is not set | 352 | # CONFIG_IP_MULTICAST is not set |
| 352 | # CONFIG_IP_ADVANCED_ROUTER is not set | 353 | # CONFIG_IP_ADVANCED_ROUTER is not set |
| 353 | CONFIG_IP_FIB_HASH=y | 354 | CONFIG_IP_FIB_HASH=y |
| 354 | # CONFIG_IP_PNP is not set | 355 | CONFIG_IP_PNP=y |
| 356 | # CONFIG_IP_PNP_DHCP is not set | ||
| 357 | # CONFIG_IP_PNP_BOOTP is not set | ||
| 358 | # CONFIG_IP_PNP_RARP is not set | ||
| 355 | # CONFIG_NET_IPIP is not set | 359 | # CONFIG_NET_IPIP is not set |
| 356 | # CONFIG_NET_IPGRE is not set | 360 | # CONFIG_NET_IPGRE is not set |
| 357 | # CONFIG_ARPD is not set | 361 | # CONFIG_ARPD is not set |
| @@ -645,8 +649,7 @@ CONFIG_SERIAL_CORE=y | |||
| 645 | CONFIG_SERIAL_CORE_CONSOLE=y | 649 | CONFIG_SERIAL_CORE_CONSOLE=y |
| 646 | # CONFIG_SERIAL_BFIN_SPORT is not set | 650 | # CONFIG_SERIAL_BFIN_SPORT is not set |
| 647 | CONFIG_UNIX98_PTYS=y | 651 | CONFIG_UNIX98_PTYS=y |
| 648 | CONFIG_LEGACY_PTYS=y | 652 | # CONFIG_LEGACY_PTYS is not set |
| 649 | CONFIG_LEGACY_PTY_COUNT=256 | ||
| 650 | 653 | ||
| 651 | # | 654 | # |
| 652 | # CAN, the car bus and industrial fieldbus | 655 | # CAN, the car bus and industrial fieldbus |
| @@ -806,7 +809,7 @@ CONFIG_FS_MBCACHE=y | |||
| 806 | CONFIG_INOTIFY=y | 809 | CONFIG_INOTIFY=y |
| 807 | CONFIG_INOTIFY_USER=y | 810 | CONFIG_INOTIFY_USER=y |
| 808 | # CONFIG_QUOTA is not set | 811 | # CONFIG_QUOTA is not set |
| 809 | CONFIG_DNOTIFY=y | 812 | # CONFIG_DNOTIFY is not set |
| 810 | # CONFIG_AUTOFS_FS is not set | 813 | # CONFIG_AUTOFS_FS is not set |
| 811 | # CONFIG_AUTOFS4_FS is not set | 814 | # CONFIG_AUTOFS4_FS is not set |
| 812 | # CONFIG_FUSE_FS is not set | 815 | # CONFIG_FUSE_FS is not set |
| @@ -894,12 +897,12 @@ CONFIG_MSDOS_PARTITION=y | |||
| 894 | CONFIG_ENABLE_MUST_CHECK=y | 897 | CONFIG_ENABLE_MUST_CHECK=y |
| 895 | # CONFIG_MAGIC_SYSRQ is not set | 898 | # CONFIG_MAGIC_SYSRQ is not set |
| 896 | # CONFIG_UNUSED_SYMBOLS is not set | 899 | # CONFIG_UNUSED_SYMBOLS is not set |
| 897 | # CONFIG_DEBUG_FS is not set | 900 | CONFIG_DEBUG_FS=y |
| 898 | # CONFIG_HEADERS_CHECK is not set | 901 | # CONFIG_HEADERS_CHECK is not set |
| 899 | # CONFIG_DEBUG_KERNEL is not set | 902 | # CONFIG_DEBUG_KERNEL is not set |
| 900 | # CONFIG_DEBUG_BUGVERBOSE is not set | 903 | # CONFIG_DEBUG_BUGVERBOSE is not set |
| 901 | # CONFIG_DEBUG_MMRS is not set | 904 | CONFIG_DEBUG_MMRS=y |
| 902 | # CONFIG_DEBUG_HUNT_FOR_ZERO is not set | 905 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
| 903 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | 906 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y |
| 904 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | 907 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y |
| 905 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_ONE is not set | 908 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_ONE is not set |
diff --git a/arch/blackfin/configs/CM-BF537U_defconfig b/arch/blackfin/configs/CM-BF537U_defconfig index 2694d06c5bde..9873d586fc77 100644 --- a/arch/blackfin/configs/CM-BF537U_defconfig +++ b/arch/blackfin/configs/CM-BF537U_defconfig | |||
| @@ -39,7 +39,8 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
| 39 | # CONFIG_TASKSTATS is not set | 39 | # CONFIG_TASKSTATS is not set |
| 40 | # CONFIG_UTS_NS is not set | 40 | # CONFIG_UTS_NS is not set |
| 41 | # CONFIG_AUDIT is not set | 41 | # CONFIG_AUDIT is not set |
| 42 | # CONFIG_IKCONFIG is not set | 42 | CONFIG_IKCONFIG=y |
| 43 | CONFIG_IKCONFIG_PROC=y | ||
| 43 | CONFIG_LOG_BUF_SHIFT=14 | 44 | CONFIG_LOG_BUF_SHIFT=14 |
| 44 | CONFIG_SYSFS_DEPRECATED=y | 45 | CONFIG_SYSFS_DEPRECATED=y |
| 45 | # CONFIG_RELAY is not set | 46 | # CONFIG_RELAY is not set |
| @@ -298,8 +299,8 @@ CONFIG_C_AMBEN_ALL=y | |||
| 298 | # | 299 | # |
| 299 | CONFIG_BANK_0=0x7BB0 | 300 | CONFIG_BANK_0=0x7BB0 |
| 300 | CONFIG_BANK_1=0x7BB0 | 301 | CONFIG_BANK_1=0x7BB0 |
| 301 | CONFIG_BANK_2=0xFFC3 | 302 | CONFIG_BANK_2=0xFFC2 |
| 302 | CONFIG_BANK_3=0xFFC3 | 303 | CONFIG_BANK_3=0xFFC2 |
| 303 | 304 | ||
| 304 | # | 305 | # |
| 305 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 306 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
| @@ -628,8 +629,7 @@ CONFIG_SERIAL_CORE=y | |||
| 628 | CONFIG_SERIAL_CORE_CONSOLE=y | 629 | CONFIG_SERIAL_CORE_CONSOLE=y |
| 629 | # CONFIG_SERIAL_BFIN_SPORT is not set | 630 | # CONFIG_SERIAL_BFIN_SPORT is not set |
| 630 | CONFIG_UNIX98_PTYS=y | 631 | CONFIG_UNIX98_PTYS=y |
| 631 | CONFIG_LEGACY_PTYS=y | 632 | # CONFIG_LEGACY_PTYS is not set |
| 632 | CONFIG_LEGACY_PTY_COUNT=256 | ||
| 633 | 633 | ||
| 634 | # | 634 | # |
| 635 | # CAN, the car bus and industrial fieldbus | 635 | # CAN, the car bus and industrial fieldbus |
| @@ -806,7 +806,7 @@ CONFIG_FS_MBCACHE=y | |||
| 806 | CONFIG_INOTIFY=y | 806 | CONFIG_INOTIFY=y |
| 807 | CONFIG_INOTIFY_USER=y | 807 | CONFIG_INOTIFY_USER=y |
| 808 | # CONFIG_QUOTA is not set | 808 | # CONFIG_QUOTA is not set |
| 809 | CONFIG_DNOTIFY=y | 809 | # CONFIG_DNOTIFY is not set |
| 810 | # CONFIG_AUTOFS_FS is not set | 810 | # CONFIG_AUTOFS_FS is not set |
| 811 | # CONFIG_AUTOFS4_FS is not set | 811 | # CONFIG_AUTOFS4_FS is not set |
| 812 | # CONFIG_FUSE_FS is not set | 812 | # CONFIG_FUSE_FS is not set |
| @@ -894,12 +894,12 @@ CONFIG_MSDOS_PARTITION=y | |||
| 894 | CONFIG_ENABLE_MUST_CHECK=y | 894 | CONFIG_ENABLE_MUST_CHECK=y |
| 895 | # CONFIG_MAGIC_SYSRQ is not set | 895 | # CONFIG_MAGIC_SYSRQ is not set |
| 896 | # CONFIG_UNUSED_SYMBOLS is not set | 896 | # CONFIG_UNUSED_SYMBOLS is not set |
| 897 | # CONFIG_DEBUG_FS is not set | 897 | CONFIG_DEBUG_FS=y |
| 898 | # CONFIG_HEADERS_CHECK is not set | 898 | # CONFIG_HEADERS_CHECK is not set |
| 899 | # CONFIG_DEBUG_KERNEL is not set | 899 | # CONFIG_DEBUG_KERNEL is not set |
| 900 | # CONFIG_DEBUG_BUGVERBOSE is not set | 900 | # CONFIG_DEBUG_BUGVERBOSE is not set |
| 901 | # CONFIG_DEBUG_MMRS is not set | 901 | CONFIG_DEBUG_MMRS=y |
| 902 | # CONFIG_DEBUG_HUNT_FOR_ZERO is not set | 902 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
| 903 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | 903 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y |
| 904 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | 904 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y |
| 905 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_ONE is not set | 905 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_ONE is not set |
diff --git a/arch/blackfin/configs/CM-BF548_defconfig b/arch/blackfin/configs/CM-BF548_defconfig index 90207251c533..0e3605fdb7b0 100644 --- a/arch/blackfin/configs/CM-BF548_defconfig +++ b/arch/blackfin/configs/CM-BF548_defconfig | |||
| @@ -363,7 +363,7 @@ CONFIG_C_AMBEN_ALL=y | |||
| 363 | CONFIG_BANK_0=0x7BB0 | 363 | CONFIG_BANK_0=0x7BB0 |
| 364 | CONFIG_BANK_1=0x5554 | 364 | CONFIG_BANK_1=0x5554 |
| 365 | CONFIG_BANK_2=0x7BB0 | 365 | CONFIG_BANK_2=0x7BB0 |
| 366 | CONFIG_BANK_3=0x99B3 | 366 | CONFIG_BANK_3=0x99B2 |
| 367 | CONFIG_EBIU_MBSCTLVAL=0x0 | 367 | CONFIG_EBIU_MBSCTLVAL=0x0 |
| 368 | CONFIG_EBIU_MODEVAL=0x1 | 368 | CONFIG_EBIU_MODEVAL=0x1 |
| 369 | CONFIG_EBIU_FCTLVAL=0x6 | 369 | CONFIG_EBIU_FCTLVAL=0x6 |
| @@ -744,8 +744,8 @@ CONFIG_BFIN_OTP=y | |||
| 744 | # | 744 | # |
| 745 | CONFIG_SERIAL_BFIN=y | 745 | CONFIG_SERIAL_BFIN=y |
| 746 | CONFIG_SERIAL_BFIN_CONSOLE=y | 746 | CONFIG_SERIAL_BFIN_CONSOLE=y |
| 747 | # CONFIG_SERIAL_BFIN_DMA is not set | 747 | CONFIG_SERIAL_BFIN_DMA=y |
| 748 | CONFIG_SERIAL_BFIN_PIO=y | 748 | # CONFIG_SERIAL_BFIN_PIO is not set |
| 749 | # CONFIG_SERIAL_BFIN_UART0 is not set | 749 | # CONFIG_SERIAL_BFIN_UART0 is not set |
| 750 | CONFIG_SERIAL_BFIN_UART1=y | 750 | CONFIG_SERIAL_BFIN_UART1=y |
| 751 | # CONFIG_BFIN_UART1_CTSRTS is not set | 751 | # CONFIG_BFIN_UART1_CTSRTS is not set |
| @@ -1149,7 +1149,7 @@ CONFIG_RTC_DRV_BFIN=y | |||
| 1149 | CONFIG_INOTIFY=y | 1149 | CONFIG_INOTIFY=y |
| 1150 | CONFIG_INOTIFY_USER=y | 1150 | CONFIG_INOTIFY_USER=y |
| 1151 | # CONFIG_QUOTA is not set | 1151 | # CONFIG_QUOTA is not set |
| 1152 | CONFIG_DNOTIFY=y | 1152 | # CONFIG_DNOTIFY is not set |
| 1153 | # CONFIG_AUTOFS_FS is not set | 1153 | # CONFIG_AUTOFS_FS is not set |
| 1154 | # CONFIG_AUTOFS4_FS is not set | 1154 | # CONFIG_AUTOFS4_FS is not set |
| 1155 | # CONFIG_FUSE_FS is not set | 1155 | # CONFIG_FUSE_FS is not set |
| @@ -1332,7 +1332,7 @@ CONFIG_DEBUG_FS=y | |||
| 1332 | # CONFIG_DEBUG_KERNEL is not set | 1332 | # CONFIG_DEBUG_KERNEL is not set |
| 1333 | # CONFIG_DEBUG_BUGVERBOSE is not set | 1333 | # CONFIG_DEBUG_BUGVERBOSE is not set |
| 1334 | # CONFIG_SAMPLES is not set | 1334 | # CONFIG_SAMPLES is not set |
| 1335 | # CONFIG_DEBUG_MMRS is not set | 1335 | CONFIG_DEBUG_MMRS=y |
| 1336 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 1336 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
| 1337 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | 1337 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y |
| 1338 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | 1338 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y |
diff --git a/arch/blackfin/configs/CM-BF561_defconfig b/arch/blackfin/configs/CM-BF561_defconfig index daf00906c1ef..59c7cdbee904 100644 --- a/arch/blackfin/configs/CM-BF561_defconfig +++ b/arch/blackfin/configs/CM-BF561_defconfig | |||
| @@ -35,7 +35,8 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
| 35 | # CONFIG_USER_NS is not set | 35 | # CONFIG_USER_NS is not set |
| 36 | # CONFIG_PID_NS is not set | 36 | # CONFIG_PID_NS is not set |
| 37 | # CONFIG_AUDIT is not set | 37 | # CONFIG_AUDIT is not set |
| 38 | # CONFIG_IKCONFIG is not set | 38 | CONFIG_IKCONFIG=y |
| 39 | CONFIG_IKCONFIG_PROC=y | ||
| 39 | CONFIG_LOG_BUF_SHIFT=14 | 40 | CONFIG_LOG_BUF_SHIFT=14 |
| 40 | # CONFIG_CGROUPS is not set | 41 | # CONFIG_CGROUPS is not set |
| 41 | CONFIG_FAIR_GROUP_SCHED=y | 42 | CONFIG_FAIR_GROUP_SCHED=y |
| @@ -341,7 +342,7 @@ CONFIG_C_AMBEN_ALL=y | |||
| 341 | CONFIG_BANK_0=0x7BB0 | 342 | CONFIG_BANK_0=0x7BB0 |
| 342 | CONFIG_BANK_1=0x7BB0 | 343 | CONFIG_BANK_1=0x7BB0 |
| 343 | CONFIG_BANK_2=0x7BB0 | 344 | CONFIG_BANK_2=0x7BB0 |
| 344 | CONFIG_BANK_3=0xFFC3 | 345 | CONFIG_BANK_3=0xFFC2 |
| 345 | 346 | ||
| 346 | # | 347 | # |
| 347 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 348 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
| @@ -631,8 +632,7 @@ CONFIG_SERIAL_CORE=y | |||
| 631 | CONFIG_SERIAL_CORE_CONSOLE=y | 632 | CONFIG_SERIAL_CORE_CONSOLE=y |
| 632 | # CONFIG_SERIAL_BFIN_SPORT is not set | 633 | # CONFIG_SERIAL_BFIN_SPORT is not set |
| 633 | CONFIG_UNIX98_PTYS=y | 634 | CONFIG_UNIX98_PTYS=y |
| 634 | CONFIG_LEGACY_PTYS=y | 635 | # CONFIG_LEGACY_PTYS is not set |
| 635 | CONFIG_LEGACY_PTY_COUNT=256 | ||
| 636 | 636 | ||
| 637 | # | 637 | # |
| 638 | # CAN, the car bus and industrial fieldbus | 638 | # CAN, the car bus and industrial fieldbus |
| @@ -756,7 +756,7 @@ CONFIG_FS_MBCACHE=y | |||
| 756 | CONFIG_INOTIFY=y | 756 | CONFIG_INOTIFY=y |
| 757 | CONFIG_INOTIFY_USER=y | 757 | CONFIG_INOTIFY_USER=y |
| 758 | # CONFIG_QUOTA is not set | 758 | # CONFIG_QUOTA is not set |
| 759 | CONFIG_DNOTIFY=y | 759 | # CONFIG_DNOTIFY is not set |
| 760 | # CONFIG_AUTOFS_FS is not set | 760 | # CONFIG_AUTOFS_FS is not set |
| 761 | # CONFIG_AUTOFS4_FS is not set | 761 | # CONFIG_AUTOFS4_FS is not set |
| 762 | # CONFIG_FUSE_FS is not set | 762 | # CONFIG_FUSE_FS is not set |
| @@ -830,12 +830,12 @@ CONFIG_ENABLE_WARN_DEPRECATED=y | |||
| 830 | CONFIG_ENABLE_MUST_CHECK=y | 830 | CONFIG_ENABLE_MUST_CHECK=y |
| 831 | # CONFIG_MAGIC_SYSRQ is not set | 831 | # CONFIG_MAGIC_SYSRQ is not set |
| 832 | # CONFIG_UNUSED_SYMBOLS is not set | 832 | # CONFIG_UNUSED_SYMBOLS is not set |
| 833 | # CONFIG_DEBUG_FS is not set | 833 | CONFIG_DEBUG_FS=y |
| 834 | # CONFIG_HEADERS_CHECK is not set | 834 | # CONFIG_HEADERS_CHECK is not set |
| 835 | # CONFIG_DEBUG_KERNEL is not set | 835 | # CONFIG_DEBUG_KERNEL is not set |
| 836 | # CONFIG_DEBUG_BUGVERBOSE is not set | 836 | # CONFIG_DEBUG_BUGVERBOSE is not set |
| 837 | # CONFIG_SAMPLES is not set | 837 | # CONFIG_SAMPLES is not set |
| 838 | # CONFIG_DEBUG_MMRS is not set | 838 | CONFIG_DEBUG_MMRS=y |
| 839 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | 839 | CONFIG_DEBUG_HUNT_FOR_ZERO=y |
| 840 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | 840 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y |
| 841 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | 841 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y |
diff --git a/arch/blackfin/configs/H8606_defconfig b/arch/blackfin/configs/H8606_defconfig index 679c7483ea71..ba0bee90b7e1 100644 --- a/arch/blackfin/configs/H8606_defconfig +++ b/arch/blackfin/configs/H8606_defconfig | |||
| @@ -967,7 +967,7 @@ CONFIG_FS_MBCACHE=y | |||
| 967 | CONFIG_INOTIFY=y | 967 | CONFIG_INOTIFY=y |
| 968 | CONFIG_INOTIFY_USER=y | 968 | CONFIG_INOTIFY_USER=y |
| 969 | # CONFIG_QUOTA is not set | 969 | # CONFIG_QUOTA is not set |
| 970 | CONFIG_DNOTIFY=y | 970 | # CONFIG_DNOTIFY is not set |
| 971 | # CONFIG_AUTOFS_FS is not set | 971 | # CONFIG_AUTOFS_FS is not set |
| 972 | # CONFIG_AUTOFS4_FS is not set | 972 | # CONFIG_AUTOFS4_FS is not set |
| 973 | # CONFIG_FUSE_FS is not set | 973 | # CONFIG_FUSE_FS is not set |
diff --git a/arch/blackfin/configs/IP0X_defconfig b/arch/blackfin/configs/IP0X_defconfig index 4384a670a8b8..285d2241df26 100644 --- a/arch/blackfin/configs/IP0X_defconfig +++ b/arch/blackfin/configs/IP0X_defconfig | |||
| @@ -1066,7 +1066,7 @@ CONFIG_FS_MBCACHE=y | |||
| 1066 | CONFIG_INOTIFY=y | 1066 | CONFIG_INOTIFY=y |
| 1067 | CONFIG_INOTIFY_USER=y | 1067 | CONFIG_INOTIFY_USER=y |
| 1068 | # CONFIG_QUOTA is not set | 1068 | # CONFIG_QUOTA is not set |
| 1069 | CONFIG_DNOTIFY=y | 1069 | # CONFIG_DNOTIFY is not set |
| 1070 | # CONFIG_AUTOFS_FS is not set | 1070 | # CONFIG_AUTOFS_FS is not set |
| 1071 | # CONFIG_AUTOFS4_FS is not set | 1071 | # CONFIG_AUTOFS4_FS is not set |
| 1072 | # CONFIG_FUSE_FS is not set | 1072 | # CONFIG_FUSE_FS is not set |
diff --git a/arch/blackfin/configs/PNAV-10_defconfig b/arch/blackfin/configs/PNAV-10_defconfig index 87622ad9df47..bffca7de65d4 100644 --- a/arch/blackfin/configs/PNAV-10_defconfig +++ b/arch/blackfin/configs/PNAV-10_defconfig | |||
| @@ -294,7 +294,7 @@ CONFIG_C_AMBEN_ALL=y | |||
| 294 | CONFIG_BANK_0=0x7BB0 | 294 | CONFIG_BANK_0=0x7BB0 |
| 295 | CONFIG_BANK_1=0x33B0 | 295 | CONFIG_BANK_1=0x33B0 |
| 296 | CONFIG_BANK_2=0x33B0 | 296 | CONFIG_BANK_2=0x33B0 |
| 297 | CONFIG_BANK_3=0x99B3 | 297 | CONFIG_BANK_3=0x99B2 |
| 298 | 298 | ||
| 299 | # | 299 | # |
| 300 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | 300 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) |
| @@ -1080,7 +1080,7 @@ CONFIG_FS_MBCACHE=y | |||
| 1080 | CONFIG_INOTIFY=y | 1080 | CONFIG_INOTIFY=y |
| 1081 | CONFIG_INOTIFY_USER=y | 1081 | CONFIG_INOTIFY_USER=y |
| 1082 | # CONFIG_QUOTA is not set | 1082 | # CONFIG_QUOTA is not set |
| 1083 | CONFIG_DNOTIFY=y | 1083 | # CONFIG_DNOTIFY is not set |
| 1084 | # CONFIG_AUTOFS_FS is not set | 1084 | # CONFIG_AUTOFS_FS is not set |
| 1085 | # CONFIG_AUTOFS4_FS is not set | 1085 | # CONFIG_AUTOFS4_FS is not set |
| 1086 | # CONFIG_FUSE_FS is not set | 1086 | # CONFIG_FUSE_FS is not set |
diff --git a/arch/blackfin/configs/SRV1_defconfig b/arch/blackfin/configs/SRV1_defconfig index 951ea0412576..b1309f878fcd 100644 --- a/arch/blackfin/configs/SRV1_defconfig +++ b/arch/blackfin/configs/SRV1_defconfig | |||
| @@ -1067,7 +1067,7 @@ CONFIG_FS_MBCACHE=y | |||
| 1067 | CONFIG_INOTIFY=y | 1067 | CONFIG_INOTIFY=y |
| 1068 | CONFIG_INOTIFY_USER=y | 1068 | CONFIG_INOTIFY_USER=y |
| 1069 | # CONFIG_QUOTA is not set | 1069 | # CONFIG_QUOTA is not set |
| 1070 | CONFIG_DNOTIFY=y | 1070 | # CONFIG_DNOTIFY is not set |
| 1071 | # CONFIG_AUTOFS_FS is not set | 1071 | # CONFIG_AUTOFS_FS is not set |
| 1072 | # CONFIG_AUTOFS4_FS is not set | 1072 | # CONFIG_AUTOFS4_FS is not set |
| 1073 | # CONFIG_FUSE_FS is not set | 1073 | # CONFIG_FUSE_FS is not set |
diff --git a/arch/blackfin/kernel/Makefile b/arch/blackfin/kernel/Makefile index 6140cd69c782..606adc78aa85 100644 --- a/arch/blackfin/kernel/Makefile +++ b/arch/blackfin/kernel/Makefile | |||
| @@ -18,6 +18,5 @@ endif | |||
| 18 | obj-$(CONFIG_BFIN_GPTIMERS) += gptimers.o | 18 | obj-$(CONFIG_BFIN_GPTIMERS) += gptimers.o |
| 19 | obj-$(CONFIG_MODULES) += module.o | 19 | obj-$(CONFIG_MODULES) += module.o |
| 20 | obj-$(CONFIG_BFIN_DMA_5XX) += bfin_dma_5xx.o | 20 | obj-$(CONFIG_BFIN_DMA_5XX) += bfin_dma_5xx.o |
| 21 | obj-$(CONFIG_DUAL_CORE_TEST_MODULE) += dualcore_test.o | ||
| 22 | obj-$(CONFIG_KGDB) += kgdb.o | 21 | obj-$(CONFIG_KGDB) += kgdb.o |
| 23 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | 22 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o |
diff --git a/arch/blackfin/kernel/bfin_dma_5xx.c b/arch/blackfin/kernel/bfin_dma_5xx.c index d54f19085f37..93229b3d6e3e 100644 --- a/arch/blackfin/kernel/bfin_dma_5xx.c +++ b/arch/blackfin/kernel/bfin_dma_5xx.c | |||
| @@ -472,6 +472,40 @@ unsigned long get_dma_curr_addr(unsigned int channel) | |||
| 472 | } | 472 | } |
| 473 | EXPORT_SYMBOL(get_dma_curr_addr); | 473 | EXPORT_SYMBOL(get_dma_curr_addr); |
| 474 | 474 | ||
| 475 | #ifdef CONFIG_PM | ||
| 476 | int blackfin_dma_suspend(void) | ||
| 477 | { | ||
| 478 | int i; | ||
| 479 | |||
| 480 | #ifdef CONFIG_BF561 /* IMDMA channels doesn't have a PERIPHERAL_MAP */ | ||
| 481 | for (i = 0; i <= CH_MEM_STREAM3_SRC; i++) { | ||
| 482 | #else | ||
| 483 | for (i = 0; i < MAX_BLACKFIN_DMA_CHANNEL; i++) { | ||
| 484 | #endif | ||
| 485 | if (dma_ch[i].chan_status == DMA_CHANNEL_ENABLED) { | ||
| 486 | printk(KERN_ERR "DMA Channel %d failed to suspend\n", i); | ||
| 487 | return -EBUSY; | ||
| 488 | } | ||
| 489 | |||
| 490 | dma_ch[i].saved_peripheral_map = dma_ch[i].regs->peripheral_map; | ||
| 491 | } | ||
| 492 | |||
| 493 | return 0; | ||
| 494 | } | ||
| 495 | |||
| 496 | void blackfin_dma_resume(void) | ||
| 497 | { | ||
| 498 | int i; | ||
| 499 | |||
| 500 | #ifdef CONFIG_BF561 /* IMDMA channels doesn't have a PERIPHERAL_MAP */ | ||
| 501 | for (i = 0; i <= CH_MEM_STREAM3_SRC; i++) | ||
| 502 | #else | ||
| 503 | for (i = 0; i < MAX_BLACKFIN_DMA_CHANNEL; i++) | ||
| 504 | #endif | ||
| 505 | dma_ch[i].regs->peripheral_map = dma_ch[i].saved_peripheral_map; | ||
| 506 | } | ||
| 507 | #endif | ||
| 508 | |||
| 475 | static void *__dma_memcpy(void *dest, const void *src, size_t size) | 509 | static void *__dma_memcpy(void *dest, const void *src, size_t size) |
| 476 | { | 510 | { |
| 477 | int direction; /* 1 - address decrease, 0 - address increase */ | 511 | int direction; /* 1 - address decrease, 0 - address increase */ |
diff --git a/arch/blackfin/kernel/bfin_gpio.c b/arch/blackfin/kernel/bfin_gpio.c index b6d89d1644cc..ecbd141e0ef2 100644 --- a/arch/blackfin/kernel/bfin_gpio.c +++ b/arch/blackfin/kernel/bfin_gpio.c | |||
| @@ -186,7 +186,10 @@ static struct str_ident { | |||
| 186 | char name[RESOURCE_LABEL_SIZE]; | 186 | char name[RESOURCE_LABEL_SIZE]; |
| 187 | } str_ident[MAX_RESOURCES]; | 187 | } str_ident[MAX_RESOURCES]; |
| 188 | 188 | ||
| 189 | #if defined(CONFIG_PM) && !defined(CONFIG_BF54x) | 189 | #if defined(CONFIG_PM) |
| 190 | #if defined(CONFIG_BF54x) | ||
| 191 | static struct gpio_port_s gpio_bank_saved[gpio_bank(MAX_BLACKFIN_GPIOS)]; | ||
| 192 | #else | ||
| 190 | static unsigned short wakeup_map[gpio_bank(MAX_BLACKFIN_GPIOS)]; | 193 | static unsigned short wakeup_map[gpio_bank(MAX_BLACKFIN_GPIOS)]; |
| 191 | static unsigned char wakeup_flags_map[MAX_BLACKFIN_GPIOS]; | 194 | static unsigned char wakeup_flags_map[MAX_BLACKFIN_GPIOS]; |
| 192 | static struct gpio_port_s gpio_bank_saved[gpio_bank(MAX_BLACKFIN_GPIOS)]; | 195 | static struct gpio_port_s gpio_bank_saved[gpio_bank(MAX_BLACKFIN_GPIOS)]; |
| @@ -206,7 +209,7 @@ static unsigned int sic_iwr_irqs[gpio_bank(MAX_BLACKFIN_GPIOS)] = {IRQ_PORTF_INT | |||
| 206 | #ifdef BF561_FAMILY | 209 | #ifdef BF561_FAMILY |
| 207 | static unsigned int sic_iwr_irqs[gpio_bank(MAX_BLACKFIN_GPIOS)] = {IRQ_PROG0_INTB, IRQ_PROG1_INTB, IRQ_PROG2_INTB}; | 210 | static unsigned int sic_iwr_irqs[gpio_bank(MAX_BLACKFIN_GPIOS)] = {IRQ_PROG0_INTB, IRQ_PROG1_INTB, IRQ_PROG2_INTB}; |
| 208 | #endif | 211 | #endif |
| 209 | 212 | #endif | |
| 210 | #endif /* CONFIG_PM */ | 213 | #endif /* CONFIG_PM */ |
| 211 | 214 | ||
| 212 | #if defined(BF548_FAMILY) | 215 | #if defined(BF548_FAMILY) |
| @@ -667,7 +670,7 @@ static int bfin_gpio_wakeup_type(unsigned gpio, unsigned char type) | |||
| 667 | return 0; | 670 | return 0; |
| 668 | } | 671 | } |
| 669 | 672 | ||
| 670 | u32 bfin_pm_setup(void) | 673 | u32 bfin_pm_standby_setup(void) |
| 671 | { | 674 | { |
| 672 | u16 bank, mask, i, gpio; | 675 | u16 bank, mask, i, gpio; |
| 673 | 676 | ||
| @@ -679,7 +682,7 @@ u32 bfin_pm_setup(void) | |||
| 679 | gpio_bankb[bank]->maskb = 0; | 682 | gpio_bankb[bank]->maskb = 0; |
| 680 | 683 | ||
| 681 | if (mask) { | 684 | if (mask) { |
| 682 | #ifdef BF537_FAMILY | 685 | #if defined(BF527_FAMILY) || defined(BF537_FAMILY) |
| 683 | gpio_bank_saved[bank].fer = *port_fer[bank]; | 686 | gpio_bank_saved[bank].fer = *port_fer[bank]; |
| 684 | #endif | 687 | #endif |
| 685 | gpio_bank_saved[bank].inen = gpio_bankb[bank]->inen; | 688 | gpio_bank_saved[bank].inen = gpio_bankb[bank]->inen; |
| @@ -715,7 +718,7 @@ u32 bfin_pm_setup(void) | |||
| 715 | return 0; | 718 | return 0; |
| 716 | } | 719 | } |
| 717 | 720 | ||
| 718 | void bfin_pm_restore(void) | 721 | void bfin_pm_standby_restore(void) |
| 719 | { | 722 | { |
| 720 | u16 bank, mask, i; | 723 | u16 bank, mask, i; |
| 721 | 724 | ||
| @@ -724,7 +727,7 @@ void bfin_pm_restore(void) | |||
| 724 | bank = gpio_bank(i); | 727 | bank = gpio_bank(i); |
| 725 | 728 | ||
| 726 | if (mask) { | 729 | if (mask) { |
| 727 | #ifdef BF537_FAMILY | 730 | #if defined(BF527_FAMILY) || defined(BF537_FAMILY) |
| 728 | *port_fer[bank] = gpio_bank_saved[bank].fer; | 731 | *port_fer[bank] = gpio_bank_saved[bank].fer; |
| 729 | #endif | 732 | #endif |
| 730 | gpio_bankb[bank]->inen = gpio_bank_saved[bank].inen; | 733 | gpio_bankb[bank]->inen = gpio_bank_saved[bank].inen; |
| @@ -743,8 +746,111 @@ void bfin_pm_restore(void) | |||
| 743 | AWA_DUMMY_READ(maskb); | 746 | AWA_DUMMY_READ(maskb); |
| 744 | } | 747 | } |
| 745 | 748 | ||
| 749 | void bfin_gpio_pm_hibernate_suspend(void) | ||
| 750 | { | ||
| 751 | int i, bank; | ||
| 752 | |||
| 753 | for (i = 0; i < MAX_BLACKFIN_GPIOS; i += GPIO_BANKSIZE) { | ||
| 754 | bank = gpio_bank(i); | ||
| 755 | |||
| 756 | #if defined(BF527_FAMILY) || defined(BF537_FAMILY) | ||
| 757 | gpio_bank_saved[bank].fer = *port_fer[bank]; | ||
| 758 | #ifdef BF527_FAMILY | ||
| 759 | gpio_bank_saved[bank].mux = *port_mux[bank]; | ||
| 760 | #else | ||
| 761 | if (bank == 0) | ||
| 762 | gpio_bank_saved[bank].mux = bfin_read_PORT_MUX(); | ||
| 763 | #endif | ||
| 764 | #endif | ||
| 765 | gpio_bank_saved[bank].data = gpio_bankb[bank]->data; | ||
| 766 | gpio_bank_saved[bank].inen = gpio_bankb[bank]->inen; | ||
| 767 | gpio_bank_saved[bank].polar = gpio_bankb[bank]->polar; | ||
| 768 | gpio_bank_saved[bank].dir = gpio_bankb[bank]->dir; | ||
| 769 | gpio_bank_saved[bank].edge = gpio_bankb[bank]->edge; | ||
| 770 | gpio_bank_saved[bank].both = gpio_bankb[bank]->both; | ||
| 771 | gpio_bank_saved[bank].maska = gpio_bankb[bank]->maska; | ||
| 772 | } | ||
| 773 | |||
| 774 | AWA_DUMMY_READ(maska); | ||
| 775 | } | ||
| 776 | |||
| 777 | void bfin_gpio_pm_hibernate_restore(void) | ||
| 778 | { | ||
| 779 | int i, bank; | ||
| 780 | |||
| 781 | for (i = 0; i < MAX_BLACKFIN_GPIOS; i += GPIO_BANKSIZE) { | ||
| 782 | bank = gpio_bank(i); | ||
| 783 | |||
| 784 | #if defined(BF527_FAMILY) || defined(BF537_FAMILY) | ||
| 785 | #ifdef BF527_FAMILY | ||
| 786 | *port_mux[bank] = gpio_bank_saved[bank].mux; | ||
| 787 | #else | ||
| 788 | if (bank == 0) | ||
| 789 | bfin_write_PORT_MUX(gpio_bank_saved[bank].mux); | ||
| 790 | #endif | ||
| 791 | *port_fer[bank] = gpio_bank_saved[bank].fer; | ||
| 792 | #endif | ||
| 793 | gpio_bankb[bank]->inen = gpio_bank_saved[bank].inen; | ||
| 794 | gpio_bankb[bank]->dir = gpio_bank_saved[bank].dir; | ||
| 795 | gpio_bankb[bank]->polar = gpio_bank_saved[bank].polar; | ||
| 796 | gpio_bankb[bank]->edge = gpio_bank_saved[bank].edge; | ||
| 797 | gpio_bankb[bank]->both = gpio_bank_saved[bank].both; | ||
| 798 | |||
| 799 | gpio_bankb[bank]->data_set = gpio_bank_saved[bank].data | ||
| 800 | | gpio_bank_saved[bank].dir; | ||
| 801 | |||
| 802 | gpio_bankb[bank]->maska = gpio_bank_saved[bank].maska; | ||
| 803 | } | ||
| 804 | AWA_DUMMY_READ(maska); | ||
| 805 | } | ||
| 806 | |||
| 807 | |||
| 746 | #endif | 808 | #endif |
| 747 | #else /* BF548_FAMILY */ | 809 | #else /* BF548_FAMILY */ |
| 810 | #ifdef CONFIG_PM | ||
| 811 | |||
| 812 | u32 bfin_pm_standby_setup(void) | ||
| 813 | { | ||
| 814 | return 0; | ||
| 815 | } | ||
| 816 | |||
| 817 | void bfin_pm_standby_restore(void) | ||
| 818 | { | ||
| 819 | |||
| 820 | } | ||
| 821 | |||
| 822 | void bfin_gpio_pm_hibernate_suspend(void) | ||
| 823 | { | ||
| 824 | int i, bank; | ||
| 825 | |||
| 826 | for (i = 0; i < MAX_BLACKFIN_GPIOS; i += GPIO_BANKSIZE) { | ||
| 827 | bank = gpio_bank(i); | ||
| 828 | |||
| 829 | gpio_bank_saved[bank].fer = gpio_array[bank]->port_fer; | ||
| 830 | gpio_bank_saved[bank].mux = gpio_array[bank]->port_mux; | ||
| 831 | gpio_bank_saved[bank].data = gpio_array[bank]->port_data; | ||
| 832 | gpio_bank_saved[bank].data = gpio_array[bank]->port_data; | ||
| 833 | gpio_bank_saved[bank].inen = gpio_array[bank]->port_inen; | ||
| 834 | gpio_bank_saved[bank].dir = gpio_array[bank]->port_dir_set; | ||
| 835 | } | ||
| 836 | } | ||
| 837 | |||
| 838 | void bfin_gpio_pm_hibernate_restore(void) | ||
| 839 | { | ||
| 840 | int i, bank; | ||
| 841 | |||
| 842 | for (i = 0; i < MAX_BLACKFIN_GPIOS; i += GPIO_BANKSIZE) { | ||
| 843 | bank = gpio_bank(i); | ||
| 844 | |||
| 845 | gpio_array[bank]->port_mux = gpio_bank_saved[bank].mux; | ||
| 846 | gpio_array[bank]->port_fer = gpio_bank_saved[bank].fer; | ||
| 847 | gpio_array[bank]->port_inen = gpio_bank_saved[bank].inen; | ||
| 848 | gpio_array[bank]->port_dir_set = gpio_bank_saved[bank].dir; | ||
| 849 | gpio_array[bank]->port_set = gpio_bank_saved[bank].data | ||
| 850 | | gpio_bank_saved[bank].dir; | ||
| 851 | } | ||
| 852 | } | ||
| 853 | #endif | ||
| 748 | 854 | ||
| 749 | unsigned short get_gpio_dir(unsigned gpio) | 855 | unsigned short get_gpio_dir(unsigned gpio) |
| 750 | { | 856 | { |
diff --git a/arch/blackfin/kernel/cplb-nompu/cplbhdlr.S b/arch/blackfin/kernel/cplb-nompu/cplbhdlr.S index 2788532de72b..ecbabc0a1fed 100644 --- a/arch/blackfin/kernel/cplb-nompu/cplbhdlr.S +++ b/arch/blackfin/kernel/cplb-nompu/cplbhdlr.S | |||
| @@ -125,6 +125,6 @@ ENTRY(__cplb_hdr) | |||
| 125 | SP += -12; | 125 | SP += -12; |
| 126 | call _panic_cplb_error; | 126 | call _panic_cplb_error; |
| 127 | SP += 12; | 127 | SP += 12; |
| 128 | JUMP _handle_bad_cplb; | 128 | JUMP.L _handle_bad_cplb; |
| 129 | 129 | ||
| 130 | ENDPROC(__cplb_hdr) | 130 | ENDPROC(__cplb_hdr) |
diff --git a/arch/blackfin/kernel/cplb-nompu/cplbinit.c b/arch/blackfin/kernel/cplb-nompu/cplbinit.c index 6be0c50122e8..224e7cc30bc5 100644 --- a/arch/blackfin/kernel/cplb-nompu/cplbinit.c +++ b/arch/blackfin/kernel/cplb-nompu/cplbinit.c | |||
| @@ -26,11 +26,7 @@ | |||
| 26 | #include <asm/cplb.h> | 26 | #include <asm/cplb.h> |
| 27 | #include <asm/cplbinit.h> | 27 | #include <asm/cplbinit.h> |
| 28 | 28 | ||
| 29 | #ifdef CONFIG_MAX_MEM_SIZE | 29 | #define CPLB_MEM CONFIG_MAX_MEM_SIZE |
| 30 | # define CPLB_MEM CONFIG_MAX_MEM_SIZE | ||
| 31 | #else | ||
| 32 | # define CPLB_MEM CONFIG_MEM_SIZE | ||
| 33 | #endif | ||
| 34 | 30 | ||
| 35 | /* | 31 | /* |
| 36 | * Number of required data CPLB switchtable entries | 32 | * Number of required data CPLB switchtable entries |
diff --git a/arch/blackfin/kernel/dualcore_test.c b/arch/blackfin/kernel/dualcore_test.c deleted file mode 100644 index 0fcba74840b7..000000000000 --- a/arch/blackfin/kernel/dualcore_test.c +++ /dev/null | |||
| @@ -1,49 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * File: arch/blackfin/kernel/dualcore_test.c | ||
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | ||
| 6 | * Created: | ||
| 7 | * Description: Small test code for CoreB on a BF561 | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | ||
| 29 | |||
| 30 | #include <linux/init.h> | ||
| 31 | #include <linux/module.h> | ||
| 32 | |||
| 33 | static int *testarg = (int *)0xfeb00000; | ||
| 34 | |||
| 35 | static int test_init(void) | ||
| 36 | { | ||
| 37 | *testarg = 1; | ||
| 38 | printk(KERN_INFO "Dual core test module inserted: set testarg = [%d]\n @ [%p]\n", | ||
| 39 | *testarg, testarg); | ||
| 40 | return 0; | ||
| 41 | } | ||
| 42 | |||
| 43 | static void test_exit(void) | ||
| 44 | { | ||
| 45 | printk(KERN_INFO "Dual core test module removed: testarg = [%d]\n", *testarg); | ||
| 46 | } | ||
| 47 | |||
| 48 | module_init(test_init); | ||
| 49 | module_exit(test_exit); | ||
diff --git a/arch/blackfin/kernel/entry.S b/arch/blackfin/kernel/entry.S index 65f4e67a65c4..31bd9bf3efae 100644 --- a/arch/blackfin/kernel/entry.S +++ b/arch/blackfin/kernel/entry.S | |||
| @@ -64,6 +64,11 @@ ENDPROC(_ret_from_fork) | |||
| 64 | 64 | ||
| 65 | ENTRY(_sys_fork) | 65 | ENTRY(_sys_fork) |
| 66 | r0 = -EINVAL; | 66 | r0 = -EINVAL; |
| 67 | #if (ANOMALY_05000371) | ||
| 68 | nop; | ||
| 69 | nop; | ||
| 70 | nop; | ||
| 71 | #endif | ||
| 67 | rts; | 72 | rts; |
| 68 | ENDPROC(_sys_fork) | 73 | ENDPROC(_sys_fork) |
| 69 | 74 | ||
diff --git a/arch/blackfin/kernel/kgdb.c b/arch/blackfin/kernel/kgdb.c index a9c15515bfd7..a1f9641a6425 100644 --- a/arch/blackfin/kernel/kgdb.c +++ b/arch/blackfin/kernel/kgdb.c | |||
| @@ -203,6 +203,8 @@ struct hw_breakpoint { | |||
| 203 | 203 | ||
| 204 | int kgdb_arch_init(void) | 204 | int kgdb_arch_init(void) |
| 205 | { | 205 | { |
| 206 | debugger_step = 0; | ||
| 207 | |||
| 206 | kgdb_remove_all_hw_break(); | 208 | kgdb_remove_all_hw_break(); |
| 207 | return 0; | 209 | return 0; |
| 208 | } | 210 | } |
| @@ -368,6 +370,7 @@ int kgdb_arch_handle_exception(int exceptionVector, int signo, | |||
| 368 | char *ptr; | 370 | char *ptr; |
| 369 | int newPC; | 371 | int newPC; |
| 370 | int wp_status; | 372 | int wp_status; |
| 373 | int i; | ||
| 371 | 374 | ||
| 372 | switch (remcom_in_buffer[0]) { | 375 | switch (remcom_in_buffer[0]) { |
| 373 | case 'c': | 376 | case 'c': |
| @@ -392,7 +395,18 @@ int kgdb_arch_handle_exception(int exceptionVector, int signo, | |||
| 392 | /* set the trace bit if we're stepping */ | 395 | /* set the trace bit if we're stepping */ |
| 393 | if (remcom_in_buffer[0] == 's') { | 396 | if (remcom_in_buffer[0] == 's') { |
| 394 | linux_regs->syscfg |= 0x1; | 397 | linux_regs->syscfg |= 0x1; |
| 395 | debugger_step = 1; | 398 | debugger_step = linux_regs->ipend; |
| 399 | debugger_step >>= 6; | ||
| 400 | for (i = 10; i > 0; i--, debugger_step >>= 1) | ||
| 401 | if (debugger_step & 1) | ||
| 402 | break; | ||
| 403 | /* i indicate event priority of current stopped instruction | ||
| 404 | * user space instruction is 0, IVG15 is 1, IVTMR is 10. | ||
| 405 | * debugger_step > 0 means in single step mode | ||
| 406 | */ | ||
| 407 | debugger_step = i + 1; | ||
| 408 | } else { | ||
| 409 | debugger_step = 0; | ||
| 396 | } | 410 | } |
| 397 | 411 | ||
| 398 | wp_status = bfin_read_WPSTAT(); | 412 | wp_status = bfin_read_WPSTAT(); |
diff --git a/arch/blackfin/kernel/module.c b/arch/blackfin/kernel/module.c index 14a42848f37f..e1bebc80a5bf 100644 --- a/arch/blackfin/kernel/module.c +++ b/arch/blackfin/kernel/module.c | |||
| @@ -173,7 +173,7 @@ module_frob_arch_sections(Elf_Ehdr * hdr, Elf_Shdr * sechdrs, | |||
| 173 | for (s = sechdrs; s < sechdrs_end; ++s) { | 173 | for (s = sechdrs; s < sechdrs_end; ++s) { |
| 174 | if ((strcmp(".l1.text", secstrings + s->sh_name) == 0) || | 174 | if ((strcmp(".l1.text", secstrings + s->sh_name) == 0) || |
| 175 | ((strcmp(".text", secstrings + s->sh_name) == 0) && | 175 | ((strcmp(".text", secstrings + s->sh_name) == 0) && |
| 176 | (hdr->e_flags & FLG_CODE_IN_L1) && (s->sh_size > 0))) { | 176 | (hdr->e_flags & EF_BFIN_CODE_IN_L1) && (s->sh_size > 0))) { |
| 177 | dest = l1_inst_sram_alloc(s->sh_size); | 177 | dest = l1_inst_sram_alloc(s->sh_size); |
| 178 | mod->arch.text_l1 = dest; | 178 | mod->arch.text_l1 = dest; |
| 179 | if (dest == NULL) { | 179 | if (dest == NULL) { |
| @@ -188,7 +188,7 @@ module_frob_arch_sections(Elf_Ehdr * hdr, Elf_Shdr * sechdrs, | |||
| 188 | } | 188 | } |
| 189 | if ((strcmp(".l1.data", secstrings + s->sh_name) == 0) || | 189 | if ((strcmp(".l1.data", secstrings + s->sh_name) == 0) || |
| 190 | ((strcmp(".data", secstrings + s->sh_name) == 0) && | 190 | ((strcmp(".data", secstrings + s->sh_name) == 0) && |
| 191 | (hdr->e_flags & FLG_DATA_IN_L1) && (s->sh_size > 0))) { | 191 | (hdr->e_flags & EF_BFIN_DATA_IN_L1) && (s->sh_size > 0))) { |
| 192 | dest = l1_data_sram_alloc(s->sh_size); | 192 | dest = l1_data_sram_alloc(s->sh_size); |
| 193 | mod->arch.data_a_l1 = dest; | 193 | mod->arch.data_a_l1 = dest; |
| 194 | if (dest == NULL) { | 194 | if (dest == NULL) { |
| @@ -203,7 +203,7 @@ module_frob_arch_sections(Elf_Ehdr * hdr, Elf_Shdr * sechdrs, | |||
| 203 | } | 203 | } |
| 204 | if (strcmp(".l1.bss", secstrings + s->sh_name) == 0 || | 204 | if (strcmp(".l1.bss", secstrings + s->sh_name) == 0 || |
| 205 | ((strcmp(".bss", secstrings + s->sh_name) == 0) && | 205 | ((strcmp(".bss", secstrings + s->sh_name) == 0) && |
| 206 | (hdr->e_flags & FLG_DATA_IN_L1) && (s->sh_size > 0))) { | 206 | (hdr->e_flags & EF_BFIN_DATA_IN_L1) && (s->sh_size > 0))) { |
| 207 | dest = l1_data_sram_alloc(s->sh_size); | 207 | dest = l1_data_sram_alloc(s->sh_size); |
| 208 | mod->arch.bss_a_l1 = dest; | 208 | mod->arch.bss_a_l1 = dest; |
| 209 | if (dest == NULL) { | 209 | if (dest == NULL) { |
| @@ -242,6 +242,51 @@ module_frob_arch_sections(Elf_Ehdr * hdr, Elf_Shdr * sechdrs, | |||
| 242 | s->sh_flags &= ~SHF_ALLOC; | 242 | s->sh_flags &= ~SHF_ALLOC; |
| 243 | s->sh_addr = (unsigned long)dest; | 243 | s->sh_addr = (unsigned long)dest; |
| 244 | } | 244 | } |
| 245 | if ((strcmp(".l2.text", secstrings + s->sh_name) == 0) || | ||
| 246 | ((strcmp(".text", secstrings + s->sh_name) == 0) && | ||
| 247 | (hdr->e_flags & EF_BFIN_CODE_IN_L2) && (s->sh_size > 0))) { | ||
| 248 | dest = l2_sram_alloc(s->sh_size); | ||
| 249 | mod->arch.text_l2 = dest; | ||
| 250 | if (dest == NULL) { | ||
| 251 | printk(KERN_ERR | ||
| 252 | "module %s: L2 SRAM allocation failed\n", | ||
| 253 | mod->name); | ||
| 254 | return -1; | ||
| 255 | } | ||
| 256 | memcpy(dest, (void *)s->sh_addr, s->sh_size); | ||
| 257 | s->sh_flags &= ~SHF_ALLOC; | ||
| 258 | s->sh_addr = (unsigned long)dest; | ||
| 259 | } | ||
| 260 | if ((strcmp(".l2.data", secstrings + s->sh_name) == 0) || | ||
| 261 | ((strcmp(".data", secstrings + s->sh_name) == 0) && | ||
| 262 | (hdr->e_flags & EF_BFIN_DATA_IN_L2) && (s->sh_size > 0))) { | ||
| 263 | dest = l2_sram_alloc(s->sh_size); | ||
| 264 | mod->arch.data_l2 = dest; | ||
| 265 | if (dest == NULL) { | ||
| 266 | printk(KERN_ERR | ||
| 267 | "module %s: L2 SRAM allocation failed\n", | ||
| 268 | mod->name); | ||
| 269 | return -1; | ||
| 270 | } | ||
| 271 | memcpy(dest, (void *)s->sh_addr, s->sh_size); | ||
| 272 | s->sh_flags &= ~SHF_ALLOC; | ||
| 273 | s->sh_addr = (unsigned long)dest; | ||
| 274 | } | ||
| 275 | if (strcmp(".l2.bss", secstrings + s->sh_name) == 0 || | ||
| 276 | ((strcmp(".bss", secstrings + s->sh_name) == 0) && | ||
| 277 | (hdr->e_flags & EF_BFIN_DATA_IN_L2) && (s->sh_size > 0))) { | ||
| 278 | dest = l2_sram_alloc(s->sh_size); | ||
| 279 | mod->arch.bss_l2 = dest; | ||
| 280 | if (dest == NULL) { | ||
| 281 | printk(KERN_ERR | ||
| 282 | "module %s: L2 SRAM allocation failed\n", | ||
| 283 | mod->name); | ||
| 284 | return -1; | ||
| 285 | } | ||
| 286 | memset(dest, 0, s->sh_size); | ||
| 287 | s->sh_flags &= ~SHF_ALLOC; | ||
| 288 | s->sh_addr = (unsigned long)dest; | ||
| 289 | } | ||
| 245 | } | 290 | } |
| 246 | return 0; | 291 | return 0; |
| 247 | } | 292 | } |
| @@ -411,9 +456,10 @@ module_finalize(const Elf_Ehdr * hdr, | |||
| 411 | continue; | 456 | continue; |
| 412 | 457 | ||
| 413 | if ((sechdrs[i].sh_type == SHT_RELA) && | 458 | if ((sechdrs[i].sh_type == SHT_RELA) && |
| 414 | ((strcmp(".rela.l1.text", secstrings + sechdrs[i].sh_name) == 0) || | 459 | ((strcmp(".rela.l2.text", secstrings + sechdrs[i].sh_name) == 0) || |
| 460 | (strcmp(".rela.l1.text", secstrings + sechdrs[i].sh_name) == 0) || | ||
| 415 | ((strcmp(".rela.text", secstrings + sechdrs[i].sh_name) == 0) && | 461 | ((strcmp(".rela.text", secstrings + sechdrs[i].sh_name) == 0) && |
| 416 | (hdr->e_flags & FLG_CODE_IN_L1)))) { | 462 | (hdr->e_flags & (EF_BFIN_CODE_IN_L1|EF_BFIN_CODE_IN_L2))))) { |
| 417 | apply_relocate_add((Elf_Shdr *) sechdrs, strtab, | 463 | apply_relocate_add((Elf_Shdr *) sechdrs, strtab, |
| 418 | symindex, i, mod); | 464 | symindex, i, mod); |
| 419 | } | 465 | } |
| @@ -423,14 +469,12 @@ module_finalize(const Elf_Ehdr * hdr, | |||
| 423 | 469 | ||
| 424 | void module_arch_cleanup(struct module *mod) | 470 | void module_arch_cleanup(struct module *mod) |
| 425 | { | 471 | { |
| 426 | if (mod->arch.text_l1) | 472 | l1_inst_sram_free(mod->arch.text_l1); |
| 427 | l1_inst_sram_free((void *)mod->arch.text_l1); | 473 | l1_data_A_sram_free(mod->arch.data_a_l1); |
| 428 | if (mod->arch.data_a_l1) | 474 | l1_data_A_sram_free(mod->arch.bss_a_l1); |
| 429 | l1_data_sram_free((void *)mod->arch.data_a_l1); | 475 | l1_data_B_sram_free(mod->arch.data_b_l1); |
| 430 | if (mod->arch.bss_a_l1) | 476 | l1_data_B_sram_free(mod->arch.bss_b_l1); |
| 431 | l1_data_sram_free((void *)mod->arch.bss_a_l1); | 477 | l2_sram_free(mod->arch.text_l2); |
| 432 | if (mod->arch.data_b_l1) | 478 | l2_sram_free(mod->arch.data_l2); |
| 433 | l1_data_B_sram_free((void *)mod->arch.data_b_l1); | 479 | l2_sram_free(mod->arch.bss_l2); |
| 434 | if (mod->arch.bss_b_l1) | ||
| 435 | l1_data_B_sram_free((void *)mod->arch.bss_b_l1); | ||
| 436 | } | 480 | } |
diff --git a/arch/blackfin/kernel/ptrace.c b/arch/blackfin/kernel/ptrace.c index f51ab088098e..bf1a51d8e608 100644 --- a/arch/blackfin/kernel/ptrace.c +++ b/arch/blackfin/kernel/ptrace.c | |||
| @@ -220,6 +220,20 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data) | |||
| 220 | copied = sizeof(tmp); | 220 | copied = sizeof(tmp); |
| 221 | } else | 221 | } else |
| 222 | #endif | 222 | #endif |
| 223 | #if L1_DATA_A_LENGTH != 0 | ||
| 224 | if (addr + add >= L1_DATA_A_START | ||
| 225 | && addr + add + sizeof(tmp) <= L1_DATA_A_START + L1_DATA_A_LENGTH) { | ||
| 226 | memcpy(&tmp, (const void *)(addr + add), sizeof(tmp)); | ||
| 227 | copied = sizeof(tmp); | ||
| 228 | } else | ||
| 229 | #endif | ||
| 230 | #if L1_DATA_B_LENGTH != 0 | ||
| 231 | if (addr + add >= L1_DATA_B_START | ||
| 232 | && addr + add + sizeof(tmp) <= L1_DATA_B_START + L1_DATA_B_LENGTH) { | ||
| 233 | memcpy(&tmp, (const void *)(addr + add), sizeof(tmp)); | ||
| 234 | copied = sizeof(tmp); | ||
| 235 | } else | ||
| 236 | #endif | ||
| 223 | if (addr + add >= FIXED_CODE_START | 237 | if (addr + add >= FIXED_CODE_START |
| 224 | && addr + add + sizeof(tmp) <= FIXED_CODE_END) { | 238 | && addr + add + sizeof(tmp) <= FIXED_CODE_END) { |
| 225 | memcpy(&tmp, (const void *)(addr + add), sizeof(tmp)); | 239 | memcpy(&tmp, (const void *)(addr + add), sizeof(tmp)); |
| @@ -290,6 +304,20 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data) | |||
| 290 | copied = sizeof(data); | 304 | copied = sizeof(data); |
| 291 | } else | 305 | } else |
| 292 | #endif | 306 | #endif |
| 307 | #if L1_DATA_A_LENGTH != 0 | ||
| 308 | if (addr + add >= L1_DATA_A_START | ||
| 309 | && addr + add + sizeof(data) <= L1_DATA_A_START + L1_DATA_A_LENGTH) { | ||
| 310 | memcpy((void *)(addr + add), &data, sizeof(data)); | ||
| 311 | copied = sizeof(data); | ||
| 312 | } else | ||
| 313 | #endif | ||
| 314 | #if L1_DATA_B_LENGTH != 0 | ||
| 315 | if (addr + add >= L1_DATA_B_START | ||
| 316 | && addr + add + sizeof(data) <= L1_DATA_B_START + L1_DATA_B_LENGTH) { | ||
| 317 | memcpy((void *)(addr + add), &data, sizeof(data)); | ||
| 318 | copied = sizeof(data); | ||
| 319 | } else | ||
| 320 | #endif | ||
| 293 | if (addr + add >= FIXED_CODE_START | 321 | if (addr + add >= FIXED_CODE_START |
| 294 | && addr + add + sizeof(data) <= FIXED_CODE_END) { | 322 | && addr + add + sizeof(data) <= FIXED_CODE_END) { |
| 295 | memcpy((void *)(addr + add), &data, sizeof(data)); | 323 | memcpy((void *)(addr + add), &data, sizeof(data)); |
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index 8efea004aecb..23e637eb78da 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c | |||
| @@ -104,6 +104,7 @@ void __init bf53x_relocate_l1_mem(void) | |||
| 104 | unsigned long l1_code_length; | 104 | unsigned long l1_code_length; |
| 105 | unsigned long l1_data_a_length; | 105 | unsigned long l1_data_a_length; |
| 106 | unsigned long l1_data_b_length; | 106 | unsigned long l1_data_b_length; |
| 107 | unsigned long l2_length; | ||
| 107 | 108 | ||
| 108 | l1_code_length = _etext_l1 - _stext_l1; | 109 | l1_code_length = _etext_l1 - _stext_l1; |
| 109 | if (l1_code_length > L1_CODE_LENGTH) | 110 | if (l1_code_length > L1_CODE_LENGTH) |
| @@ -129,6 +130,15 @@ void __init bf53x_relocate_l1_mem(void) | |||
| 129 | /* Copy _sdata_b_l1 to _ebss_b_l1 to L1 data bank B SRAM */ | 130 | /* Copy _sdata_b_l1 to _ebss_b_l1 to L1 data bank B SRAM */ |
| 130 | dma_memcpy(_sdata_b_l1, _l1_lma_start + l1_code_length + | 131 | dma_memcpy(_sdata_b_l1, _l1_lma_start + l1_code_length + |
| 131 | l1_data_a_length, l1_data_b_length); | 132 | l1_data_a_length, l1_data_b_length); |
| 133 | |||
| 134 | #ifdef L2_LENGTH | ||
| 135 | l2_length = _ebss_l2 - _stext_l2; | ||
| 136 | if (l2_length > L2_LENGTH) | ||
| 137 | panic("L2 SRAM Overflow\n"); | ||
| 138 | |||
| 139 | /* Copy _stext_l2 to _edata_l2 to L2 SRAM */ | ||
| 140 | dma_memcpy(_stext_l2, _l2_lma_start, l2_length); | ||
| 141 | #endif | ||
| 132 | } | 142 | } |
| 133 | 143 | ||
| 134 | /* add_memory_region to memmap */ | 144 | /* add_memory_region to memmap */ |
| @@ -664,11 +674,8 @@ static __init void setup_bootmem_allocator(void) | |||
| 664 | }) | 674 | }) |
| 665 | static inline int __init get_mem_size(void) | 675 | static inline int __init get_mem_size(void) |
| 666 | { | 676 | { |
| 667 | #ifdef CONFIG_MEM_SIZE | 677 | #if defined(EBIU_SDBCTL) |
| 668 | return CONFIG_MEM_SIZE; | 678 | # if defined(BF561_FAMILY) |
| 669 | #else | ||
| 670 | # if defined(EBIU_SDBCTL) | ||
| 671 | # if defined(BF561_FAMILY) | ||
| 672 | int ret = 0; | 679 | int ret = 0; |
| 673 | u32 sdbctl = bfin_read_EBIU_SDBCTL(); | 680 | u32 sdbctl = bfin_read_EBIU_SDBCTL(); |
| 674 | ret += EBSZ_TO_MEG(sdbctl >> 0); | 681 | ret += EBSZ_TO_MEG(sdbctl >> 0); |
| @@ -676,10 +683,10 @@ static inline int __init get_mem_size(void) | |||
| 676 | ret += EBSZ_TO_MEG(sdbctl >> 16); | 683 | ret += EBSZ_TO_MEG(sdbctl >> 16); |
| 677 | ret += EBSZ_TO_MEG(sdbctl >> 24); | 684 | ret += EBSZ_TO_MEG(sdbctl >> 24); |
| 678 | return ret; | 685 | return ret; |
| 679 | # else | 686 | # else |
| 680 | return EBSZ_TO_MEG(bfin_read_EBIU_SDBCTL()); | 687 | return EBSZ_TO_MEG(bfin_read_EBIU_SDBCTL()); |
| 681 | # endif | 688 | # endif |
| 682 | # elif defined(EBIU_DDRCTL1) | 689 | #elif defined(EBIU_DDRCTL1) |
| 683 | u32 ddrctl = bfin_read_EBIU_DDRCTL1(); | 690 | u32 ddrctl = bfin_read_EBIU_DDRCTL1(); |
| 684 | int ret = 0; | 691 | int ret = 0; |
| 685 | switch (ddrctl & 0xc0000) { | 692 | switch (ddrctl & 0xc0000) { |
| @@ -693,8 +700,9 @@ static inline int __init get_mem_size(void) | |||
| 693 | case DEVWD_8: ret *= 2; | 700 | case DEVWD_8: ret *= 2; |
| 694 | case DEVWD_16: break; | 701 | case DEVWD_16: break; |
| 695 | } | 702 | } |
| 703 | if ((ddrctl & 0xc000) == 0x4000) | ||
| 704 | ret *= 2; | ||
| 696 | return ret; | 705 | return ret; |
| 697 | # endif | ||
| 698 | #endif | 706 | #endif |
| 699 | BUG(); | 707 | BUG(); |
| 700 | } | 708 | } |
| @@ -763,6 +771,9 @@ void __init setup_arch(char **cmdline_p) | |||
| 763 | 771 | ||
| 764 | _bfin_swrst = bfin_read_SWRST(); | 772 | _bfin_swrst = bfin_read_SWRST(); |
| 765 | 773 | ||
| 774 | /* If we double fault, reset the system - otherwise we hang forever */ | ||
| 775 | bfin_write_SWRST(DOUBLE_FAULT); | ||
| 776 | |||
| 766 | if (_bfin_swrst & RESET_DOUBLE) | 777 | if (_bfin_swrst & RESET_DOUBLE) |
| 767 | printk(KERN_INFO "Recovering from Double Fault event\n"); | 778 | printk(KERN_INFO "Recovering from Double Fault event\n"); |
| 768 | else if (_bfin_swrst & RESET_WDOG) | 779 | else if (_bfin_swrst & RESET_WDOG) |
| @@ -842,38 +853,55 @@ static int __init topology_init(void) | |||
| 842 | 853 | ||
| 843 | subsys_initcall(topology_init); | 854 | subsys_initcall(topology_init); |
| 844 | 855 | ||
| 856 | /* Get the voltage input multiplier */ | ||
| 857 | static u_long cached_vco_pll_ctl, cached_vco; | ||
| 845 | static u_long get_vco(void) | 858 | static u_long get_vco(void) |
| 846 | { | 859 | { |
| 847 | u_long msel; | 860 | u_long msel; |
| 848 | u_long vco; | ||
| 849 | 861 | ||
| 850 | msel = (bfin_read_PLL_CTL() >> 9) & 0x3F; | 862 | u_long pll_ctl = bfin_read_PLL_CTL(); |
| 863 | if (pll_ctl == cached_vco_pll_ctl) | ||
| 864 | return cached_vco; | ||
| 865 | else | ||
| 866 | cached_vco_pll_ctl = pll_ctl; | ||
| 867 | |||
| 868 | msel = (pll_ctl >> 9) & 0x3F; | ||
| 851 | if (0 == msel) | 869 | if (0 == msel) |
| 852 | msel = 64; | 870 | msel = 64; |
| 853 | 871 | ||
| 854 | vco = CONFIG_CLKIN_HZ; | 872 | cached_vco = CONFIG_CLKIN_HZ; |
| 855 | vco >>= (1 & bfin_read_PLL_CTL()); /* DF bit */ | 873 | cached_vco >>= (1 & pll_ctl); /* DF bit */ |
| 856 | vco = msel * vco; | 874 | cached_vco *= msel; |
| 857 | return vco; | 875 | return cached_vco; |
| 858 | } | 876 | } |
| 859 | 877 | ||
| 860 | /* Get the Core clock */ | 878 | /* Get the Core clock */ |
| 879 | static u_long cached_cclk_pll_div, cached_cclk; | ||
| 861 | u_long get_cclk(void) | 880 | u_long get_cclk(void) |
| 862 | { | 881 | { |
| 863 | u_long csel, ssel; | 882 | u_long csel, ssel; |
| 883 | |||
| 864 | if (bfin_read_PLL_STAT() & 0x1) | 884 | if (bfin_read_PLL_STAT() & 0x1) |
| 865 | return CONFIG_CLKIN_HZ; | 885 | return CONFIG_CLKIN_HZ; |
| 866 | 886 | ||
| 867 | ssel = bfin_read_PLL_DIV(); | 887 | ssel = bfin_read_PLL_DIV(); |
| 888 | if (ssel == cached_cclk_pll_div) | ||
| 889 | return cached_cclk; | ||
| 890 | else | ||
| 891 | cached_cclk_pll_div = ssel; | ||
| 892 | |||
| 868 | csel = ((ssel >> 4) & 0x03); | 893 | csel = ((ssel >> 4) & 0x03); |
| 869 | ssel &= 0xf; | 894 | ssel &= 0xf; |
| 870 | if (ssel && ssel < (1 << csel)) /* SCLK > CCLK */ | 895 | if (ssel && ssel < (1 << csel)) /* SCLK > CCLK */ |
| 871 | return get_vco() / ssel; | 896 | cached_cclk = get_vco() / ssel; |
| 872 | return get_vco() >> csel; | 897 | else |
| 898 | cached_cclk = get_vco() >> csel; | ||
| 899 | return cached_cclk; | ||
| 873 | } | 900 | } |
| 874 | EXPORT_SYMBOL(get_cclk); | 901 | EXPORT_SYMBOL(get_cclk); |
| 875 | 902 | ||
| 876 | /* Get the System clock */ | 903 | /* Get the System clock */ |
| 904 | static u_long cached_sclk_pll_div, cached_sclk; | ||
| 877 | u_long get_sclk(void) | 905 | u_long get_sclk(void) |
| 878 | { | 906 | { |
| 879 | u_long ssel; | 907 | u_long ssel; |
| @@ -881,13 +909,20 @@ u_long get_sclk(void) | |||
| 881 | if (bfin_read_PLL_STAT() & 0x1) | 909 | if (bfin_read_PLL_STAT() & 0x1) |
| 882 | return CONFIG_CLKIN_HZ; | 910 | return CONFIG_CLKIN_HZ; |
| 883 | 911 | ||
| 884 | ssel = (bfin_read_PLL_DIV() & 0xf); | 912 | ssel = bfin_read_PLL_DIV(); |
| 913 | if (ssel == cached_sclk_pll_div) | ||
| 914 | return cached_sclk; | ||
| 915 | else | ||
| 916 | cached_sclk_pll_div = ssel; | ||
| 917 | |||
| 918 | ssel &= 0xf; | ||
| 885 | if (0 == ssel) { | 919 | if (0 == ssel) { |
| 886 | printk(KERN_WARNING "Invalid System Clock\n"); | 920 | printk(KERN_WARNING "Invalid System Clock\n"); |
| 887 | ssel = 1; | 921 | ssel = 1; |
| 888 | } | 922 | } |
| 889 | 923 | ||
| 890 | return get_vco() / ssel; | 924 | cached_sclk = get_vco() / ssel; |
| 925 | return cached_sclk; | ||
| 891 | } | 926 | } |
| 892 | EXPORT_SYMBOL(get_sclk); | 927 | EXPORT_SYMBOL(get_sclk); |
| 893 | 928 | ||
| @@ -916,7 +951,7 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
| 916 | uint32_t revid; | 951 | uint32_t revid; |
| 917 | 952 | ||
| 918 | u_long cclk = 0, sclk = 0; | 953 | u_long cclk = 0, sclk = 0; |
| 919 | u_int dcache_size = 0, dsup_banks = 0; | 954 | u_int icache_size = BFIN_ICACHESIZE / 1024, dcache_size = 0, dsup_banks = 0; |
| 920 | 955 | ||
| 921 | cpu = CPU; | 956 | cpu = CPU; |
| 922 | mmu = "none"; | 957 | mmu = "none"; |
| @@ -985,12 +1020,15 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
| 985 | } | 1020 | } |
| 986 | 1021 | ||
| 987 | /* Is it turned on? */ | 1022 | /* Is it turned on? */ |
| 988 | if (!((bfin_read_DMEM_CONTROL()) & (ENDCPLB | DMC_ENABLE))) | 1023 | if ((bfin_read_DMEM_CONTROL() & (ENDCPLB | DMC_ENABLE)) != (ENDCPLB | DMC_ENABLE)) |
| 989 | dcache_size = 0; | 1024 | dcache_size = 0; |
| 990 | 1025 | ||
| 1026 | if ((bfin_read_IMEM_CONTROL() & (IMC | ENICPLB)) == (IMC | ENICPLB)) | ||
| 1027 | icache_size = 0; | ||
| 1028 | |||
| 991 | seq_printf(m, "cache size\t: %d KB(L1 icache) " | 1029 | seq_printf(m, "cache size\t: %d KB(L1 icache) " |
| 992 | "%d KB(L1 dcache-%s) %d KB(L2 cache)\n", | 1030 | "%d KB(L1 dcache-%s) %d KB(L2 cache)\n", |
| 993 | BFIN_ICACHESIZE / 1024, dcache_size, | 1031 | icache_size, dcache_size, |
| 994 | #if defined CONFIG_BFIN_WB | 1032 | #if defined CONFIG_BFIN_WB |
| 995 | "wb" | 1033 | "wb" |
| 996 | #elif defined CONFIG_BFIN_WT | 1034 | #elif defined CONFIG_BFIN_WT |
| @@ -1000,8 +1038,12 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
| 1000 | 1038 | ||
| 1001 | seq_printf(m, "%s\n", cache); | 1039 | seq_printf(m, "%s\n", cache); |
| 1002 | 1040 | ||
| 1003 | seq_printf(m, "icache setup\t: %d Sub-banks/%d Ways, %d Lines/Way\n", | 1041 | if (icache_size) |
| 1004 | BFIN_ISUBBANKS, BFIN_IWAYS, BFIN_ILINES); | 1042 | seq_printf(m, "icache setup\t: %d Sub-banks/%d Ways, %d Lines/Way\n", |
| 1043 | BFIN_ISUBBANKS, BFIN_IWAYS, BFIN_ILINES); | ||
| 1044 | else | ||
| 1045 | seq_printf(m, "icache setup\t: off\n"); | ||
| 1046 | |||
| 1005 | seq_printf(m, | 1047 | seq_printf(m, |
| 1006 | "dcache setup\t: %d Super-banks/%d Sub-banks/%d Ways, %d Lines/Way\n", | 1048 | "dcache setup\t: %d Super-banks/%d Sub-banks/%d Ways, %d Lines/Way\n", |
| 1007 | dsup_banks, BFIN_DSUBBANKS, BFIN_DWAYS, | 1049 | dsup_banks, BFIN_DSUBBANKS, BFIN_DWAYS, |
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c index f061f5181623..ad922ab91543 100644 --- a/arch/blackfin/kernel/traps.c +++ b/arch/blackfin/kernel/traps.c | |||
| @@ -69,8 +69,6 @@ void __init trap_init(void) | |||
| 69 | 69 | ||
| 70 | unsigned long saved_icplb_fault_addr, saved_dcplb_fault_addr; | 70 | unsigned long saved_icplb_fault_addr, saved_dcplb_fault_addr; |
| 71 | 71 | ||
| 72 | int kstack_depth_to_print = 48; | ||
| 73 | |||
| 74 | static void decode_address(char *buf, unsigned long address) | 72 | static void decode_address(char *buf, unsigned long address) |
| 75 | { | 73 | { |
| 76 | struct vm_list_struct *vml; | 74 | struct vm_list_struct *vml; |
| @@ -163,6 +161,9 @@ static void decode_address(char *buf, unsigned long address) | |||
| 163 | if (!in_atomic) | 161 | if (!in_atomic) |
| 164 | mmput(mm); | 162 | mmput(mm); |
| 165 | 163 | ||
| 164 | if (!strlen(buf)) | ||
| 165 | sprintf(buf, "<0x%p> [ %s ] dynamic memory", (void *)address, name); | ||
| 166 | |||
| 166 | goto done; | 167 | goto done; |
| 167 | } | 168 | } |
| 168 | 169 | ||
| @@ -173,7 +174,7 @@ static void decode_address(char *buf, unsigned long address) | |||
| 173 | } | 174 | } |
| 174 | 175 | ||
| 175 | /* we were unable to find this address anywhere */ | 176 | /* we were unable to find this address anywhere */ |
| 176 | sprintf(buf, "<0x%p> /* unknown address */", (void *)address); | 177 | sprintf(buf, "<0x%p> /* kernel dynamic memory */", (void *)address); |
| 177 | 178 | ||
| 178 | done: | 179 | done: |
| 179 | write_unlock_irqrestore(&tasklist_lock, flags); | 180 | write_unlock_irqrestore(&tasklist_lock, flags); |
| @@ -494,7 +495,7 @@ asmlinkage void trap_c(struct pt_regs *fp) | |||
| 494 | BUG_ON(sig == 0); | 495 | BUG_ON(sig == 0); |
| 495 | 496 | ||
| 496 | if (sig != SIGTRAP) { | 497 | if (sig != SIGTRAP) { |
| 497 | unsigned long stack; | 498 | unsigned long *stack; |
| 498 | dump_bfin_process(fp); | 499 | dump_bfin_process(fp); |
| 499 | dump_bfin_mem(fp); | 500 | dump_bfin_mem(fp); |
| 500 | show_regs(fp); | 501 | show_regs(fp); |
| @@ -508,14 +509,23 @@ asmlinkage void trap_c(struct pt_regs *fp) | |||
| 508 | else | 509 | else |
| 509 | #endif | 510 | #endif |
| 510 | dump_bfin_trace_buffer(); | 511 | dump_bfin_trace_buffer(); |
| 511 | show_stack(current, &stack); | 512 | |
| 512 | if (oops_in_progress) { | 513 | if (oops_in_progress) { |
| 514 | /* Dump the current kernel stack */ | ||
| 515 | printk(KERN_NOTICE "\n" KERN_NOTICE "Kernel Stack\n"); | ||
| 516 | show_stack(current, NULL); | ||
| 517 | |||
| 513 | print_modules(); | 518 | print_modules(); |
| 514 | #ifndef CONFIG_ACCESS_CHECK | 519 | #ifndef CONFIG_ACCESS_CHECK |
| 515 | printk(KERN_EMERG "Please turn on " | 520 | printk(KERN_EMERG "Please turn on " |
| 516 | "CONFIG_ACCESS_CHECK\n"); | 521 | "CONFIG_ACCESS_CHECK\n"); |
| 517 | #endif | 522 | #endif |
| 518 | panic("Kernel exception"); | 523 | panic("Kernel exception"); |
| 524 | } else { | ||
| 525 | /* Dump the user space stack */ | ||
| 526 | stack = (unsigned long *)rdusp(); | ||
| 527 | printk(KERN_NOTICE "Userspace Stack\n"); | ||
| 528 | show_stack(NULL, stack); | ||
| 519 | } | 529 | } |
| 520 | } | 530 | } |
| 521 | 531 | ||
| @@ -532,11 +542,71 @@ asmlinkage void trap_c(struct pt_regs *fp) | |||
| 532 | 542 | ||
| 533 | #define EXPAND_LEN ((1 << CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN) * 256 - 1) | 543 | #define EXPAND_LEN ((1 << CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN) * 256 - 1) |
| 534 | 544 | ||
| 545 | /* | ||
| 546 | * Similar to get_user, do some address checking, then dereference | ||
| 547 | * Return true on sucess, false on bad address | ||
| 548 | */ | ||
| 549 | bool get_instruction(unsigned short *val, unsigned short *address) | ||
| 550 | { | ||
| 551 | |||
| 552 | unsigned long addr; | ||
| 553 | |||
| 554 | addr = (unsigned long)address; | ||
| 555 | |||
| 556 | /* Check for odd addresses */ | ||
| 557 | if (addr & 0x1) | ||
| 558 | return false; | ||
| 559 | |||
| 560 | /* Check that things do not wrap around */ | ||
| 561 | if (addr > (addr + 2)) | ||
| 562 | return false; | ||
| 563 | |||
| 564 | /* | ||
| 565 | * Since we are in exception context, we need to do a little address checking | ||
| 566 | * We need to make sure we are only accessing valid memory, and | ||
| 567 | * we don't read something in the async space that can hang forever | ||
| 568 | */ | ||
| 569 | if ((addr >= FIXED_CODE_START && (addr + 2) <= physical_mem_end) || | ||
| 570 | #ifdef L2_START | ||
| 571 | (addr >= L2_START && (addr + 2) <= (L2_START + L2_LENGTH)) || | ||
| 572 | #endif | ||
| 573 | (addr >= BOOT_ROM_START && (addr + 2) <= (BOOT_ROM_START + BOOT_ROM_LENGTH)) || | ||
| 574 | #if L1_DATA_A_LENGTH != 0 | ||
| 575 | (addr >= L1_DATA_A_START && (addr + 2) <= (L1_DATA_A_START + L1_DATA_A_LENGTH)) || | ||
| 576 | #endif | ||
| 577 | #if L1_DATA_B_LENGTH != 0 | ||
| 578 | (addr >= L1_DATA_B_START && (addr + 2) <= (L1_DATA_B_START + L1_DATA_B_LENGTH)) || | ||
| 579 | #endif | ||
| 580 | (addr >= L1_SCRATCH_START && (addr + 2) <= (L1_SCRATCH_START + L1_SCRATCH_LENGTH)) || | ||
| 581 | (!(bfin_read_EBIU_AMBCTL0() & B0RDYEN) && | ||
| 582 | addr >= ASYNC_BANK0_BASE && (addr + 2) <= (ASYNC_BANK0_BASE + ASYNC_BANK0_SIZE)) || | ||
| 583 | (!(bfin_read_EBIU_AMBCTL0() & B1RDYEN) && | ||
| 584 | addr >= ASYNC_BANK1_BASE && (addr + 2) <= (ASYNC_BANK1_BASE + ASYNC_BANK1_SIZE)) || | ||
| 585 | (!(bfin_read_EBIU_AMBCTL1() & B2RDYEN) && | ||
| 586 | addr >= ASYNC_BANK2_BASE && (addr + 2) <= (ASYNC_BANK2_BASE + ASYNC_BANK1_SIZE)) || | ||
| 587 | (!(bfin_read_EBIU_AMBCTL1() & B3RDYEN) && | ||
| 588 | addr >= ASYNC_BANK3_BASE && (addr + 2) <= (ASYNC_BANK3_BASE + ASYNC_BANK1_SIZE))) { | ||
| 589 | *val = *address; | ||
| 590 | return true; | ||
| 591 | } | ||
| 592 | |||
| 593 | #if L1_CODE_LENGTH != 0 | ||
| 594 | if (addr >= L1_CODE_START && (addr + 2) <= (L1_CODE_START + L1_CODE_LENGTH)) { | ||
| 595 | dma_memcpy(val, address, 2); | ||
| 596 | return true; | ||
| 597 | } | ||
| 598 | #endif | ||
| 599 | |||
| 600 | |||
| 601 | return false; | ||
| 602 | } | ||
| 603 | |||
| 535 | void dump_bfin_trace_buffer(void) | 604 | void dump_bfin_trace_buffer(void) |
| 536 | { | 605 | { |
| 537 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON | 606 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON |
| 538 | int tflags, i = 0; | 607 | int tflags, i = 0; |
| 539 | char buf[150]; | 608 | char buf[150]; |
| 609 | unsigned short val = 0, *addr; | ||
| 540 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_EXPAND | 610 | #ifdef CONFIG_DEBUG_BFIN_HWTRACE_EXPAND |
| 541 | int j, index; | 611 | int j, index; |
| 542 | #endif | 612 | #endif |
| @@ -549,8 +619,42 @@ void dump_bfin_trace_buffer(void) | |||
| 549 | for (; bfin_read_TBUFSTAT() & TBUFCNT; i++) { | 619 | for (; bfin_read_TBUFSTAT() & TBUFCNT; i++) { |
| 550 | decode_address(buf, (unsigned long)bfin_read_TBUF()); | 620 | decode_address(buf, (unsigned long)bfin_read_TBUF()); |
| 551 | printk(KERN_NOTICE "%4i Target : %s\n", i, buf); | 621 | printk(KERN_NOTICE "%4i Target : %s\n", i, buf); |
| 552 | decode_address(buf, (unsigned long)bfin_read_TBUF()); | 622 | addr = (unsigned short *)bfin_read_TBUF(); |
| 553 | printk(KERN_NOTICE " Source : %s\n", buf); | 623 | decode_address(buf, (unsigned long)addr); |
| 624 | printk(KERN_NOTICE " Source : %s ", buf); | ||
| 625 | if (get_instruction(&val, addr)) { | ||
| 626 | if (val == 0x0010) | ||
| 627 | printk("RTS"); | ||
| 628 | else if (val == 0x0011) | ||
| 629 | printk("RTI"); | ||
| 630 | else if (val == 0x0012) | ||
| 631 | printk("RTX"); | ||
| 632 | else if (val >= 0x0050 && val <= 0x0057) | ||
| 633 | printk("JUMP (P%i)", val & 7); | ||
| 634 | else if (val >= 0x0060 && val <= 0x0067) | ||
| 635 | printk("CALL (P%i)", val & 7); | ||
| 636 | else if (val >= 0x0070 && val <= 0x0077) | ||
| 637 | printk("CALL (PC+P%i)", val & 7); | ||
| 638 | else if (val >= 0x0080 && val <= 0x0087) | ||
| 639 | printk("JUMP (PC+P%i)", val & 7); | ||
| 640 | else if ((val >= 0x1000 && val <= 0x13FF) || | ||
| 641 | (val >= 0x1800 && val <= 0x1BFF)) | ||
| 642 | printk("IF !CC JUMP"); | ||
| 643 | else if ((val >= 0x1400 && val <= 0x17ff) || | ||
| 644 | (val >= 0x1c00 && val <= 0x1fff)) | ||
| 645 | printk("IF CC JUMP"); | ||
| 646 | else if (val >= 0x2000 && val <= 0x2fff) | ||
| 647 | printk("JUMP.S"); | ||
| 648 | else if (val >= 0xe080 && val <= 0xe0ff) | ||
| 649 | printk("LSETUP"); | ||
| 650 | else if (val >= 0xe200 && val <= 0xe2ff) | ||
| 651 | printk("JUMP.L"); | ||
| 652 | else if (val >= 0xe300 && val <= 0xe3ff) | ||
| 653 | printk("CALL pcrel"); | ||
| 654 | else | ||
| 655 | printk("0x%04x", val); | ||
| 656 | } | ||
| 657 | printk("\n"); | ||
| 554 | } | 658 | } |
| 555 | } | 659 | } |
| 556 | 660 | ||
| @@ -582,59 +686,151 @@ void dump_bfin_trace_buffer(void) | |||
| 582 | } | 686 | } |
| 583 | EXPORT_SYMBOL(dump_bfin_trace_buffer); | 687 | EXPORT_SYMBOL(dump_bfin_trace_buffer); |
| 584 | 688 | ||
| 585 | static void show_trace(struct task_struct *tsk, unsigned long *sp) | 689 | /* |
| 690 | * Checks to see if the address pointed to is either a | ||
| 691 | * 16-bit CALL instruction, or a 32-bit CALL instruction | ||
| 692 | */ | ||
| 693 | bool is_bfin_call(unsigned short *addr) | ||
| 586 | { | 694 | { |
| 587 | unsigned long addr; | 695 | unsigned short opcode = 0, *ins_addr; |
| 696 | ins_addr = (unsigned short *)addr; | ||
| 588 | 697 | ||
| 589 | printk(KERN_NOTICE "\n" KERN_NOTICE "Call Trace:\n"); | 698 | if (!get_instruction(&opcode, ins_addr)) |
| 590 | 699 | return false; | |
| 591 | while (!kstack_end(sp)) { | ||
| 592 | addr = *sp++; | ||
| 593 | /* | ||
| 594 | * If the address is either in the text segment of the | ||
| 595 | * kernel, or in the region which contains vmalloc'ed | ||
| 596 | * memory, it *may* be the address of a calling | ||
| 597 | * routine; if so, print it so that someone tracing | ||
| 598 | * down the cause of the crash will be able to figure | ||
| 599 | * out the call path that was taken. | ||
| 600 | */ | ||
| 601 | if (kernel_text_address(addr)) | ||
| 602 | print_ip_sym(addr); | ||
| 603 | } | ||
| 604 | 700 | ||
| 605 | printk(KERN_NOTICE "\n"); | 701 | if ((opcode >= 0x0060 && opcode <= 0x0067) || |
| 606 | } | 702 | (opcode >= 0x0070 && opcode <= 0x0077)) |
| 703 | return true; | ||
| 704 | |||
| 705 | ins_addr--; | ||
| 706 | if (!get_instruction(&opcode, ins_addr)) | ||
| 707 | return false; | ||
| 607 | 708 | ||
| 709 | if (opcode >= 0xE300 && opcode <= 0xE3FF) | ||
| 710 | return true; | ||
| 711 | |||
| 712 | return false; | ||
| 713 | |||
| 714 | } | ||
| 608 | void show_stack(struct task_struct *task, unsigned long *stack) | 715 | void show_stack(struct task_struct *task, unsigned long *stack) |
| 609 | { | 716 | { |
| 610 | unsigned long *endstack, addr; | 717 | unsigned int *addr, *endstack, *fp = 0, *frame; |
| 611 | int i; | 718 | unsigned short *ins_addr; |
| 719 | char buf[150]; | ||
| 720 | unsigned int i, j, ret_addr, frame_no = 0; | ||
| 612 | 721 | ||
| 613 | /* Cannot call dump_bfin_trace_buffer() here as show_stack() is | 722 | /* |
| 614 | * called externally in some places in the kernel. | 723 | * If we have been passed a specific stack, use that one otherwise |
| 724 | * if we have been passed a task structure, use that, otherwise | ||
| 725 | * use the stack of where the variable "stack" exists | ||
| 615 | */ | 726 | */ |
| 616 | 727 | ||
| 617 | if (!stack) { | 728 | if (stack == NULL) { |
| 618 | if (task) | 729 | if (task) { |
| 730 | /* We know this is a kernel stack, so this is the start/end */ | ||
| 619 | stack = (unsigned long *)task->thread.ksp; | 731 | stack = (unsigned long *)task->thread.ksp; |
| 620 | else | 732 | endstack = (unsigned int *)(((unsigned int)(stack) & ~(THREAD_SIZE - 1)) + THREAD_SIZE); |
| 733 | } else { | ||
| 734 | /* print out the existing stack info */ | ||
| 621 | stack = (unsigned long *)&stack; | 735 | stack = (unsigned long *)&stack; |
| 736 | endstack = (unsigned int *)PAGE_ALIGN((unsigned int)stack); | ||
| 737 | } | ||
| 738 | } else | ||
| 739 | endstack = (unsigned int *)PAGE_ALIGN((unsigned int)stack); | ||
| 740 | |||
| 741 | decode_address(buf, (unsigned int)stack); | ||
| 742 | printk(KERN_NOTICE "Stack info:\n" KERN_NOTICE " SP: [0x%p] %s\n", stack, buf); | ||
| 743 | addr = (unsigned int *)((unsigned int)stack & ~0x3F); | ||
| 744 | |||
| 745 | /* First thing is to look for a frame pointer */ | ||
| 746 | for (addr = (unsigned int *)((unsigned int)stack & ~0xF), i = 0; | ||
| 747 | addr < endstack; addr++, i++) { | ||
| 748 | if (*addr & 0x1) | ||
| 749 | continue; | ||
| 750 | ins_addr = (unsigned short *)*addr; | ||
| 751 | ins_addr--; | ||
| 752 | if (is_bfin_call(ins_addr)) | ||
| 753 | fp = addr - 1; | ||
| 754 | |||
| 755 | if (fp) { | ||
| 756 | /* Let's check to see if it is a frame pointer */ | ||
| 757 | while (fp >= (addr - 1) && fp < endstack && fp) | ||
| 758 | fp = (unsigned int *)*fp; | ||
| 759 | if (fp == 0 || fp == endstack) { | ||
| 760 | fp = addr - 1; | ||
| 761 | break; | ||
| 762 | } | ||
| 763 | fp = 0; | ||
| 764 | } | ||
| 622 | } | 765 | } |
| 766 | if (fp) { | ||
| 767 | frame = fp; | ||
| 768 | printk(" FP: (0x%p)\n", fp); | ||
| 769 | } else | ||
| 770 | frame = 0; | ||
| 623 | 771 | ||
| 624 | addr = (unsigned long)stack; | 772 | /* |
| 625 | endstack = (unsigned long *)PAGE_ALIGN(addr); | 773 | * Now that we think we know where things are, we |
| 774 | * walk the stack again, this time printing things out | ||
| 775 | * incase there is no frame pointer, we still look for | ||
| 776 | * valid return addresses | ||
| 777 | */ | ||
| 626 | 778 | ||
| 627 | printk(KERN_NOTICE "Stack from %08lx:", (unsigned long)stack); | 779 | /* First time print out data, next time, print out symbols */ |
| 628 | for (i = 0; i < kstack_depth_to_print; i++) { | 780 | for (j = 0; j <= 1; j++) { |
| 629 | if (stack + 1 > endstack) | 781 | if (j) |
| 630 | break; | 782 | printk(KERN_NOTICE "Return addresses in stack:\n"); |
| 631 | if (i % 8 == 0) | 783 | else |
| 632 | printk("\n" KERN_NOTICE " "); | 784 | printk(KERN_NOTICE " Memory from 0x%08lx to %p", ((long unsigned int)stack & ~0xF), endstack); |
| 633 | printk(" %08lx", *stack++); | 785 | |
| 786 | fp = frame; | ||
| 787 | frame_no = 0; | ||
| 788 | |||
| 789 | for (addr = (unsigned int *)((unsigned int)stack & ~0xF), i = 0; | ||
| 790 | addr <= endstack; addr++, i++) { | ||
| 791 | |||
| 792 | ret_addr = 0; | ||
| 793 | if (!j && i % 8 == 0) | ||
| 794 | printk("\n" KERN_NOTICE "%p:",addr); | ||
| 795 | |||
| 796 | /* if it is an odd address, or zero, just skip it */ | ||
| 797 | if (*addr & 0x1 || !*addr) | ||
| 798 | goto print; | ||
| 799 | |||
| 800 | ins_addr = (unsigned short *)*addr; | ||
| 801 | |||
| 802 | /* Go back one instruction, and see if it is a CALL */ | ||
| 803 | ins_addr--; | ||
| 804 | ret_addr = is_bfin_call(ins_addr); | ||
| 805 | print: | ||
| 806 | if (!j && stack == (unsigned long *)addr) | ||
| 807 | printk("[%08x]", *addr); | ||
| 808 | else if (ret_addr) | ||
| 809 | if (j) { | ||
| 810 | decode_address(buf, (unsigned int)*addr); | ||
| 811 | if (frame == addr) { | ||
| 812 | printk(KERN_NOTICE " frame %2i : %s\n", frame_no, buf); | ||
| 813 | continue; | ||
| 814 | } | ||
| 815 | printk(KERN_NOTICE " address : %s\n", buf); | ||
| 816 | } else | ||
| 817 | printk("<%08x>", *addr); | ||
| 818 | else if (fp == addr) { | ||
| 819 | if (j) | ||
| 820 | frame = addr+1; | ||
| 821 | else | ||
| 822 | printk("(%08x)", *addr); | ||
| 823 | |||
| 824 | fp = (unsigned int *)*addr; | ||
| 825 | frame_no++; | ||
| 826 | |||
| 827 | } else if (!j) | ||
| 828 | printk(" %08x ", *addr); | ||
| 829 | } | ||
| 830 | if (!j) | ||
| 831 | printk("\n"); | ||
| 634 | } | 832 | } |
| 635 | printk("\n"); | ||
| 636 | 833 | ||
| 637 | show_trace(task, stack); | ||
| 638 | } | 834 | } |
| 639 | 835 | ||
| 640 | void dump_stack(void) | 836 | void dump_stack(void) |
| @@ -715,19 +911,9 @@ void dump_bfin_mem(struct pt_regs *fp) | |||
| 715 | if (!((unsigned long)addr & 0xF)) | 911 | if (!((unsigned long)addr & 0xF)) |
| 716 | printk("\n" KERN_NOTICE "0x%p: ", addr); | 912 | printk("\n" KERN_NOTICE "0x%p: ", addr); |
| 717 | 913 | ||
| 718 | if (get_user(val, addr)) { | 914 | if (get_instruction(&val, addr)) { |
| 719 | if (addr >= (unsigned short *)L1_CODE_START && | ||
| 720 | addr < (unsigned short *)(L1_CODE_START + L1_CODE_LENGTH)) { | ||
| 721 | dma_memcpy(&val, addr, sizeof(val)); | ||
| 722 | sprintf(buf, "%04x", val); | ||
| 723 | } else if (addr >= (unsigned short *)FIXED_CODE_START && | ||
| 724 | addr <= (unsigned short *)memory_start) { | ||
| 725 | val = bfin_read16(addr); | ||
| 726 | sprintf(buf, "%04x", val); | ||
| 727 | } else { | ||
| 728 | val = 0; | 915 | val = 0; |
| 729 | sprintf(buf, "????"); | 916 | sprintf(buf, "????"); |
| 730 | } | ||
| 731 | } else | 917 | } else |
| 732 | sprintf(buf, "%04x", val); | 918 | sprintf(buf, "%04x", val); |
| 733 | 919 | ||
diff --git a/arch/blackfin/kernel/vmlinux.lds.S b/arch/blackfin/kernel/vmlinux.lds.S index 3ecc64cab3be..0896e38d6108 100644 --- a/arch/blackfin/kernel/vmlinux.lds.S +++ b/arch/blackfin/kernel/vmlinux.lds.S | |||
| @@ -101,6 +101,11 @@ SECTIONS | |||
| 101 | #if !L1_DATA_B_LENGTH | 101 | #if !L1_DATA_B_LENGTH |
| 102 | *(.l1.data.B) | 102 | *(.l1.data.B) |
| 103 | #endif | 103 | #endif |
| 104 | #ifndef L2_LENGTH | ||
| 105 | . = ALIGN(32); | ||
| 106 | *(.data_l2.cacheline_aligned) | ||
| 107 | *(.l2.data) | ||
| 108 | #endif | ||
| 104 | 109 | ||
| 105 | DATA_DATA | 110 | DATA_DATA |
| 106 | *(.data.*) | 111 | *(.data.*) |
| @@ -182,14 +187,13 @@ SECTIONS | |||
| 182 | *(.l1.data) | 187 | *(.l1.data) |
| 183 | __edata_l1 = .; | 188 | __edata_l1 = .; |
| 184 | 189 | ||
| 185 | . = ALIGN(4); | ||
| 186 | __sbss_l1 = .; | ||
| 187 | *(.l1.bss) | ||
| 188 | |||
| 189 | . = ALIGN(32); | 190 | . = ALIGN(32); |
| 190 | *(.data_l1.cacheline_aligned) | 191 | *(.data_l1.cacheline_aligned) |
| 191 | 192 | ||
| 192 | . = ALIGN(4); | 193 | . = ALIGN(4); |
| 194 | __sbss_l1 = .; | ||
| 195 | *(.l1.bss) | ||
| 196 | . = ALIGN(4); | ||
| 193 | __ebss_l1 = .; | 197 | __ebss_l1 = .; |
| 194 | } | 198 | } |
| 195 | 199 | ||
| @@ -203,11 +207,37 @@ SECTIONS | |||
| 203 | . = ALIGN(4); | 207 | . = ALIGN(4); |
| 204 | __sbss_b_l1 = .; | 208 | __sbss_b_l1 = .; |
| 205 | *(.l1.bss.B) | 209 | *(.l1.bss.B) |
| 206 | |||
| 207 | . = ALIGN(4); | 210 | . = ALIGN(4); |
| 208 | __ebss_b_l1 = .; | 211 | __ebss_b_l1 = .; |
| 209 | } | 212 | } |
| 210 | 213 | ||
| 214 | #ifdef L2_LENGTH | ||
| 215 | __l2_lma_start = .; | ||
| 216 | |||
| 217 | .text_data_l2 L2_START : AT(LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1)) | ||
| 218 | { | ||
| 219 | . = ALIGN(4); | ||
| 220 | __stext_l2 = .; | ||
| 221 | *(.l1.text) | ||
| 222 | . = ALIGN(4); | ||
| 223 | __etext_l2 = .; | ||
| 224 | |||
| 225 | . = ALIGN(4); | ||
| 226 | __sdata_l2 = .; | ||
| 227 | *(.l1.data) | ||
| 228 | __edata_l2 = .; | ||
| 229 | |||
| 230 | . = ALIGN(32); | ||
| 231 | *(.data_l2.cacheline_aligned) | ||
| 232 | |||
| 233 | . = ALIGN(4); | ||
| 234 | __sbss_l2 = .; | ||
| 235 | *(.l1.bss) | ||
| 236 | . = ALIGN(4); | ||
| 237 | __ebss_l2 = .; | ||
| 238 | } | ||
| 239 | #endif | ||
| 240 | |||
| 211 | /* Force trailing alignment of our init section so that when we | 241 | /* Force trailing alignment of our init section so that when we |
| 212 | * free our init memory, we don't leave behind a partial page. | 242 | * free our init memory, we don't leave behind a partial page. |
| 213 | */ | 243 | */ |
diff --git a/arch/blackfin/mach-bf527/boards/Kconfig b/arch/blackfin/mach-bf527/boards/Kconfig index 6a570ad03746..8bf9e58f0148 100644 --- a/arch/blackfin/mach-bf527/boards/Kconfig +++ b/arch/blackfin/mach-bf527/boards/Kconfig | |||
| @@ -9,4 +9,9 @@ config BFIN527_EZKIT | |||
| 9 | help | 9 | help |
| 10 | BF527-EZKIT-LITE board support. | 10 | BF527-EZKIT-LITE board support. |
| 11 | 11 | ||
| 12 | config BFIN527_BLUETECHNIX_CM | ||
| 13 | bool "Bluetechnix CM-BF527" | ||
| 14 | help | ||
| 15 | CM-BF527 support for EVAL- and DEV-Board. | ||
| 16 | |||
| 12 | endchoice | 17 | endchoice |
diff --git a/arch/blackfin/mach-bf527/boards/Makefile b/arch/blackfin/mach-bf527/boards/Makefile index 7277d35ef111..7ba7d256bbb8 100644 --- a/arch/blackfin/mach-bf527/boards/Makefile +++ b/arch/blackfin/mach-bf527/boards/Makefile | |||
| @@ -3,3 +3,4 @@ | |||
| 3 | # | 3 | # |
| 4 | 4 | ||
| 5 | obj-$(CONFIG_BFIN527_EZKIT) += ezkit.o | 5 | obj-$(CONFIG_BFIN527_EZKIT) += ezkit.o |
| 6 | obj-$(CONFIG_BFIN527_BLUETECHNIX_CM) += cm_bf527.o | ||
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c new file mode 100644 index 000000000000..0b26ae2de5ee --- /dev/null +++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c | |||
| @@ -0,0 +1,1011 @@ | |||
| 1 | /* | ||
| 2 | * File: arch/blackfin/mach-bf527/boards/cm-bf527.c | ||
| 3 | * Based on: arch/blackfin/mach-bf537/boards/stamp.c | ||
| 4 | * Author: Aidan Williams <aidan@nicta.com.au> | ||
| 5 | * | ||
| 6 | * Created: | ||
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; if not, see the file COPYING, or write | ||
| 27 | * to the Free Software Foundation, Inc., | ||
| 28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 29 | */ | ||
| 30 | |||
| 31 | #include <linux/device.h> | ||
| 32 | #include <linux/platform_device.h> | ||
| 33 | #include <linux/mtd/mtd.h> | ||
| 34 | #include <linux/mtd/partitions.h> | ||
| 35 | #include <linux/mtd/physmap.h> | ||
| 36 | #include <linux/spi/spi.h> | ||
| 37 | #include <linux/spi/flash.h> | ||
| 38 | #include <linux/etherdevice.h> | ||
| 39 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
| 40 | #include <linux/usb/isp1362.h> | ||
| 41 | #endif | ||
| 42 | #include <linux/pata_platform.h> | ||
| 43 | #include <linux/i2c.h> | ||
| 44 | #include <linux/irq.h> | ||
| 45 | #include <linux/interrupt.h> | ||
| 46 | #include <linux/usb/sl811.h> | ||
| 47 | #if defined(CONFIG_USB_MUSB_HDRC) || defined(CONFIG_USB_MUSB_HDRC_MODULE) | ||
| 48 | #include <linux/usb/musb.h> | ||
| 49 | #endif | ||
| 50 | #include <asm/cplb.h> | ||
| 51 | #include <asm/dma.h> | ||
| 52 | #include <asm/bfin5xx_spi.h> | ||
| 53 | #include <asm/reboot.h> | ||
| 54 | #include <asm/nand.h> | ||
| 55 | #include <asm/portmux.h> | ||
| 56 | #include <asm/dpmc.h> | ||
| 57 | #include <linux/spi/ad7877.h> | ||
| 58 | |||
| 59 | /* | ||
| 60 | * Name the Board for the /proc/cpuinfo | ||
| 61 | */ | ||
| 62 | const char bfin_board_name[] = "Bluetechnix CM-BF527"; | ||
| 63 | |||
| 64 | /* | ||
| 65 | * Driver needs to know address, irq and flag pin. | ||
| 66 | */ | ||
| 67 | |||
| 68 | #define ISP1761_BASE 0x203C0000 | ||
| 69 | #define ISP1761_IRQ IRQ_PF7 | ||
| 70 | |||
| 71 | #if defined(CONFIG_USB_ISP1760_HCD) || defined(CONFIG_USB_ISP1760_HCD_MODULE) | ||
| 72 | static struct resource bfin_isp1761_resources[] = { | ||
| 73 | [0] = { | ||
| 74 | .name = "isp1761-regs", | ||
| 75 | .start = ISP1761_BASE + 0x00000000, | ||
| 76 | .end = ISP1761_BASE + 0x000fffff, | ||
| 77 | .flags = IORESOURCE_MEM, | ||
| 78 | }, | ||
| 79 | [1] = { | ||
| 80 | .start = ISP1761_IRQ, | ||
| 81 | .end = ISP1761_IRQ, | ||
| 82 | .flags = IORESOURCE_IRQ, | ||
| 83 | }, | ||
| 84 | }; | ||
| 85 | |||
| 86 | static struct platform_device bfin_isp1761_device = { | ||
| 87 | .name = "isp1761", | ||
| 88 | .id = 0, | ||
| 89 | .num_resources = ARRAY_SIZE(bfin_isp1761_resources), | ||
| 90 | .resource = bfin_isp1761_resources, | ||
| 91 | }; | ||
| 92 | |||
| 93 | static struct platform_device *bfin_isp1761_devices[] = { | ||
| 94 | &bfin_isp1761_device, | ||
| 95 | }; | ||
| 96 | |||
| 97 | int __init bfin_isp1761_init(void) | ||
| 98 | { | ||
| 99 | unsigned int num_devices = ARRAY_SIZE(bfin_isp1761_devices); | ||
| 100 | |||
| 101 | printk(KERN_INFO "%s(): registering device resources\n", __func__); | ||
| 102 | set_irq_type(ISP1761_IRQ, IRQF_TRIGGER_FALLING); | ||
| 103 | |||
| 104 | return platform_add_devices(bfin_isp1761_devices, num_devices); | ||
| 105 | } | ||
| 106 | |||
| 107 | void __exit bfin_isp1761_exit(void) | ||
| 108 | { | ||
| 109 | platform_device_unregister(&bfin_isp1761_device); | ||
| 110 | } | ||
| 111 | |||
| 112 | arch_initcall(bfin_isp1761_init); | ||
| 113 | #endif | ||
| 114 | |||
| 115 | #if defined(CONFIG_USB_MUSB_HDRC) || defined(CONFIG_USB_MUSB_HDRC_MODULE) | ||
| 116 | static struct resource musb_resources[] = { | ||
| 117 | [0] = { | ||
| 118 | .start = 0xffc03800, | ||
| 119 | .end = 0xffc03cff, | ||
| 120 | .flags = IORESOURCE_MEM, | ||
| 121 | }, | ||
| 122 | [1] = { /* general IRQ */ | ||
| 123 | .start = IRQ_USB_INT0, | ||
| 124 | .end = IRQ_USB_INT0, | ||
| 125 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
| 126 | }, | ||
| 127 | [2] = { /* DMA IRQ */ | ||
| 128 | .start = IRQ_USB_DMA, | ||
| 129 | .end = IRQ_USB_DMA, | ||
| 130 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
| 131 | }, | ||
| 132 | }; | ||
| 133 | |||
| 134 | static struct musb_hdrc_platform_data musb_plat = { | ||
| 135 | #if defined(CONFIG_USB_MUSB_OTG) | ||
| 136 | .mode = MUSB_OTG, | ||
| 137 | #elif defined(CONFIG_USB_MUSB_HDRC_HCD) | ||
| 138 | .mode = MUSB_HOST, | ||
| 139 | #elif defined(CONFIG_USB_GADGET_MUSB_HDRC) | ||
| 140 | .mode = MUSB_PERIPHERAL, | ||
| 141 | #endif | ||
| 142 | .multipoint = 0, | ||
| 143 | }; | ||
| 144 | |||
| 145 | static u64 musb_dmamask = ~(u32)0; | ||
| 146 | |||
| 147 | static struct platform_device musb_device = { | ||
| 148 | .name = "musb_hdrc", | ||
| 149 | .id = 0, | ||
| 150 | .dev = { | ||
| 151 | .dma_mask = &musb_dmamask, | ||
| 152 | .coherent_dma_mask = 0xffffffff, | ||
| 153 | .platform_data = &musb_plat, | ||
| 154 | }, | ||
| 155 | .num_resources = ARRAY_SIZE(musb_resources), | ||
| 156 | .resource = musb_resources, | ||
| 157 | }; | ||
| 158 | #endif | ||
| 159 | |||
| 160 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | ||
| 161 | static struct mtd_partition ezkit_partitions[] = { | ||
| 162 | { | ||
| 163 | .name = "Bootloader", | ||
| 164 | .size = 0x40000, | ||
| 165 | .offset = 0, | ||
| 166 | }, { | ||
| 167 | .name = "Kernel", | ||
| 168 | .size = 0x1C0000, | ||
| 169 | .offset = MTDPART_OFS_APPEND, | ||
| 170 | }, { | ||
| 171 | .name = "RootFS", | ||
| 172 | .size = MTDPART_SIZ_FULL, | ||
| 173 | .offset = MTDPART_OFS_APPEND, | ||
| 174 | } | ||
| 175 | }; | ||
| 176 | |||
| 177 | static struct physmap_flash_data ezkit_flash_data = { | ||
| 178 | .width = 2, | ||
| 179 | .parts = ezkit_partitions, | ||
| 180 | .nr_parts = ARRAY_SIZE(ezkit_partitions), | ||
| 181 | }; | ||
| 182 | |||
| 183 | static struct resource ezkit_flash_resource = { | ||
| 184 | .start = 0x20000000, | ||
| 185 | .end = 0x201fffff, | ||
| 186 | .flags = IORESOURCE_MEM, | ||
| 187 | }; | ||
| 188 | |||
| 189 | static struct platform_device ezkit_flash_device = { | ||
| 190 | .name = "physmap-flash", | ||
| 191 | .id = 0, | ||
| 192 | .dev = { | ||
| 193 | .platform_data = &ezkit_flash_data, | ||
| 194 | }, | ||
| 195 | .num_resources = 1, | ||
| 196 | .resource = &ezkit_flash_resource, | ||
| 197 | }; | ||
| 198 | #endif | ||
| 199 | |||
| 200 | #if defined(CONFIG_MTD_NAND_BF5XX) || defined(CONFIG_MTD_NAND_BF5XX_MODULE) | ||
| 201 | static struct mtd_partition partition_info[] = { | ||
| 202 | { | ||
| 203 | .name = "Linux Kernel", | ||
| 204 | .offset = 0, | ||
| 205 | .size = 4 * SIZE_1M, | ||
| 206 | }, | ||
| 207 | { | ||
| 208 | .name = "File System", | ||
| 209 | .offset = MTDPART_OFS_APPEND, | ||
| 210 | .size = MTDPART_SIZ_FULL, | ||
| 211 | }, | ||
| 212 | }; | ||
| 213 | |||
| 214 | static struct bf5xx_nand_platform bf5xx_nand_platform = { | ||
| 215 | .page_size = NFC_PG_SIZE_256, | ||
| 216 | .data_width = NFC_NWIDTH_8, | ||
| 217 | .partitions = partition_info, | ||
| 218 | .nr_partitions = ARRAY_SIZE(partition_info), | ||
| 219 | .rd_dly = 3, | ||
| 220 | .wr_dly = 3, | ||
| 221 | }; | ||
| 222 | |||
| 223 | static struct resource bf5xx_nand_resources[] = { | ||
| 224 | { | ||
| 225 | .start = NFC_CTL, | ||
| 226 | .end = NFC_DATA_RD + 2, | ||
| 227 | .flags = IORESOURCE_MEM, | ||
| 228 | }, | ||
| 229 | { | ||
| 230 | .start = CH_NFC, | ||
| 231 | .end = CH_NFC, | ||
| 232 | .flags = IORESOURCE_IRQ, | ||
| 233 | }, | ||
| 234 | }; | ||
| 235 | |||
| 236 | static struct platform_device bf5xx_nand_device = { | ||
| 237 | .name = "bf5xx-nand", | ||
| 238 | .id = 0, | ||
| 239 | .num_resources = ARRAY_SIZE(bf5xx_nand_resources), | ||
| 240 | .resource = bf5xx_nand_resources, | ||
| 241 | .dev = { | ||
| 242 | .platform_data = &bf5xx_nand_platform, | ||
| 243 | }, | ||
| 244 | }; | ||
| 245 | #endif | ||
| 246 | |||
| 247 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) | ||
| 248 | static struct resource bfin_pcmcia_cf_resources[] = { | ||
| 249 | { | ||
| 250 | .start = 0x20310000, /* IO PORT */ | ||
| 251 | .end = 0x20312000, | ||
| 252 | .flags = IORESOURCE_MEM, | ||
| 253 | }, { | ||
| 254 | .start = 0x20311000, /* Attribute Memory */ | ||
| 255 | .end = 0x20311FFF, | ||
| 256 | .flags = IORESOURCE_MEM, | ||
| 257 | }, { | ||
| 258 | .start = IRQ_PF4, | ||
| 259 | .end = IRQ_PF4, | ||
| 260 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, | ||
| 261 | }, { | ||
| 262 | .start = 6, /* Card Detect PF6 */ | ||
| 263 | .end = 6, | ||
| 264 | .flags = IORESOURCE_IRQ, | ||
| 265 | }, | ||
| 266 | }; | ||
| 267 | |||
| 268 | static struct platform_device bfin_pcmcia_cf_device = { | ||
| 269 | .name = "bfin_cf_pcmcia", | ||
| 270 | .id = -1, | ||
| 271 | .num_resources = ARRAY_SIZE(bfin_pcmcia_cf_resources), | ||
| 272 | .resource = bfin_pcmcia_cf_resources, | ||
| 273 | }; | ||
| 274 | #endif | ||
| 275 | |||
| 276 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | ||
| 277 | static struct platform_device rtc_device = { | ||
| 278 | .name = "rtc-bfin", | ||
| 279 | .id = -1, | ||
| 280 | }; | ||
| 281 | #endif | ||
| 282 | |||
| 283 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) | ||
| 284 | static struct resource smc91x_resources[] = { | ||
| 285 | { | ||
| 286 | .name = "smc91x-regs", | ||
| 287 | .start = 0x20300300, | ||
| 288 | .end = 0x20300300 + 16, | ||
| 289 | .flags = IORESOURCE_MEM, | ||
| 290 | }, { | ||
| 291 | |||
| 292 | .start = IRQ_PF7, | ||
| 293 | .end = IRQ_PF7, | ||
| 294 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
| 295 | }, | ||
| 296 | }; | ||
| 297 | static struct platform_device smc91x_device = { | ||
| 298 | .name = "smc91x", | ||
| 299 | .id = 0, | ||
| 300 | .num_resources = ARRAY_SIZE(smc91x_resources), | ||
| 301 | .resource = smc91x_resources, | ||
| 302 | }; | ||
| 303 | #endif | ||
| 304 | |||
| 305 | #if defined(CONFIG_DM9000) || defined(CONFIG_DM9000_MODULE) | ||
| 306 | static struct resource dm9000_resources[] = { | ||
| 307 | [0] = { | ||
| 308 | .start = 0x203FB800, | ||
| 309 | .end = 0x203FB800 + 8, | ||
| 310 | .flags = IORESOURCE_MEM, | ||
| 311 | }, | ||
| 312 | [1] = { | ||
| 313 | .start = IRQ_PF9, | ||
| 314 | .end = IRQ_PF9, | ||
| 315 | .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE), | ||
| 316 | }, | ||
| 317 | }; | ||
| 318 | |||
| 319 | static struct platform_device dm9000_device = { | ||
| 320 | .name = "dm9000", | ||
| 321 | .id = -1, | ||
| 322 | .num_resources = ARRAY_SIZE(dm9000_resources), | ||
| 323 | .resource = dm9000_resources, | ||
| 324 | }; | ||
| 325 | #endif | ||
| 326 | |||
| 327 | #if defined(CONFIG_USB_SL811_HCD) || defined(CONFIG_USB_SL811_HCD_MODULE) | ||
| 328 | static struct resource sl811_hcd_resources[] = { | ||
| 329 | { | ||
| 330 | .start = 0x20340000, | ||
| 331 | .end = 0x20340000, | ||
| 332 | .flags = IORESOURCE_MEM, | ||
| 333 | }, { | ||
| 334 | .start = 0x20340004, | ||
| 335 | .end = 0x20340004, | ||
| 336 | .flags = IORESOURCE_MEM, | ||
| 337 | }, { | ||
| 338 | .start = CONFIG_USB_SL811_BFIN_IRQ, | ||
| 339 | .end = CONFIG_USB_SL811_BFIN_IRQ, | ||
| 340 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
| 341 | }, | ||
| 342 | }; | ||
| 343 | |||
| 344 | #if defined(CONFIG_USB_SL811_BFIN_USE_VBUS) | ||
| 345 | void sl811_port_power(struct device *dev, int is_on) | ||
| 346 | { | ||
| 347 | gpio_request(CONFIG_USB_SL811_BFIN_GPIO_VBUS, "usb:SL811_VBUS"); | ||
| 348 | gpio_direction_output(CONFIG_USB_SL811_BFIN_GPIO_VBUS, is_on); | ||
| 349 | } | ||
| 350 | #endif | ||
| 351 | |||
| 352 | static struct sl811_platform_data sl811_priv = { | ||
| 353 | .potpg = 10, | ||
| 354 | .power = 250, /* == 500mA */ | ||
| 355 | #if defined(CONFIG_USB_SL811_BFIN_USE_VBUS) | ||
| 356 | .port_power = &sl811_port_power, | ||
| 357 | #endif | ||
| 358 | }; | ||
| 359 | |||
| 360 | static struct platform_device sl811_hcd_device = { | ||
| 361 | .name = "sl811-hcd", | ||
| 362 | .id = 0, | ||
| 363 | .dev = { | ||
| 364 | .platform_data = &sl811_priv, | ||
| 365 | }, | ||
| 366 | .num_resources = ARRAY_SIZE(sl811_hcd_resources), | ||
| 367 | .resource = sl811_hcd_resources, | ||
| 368 | }; | ||
| 369 | #endif | ||
| 370 | |||
| 371 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
| 372 | static struct resource isp1362_hcd_resources[] = { | ||
| 373 | { | ||
| 374 | .start = 0x20360000, | ||
| 375 | .end = 0x20360000, | ||
| 376 | .flags = IORESOURCE_MEM, | ||
| 377 | }, { | ||
| 378 | .start = 0x20360004, | ||
| 379 | .end = 0x20360004, | ||
| 380 | .flags = IORESOURCE_MEM, | ||
| 381 | }, { | ||
| 382 | .start = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, | ||
| 383 | .end = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, | ||
| 384 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
| 385 | }, | ||
| 386 | }; | ||
| 387 | |||
| 388 | static struct isp1362_platform_data isp1362_priv = { | ||
| 389 | .sel15Kres = 1, | ||
| 390 | .clknotstop = 0, | ||
| 391 | .oc_enable = 0, | ||
| 392 | .int_act_high = 0, | ||
| 393 | .int_edge_triggered = 0, | ||
| 394 | .remote_wakeup_connected = 0, | ||
| 395 | .no_power_switching = 1, | ||
| 396 | .power_switching_mode = 0, | ||
| 397 | }; | ||
| 398 | |||
| 399 | static struct platform_device isp1362_hcd_device = { | ||
| 400 | .name = "isp1362-hcd", | ||
| 401 | .id = 0, | ||
| 402 | .dev = { | ||
| 403 | .platform_data = &isp1362_priv, | ||
| 404 | }, | ||
| 405 | .num_resources = ARRAY_SIZE(isp1362_hcd_resources), | ||
| 406 | .resource = isp1362_hcd_resources, | ||
| 407 | }; | ||
| 408 | #endif | ||
| 409 | |||
| 410 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | ||
| 411 | static struct platform_device bfin_mac_device = { | ||
| 412 | .name = "bfin_mac", | ||
| 413 | }; | ||
| 414 | #endif | ||
| 415 | |||
| 416 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) | ||
| 417 | static struct resource net2272_bfin_resources[] = { | ||
| 418 | { | ||
| 419 | .start = 0x20300000, | ||
| 420 | .end = 0x20300000 + 0x100, | ||
| 421 | .flags = IORESOURCE_MEM, | ||
| 422 | }, { | ||
| 423 | .start = IRQ_PF7, | ||
| 424 | .end = IRQ_PF7, | ||
| 425 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
| 426 | }, | ||
| 427 | }; | ||
| 428 | |||
| 429 | static struct platform_device net2272_bfin_device = { | ||
| 430 | .name = "net2272", | ||
| 431 | .id = -1, | ||
| 432 | .num_resources = ARRAY_SIZE(net2272_bfin_resources), | ||
| 433 | .resource = net2272_bfin_resources, | ||
| 434 | }; | ||
| 435 | #endif | ||
| 436 | |||
| 437 | #if defined(CONFIG_MTD_M25P80) \ | ||
| 438 | || defined(CONFIG_MTD_M25P80_MODULE) | ||
| 439 | static struct mtd_partition bfin_spi_flash_partitions[] = { | ||
| 440 | { | ||
| 441 | .name = "bootloader", | ||
| 442 | .size = 0x00040000, | ||
| 443 | .offset = 0, | ||
| 444 | .mask_flags = MTD_CAP_ROM | ||
| 445 | }, { | ||
| 446 | .name = "linux kernel", | ||
| 447 | .size = MTDPART_SIZ_FULL, | ||
| 448 | .offset = MTDPART_OFS_APPEND, | ||
| 449 | } | ||
| 450 | }; | ||
| 451 | |||
| 452 | static struct flash_platform_data bfin_spi_flash_data = { | ||
| 453 | .name = "m25p80", | ||
| 454 | .parts = bfin_spi_flash_partitions, | ||
| 455 | .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), | ||
| 456 | .type = "m25p16", | ||
| 457 | }; | ||
| 458 | |||
| 459 | /* SPI flash chip (m25p64) */ | ||
| 460 | static struct bfin5xx_spi_chip spi_flash_chip_info = { | ||
| 461 | .enable_dma = 0, /* use dma transfer with this chip*/ | ||
| 462 | .bits_per_word = 8, | ||
| 463 | }; | ||
| 464 | #endif | ||
| 465 | |||
| 466 | #if defined(CONFIG_SPI_ADC_BF533) \ | ||
| 467 | || defined(CONFIG_SPI_ADC_BF533_MODULE) | ||
| 468 | /* SPI ADC chip */ | ||
| 469 | static struct bfin5xx_spi_chip spi_adc_chip_info = { | ||
| 470 | .enable_dma = 1, /* use dma transfer with this chip*/ | ||
| 471 | .bits_per_word = 16, | ||
| 472 | }; | ||
| 473 | #endif | ||
| 474 | |||
| 475 | #if defined(CONFIG_SND_BLACKFIN_AD1836) \ | ||
| 476 | || defined(CONFIG_SND_BLACKFIN_AD1836_MODULE) | ||
| 477 | static struct bfin5xx_spi_chip ad1836_spi_chip_info = { | ||
| 478 | .enable_dma = 0, | ||
| 479 | .bits_per_word = 16, | ||
| 480 | }; | ||
| 481 | #endif | ||
| 482 | |||
| 483 | #if defined(CONFIG_AD9960) || defined(CONFIG_AD9960_MODULE) | ||
| 484 | static struct bfin5xx_spi_chip ad9960_spi_chip_info = { | ||
| 485 | .enable_dma = 0, | ||
| 486 | .bits_per_word = 16, | ||
| 487 | }; | ||
| 488 | #endif | ||
| 489 | |||
| 490 | #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE) | ||
| 491 | static struct bfin5xx_spi_chip spi_mmc_chip_info = { | ||
| 492 | .enable_dma = 1, | ||
| 493 | .bits_per_word = 8, | ||
| 494 | }; | ||
| 495 | #endif | ||
| 496 | |||
| 497 | #if defined(CONFIG_PBX) | ||
| 498 | static struct bfin5xx_spi_chip spi_si3xxx_chip_info = { | ||
| 499 | .ctl_reg = 0x4, /* send zero */ | ||
| 500 | .enable_dma = 0, | ||
| 501 | .bits_per_word = 8, | ||
| 502 | .cs_change_per_word = 1, | ||
| 503 | }; | ||
| 504 | #endif | ||
| 505 | |||
| 506 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | ||
| 507 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | ||
| 508 | .enable_dma = 0, | ||
| 509 | .bits_per_word = 16, | ||
| 510 | }; | ||
| 511 | |||
| 512 | static const struct ad7877_platform_data bfin_ad7877_ts_info = { | ||
| 513 | .model = 7877, | ||
| 514 | .vref_delay_usecs = 50, /* internal, no capacitor */ | ||
| 515 | .x_plate_ohms = 419, | ||
| 516 | .y_plate_ohms = 486, | ||
| 517 | .pressure_max = 1000, | ||
| 518 | .pressure_min = 0, | ||
| 519 | .stopacq_polarity = 1, | ||
| 520 | .first_conversion_delay = 3, | ||
| 521 | .acquisition_time = 1, | ||
| 522 | .averaging = 1, | ||
| 523 | .pen_down_acc_interval = 1, | ||
| 524 | }; | ||
| 525 | #endif | ||
| 526 | |||
| 527 | #if defined(CONFIG_SND_SOC_WM8731) || defined(CONFIG_SND_SOC_WM8731_MODULE) \ | ||
| 528 | && defined(CONFIG_SND_SOC_WM8731_SPI) | ||
| 529 | static struct bfin5xx_spi_chip spi_wm8731_chip_info = { | ||
| 530 | .enable_dma = 0, | ||
| 531 | .bits_per_word = 16, | ||
| 532 | }; | ||
| 533 | #endif | ||
| 534 | |||
| 535 | #if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) | ||
| 536 | static struct bfin5xx_spi_chip spidev_chip_info = { | ||
| 537 | .enable_dma = 0, | ||
| 538 | .bits_per_word = 8, | ||
| 539 | }; | ||
| 540 | #endif | ||
| 541 | |||
| 542 | static struct spi_board_info bfin_spi_board_info[] __initdata = { | ||
| 543 | #if defined(CONFIG_MTD_M25P80) \ | ||
| 544 | || defined(CONFIG_MTD_M25P80_MODULE) | ||
| 545 | { | ||
| 546 | /* the modalias must be the same as spi device driver name */ | ||
| 547 | .modalias = "m25p80", /* Name of spi_driver for this device */ | ||
| 548 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | ||
| 549 | .bus_num = 0, /* Framework bus number */ | ||
| 550 | .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/ | ||
| 551 | .platform_data = &bfin_spi_flash_data, | ||
| 552 | .controller_data = &spi_flash_chip_info, | ||
| 553 | .mode = SPI_MODE_3, | ||
| 554 | }, | ||
| 555 | #endif | ||
| 556 | |||
| 557 | #if defined(CONFIG_SPI_ADC_BF533) \ | ||
| 558 | || defined(CONFIG_SPI_ADC_BF533_MODULE) | ||
| 559 | { | ||
| 560 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ | ||
| 561 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ | ||
| 562 | .bus_num = 0, /* Framework bus number */ | ||
| 563 | .chip_select = 1, /* Framework chip select. */ | ||
| 564 | .platform_data = NULL, /* No spi_driver specific config */ | ||
| 565 | .controller_data = &spi_adc_chip_info, | ||
| 566 | }, | ||
| 567 | #endif | ||
| 568 | |||
| 569 | #if defined(CONFIG_SND_BLACKFIN_AD1836) \ | ||
| 570 | || defined(CONFIG_SND_BLACKFIN_AD1836_MODULE) | ||
| 571 | { | ||
| 572 | .modalias = "ad1836-spi", | ||
| 573 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | ||
| 574 | .bus_num = 0, | ||
| 575 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, | ||
| 576 | .controller_data = &ad1836_spi_chip_info, | ||
| 577 | }, | ||
| 578 | #endif | ||
| 579 | #if defined(CONFIG_AD9960) || defined(CONFIG_AD9960_MODULE) | ||
| 580 | { | ||
| 581 | .modalias = "ad9960-spi", | ||
| 582 | .max_speed_hz = 10000000, /* max spi clock (SCK) speed in HZ */ | ||
| 583 | .bus_num = 0, | ||
| 584 | .chip_select = 1, | ||
| 585 | .controller_data = &ad9960_spi_chip_info, | ||
| 586 | }, | ||
| 587 | #endif | ||
| 588 | #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE) | ||
| 589 | { | ||
| 590 | .modalias = "spi_mmc_dummy", | ||
| 591 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | ||
| 592 | .bus_num = 0, | ||
| 593 | .chip_select = 0, | ||
| 594 | .platform_data = NULL, | ||
| 595 | .controller_data = &spi_mmc_chip_info, | ||
| 596 | .mode = SPI_MODE_3, | ||
| 597 | }, | ||
| 598 | { | ||
| 599 | .modalias = "spi_mmc", | ||
| 600 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | ||
| 601 | .bus_num = 0, | ||
| 602 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, | ||
| 603 | .platform_data = NULL, | ||
| 604 | .controller_data = &spi_mmc_chip_info, | ||
| 605 | .mode = SPI_MODE_3, | ||
| 606 | }, | ||
| 607 | #endif | ||
| 608 | #if defined(CONFIG_PBX) | ||
| 609 | { | ||
| 610 | .modalias = "fxs-spi", | ||
| 611 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | ||
| 612 | .bus_num = 0, | ||
| 613 | .chip_select = 8 - CONFIG_J11_JUMPER, | ||
| 614 | .controller_data = &spi_si3xxx_chip_info, | ||
| 615 | .mode = SPI_MODE_3, | ||
| 616 | }, | ||
| 617 | { | ||
| 618 | .modalias = "fxo-spi", | ||
| 619 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | ||
| 620 | .bus_num = 0, | ||
| 621 | .chip_select = 8 - CONFIG_J19_JUMPER, | ||
| 622 | .controller_data = &spi_si3xxx_chip_info, | ||
| 623 | .mode = SPI_MODE_3, | ||
| 624 | }, | ||
| 625 | #endif | ||
| 626 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | ||
| 627 | { | ||
| 628 | .modalias = "ad7877", | ||
| 629 | .platform_data = &bfin_ad7877_ts_info, | ||
| 630 | .irq = IRQ_PF8, | ||
| 631 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | ||
| 632 | .bus_num = 0, | ||
| 633 | .chip_select = 2, | ||
| 634 | .controller_data = &spi_ad7877_chip_info, | ||
| 635 | }, | ||
| 636 | #endif | ||
| 637 | #if defined(CONFIG_SND_SOC_WM8731) || defined(CONFIG_SND_SOC_WM8731_MODULE) \ | ||
| 638 | && defined(CONFIG_SND_SOC_WM8731_SPI) | ||
| 639 | { | ||
| 640 | .modalias = "wm8731", | ||
| 641 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | ||
| 642 | .bus_num = 0, | ||
| 643 | .chip_select = 5, | ||
| 644 | .controller_data = &spi_wm8731_chip_info, | ||
| 645 | .mode = SPI_MODE_0, | ||
| 646 | }, | ||
| 647 | #endif | ||
| 648 | #if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) | ||
| 649 | { | ||
| 650 | .modalias = "spidev", | ||
| 651 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | ||
| 652 | .bus_num = 0, | ||
| 653 | .chip_select = 1, | ||
| 654 | .controller_data = &spidev_chip_info, | ||
| 655 | }, | ||
| 656 | #endif | ||
| 657 | }; | ||
| 658 | |||
| 659 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | ||
| 660 | /* SPI controller data */ | ||
| 661 | static struct bfin5xx_spi_master bfin_spi0_info = { | ||
| 662 | .num_chipselect = 8, | ||
| 663 | .enable_dma = 1, /* master has the ability to do dma transfer */ | ||
| 664 | .pin_req = {P_SPI0_SCK, P_SPI0_MISO, P_SPI0_MOSI, 0}, | ||
| 665 | }; | ||
| 666 | |||
| 667 | /* SPI (0) */ | ||
| 668 | static struct resource bfin_spi0_resource[] = { | ||
| 669 | [0] = { | ||
| 670 | .start = SPI0_REGBASE, | ||
| 671 | .end = SPI0_REGBASE + 0xFF, | ||
| 672 | .flags = IORESOURCE_MEM, | ||
| 673 | }, | ||
| 674 | [1] = { | ||
| 675 | .start = CH_SPI, | ||
| 676 | .end = CH_SPI, | ||
| 677 | .flags = IORESOURCE_IRQ, | ||
| 678 | }, | ||
| 679 | }; | ||
| 680 | |||
| 681 | static struct platform_device bfin_spi0_device = { | ||
| 682 | .name = "bfin-spi", | ||
| 683 | .id = 0, /* Bus number */ | ||
| 684 | .num_resources = ARRAY_SIZE(bfin_spi0_resource), | ||
| 685 | .resource = bfin_spi0_resource, | ||
| 686 | .dev = { | ||
| 687 | .platform_data = &bfin_spi0_info, /* Passed to driver */ | ||
| 688 | }, | ||
| 689 | }; | ||
| 690 | #endif /* spi master and devices */ | ||
| 691 | |||
| 692 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 693 | static struct platform_device bfin_fb_adv7393_device = { | ||
| 694 | .name = "bfin-adv7393", | ||
| 695 | }; | ||
| 696 | #endif | ||
| 697 | |||
| 698 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | ||
| 699 | static struct resource bfin_uart_resources[] = { | ||
| 700 | #ifdef CONFIG_SERIAL_BFIN_UART0 | ||
| 701 | { | ||
| 702 | .start = 0xFFC00400, | ||
| 703 | .end = 0xFFC004FF, | ||
| 704 | .flags = IORESOURCE_MEM, | ||
| 705 | }, | ||
| 706 | #endif | ||
| 707 | #ifdef CONFIG_SERIAL_BFIN_UART1 | ||
| 708 | { | ||
| 709 | .start = 0xFFC02000, | ||
| 710 | .end = 0xFFC020FF, | ||
| 711 | .flags = IORESOURCE_MEM, | ||
| 712 | }, | ||
| 713 | #endif | ||
| 714 | }; | ||
| 715 | |||
| 716 | static struct platform_device bfin_uart_device = { | ||
| 717 | .name = "bfin-uart", | ||
| 718 | .id = 1, | ||
| 719 | .num_resources = ARRAY_SIZE(bfin_uart_resources), | ||
| 720 | .resource = bfin_uart_resources, | ||
| 721 | }; | ||
| 722 | #endif | ||
| 723 | |||
| 724 | #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) | ||
| 725 | static struct resource bfin_sir_resources[] = { | ||
| 726 | #ifdef CONFIG_BFIN_SIR0 | ||
| 727 | { | ||
| 728 | .start = 0xFFC00400, | ||
| 729 | .end = 0xFFC004FF, | ||
| 730 | .flags = IORESOURCE_MEM, | ||
| 731 | }, | ||
| 732 | #endif | ||
| 733 | #ifdef CONFIG_BFIN_SIR1 | ||
| 734 | { | ||
| 735 | .start = 0xFFC02000, | ||
| 736 | .end = 0xFFC020FF, | ||
| 737 | .flags = IORESOURCE_MEM, | ||
| 738 | }, | ||
| 739 | #endif | ||
| 740 | }; | ||
| 741 | |||
| 742 | static struct platform_device bfin_sir_device = { | ||
| 743 | .name = "bfin_sir", | ||
| 744 | .id = 0, | ||
| 745 | .num_resources = ARRAY_SIZE(bfin_sir_resources), | ||
| 746 | .resource = bfin_sir_resources, | ||
| 747 | }; | ||
| 748 | #endif | ||
| 749 | |||
| 750 | #if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE) | ||
| 751 | static struct resource bfin_twi0_resource[] = { | ||
| 752 | [0] = { | ||
| 753 | .start = TWI0_REGBASE, | ||
| 754 | .end = TWI0_REGBASE, | ||
| 755 | .flags = IORESOURCE_MEM, | ||
| 756 | }, | ||
| 757 | [1] = { | ||
| 758 | .start = IRQ_TWI, | ||
| 759 | .end = IRQ_TWI, | ||
| 760 | .flags = IORESOURCE_IRQ, | ||
| 761 | }, | ||
| 762 | }; | ||
| 763 | |||
| 764 | static struct platform_device i2c_bfin_twi_device = { | ||
| 765 | .name = "i2c-bfin-twi", | ||
| 766 | .id = 0, | ||
| 767 | .num_resources = ARRAY_SIZE(bfin_twi0_resource), | ||
| 768 | .resource = bfin_twi0_resource, | ||
| 769 | }; | ||
| 770 | #endif | ||
| 771 | |||
| 772 | #ifdef CONFIG_I2C_BOARDINFO | ||
| 773 | static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | ||
| 774 | #if defined(CONFIG_TWI_LCD) || defined(CONFIG_TWI_LCD_MODULE) | ||
| 775 | { | ||
| 776 | I2C_BOARD_INFO("pcf8574_lcd", 0x22), | ||
| 777 | .type = "pcf8574_lcd", | ||
| 778 | }, | ||
| 779 | #endif | ||
| 780 | #if defined(CONFIG_TWI_KEYPAD) || defined(CONFIG_TWI_KEYPAD_MODULE) | ||
| 781 | { | ||
| 782 | I2C_BOARD_INFO("pcf8574_keypad", 0x27), | ||
| 783 | .type = "pcf8574_keypad", | ||
| 784 | .irq = IRQ_PF8, | ||
| 785 | }, | ||
| 786 | #endif | ||
| 787 | }; | ||
| 788 | #endif | ||
| 789 | |||
| 790 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | ||
| 791 | static struct platform_device bfin_sport0_uart_device = { | ||
| 792 | .name = "bfin-sport-uart", | ||
| 793 | .id = 0, | ||
| 794 | }; | ||
| 795 | |||
| 796 | static struct platform_device bfin_sport1_uart_device = { | ||
| 797 | .name = "bfin-sport-uart", | ||
| 798 | .id = 1, | ||
| 799 | }; | ||
| 800 | #endif | ||
| 801 | |||
| 802 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
| 803 | #define PATA_INT 55 | ||
| 804 | |||
| 805 | static struct pata_platform_info bfin_pata_platform_data = { | ||
| 806 | .ioport_shift = 1, | ||
| 807 | .irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED, | ||
| 808 | }; | ||
| 809 | |||
| 810 | static struct resource bfin_pata_resources[] = { | ||
| 811 | { | ||
| 812 | .start = 0x20314020, | ||
| 813 | .end = 0x2031403F, | ||
| 814 | .flags = IORESOURCE_MEM, | ||
| 815 | }, | ||
| 816 | { | ||
| 817 | .start = 0x2031401C, | ||
| 818 | .end = 0x2031401F, | ||
| 819 | .flags = IORESOURCE_MEM, | ||
| 820 | }, | ||
| 821 | { | ||
| 822 | .start = PATA_INT, | ||
| 823 | .end = PATA_INT, | ||
| 824 | .flags = IORESOURCE_IRQ, | ||
| 825 | }, | ||
| 826 | }; | ||
| 827 | |||
| 828 | static struct platform_device bfin_pata_device = { | ||
| 829 | .name = "pata_platform", | ||
| 830 | .id = -1, | ||
| 831 | .num_resources = ARRAY_SIZE(bfin_pata_resources), | ||
| 832 | .resource = bfin_pata_resources, | ||
| 833 | .dev = { | ||
| 834 | .platform_data = &bfin_pata_platform_data, | ||
| 835 | } | ||
| 836 | }; | ||
| 837 | #endif | ||
| 838 | |||
| 839 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | ||
| 840 | #include <linux/input.h> | ||
| 841 | #include <linux/gpio_keys.h> | ||
| 842 | |||
| 843 | static struct gpio_keys_button bfin_gpio_keys_table[] = { | ||
| 844 | {BTN_0, GPIO_PF14, 1, "gpio-keys: BTN0"}, | ||
| 845 | }; | ||
| 846 | |||
| 847 | static struct gpio_keys_platform_data bfin_gpio_keys_data = { | ||
| 848 | .buttons = bfin_gpio_keys_table, | ||
| 849 | .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table), | ||
| 850 | }; | ||
| 851 | |||
| 852 | static struct platform_device bfin_device_gpiokeys = { | ||
| 853 | .name = "gpio-keys", | ||
| 854 | .dev = { | ||
| 855 | .platform_data = &bfin_gpio_keys_data, | ||
| 856 | }, | ||
| 857 | }; | ||
| 858 | #endif | ||
| 859 | |||
| 860 | static struct resource bfin_gpios_resources = { | ||
| 861 | .start = 0, | ||
| 862 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 863 | .flags = IORESOURCE_IRQ, | ||
| 864 | }; | ||
| 865 | |||
| 866 | static struct platform_device bfin_gpios_device = { | ||
| 867 | .name = "simple-gpio", | ||
| 868 | .id = -1, | ||
| 869 | .num_resources = 1, | ||
| 870 | .resource = &bfin_gpios_resources, | ||
| 871 | }; | ||
| 872 | |||
| 873 | static const unsigned int cclk_vlev_datasheet[] = | ||
| 874 | { | ||
| 875 | VRPAIR(VLEV_100, 400000000), | ||
| 876 | VRPAIR(VLEV_105, 426000000), | ||
| 877 | VRPAIR(VLEV_110, 500000000), | ||
| 878 | VRPAIR(VLEV_115, 533000000), | ||
| 879 | VRPAIR(VLEV_120, 600000000), | ||
| 880 | }; | ||
| 881 | |||
| 882 | static struct bfin_dpmc_platform_data bfin_dmpc_vreg_data = { | ||
| 883 | .tuple_tab = cclk_vlev_datasheet, | ||
| 884 | .tabsize = ARRAY_SIZE(cclk_vlev_datasheet), | ||
| 885 | .vr_settling_time = 25 /* us */, | ||
| 886 | }; | ||
| 887 | |||
| 888 | static struct platform_device bfin_dpmc = { | ||
| 889 | .name = "bfin dpmc", | ||
| 890 | .dev = { | ||
| 891 | .platform_data = &bfin_dmpc_vreg_data, | ||
| 892 | }, | ||
| 893 | }; | ||
| 894 | |||
| 895 | static struct platform_device *stamp_devices[] __initdata = { | ||
| 896 | |||
| 897 | &bfin_dpmc, | ||
| 898 | |||
| 899 | #if defined(CONFIG_MTD_NAND_BF5XX) || defined(CONFIG_MTD_NAND_BF5XX_MODULE) | ||
| 900 | &bf5xx_nand_device, | ||
| 901 | #endif | ||
| 902 | |||
| 903 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) | ||
| 904 | &bfin_pcmcia_cf_device, | ||
| 905 | #endif | ||
| 906 | |||
| 907 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | ||
| 908 | &rtc_device, | ||
| 909 | #endif | ||
| 910 | |||
| 911 | #if defined(CONFIG_USB_SL811_HCD) || defined(CONFIG_USB_SL811_HCD_MODULE) | ||
| 912 | &sl811_hcd_device, | ||
| 913 | #endif | ||
| 914 | |||
| 915 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
| 916 | &isp1362_hcd_device, | ||
| 917 | #endif | ||
| 918 | |||
| 919 | #if defined(CONFIG_USB_MUSB_HDRC) || defined(CONFIG_USB_MUSB_HDRC_MODULE) | ||
| 920 | &musb_device, | ||
| 921 | #endif | ||
| 922 | |||
| 923 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) | ||
| 924 | &smc91x_device, | ||
| 925 | #endif | ||
| 926 | |||
| 927 | #if defined(CONFIG_DM9000) || defined(CONFIG_DM9000_MODULE) | ||
| 928 | &dm9000_device, | ||
| 929 | #endif | ||
| 930 | |||
| 931 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | ||
| 932 | &bfin_mac_device, | ||
| 933 | #endif | ||
| 934 | |||
| 935 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) | ||
| 936 | &net2272_bfin_device, | ||
| 937 | #endif | ||
| 938 | |||
| 939 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | ||
| 940 | &bfin_spi0_device, | ||
| 941 | #endif | ||
| 942 | |||
| 943 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 944 | &bfin_fb_adv7393_device, | ||
| 945 | #endif | ||
| 946 | |||
| 947 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | ||
| 948 | &bfin_uart_device, | ||
| 949 | #endif | ||
| 950 | |||
| 951 | #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) | ||
| 952 | &bfin_sir_device, | ||
| 953 | #endif | ||
| 954 | |||
| 955 | #if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE) | ||
| 956 | &i2c_bfin_twi_device, | ||
| 957 | #endif | ||
| 958 | |||
| 959 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | ||
| 960 | &bfin_sport0_uart_device, | ||
| 961 | &bfin_sport1_uart_device, | ||
| 962 | #endif | ||
| 963 | |||
| 964 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
| 965 | &bfin_pata_device, | ||
| 966 | #endif | ||
| 967 | |||
| 968 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | ||
| 969 | &bfin_device_gpiokeys, | ||
| 970 | #endif | ||
| 971 | |||
| 972 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | ||
| 973 | &ezkit_flash_device, | ||
| 974 | #endif | ||
| 975 | |||
| 976 | &bfin_gpios_device, | ||
| 977 | }; | ||
| 978 | |||
| 979 | static int __init stamp_init(void) | ||
| 980 | { | ||
| 981 | printk(KERN_INFO "%s(): registering device resources\n", __func__); | ||
| 982 | |||
| 983 | #ifdef CONFIG_I2C_BOARDINFO | ||
| 984 | i2c_register_board_info(0, bfin_i2c_board_info, | ||
| 985 | ARRAY_SIZE(bfin_i2c_board_info)); | ||
| 986 | #endif | ||
| 987 | |||
| 988 | platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices)); | ||
| 989 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | ||
| 990 | |||
| 991 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
| 992 | irq_desc[PATA_INT].status |= IRQ_NOAUTOEN; | ||
| 993 | #endif | ||
| 994 | return 0; | ||
| 995 | } | ||
| 996 | |||
| 997 | arch_initcall(stamp_init); | ||
| 998 | |||
| 999 | void native_machine_restart(char *cmd) | ||
| 1000 | { | ||
| 1001 | /* workaround reboot hang when booting from SPI */ | ||
| 1002 | if ((bfin_read_SYSCR() & 0x7) == 0x3) | ||
| 1003 | bfin_gpio_reset_spi0_ssel1(); | ||
| 1004 | } | ||
| 1005 | |||
| 1006 | void bfin_get_ether_addr(char *addr) | ||
| 1007 | { | ||
| 1008 | random_ether_addr(addr); | ||
| 1009 | printk(KERN_WARNING "%s:%s: Setting Ethernet MAC to a random one\n", __FILE__, __func__); | ||
| 1010 | } | ||
| 1011 | EXPORT_SYMBOL(bfin_get_ether_addr); | ||
diff --git a/arch/blackfin/mach-bf527/head.S b/arch/blackfin/mach-bf527/head.S index 57bdb3ba2fed..fe05cc1ef174 100644 --- a/arch/blackfin/mach-bf527/head.S +++ b/arch/blackfin/mach-bf527/head.S | |||
| @@ -32,7 +32,7 @@ | |||
| 32 | #include <asm/blackfin.h> | 32 | #include <asm/blackfin.h> |
| 33 | #include <asm/trace.h> | 33 | #include <asm/trace.h> |
| 34 | 34 | ||
| 35 | #if CONFIG_BFIN_KERNEL_CLOCK | 35 | #ifdef CONFIG_BFIN_KERNEL_CLOCK |
| 36 | #include <asm/mach-common/clocks.h> | 36 | #include <asm/mach-common/clocks.h> |
| 37 | #include <asm/mach/mem_init.h> | 37 | #include <asm/mach/mem_init.h> |
| 38 | #endif | 38 | #endif |
| @@ -185,7 +185,7 @@ ENTRY(__start) | |||
| 185 | 185 | ||
| 186 | /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ | 186 | /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ |
| 187 | call _bf53x_relocate_l1_mem; | 187 | call _bf53x_relocate_l1_mem; |
| 188 | #if CONFIG_BFIN_KERNEL_CLOCK | 188 | #ifdef CONFIG_BFIN_KERNEL_CLOCK |
| 189 | call _start_dma_code; | 189 | call _start_dma_code; |
| 190 | #endif | 190 | #endif |
| 191 | 191 | ||
| @@ -318,7 +318,7 @@ ENDPROC(_real_start) | |||
| 318 | __FINIT | 318 | __FINIT |
| 319 | 319 | ||
| 320 | .section .l1.text | 320 | .section .l1.text |
| 321 | #if CONFIG_BFIN_KERNEL_CLOCK | 321 | #ifdef CONFIG_BFIN_KERNEL_CLOCK |
| 322 | ENTRY(_start_dma_code) | 322 | ENTRY(_start_dma_code) |
| 323 | 323 | ||
| 324 | /* Enable PHY CLK buffer output */ | 324 | /* Enable PHY CLK buffer output */ |
| @@ -398,12 +398,6 @@ ENTRY(_start_dma_code) | |||
| 398 | w[p0] = r0.l; | 398 | w[p0] = r0.l; |
| 399 | ssync; | 399 | ssync; |
| 400 | 400 | ||
| 401 | p0.l = LO(EBIU_SDBCTL); | ||
| 402 | p0.h = HI(EBIU_SDBCTL); /* SDRAM Memory Bank Control Register */ | ||
| 403 | r0 = mem_SDBCTL; | ||
| 404 | w[p0] = r0.l; | ||
| 405 | ssync; | ||
| 406 | |||
| 407 | P2.H = hi(EBIU_SDGCTL); | 401 | P2.H = hi(EBIU_SDGCTL); |
| 408 | P2.L = lo(EBIU_SDGCTL); | 402 | P2.L = lo(EBIU_SDGCTL); |
| 409 | R0 = [P2]; | 403 | R0 = [P2]; |
diff --git a/arch/blackfin/mach-bf533/head.S b/arch/blackfin/mach-bf533/head.S index 1295deac00a4..c671e8549b17 100644 --- a/arch/blackfin/mach-bf533/head.S +++ b/arch/blackfin/mach-bf533/head.S | |||
| @@ -31,7 +31,7 @@ | |||
| 31 | #include <linux/init.h> | 31 | #include <linux/init.h> |
| 32 | #include <asm/blackfin.h> | 32 | #include <asm/blackfin.h> |
| 33 | #include <asm/trace.h> | 33 | #include <asm/trace.h> |
| 34 | #if CONFIG_BFIN_KERNEL_CLOCK | 34 | #ifdef CONFIG_BFIN_KERNEL_CLOCK |
| 35 | #include <asm/mach-common/clocks.h> | 35 | #include <asm/mach-common/clocks.h> |
| 36 | #include <asm/mach/mem_init.h> | 36 | #include <asm/mach/mem_init.h> |
| 37 | #endif | 37 | #endif |
| @@ -186,7 +186,7 @@ ENTRY(__start) | |||
| 186 | 186 | ||
| 187 | /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ | 187 | /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ |
| 188 | call _bf53x_relocate_l1_mem; | 188 | call _bf53x_relocate_l1_mem; |
| 189 | #if CONFIG_BFIN_KERNEL_CLOCK | 189 | #ifdef CONFIG_BFIN_KERNEL_CLOCK |
| 190 | call _start_dma_code; | 190 | call _start_dma_code; |
| 191 | #endif | 191 | #endif |
| 192 | 192 | ||
| @@ -319,7 +319,7 @@ ENDPROC(_real_start) | |||
| 319 | __FINIT | 319 | __FINIT |
| 320 | 320 | ||
| 321 | .section .l1.text | 321 | .section .l1.text |
| 322 | #if CONFIG_BFIN_KERNEL_CLOCK | 322 | #ifdef CONFIG_BFIN_KERNEL_CLOCK |
| 323 | ENTRY(_start_dma_code) | 323 | ENTRY(_start_dma_code) |
| 324 | p0.h = hi(SIC_IWR); | 324 | p0.h = hi(SIC_IWR); |
| 325 | p0.l = lo(SIC_IWR); | 325 | p0.l = lo(SIC_IWR); |
| @@ -390,12 +390,6 @@ ENTRY(_start_dma_code) | |||
| 390 | w[p0] = r0.l; | 390 | w[p0] = r0.l; |
| 391 | ssync; | 391 | ssync; |
| 392 | 392 | ||
| 393 | p0.l = LO(EBIU_SDBCTL); | ||
| 394 | p0.h = HI(EBIU_SDBCTL); /* SDRAM Memory Bank Control Register */ | ||
| 395 | r0 = mem_SDBCTL; | ||
| 396 | w[p0] = r0.l; | ||
| 397 | ssync; | ||
| 398 | |||
| 399 | P2.H = hi(EBIU_SDGCTL); | 393 | P2.H = hi(EBIU_SDGCTL); |
| 400 | P2.L = lo(EBIU_SDGCTL); | 394 | P2.L = lo(EBIU_SDGCTL); |
| 401 | R0 = [P2]; | 395 | R0 = [P2]; |
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 671f9d67f23a..6dbc76fb080b 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
| @@ -29,9 +29,12 @@ | |||
| 29 | */ | 29 | */ |
| 30 | 30 | ||
| 31 | #include <linux/device.h> | 31 | #include <linux/device.h> |
| 32 | #include <linux/kernel.h> | ||
| 32 | #include <linux/platform_device.h> | 33 | #include <linux/platform_device.h> |
| 33 | #include <linux/mtd/mtd.h> | 34 | #include <linux/mtd/mtd.h> |
| 35 | #include <linux/mtd/nand.h> | ||
| 34 | #include <linux/mtd/partitions.h> | 36 | #include <linux/mtd/partitions.h> |
| 37 | #include <linux/mtd/plat-ram.h> | ||
| 35 | #include <linux/mtd/physmap.h> | 38 | #include <linux/mtd/physmap.h> |
| 36 | #include <linux/spi/spi.h> | 39 | #include <linux/spi/spi.h> |
| 37 | #include <linux/spi/flash.h> | 40 | #include <linux/spi/flash.h> |
| @@ -355,6 +358,84 @@ static struct platform_device net2272_bfin_device = { | |||
| 355 | }; | 358 | }; |
| 356 | #endif | 359 | #endif |
| 357 | 360 | ||
| 361 | #if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE) | ||
| 362 | #ifdef CONFIG_MTD_PARTITIONS | ||
| 363 | const char *part_probes[] = { "cmdlinepart", "RedBoot", NULL }; | ||
| 364 | |||
| 365 | static struct mtd_partition bfin_plat_nand_partitions[] = { | ||
| 366 | { | ||
| 367 | .name = "linux kernel", | ||
| 368 | .size = 0x400000, | ||
| 369 | .offset = 0, | ||
| 370 | }, { | ||
| 371 | .name = "file system", | ||
| 372 | .size = MTDPART_SIZ_FULL, | ||
| 373 | .offset = MTDPART_OFS_APPEND, | ||
| 374 | }, | ||
| 375 | }; | ||
| 376 | #endif | ||
| 377 | |||
| 378 | #define BFIN_NAND_PLAT_CLE 2 | ||
| 379 | #define BFIN_NAND_PLAT_ALE 1 | ||
| 380 | static void bfin_plat_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) | ||
| 381 | { | ||
| 382 | struct nand_chip *this = mtd->priv; | ||
| 383 | |||
| 384 | if (cmd == NAND_CMD_NONE) | ||
| 385 | return; | ||
| 386 | |||
| 387 | if (ctrl & NAND_CLE) | ||
| 388 | writeb(cmd, this->IO_ADDR_W + (1 << BFIN_NAND_PLAT_CLE)); | ||
| 389 | else | ||
| 390 | writeb(cmd, this->IO_ADDR_W + (1 << BFIN_NAND_PLAT_ALE)); | ||
| 391 | } | ||
| 392 | |||
| 393 | #define BFIN_NAND_PLAT_READY GPIO_PF3 | ||
| 394 | static int bfin_plat_nand_dev_ready(struct mtd_info *mtd) | ||
| 395 | { | ||
| 396 | return gpio_get_value(BFIN_NAND_PLAT_READY); | ||
| 397 | } | ||
| 398 | |||
| 399 | static struct platform_nand_data bfin_plat_nand_data = { | ||
| 400 | .chip = { | ||
| 401 | .chip_delay = 30, | ||
| 402 | #ifdef CONFIG_MTD_PARTITIONS | ||
| 403 | .part_probe_types = part_probes, | ||
| 404 | .partitions = bfin_plat_nand_partitions, | ||
| 405 | .nr_partitions = ARRAY_SIZE(bfin_plat_nand_partitions), | ||
| 406 | #endif | ||
| 407 | }, | ||
| 408 | .ctrl = { | ||
| 409 | .cmd_ctrl = bfin_plat_nand_cmd_ctrl, | ||
| 410 | .dev_ready = bfin_plat_nand_dev_ready, | ||
| 411 | }, | ||
| 412 | }; | ||
| 413 | |||
| 414 | #define MAX(x, y) (x > y ? x : y) | ||
| 415 | static struct resource bfin_plat_nand_resources = { | ||
| 416 | .start = 0x20212000, | ||
| 417 | .end = 0x20212000 + (1 << MAX(BFIN_NAND_PLAT_CLE, BFIN_NAND_PLAT_ALE)), | ||
| 418 | .flags = IORESOURCE_IO, | ||
| 419 | }; | ||
| 420 | |||
| 421 | static struct platform_device bfin_async_nand_device = { | ||
| 422 | .name = "gen_nand", | ||
| 423 | .id = -1, | ||
| 424 | .num_resources = 1, | ||
| 425 | .resource = &bfin_plat_nand_resources, | ||
| 426 | .dev = { | ||
| 427 | .platform_data = &bfin_plat_nand_data, | ||
| 428 | }, | ||
| 429 | }; | ||
| 430 | |||
| 431 | static void bfin_plat_nand_init(void) | ||
| 432 | { | ||
| 433 | gpio_request(BFIN_NAND_PLAT_READY, "bfin_nand_plat"); | ||
| 434 | } | ||
| 435 | #else | ||
| 436 | static void bfin_plat_nand_init(void) {} | ||
| 437 | #endif | ||
| 438 | |||
| 358 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 439 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
| 359 | static struct mtd_partition stamp_partitions[] = { | 440 | static struct mtd_partition stamp_partitions[] = { |
| 360 | { | 441 | { |
| @@ -780,7 +861,7 @@ static struct platform_device bfin_sport1_uart_device = { | |||
| 780 | #endif | 861 | #endif |
| 781 | 862 | ||
| 782 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | 863 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) |
| 783 | #define PATA_INT 55 | 864 | #define PATA_INT IRQ_PF5 |
| 784 | 865 | ||
| 785 | static struct pata_platform_info bfin_pata_platform_data = { | 866 | static struct pata_platform_info bfin_pata_platform_data = { |
| 786 | .ioport_shift = 1, | 867 | .ioport_shift = 1, |
| @@ -922,6 +1003,10 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
| 922 | 1003 | ||
| 923 | &bfin_gpios_device, | 1004 | &bfin_gpios_device, |
| 924 | 1005 | ||
| 1006 | #if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE) | ||
| 1007 | &bfin_async_nand_device, | ||
| 1008 | #endif | ||
| 1009 | |||
| 925 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 1010 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
| 926 | &stamp_flash_device, | 1011 | &stamp_flash_device, |
| 927 | #endif | 1012 | #endif |
| @@ -936,6 +1021,7 @@ static int __init stamp_init(void) | |||
| 936 | ARRAY_SIZE(bfin_i2c_board_info)); | 1021 | ARRAY_SIZE(bfin_i2c_board_info)); |
| 937 | #endif | 1022 | #endif |
| 938 | 1023 | ||
| 1024 | bfin_plat_nand_init(); | ||
| 939 | platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices)); | 1025 | platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices)); |
| 940 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | 1026 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); |
| 941 | 1027 | ||
diff --git a/arch/blackfin/mach-bf537/head.S b/arch/blackfin/mach-bf537/head.S index 48cd58a410a0..6b019eaee0b6 100644 --- a/arch/blackfin/mach-bf537/head.S +++ b/arch/blackfin/mach-bf537/head.S | |||
| @@ -32,7 +32,7 @@ | |||
| 32 | #include <asm/blackfin.h> | 32 | #include <asm/blackfin.h> |
| 33 | #include <asm/trace.h> | 33 | #include <asm/trace.h> |
| 34 | 34 | ||
| 35 | #if CONFIG_BFIN_KERNEL_CLOCK | 35 | #ifdef CONFIG_BFIN_KERNEL_CLOCK |
| 36 | #include <asm/mach-common/clocks.h> | 36 | #include <asm/mach-common/clocks.h> |
| 37 | #include <asm/mach/mem_init.h> | 37 | #include <asm/mach/mem_init.h> |
| 38 | #endif | 38 | #endif |
| @@ -217,7 +217,7 @@ ENTRY(__start) | |||
| 217 | 217 | ||
| 218 | /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ | 218 | /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ |
| 219 | call _bf53x_relocate_l1_mem; | 219 | call _bf53x_relocate_l1_mem; |
| 220 | #if CONFIG_BFIN_KERNEL_CLOCK | 220 | #ifdef CONFIG_BFIN_KERNEL_CLOCK |
| 221 | call _start_dma_code; | 221 | call _start_dma_code; |
| 222 | #endif | 222 | #endif |
| 223 | 223 | ||
| @@ -350,7 +350,7 @@ ENDPROC(_real_start) | |||
| 350 | __FINIT | 350 | __FINIT |
| 351 | 351 | ||
| 352 | .section .l1.text | 352 | .section .l1.text |
| 353 | #if CONFIG_BFIN_KERNEL_CLOCK | 353 | #ifdef CONFIG_BFIN_KERNEL_CLOCK |
| 354 | ENTRY(_start_dma_code) | 354 | ENTRY(_start_dma_code) |
| 355 | 355 | ||
| 356 | /* Enable PHY CLK buffer output */ | 356 | /* Enable PHY CLK buffer output */ |
| @@ -430,12 +430,6 @@ ENTRY(_start_dma_code) | |||
| 430 | w[p0] = r0.l; | 430 | w[p0] = r0.l; |
| 431 | ssync; | 431 | ssync; |
| 432 | 432 | ||
| 433 | p0.l = LO(EBIU_SDBCTL); | ||
| 434 | p0.h = HI(EBIU_SDBCTL); /* SDRAM Memory Bank Control Register */ | ||
| 435 | r0 = mem_SDBCTL; | ||
| 436 | w[p0] = r0.l; | ||
| 437 | ssync; | ||
| 438 | |||
| 439 | P2.H = hi(EBIU_SDGCTL); | 433 | P2.H = hi(EBIU_SDGCTL); |
| 440 | P2.L = lo(EBIU_SDGCTL); | 434 | P2.L = lo(EBIU_SDGCTL); |
| 441 | R0 = [P2]; | 435 | R0 = [P2]; |
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c index af7c211a580e..166fa2201ee7 100644 --- a/arch/blackfin/mach-bf548/boards/ezkit.c +++ b/arch/blackfin/mach-bf548/boards/ezkit.c | |||
| @@ -61,6 +61,49 @@ const char bfin_board_name[] = "ADSP-BF548-EZKIT"; | |||
| 61 | * Driver needs to know address, irq and flag pin. | 61 | * Driver needs to know address, irq and flag pin. |
| 62 | */ | 62 | */ |
| 63 | 63 | ||
| 64 | #if defined(CONFIG_USB_ISP1760_HCD) || defined(CONFIG_USB_ISP1760_HCD_MODULE) | ||
| 65 | static struct resource bfin_isp1761_resources[] = { | ||
| 66 | [0] = { | ||
| 67 | .name = "isp1761-regs", | ||
| 68 | .start = 0x2C0C0000, | ||
| 69 | .end = 0x2C0C0000 + 0xfffff, | ||
| 70 | .flags = IORESOURCE_MEM, | ||
| 71 | }, | ||
| 72 | [1] = { | ||
| 73 | .start = IRQ_PG7, | ||
| 74 | .end = IRQ_PG7, | ||
| 75 | .flags = IORESOURCE_IRQ, | ||
| 76 | }, | ||
| 77 | }; | ||
| 78 | |||
| 79 | static struct platform_device bfin_isp1761_device = { | ||
| 80 | .name = "isp1761", | ||
| 81 | .id = 0, | ||
| 82 | .num_resources = ARRAY_SIZE(bfin_isp1761_resources), | ||
| 83 | .resource = bfin_isp1761_resources, | ||
| 84 | }; | ||
| 85 | |||
| 86 | static struct platform_device *bfin_isp1761_devices[] = { | ||
| 87 | &bfin_isp1761_device, | ||
| 88 | }; | ||
| 89 | |||
| 90 | int __init bfin_isp1761_init(void) | ||
| 91 | { | ||
| 92 | unsigned int num_devices = ARRAY_SIZE(bfin_isp1761_devices); | ||
| 93 | |||
| 94 | printk(KERN_INFO "%s(): registering device resources\n", __func__); | ||
| 95 | set_irq_type(bfin_isp1761_resources[1].start, IRQF_TRIGGER_FALLING); | ||
| 96 | |||
| 97 | return platform_add_devices(bfin_isp1761_devices, num_devices); | ||
| 98 | } | ||
| 99 | |||
| 100 | void __exit bfin_isp1761_exit(void) | ||
| 101 | { | ||
| 102 | platform_device_unregister(&bfin_isp1761_device); | ||
| 103 | } | ||
| 104 | arch_initcall(bfin_isp1761_init); | ||
| 105 | #endif | ||
| 106 | |||
| 64 | #if defined(CONFIG_FB_BF54X_LQ043) || defined(CONFIG_FB_BF54X_LQ043_MODULE) | 107 | #if defined(CONFIG_FB_BF54X_LQ043) || defined(CONFIG_FB_BF54X_LQ043_MODULE) |
| 65 | 108 | ||
| 66 | #include <asm/mach/bf54x-lq043.h> | 109 | #include <asm/mach/bf54x-lq043.h> |
| @@ -177,6 +220,7 @@ static struct resource bfin_uart_resources[] = { | |||
| 177 | { | 220 | { |
| 178 | .start = 0xFFC03100, | 221 | .start = 0xFFC03100, |
| 179 | .end = 0xFFC031FF, | 222 | .end = 0xFFC031FF, |
| 223 | .flags = IORESOURCE_MEM, | ||
| 180 | }, | 224 | }, |
| 181 | #endif | 225 | #endif |
| 182 | }; | 226 | }; |
diff --git a/arch/blackfin/mach-bf548/head.S b/arch/blackfin/mach-bf548/head.S index f7191141a3ce..06b9178cfcfe 100644 --- a/arch/blackfin/mach-bf548/head.S +++ b/arch/blackfin/mach-bf548/head.S | |||
| @@ -31,7 +31,7 @@ | |||
| 31 | #include <linux/init.h> | 31 | #include <linux/init.h> |
| 32 | #include <asm/blackfin.h> | 32 | #include <asm/blackfin.h> |
| 33 | #include <asm/trace.h> | 33 | #include <asm/trace.h> |
| 34 | #if CONFIG_BFIN_KERNEL_CLOCK | 34 | #ifdef CONFIG_BFIN_KERNEL_CLOCK |
| 35 | #include <asm/mach-common/clocks.h> | 35 | #include <asm/mach-common/clocks.h> |
| 36 | #include <asm/mach/mem_init.h> | 36 | #include <asm/mach/mem_init.h> |
| 37 | #endif | 37 | #endif |
| @@ -130,7 +130,7 @@ ENTRY(__start) | |||
| 130 | 130 | ||
| 131 | /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ | 131 | /* Put The Code for PLL Programming and SDRAM Programming in L1 ISRAM */ |
| 132 | call _bf53x_relocate_l1_mem; | 132 | call _bf53x_relocate_l1_mem; |
| 133 | #if CONFIG_BFIN_KERNEL_CLOCK | 133 | #ifdef CONFIG_BFIN_KERNEL_CLOCK |
| 134 | call _start_dma_code; | 134 | call _start_dma_code; |
| 135 | #endif | 135 | #endif |
| 136 | /* Code for initializing Async memory banks */ | 136 | /* Code for initializing Async memory banks */ |
| @@ -288,7 +288,7 @@ ENDPROC(_real_start) | |||
| 288 | __FINIT | 288 | __FINIT |
| 289 | 289 | ||
| 290 | .section .l1.text | 290 | .section .l1.text |
| 291 | #if CONFIG_BFIN_KERNEL_CLOCK | 291 | #ifdef CONFIG_BFIN_KERNEL_CLOCK |
| 292 | ENTRY(_start_dma_code) | 292 | ENTRY(_start_dma_code) |
| 293 | 293 | ||
| 294 | /* Enable PHY CLK buffer output */ | 294 | /* Enable PHY CLK buffer output */ |
diff --git a/arch/blackfin/mach-bf561/head.S b/arch/blackfin/mach-bf561/head.S index 5b8bd40851dd..cf1a2dff01e7 100644 --- a/arch/blackfin/mach-bf561/head.S +++ b/arch/blackfin/mach-bf561/head.S | |||
| @@ -377,12 +377,6 @@ ENTRY(_start_dma_code) | |||
| 377 | w[p0] = r0.l; | 377 | w[p0] = r0.l; |
| 378 | ssync; | 378 | ssync; |
| 379 | 379 | ||
| 380 | p0.l = LO(EBIU_SDBCTL); | ||
| 381 | p0.h = HI(EBIU_SDBCTL); /* SDRAM Memory Bank Control Register */ | ||
| 382 | r0 = mem_SDBCTL; | ||
| 383 | w[p0] = r0.l; | ||
| 384 | ssync; | ||
| 385 | |||
| 386 | P2.H = hi(EBIU_SDGCTL); | 380 | P2.H = hi(EBIU_SDGCTL); |
| 387 | P2.L = lo(EBIU_SDGCTL); | 381 | P2.L = lo(EBIU_SDGCTL); |
| 388 | R0 = [P2]; | 382 | R0 = [P2]; |
diff --git a/arch/blackfin/mach-common/arch_checks.c b/arch/blackfin/mach-common/arch_checks.c index caaab49e9cfa..f9160d83b91f 100644 --- a/arch/blackfin/mach-common/arch_checks.c +++ b/arch/blackfin/mach-common/arch_checks.c | |||
| @@ -53,9 +53,3 @@ | |||
| 53 | # endif | 53 | # endif |
| 54 | 54 | ||
| 55 | #endif /* CONFIG_BFIN_KERNEL_CLOCK */ | 55 | #endif /* CONFIG_BFIN_KERNEL_CLOCK */ |
| 56 | |||
| 57 | #ifdef CONFIG_MEM_SIZE | ||
| 58 | #if (CONFIG_MEM_SIZE % 4) | ||
| 59 | #error "SDRAM mem size must be multible of 4MB" | ||
| 60 | #endif | ||
| 61 | #endif | ||
diff --git a/arch/blackfin/mach-common/dpmc_modes.S b/arch/blackfin/mach-common/dpmc_modes.S index b7981d31c392..5e3f1d8a4fb8 100644 --- a/arch/blackfin/mach-common/dpmc_modes.S +++ b/arch/blackfin/mach-common/dpmc_modes.S | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | #include <linux/linkage.h> | 7 | #include <linux/linkage.h> |
| 8 | #include <asm/blackfin.h> | 8 | #include <asm/blackfin.h> |
| 9 | #include <asm/mach/irq.h> | 9 | #include <asm/mach/irq.h> |
| 10 | 10 | #include <asm/dpmc.h> | |
| 11 | 11 | ||
| 12 | .section .l1.text | 12 | .section .l1.text |
| 13 | 13 | ||
| @@ -51,31 +51,32 @@ ENTRY(_sleep_mode) | |||
| 51 | RETS = [SP++]; | 51 | RETS = [SP++]; |
| 52 | ( R7:0, P5:0 ) = [SP++]; | 52 | ( R7:0, P5:0 ) = [SP++]; |
| 53 | RTS; | 53 | RTS; |
| 54 | ENDPROC(_sleep_mode) | ||
| 54 | 55 | ||
| 55 | ENTRY(_hibernate_mode) | 56 | ENTRY(_hibernate_mode) |
| 56 | [--SP] = ( R7:0, P5:0 ); | 57 | [--SP] = ( R7:0, P5:0 ); |
| 57 | [--SP] = RETS; | 58 | [--SP] = RETS; |
| 58 | 59 | ||
| 60 | R3 = R0; | ||
| 61 | R0 = IWR_DISABLE_ALL; | ||
| 62 | R1 = IWR_DISABLE_ALL; | ||
| 63 | R2 = IWR_DISABLE_ALL; | ||
| 59 | call _set_sic_iwr; | 64 | call _set_sic_iwr; |
| 65 | call _set_dram_srfs; | ||
| 66 | SSYNC; | ||
| 60 | 67 | ||
| 61 | R0 = 0xFFFF (Z); | 68 | R0 = 0xFFFF (Z); |
| 62 | call _set_rtc_istat; | 69 | call _set_rtc_istat; |
| 63 | 70 | ||
| 64 | P0.H = hi(VR_CTL); | 71 | P0.H = hi(VR_CTL); |
| 65 | P0.L = lo(VR_CTL); | 72 | P0.L = lo(VR_CTL); |
| 66 | R1 = W[P0](z); | ||
| 67 | BITSET (R1, 8); | ||
| 68 | BITCLR (R1, 0); | ||
| 69 | BITCLR (R1, 1); | ||
| 70 | W[P0] = R1.L; | ||
| 71 | SSYNC; | ||
| 72 | 73 | ||
| 74 | W[P0] = R3.L; | ||
| 73 | CLI R2; | 75 | CLI R2; |
| 74 | IDLE; | 76 | IDLE; |
| 75 | 77 | .Lforever: | |
| 76 | /* Actually, adding anything may not be necessary...SDRAM contents | 78 | jump .Lforever; |
| 77 | * are lost | 79 | ENDPROC(_hibernate_mode) |
| 78 | */ | ||
| 79 | 80 | ||
| 80 | ENTRY(_deep_sleep) | 81 | ENTRY(_deep_sleep) |
| 81 | [--SP] = ( R7:0, P5:0 ); | 82 | [--SP] = ( R7:0, P5:0 ); |
| @@ -131,6 +132,7 @@ ENTRY(_deep_sleep) | |||
| 131 | RETS = [SP++]; | 132 | RETS = [SP++]; |
| 132 | ( R7:0, P5:0 ) = [SP++]; | 133 | ( R7:0, P5:0 ) = [SP++]; |
| 133 | RTS; | 134 | RTS; |
| 135 | ENDPROC(_deep_sleep) | ||
| 134 | 136 | ||
| 135 | ENTRY(_sleep_deeper) | 137 | ENTRY(_sleep_deeper) |
| 136 | [--SP] = ( R7:0, P5:0 ); | 138 | [--SP] = ( R7:0, P5:0 ); |
| @@ -232,53 +234,73 @@ ENTRY(_sleep_deeper) | |||
| 232 | RETS = [SP++]; | 234 | RETS = [SP++]; |
| 233 | ( R7:0, P5:0 ) = [SP++]; | 235 | ( R7:0, P5:0 ) = [SP++]; |
| 234 | RTS; | 236 | RTS; |
| 237 | ENDPROC(_sleep_deeper) | ||
| 235 | 238 | ||
| 236 | ENTRY(_set_dram_srfs) | 239 | ENTRY(_set_dram_srfs) |
| 237 | /* set the dram to self refresh mode */ | 240 | /* set the dram to self refresh mode */ |
| 238 | #if defined(CONFIG_BF54x) | 241 | SSYNC; |
| 242 | #if defined(EBIU_RSTCTL) /* DDR */ | ||
| 239 | P0.H = hi(EBIU_RSTCTL); | 243 | P0.H = hi(EBIU_RSTCTL); |
| 240 | P0.L = lo(EBIU_RSTCTL); | 244 | P0.L = lo(EBIU_RSTCTL); |
| 241 | R2 = [P0]; | 245 | R2 = [P0]; |
| 242 | R3.H = hi(SRREQ); | 246 | BITSET(R2, 3); /* SRREQ enter self-refresh mode */ |
| 243 | R3.L = lo(SRREQ); | 247 | [P0] = R2; |
| 244 | #else | 248 | SSYNC; |
| 245 | P0.H = hi(EBIU_SDGCTL); | 249 | 1: |
| 250 | R2 = [P0]; | ||
| 251 | CC = BITTST(R2, 4); | ||
| 252 | if !CC JUMP 1b; | ||
| 253 | #else /* SDRAM */ | ||
| 246 | P0.L = lo(EBIU_SDGCTL); | 254 | P0.L = lo(EBIU_SDGCTL); |
| 255 | P0.H = hi(EBIU_SDGCTL); | ||
| 247 | R2 = [P0]; | 256 | R2 = [P0]; |
| 248 | R3.H = hi(SRFS); | 257 | BITSET(R2, 24); /* SRFS enter self-refresh mode */ |
| 249 | R3.L = lo(SRFS); | ||
| 250 | #endif | ||
| 251 | R2 = R2|R3; | ||
| 252 | [P0] = R2; | 258 | [P0] = R2; |
| 253 | ssync; | 259 | SSYNC; |
| 254 | #if defined(CONFIG_BF54x) | 260 | |
| 255 | .LSRR_MODE: | 261 | P0.L = lo(EBIU_SDSTAT); |
| 262 | P0.H = hi(EBIU_SDSTAT); | ||
| 263 | 1: | ||
| 264 | R2 = w[P0]; | ||
| 265 | SSYNC; | ||
| 266 | cc = BITTST(R2, 1); /* SDSRA poll self-refresh status */ | ||
| 267 | if !cc jump 1b; | ||
| 268 | |||
| 269 | P0.L = lo(EBIU_SDGCTL); | ||
| 270 | P0.H = hi(EBIU_SDGCTL); | ||
| 256 | R2 = [P0]; | 271 | R2 = [P0]; |
| 257 | CC = BITTST(R2, 4); | 272 | BITCLR(R2, 0); /* SCTLE disable CLKOUT */ |
| 258 | if !CC JUMP .LSRR_MODE; | 273 | [P0] = R2; |
| 259 | #endif | 274 | #endif |
| 260 | RTS; | 275 | RTS; |
| 276 | ENDPROC(_set_dram_srfs) | ||
| 261 | 277 | ||
| 262 | ENTRY(_unset_dram_srfs) | 278 | ENTRY(_unset_dram_srfs) |
| 263 | /* set the dram out of self refresh mode */ | 279 | /* set the dram out of self refresh mode */ |
| 264 | #if defined(CONFIG_BF54x) | 280 | #if defined(EBIU_RSTCTL) /* DDR */ |
| 265 | P0.H = hi(EBIU_RSTCTL); | 281 | P0.H = hi(EBIU_RSTCTL); |
| 266 | P0.L = lo(EBIU_RSTCTL); | 282 | P0.L = lo(EBIU_RSTCTL); |
| 267 | R2 = [P0]; | 283 | R2 = [P0]; |
| 268 | R3.H = hi(SRREQ); | 284 | BITCLR(R2, 3); /* clear SRREQ bit */ |
| 269 | R3.L = lo(SRREQ); | 285 | [P0] = R2; |
| 270 | #else | 286 | #elif defined(EBIU_SDGCTL) /* SDRAM */ |
| 287 | |||
| 288 | P0.L = lo(EBIU_SDGCTL); /* release CLKOUT from self-refresh */ | ||
| 289 | P0.H = hi(EBIU_SDGCTL); | ||
| 290 | R2 = [P0]; | ||
| 291 | BITSET(R2, 0); /* SCTLE enable CLKOUT */ | ||
| 292 | [P0] = R2 | ||
| 293 | SSYNC; | ||
| 294 | |||
| 295 | P0.L = lo(EBIU_SDGCTL); /* release SDRAM from self-refresh */ | ||
| 271 | P0.H = hi(EBIU_SDGCTL); | 296 | P0.H = hi(EBIU_SDGCTL); |
| 272 | P0.L = lo(EBIU_SDGCTL); | ||
| 273 | R2 = [P0]; | 297 | R2 = [P0]; |
| 274 | R3.H = hi(SRFS); | 298 | BITCLR(R2, 24); /* clear SRFS bit */ |
| 275 | R3.L = lo(SRFS); | 299 | [P0] = R2 |
| 276 | #endif | 300 | #endif |
| 277 | R3 = ~R3; | 301 | SSYNC; |
| 278 | R2 = R2&R3; | ||
| 279 | [P0] = R2; | ||
| 280 | ssync; | ||
| 281 | RTS; | 302 | RTS; |
| 303 | ENDPROC(_unset_dram_srfs) | ||
| 282 | 304 | ||
| 283 | ENTRY(_set_sic_iwr) | 305 | ENTRY(_set_sic_iwr) |
| 284 | #if defined(CONFIG_BF54x) || defined(CONFIG_BF52x) || defined(CONFIG_BF561) | 306 | #if defined(CONFIG_BF54x) || defined(CONFIG_BF52x) || defined(CONFIG_BF561) |
| @@ -300,6 +322,7 @@ ENTRY(_set_sic_iwr) | |||
| 300 | 322 | ||
| 301 | SSYNC; | 323 | SSYNC; |
| 302 | RTS; | 324 | RTS; |
| 325 | ENDPROC(_set_sic_iwr) | ||
| 303 | 326 | ||
| 304 | ENTRY(_set_rtc_istat) | 327 | ENTRY(_set_rtc_istat) |
| 305 | #ifndef CONFIG_BF561 | 328 | #ifndef CONFIG_BF561 |
| @@ -307,8 +330,14 @@ ENTRY(_set_rtc_istat) | |||
| 307 | P0.L = lo(RTC_ISTAT); | 330 | P0.L = lo(RTC_ISTAT); |
| 308 | w[P0] = R0.L; | 331 | w[P0] = R0.L; |
| 309 | SSYNC; | 332 | SSYNC; |
| 333 | #elif (ANOMALY_05000371) | ||
| 334 | nop; | ||
| 335 | nop; | ||
| 336 | nop; | ||
| 337 | nop; | ||
| 310 | #endif | 338 | #endif |
| 311 | RTS; | 339 | RTS; |
| 340 | ENDPROC(_set_rtc_istat) | ||
| 312 | 341 | ||
| 313 | ENTRY(_test_pll_locked) | 342 | ENTRY(_test_pll_locked) |
| 314 | P0.H = hi(PLL_STAT); | 343 | P0.H = hi(PLL_STAT); |
| @@ -318,3 +347,509 @@ ENTRY(_test_pll_locked) | |||
| 318 | CC = BITTST(R0,5); | 347 | CC = BITTST(R0,5); |
| 319 | IF !CC JUMP 1b; | 348 | IF !CC JUMP 1b; |
| 320 | RTS; | 349 | RTS; |
| 350 | ENDPROC(_test_pll_locked) | ||
| 351 | |||
| 352 | .section .text | ||
| 353 | |||
| 354 | ENTRY(_do_hibernate) | ||
| 355 | [--SP] = ( R7:0, P5:0 ); | ||
| 356 | [--SP] = RETS; | ||
| 357 | /* Save System MMRs */ | ||
| 358 | R2 = R0; | ||
| 359 | P0.H = hi(PLL_CTL); | ||
| 360 | P0.L = lo(PLL_CTL); | ||
| 361 | |||
| 362 | #ifdef SIC_IMASK0 | ||
| 363 | PM_SYS_PUSH(SIC_IMASK0) | ||
| 364 | #endif | ||
| 365 | #ifdef SIC_IMASK1 | ||
| 366 | PM_SYS_PUSH(SIC_IMASK1) | ||
| 367 | #endif | ||
| 368 | #ifdef SIC_IMASK2 | ||
| 369 | PM_SYS_PUSH(SIC_IMASK2) | ||
| 370 | #endif | ||
| 371 | #ifdef SIC_IMASK | ||
| 372 | PM_SYS_PUSH(SIC_IMASK) | ||
| 373 | #endif | ||
| 374 | #ifdef SICA_IMASK0 | ||
| 375 | PM_SYS_PUSH(SICA_IMASK0) | ||
| 376 | #endif | ||
| 377 | #ifdef SICA_IMASK1 | ||
| 378 | PM_SYS_PUSH(SICA_IMASK1) | ||
| 379 | #endif | ||
| 380 | #ifdef SIC_IAR2 | ||
| 381 | PM_SYS_PUSH(SIC_IAR0) | ||
| 382 | PM_SYS_PUSH(SIC_IAR1) | ||
| 383 | PM_SYS_PUSH(SIC_IAR2) | ||
| 384 | #endif | ||
| 385 | #ifdef SIC_IAR3 | ||
| 386 | PM_SYS_PUSH(SIC_IAR3) | ||
| 387 | #endif | ||
| 388 | #ifdef SIC_IAR4 | ||
| 389 | PM_SYS_PUSH(SIC_IAR4) | ||
| 390 | PM_SYS_PUSH(SIC_IAR5) | ||
| 391 | PM_SYS_PUSH(SIC_IAR6) | ||
| 392 | #endif | ||
| 393 | #ifdef SIC_IAR7 | ||
| 394 | PM_SYS_PUSH(SIC_IAR7) | ||
| 395 | #endif | ||
| 396 | #ifdef SIC_IAR8 | ||
| 397 | PM_SYS_PUSH(SIC_IAR8) | ||
| 398 | PM_SYS_PUSH(SIC_IAR9) | ||
| 399 | PM_SYS_PUSH(SIC_IAR10) | ||
| 400 | PM_SYS_PUSH(SIC_IAR11) | ||
| 401 | #endif | ||
| 402 | |||
| 403 | #ifdef SICA_IAR0 | ||
| 404 | PM_SYS_PUSH(SICA_IAR0) | ||
| 405 | PM_SYS_PUSH(SICA_IAR1) | ||
| 406 | PM_SYS_PUSH(SICA_IAR2) | ||
| 407 | PM_SYS_PUSH(SICA_IAR3) | ||
| 408 | PM_SYS_PUSH(SICA_IAR4) | ||
| 409 | PM_SYS_PUSH(SICA_IAR5) | ||
| 410 | PM_SYS_PUSH(SICA_IAR6) | ||
| 411 | PM_SYS_PUSH(SICA_IAR7) | ||
| 412 | #endif | ||
| 413 | |||
| 414 | #ifdef SIC_IWR | ||
| 415 | PM_SYS_PUSH(SIC_IWR) | ||
| 416 | #endif | ||
| 417 | #ifdef SIC_IWR0 | ||
| 418 | PM_SYS_PUSH(SIC_IWR0) | ||
| 419 | #endif | ||
| 420 | #ifdef SIC_IWR1 | ||
| 421 | PM_SYS_PUSH(SIC_IWR1) | ||
| 422 | #endif | ||
| 423 | #ifdef SIC_IWR2 | ||
| 424 | PM_SYS_PUSH(SIC_IWR2) | ||
| 425 | #endif | ||
| 426 | #ifdef SICA_IWR0 | ||
| 427 | PM_SYS_PUSH(SICA_IWR0) | ||
| 428 | #endif | ||
| 429 | #ifdef SICA_IWR1 | ||
| 430 | PM_SYS_PUSH(SICA_IWR1) | ||
| 431 | #endif | ||
| 432 | |||
| 433 | #ifdef PINT0_ASSIGN | ||
| 434 | PM_SYS_PUSH(PINT0_ASSIGN) | ||
| 435 | PM_SYS_PUSH(PINT1_ASSIGN) | ||
| 436 | PM_SYS_PUSH(PINT2_ASSIGN) | ||
| 437 | PM_SYS_PUSH(PINT3_ASSIGN) | ||
| 438 | #endif | ||
| 439 | |||
| 440 | PM_SYS_PUSH(EBIU_AMBCTL0) | ||
| 441 | PM_SYS_PUSH(EBIU_AMBCTL1) | ||
| 442 | PM_SYS_PUSH16(EBIU_AMGCTL) | ||
| 443 | |||
| 444 | #ifdef EBIU_FCTL | ||
| 445 | PM_SYS_PUSH(EBIU_MBSCTL) | ||
| 446 | PM_SYS_PUSH(EBIU_MODE) | ||
| 447 | PM_SYS_PUSH(EBIU_FCTL) | ||
| 448 | #endif | ||
| 449 | |||
| 450 | PM_SYS_PUSH16(SYSCR) | ||
| 451 | |||
| 452 | /* Save Core MMRs */ | ||
| 453 | P0.H = hi(SRAM_BASE_ADDRESS); | ||
| 454 | P0.L = lo(SRAM_BASE_ADDRESS); | ||
| 455 | |||
| 456 | PM_PUSH(DMEM_CONTROL) | ||
| 457 | PM_PUSH(DCPLB_ADDR0) | ||
| 458 | PM_PUSH(DCPLB_ADDR1) | ||
| 459 | PM_PUSH(DCPLB_ADDR2) | ||
| 460 | PM_PUSH(DCPLB_ADDR3) | ||
| 461 | PM_PUSH(DCPLB_ADDR4) | ||
| 462 | PM_PUSH(DCPLB_ADDR5) | ||
| 463 | PM_PUSH(DCPLB_ADDR6) | ||
| 464 | PM_PUSH(DCPLB_ADDR7) | ||
| 465 | PM_PUSH(DCPLB_ADDR8) | ||
| 466 | PM_PUSH(DCPLB_ADDR9) | ||
| 467 | PM_PUSH(DCPLB_ADDR10) | ||
| 468 | PM_PUSH(DCPLB_ADDR11) | ||
| 469 | PM_PUSH(DCPLB_ADDR12) | ||
| 470 | PM_PUSH(DCPLB_ADDR13) | ||
| 471 | PM_PUSH(DCPLB_ADDR14) | ||
| 472 | PM_PUSH(DCPLB_ADDR15) | ||
| 473 | PM_PUSH(DCPLB_DATA0) | ||
| 474 | PM_PUSH(DCPLB_DATA1) | ||
| 475 | PM_PUSH(DCPLB_DATA2) | ||
| 476 | PM_PUSH(DCPLB_DATA3) | ||
| 477 | PM_PUSH(DCPLB_DATA4) | ||
| 478 | PM_PUSH(DCPLB_DATA5) | ||
| 479 | PM_PUSH(DCPLB_DATA6) | ||
| 480 | PM_PUSH(DCPLB_DATA7) | ||
| 481 | PM_PUSH(DCPLB_DATA8) | ||
| 482 | PM_PUSH(DCPLB_DATA9) | ||
| 483 | PM_PUSH(DCPLB_DATA10) | ||
| 484 | PM_PUSH(DCPLB_DATA11) | ||
| 485 | PM_PUSH(DCPLB_DATA12) | ||
| 486 | PM_PUSH(DCPLB_DATA13) | ||
| 487 | PM_PUSH(DCPLB_DATA14) | ||
| 488 | PM_PUSH(DCPLB_DATA15) | ||
| 489 | PM_PUSH(IMEM_CONTROL) | ||
| 490 | PM_PUSH(ICPLB_ADDR0) | ||
| 491 | PM_PUSH(ICPLB_ADDR1) | ||
| 492 | PM_PUSH(ICPLB_ADDR2) | ||
| 493 | PM_PUSH(ICPLB_ADDR3) | ||
| 494 | PM_PUSH(ICPLB_ADDR4) | ||
| 495 | PM_PUSH(ICPLB_ADDR5) | ||
| 496 | PM_PUSH(ICPLB_ADDR6) | ||
| 497 | PM_PUSH(ICPLB_ADDR7) | ||
| 498 | PM_PUSH(ICPLB_ADDR8) | ||
| 499 | PM_PUSH(ICPLB_ADDR9) | ||
| 500 | PM_PUSH(ICPLB_ADDR10) | ||
| 501 | PM_PUSH(ICPLB_ADDR11) | ||
| 502 | PM_PUSH(ICPLB_ADDR12) | ||
| 503 | PM_PUSH(ICPLB_ADDR13) | ||
| 504 | PM_PUSH(ICPLB_ADDR14) | ||
| 505 | PM_PUSH(ICPLB_ADDR15) | ||
| 506 | PM_PUSH(ICPLB_DATA0) | ||
| 507 | PM_PUSH(ICPLB_DATA1) | ||
| 508 | PM_PUSH(ICPLB_DATA2) | ||
| 509 | PM_PUSH(ICPLB_DATA3) | ||
| 510 | PM_PUSH(ICPLB_DATA4) | ||
| 511 | PM_PUSH(ICPLB_DATA5) | ||
| 512 | PM_PUSH(ICPLB_DATA6) | ||
| 513 | PM_PUSH(ICPLB_DATA7) | ||
| 514 | PM_PUSH(ICPLB_DATA8) | ||
| 515 | PM_PUSH(ICPLB_DATA9) | ||
| 516 | PM_PUSH(ICPLB_DATA10) | ||
| 517 | PM_PUSH(ICPLB_DATA11) | ||
| 518 | PM_PUSH(ICPLB_DATA12) | ||
| 519 | PM_PUSH(ICPLB_DATA13) | ||
| 520 | PM_PUSH(ICPLB_DATA14) | ||
| 521 | PM_PUSH(ICPLB_DATA15) | ||
| 522 | PM_PUSH(EVT0) | ||
| 523 | PM_PUSH(EVT1) | ||
| 524 | PM_PUSH(EVT2) | ||
| 525 | PM_PUSH(EVT3) | ||
| 526 | PM_PUSH(EVT4) | ||
| 527 | PM_PUSH(EVT5) | ||
| 528 | PM_PUSH(EVT6) | ||
| 529 | PM_PUSH(EVT7) | ||
| 530 | PM_PUSH(EVT8) | ||
| 531 | PM_PUSH(EVT9) | ||
| 532 | PM_PUSH(EVT10) | ||
| 533 | PM_PUSH(EVT11) | ||
| 534 | PM_PUSH(EVT12) | ||
| 535 | PM_PUSH(EVT13) | ||
| 536 | PM_PUSH(EVT14) | ||
| 537 | PM_PUSH(EVT15) | ||
| 538 | PM_PUSH(IMASK) | ||
| 539 | PM_PUSH(ILAT) | ||
| 540 | PM_PUSH(IPRIO) | ||
| 541 | PM_PUSH(TCNTL) | ||
| 542 | PM_PUSH(TPERIOD) | ||
| 543 | PM_PUSH(TSCALE) | ||
| 544 | PM_PUSH(TCOUNT) | ||
| 545 | PM_PUSH(TBUFCTL) | ||
| 546 | |||
| 547 | /* Save Core Registers */ | ||
| 548 | [--sp] = SYSCFG; | ||
| 549 | [--sp] = ( R7:0, P5:0 ); | ||
| 550 | [--sp] = fp; | ||
| 551 | [--sp] = usp; | ||
| 552 | |||
| 553 | [--sp] = i0; | ||
| 554 | [--sp] = i1; | ||
| 555 | [--sp] = i2; | ||
| 556 | [--sp] = i3; | ||
| 557 | |||
| 558 | [--sp] = m0; | ||
| 559 | [--sp] = m1; | ||
| 560 | [--sp] = m2; | ||
| 561 | [--sp] = m3; | ||
| 562 | |||
| 563 | [--sp] = l0; | ||
| 564 | [--sp] = l1; | ||
| 565 | [--sp] = l2; | ||
| 566 | [--sp] = l3; | ||
| 567 | |||
| 568 | [--sp] = b0; | ||
| 569 | [--sp] = b1; | ||
| 570 | [--sp] = b2; | ||
| 571 | [--sp] = b3; | ||
| 572 | [--sp] = a0.x; | ||
| 573 | [--sp] = a0.w; | ||
| 574 | [--sp] = a1.x; | ||
| 575 | [--sp] = a1.w; | ||
| 576 | |||
| 577 | [--sp] = LC0; | ||
| 578 | [--sp] = LC1; | ||
| 579 | [--sp] = LT0; | ||
| 580 | [--sp] = LT1; | ||
| 581 | [--sp] = LB0; | ||
| 582 | [--sp] = LB1; | ||
| 583 | |||
| 584 | [--sp] = ASTAT; | ||
| 585 | [--sp] = CYCLES; | ||
| 586 | [--sp] = CYCLES2; | ||
| 587 | |||
| 588 | [--sp] = RETS; | ||
| 589 | r0 = RETI; | ||
| 590 | [--sp] = r0; | ||
| 591 | [--sp] = RETX; | ||
| 592 | [--sp] = RETN; | ||
| 593 | [--sp] = RETE; | ||
| 594 | [--sp] = SEQSTAT; | ||
| 595 | |||
| 596 | /* Save Magic, return address and Stack Pointer */ | ||
| 597 | P0.H = 0; | ||
| 598 | P0.L = 0; | ||
| 599 | R0.H = 0xDEAD; /* Hibernate Magic */ | ||
| 600 | R0.L = 0xBEEF; | ||
| 601 | [P0++] = R0; /* Store Hibernate Magic */ | ||
| 602 | R0.H = .Lpm_resume_here; | ||
| 603 | R0.L = .Lpm_resume_here; | ||
| 604 | [P0++] = R0; /* Save Return Address */ | ||
| 605 | [P0++] = SP; /* Save Stack Pointer */ | ||
| 606 | P0.H = _hibernate_mode; | ||
| 607 | P0.L = _hibernate_mode; | ||
| 608 | R0 = R2; | ||
| 609 | call (P0); /* Goodbye */ | ||
| 610 | |||
| 611 | .Lpm_resume_here: | ||
| 612 | |||
| 613 | /* Restore Core Registers */ | ||
| 614 | SEQSTAT = [sp++]; | ||
| 615 | RETE = [sp++]; | ||
| 616 | RETN = [sp++]; | ||
| 617 | RETX = [sp++]; | ||
| 618 | r0 = [sp++]; | ||
| 619 | RETI = r0; | ||
| 620 | RETS = [sp++]; | ||
| 621 | |||
| 622 | CYCLES2 = [sp++]; | ||
| 623 | CYCLES = [sp++]; | ||
| 624 | ASTAT = [sp++]; | ||
| 625 | |||
| 626 | LB1 = [sp++]; | ||
| 627 | LB0 = [sp++]; | ||
| 628 | LT1 = [sp++]; | ||
| 629 | LT0 = [sp++]; | ||
| 630 | LC1 = [sp++]; | ||
| 631 | LC0 = [sp++]; | ||
| 632 | |||
| 633 | a1.w = [sp++]; | ||
| 634 | a1.x = [sp++]; | ||
| 635 | a0.w = [sp++]; | ||
| 636 | a0.x = [sp++]; | ||
| 637 | b3 = [sp++]; | ||
| 638 | b2 = [sp++]; | ||
| 639 | b1 = [sp++]; | ||
| 640 | b0 = [sp++]; | ||
| 641 | |||
| 642 | l3 = [sp++]; | ||
| 643 | l2 = [sp++]; | ||
| 644 | l1 = [sp++]; | ||
| 645 | l0 = [sp++]; | ||
| 646 | |||
| 647 | m3 = [sp++]; | ||
| 648 | m2 = [sp++]; | ||
| 649 | m1 = [sp++]; | ||
| 650 | m0 = [sp++]; | ||
| 651 | |||
| 652 | i3 = [sp++]; | ||
| 653 | i2 = [sp++]; | ||
| 654 | i1 = [sp++]; | ||
| 655 | i0 = [sp++]; | ||
| 656 | |||
| 657 | usp = [sp++]; | ||
| 658 | fp = [sp++]; | ||
| 659 | |||
| 660 | ( R7 : 0, P5 : 0) = [ SP ++ ]; | ||
| 661 | SYSCFG = [sp++]; | ||
| 662 | |||
| 663 | /* Restore Core MMRs */ | ||
| 664 | |||
| 665 | PM_POP(TBUFCTL) | ||
| 666 | PM_POP(TCOUNT) | ||
| 667 | PM_POP(TSCALE) | ||
| 668 | PM_POP(TPERIOD) | ||
| 669 | PM_POP(TCNTL) | ||
| 670 | PM_POP(IPRIO) | ||
| 671 | PM_POP(ILAT) | ||
| 672 | PM_POP(IMASK) | ||
| 673 | PM_POP(EVT15) | ||
| 674 | PM_POP(EVT14) | ||
| 675 | PM_POP(EVT13) | ||
| 676 | PM_POP(EVT12) | ||
| 677 | PM_POP(EVT11) | ||
| 678 | PM_POP(EVT10) | ||
| 679 | PM_POP(EVT9) | ||
| 680 | PM_POP(EVT8) | ||
| 681 | PM_POP(EVT7) | ||
| 682 | PM_POP(EVT6) | ||
| 683 | PM_POP(EVT5) | ||
| 684 | PM_POP(EVT4) | ||
| 685 | PM_POP(EVT3) | ||
| 686 | PM_POP(EVT2) | ||
| 687 | PM_POP(EVT1) | ||
| 688 | PM_POP(EVT0) | ||
| 689 | PM_POP(ICPLB_DATA15) | ||
| 690 | PM_POP(ICPLB_DATA14) | ||
| 691 | PM_POP(ICPLB_DATA13) | ||
| 692 | PM_POP(ICPLB_DATA12) | ||
| 693 | PM_POP(ICPLB_DATA11) | ||
| 694 | PM_POP(ICPLB_DATA10) | ||
| 695 | PM_POP(ICPLB_DATA9) | ||
| 696 | PM_POP(ICPLB_DATA8) | ||
| 697 | PM_POP(ICPLB_DATA7) | ||
| 698 | PM_POP(ICPLB_DATA6) | ||
| 699 | PM_POP(ICPLB_DATA5) | ||
| 700 | PM_POP(ICPLB_DATA4) | ||
| 701 | PM_POP(ICPLB_DATA3) | ||
| 702 | PM_POP(ICPLB_DATA2) | ||
| 703 | PM_POP(ICPLB_DATA1) | ||
| 704 | PM_POP(ICPLB_DATA0) | ||
| 705 | PM_POP(ICPLB_ADDR15) | ||
| 706 | PM_POP(ICPLB_ADDR14) | ||
| 707 | PM_POP(ICPLB_ADDR13) | ||
| 708 | PM_POP(ICPLB_ADDR12) | ||
| 709 | PM_POP(ICPLB_ADDR11) | ||
| 710 | PM_POP(ICPLB_ADDR10) | ||
| 711 | PM_POP(ICPLB_ADDR9) | ||
| 712 | PM_POP(ICPLB_ADDR8) | ||
| 713 | PM_POP(ICPLB_ADDR7) | ||
| 714 | PM_POP(ICPLB_ADDR6) | ||
| 715 | PM_POP(ICPLB_ADDR5) | ||
| 716 | PM_POP(ICPLB_ADDR4) | ||
| 717 | PM_POP(ICPLB_ADDR3) | ||
| 718 | PM_POP(ICPLB_ADDR2) | ||
| 719 | PM_POP(ICPLB_ADDR1) | ||
| 720 | PM_POP(ICPLB_ADDR0) | ||
| 721 | PM_POP(IMEM_CONTROL) | ||
| 722 | PM_POP(DCPLB_DATA15) | ||
| 723 | PM_POP(DCPLB_DATA14) | ||
| 724 | PM_POP(DCPLB_DATA13) | ||
| 725 | PM_POP(DCPLB_DATA12) | ||
| 726 | PM_POP(DCPLB_DATA11) | ||
| 727 | PM_POP(DCPLB_DATA10) | ||
| 728 | PM_POP(DCPLB_DATA9) | ||
| 729 | PM_POP(DCPLB_DATA8) | ||
| 730 | PM_POP(DCPLB_DATA7) | ||
| 731 | PM_POP(DCPLB_DATA6) | ||
| 732 | PM_POP(DCPLB_DATA5) | ||
| 733 | PM_POP(DCPLB_DATA4) | ||
| 734 | PM_POP(DCPLB_DATA3) | ||
| 735 | PM_POP(DCPLB_DATA2) | ||
| 736 | PM_POP(DCPLB_DATA1) | ||
| 737 | PM_POP(DCPLB_DATA0) | ||
| 738 | PM_POP(DCPLB_ADDR15) | ||
| 739 | PM_POP(DCPLB_ADDR14) | ||
| 740 | PM_POP(DCPLB_ADDR13) | ||
| 741 | PM_POP(DCPLB_ADDR12) | ||
| 742 | PM_POP(DCPLB_ADDR11) | ||
| 743 | PM_POP(DCPLB_ADDR10) | ||
| 744 | PM_POP(DCPLB_ADDR9) | ||
| 745 | PM_POP(DCPLB_ADDR8) | ||
| 746 | PM_POP(DCPLB_ADDR7) | ||
| 747 | PM_POP(DCPLB_ADDR6) | ||
| 748 | PM_POP(DCPLB_ADDR5) | ||
| 749 | PM_POP(DCPLB_ADDR4) | ||
| 750 | PM_POP(DCPLB_ADDR3) | ||
| 751 | PM_POP(DCPLB_ADDR2) | ||
| 752 | PM_POP(DCPLB_ADDR1) | ||
| 753 | PM_POP(DCPLB_ADDR0) | ||
| 754 | PM_POP(DMEM_CONTROL) | ||
| 755 | |||
| 756 | /* Restore System MMRs */ | ||
| 757 | |||
| 758 | P0.H = hi(PLL_CTL); | ||
| 759 | P0.L = lo(PLL_CTL); | ||
| 760 | PM_SYS_POP16(SYSCR) | ||
| 761 | |||
| 762 | #ifdef EBIU_FCTL | ||
| 763 | PM_SYS_POP(EBIU_FCTL) | ||
| 764 | PM_SYS_POP(EBIU_MODE) | ||
| 765 | PM_SYS_POP(EBIU_MBSCTL) | ||
| 766 | #endif | ||
| 767 | PM_SYS_POP16(EBIU_AMGCTL) | ||
| 768 | PM_SYS_POP(EBIU_AMBCTL1) | ||
| 769 | PM_SYS_POP(EBIU_AMBCTL0) | ||
| 770 | |||
| 771 | #ifdef PINT0_ASSIGN | ||
| 772 | PM_SYS_POP(PINT3_ASSIGN) | ||
| 773 | PM_SYS_POP(PINT2_ASSIGN) | ||
| 774 | PM_SYS_POP(PINT1_ASSIGN) | ||
| 775 | PM_SYS_POP(PINT0_ASSIGN) | ||
| 776 | #endif | ||
| 777 | |||
| 778 | #ifdef SICA_IWR1 | ||
| 779 | PM_SYS_POP(SICA_IWR1) | ||
| 780 | #endif | ||
| 781 | #ifdef SICA_IWR0 | ||
| 782 | PM_SYS_POP(SICA_IWR0) | ||
| 783 | #endif | ||
| 784 | #ifdef SIC_IWR2 | ||
| 785 | PM_SYS_POP(SIC_IWR2) | ||
| 786 | #endif | ||
| 787 | #ifdef SIC_IWR1 | ||
| 788 | PM_SYS_POP(SIC_IWR1) | ||
| 789 | #endif | ||
| 790 | #ifdef SIC_IWR0 | ||
| 791 | PM_SYS_POP(SIC_IWR0) | ||
| 792 | #endif | ||
| 793 | #ifdef SIC_IWR | ||
| 794 | PM_SYS_POP(SIC_IWR) | ||
| 795 | #endif | ||
| 796 | |||
| 797 | #ifdef SICA_IAR0 | ||
| 798 | PM_SYS_POP(SICA_IAR7) | ||
| 799 | PM_SYS_POP(SICA_IAR6) | ||
| 800 | PM_SYS_POP(SICA_IAR5) | ||
| 801 | PM_SYS_POP(SICA_IAR4) | ||
| 802 | PM_SYS_POP(SICA_IAR3) | ||
| 803 | PM_SYS_POP(SICA_IAR2) | ||
| 804 | PM_SYS_POP(SICA_IAR1) | ||
| 805 | PM_SYS_POP(SICA_IAR0) | ||
| 806 | #endif | ||
| 807 | |||
| 808 | #ifdef SIC_IAR8 | ||
| 809 | PM_SYS_POP(SIC_IAR11) | ||
| 810 | PM_SYS_POP(SIC_IAR10) | ||
| 811 | PM_SYS_POP(SIC_IAR9) | ||
| 812 | PM_SYS_POP(SIC_IAR8) | ||
| 813 | #endif | ||
| 814 | #ifdef SIC_IAR7 | ||
| 815 | PM_SYS_POP(SIC_IAR7) | ||
| 816 | #endif | ||
| 817 | #ifdef SIC_IAR6 | ||
| 818 | PM_SYS_POP(SIC_IAR6) | ||
| 819 | PM_SYS_POP(SIC_IAR5) | ||
| 820 | PM_SYS_POP(SIC_IAR4) | ||
| 821 | #endif | ||
| 822 | #ifdef SIC_IAR3 | ||
| 823 | PM_SYS_POP(SIC_IAR3) | ||
| 824 | #endif | ||
| 825 | #ifdef SIC_IAR2 | ||
| 826 | PM_SYS_POP(SIC_IAR2) | ||
| 827 | PM_SYS_POP(SIC_IAR1) | ||
| 828 | PM_SYS_POP(SIC_IAR0) | ||
| 829 | #endif | ||
| 830 | #ifdef SICA_IMASK1 | ||
| 831 | PM_SYS_POP(SICA_IMASK1) | ||
| 832 | #endif | ||
| 833 | #ifdef SICA_IMASK0 | ||
| 834 | PM_SYS_POP(SICA_IMASK0) | ||
| 835 | #endif | ||
| 836 | #ifdef SIC_IMASK | ||
| 837 | PM_SYS_POP(SIC_IMASK) | ||
| 838 | #endif | ||
| 839 | #ifdef SIC_IMASK2 | ||
| 840 | PM_SYS_POP(SIC_IMASK2) | ||
| 841 | #endif | ||
| 842 | #ifdef SIC_IMASK1 | ||
| 843 | PM_SYS_POP(SIC_IMASK1) | ||
| 844 | #endif | ||
| 845 | #ifdef SIC_IMASK0 | ||
| 846 | PM_SYS_POP(SIC_IMASK0) | ||
| 847 | #endif | ||
| 848 | |||
| 849 | [--sp] = RETI; /* Clear Global Interrupt Disable */ | ||
| 850 | SP += 4; | ||
| 851 | |||
| 852 | RETS = [SP++]; | ||
| 853 | ( R7:0, P5:0 ) = [SP++]; | ||
| 854 | RTS; | ||
| 855 | ENDPROC(_do_hibernate) | ||
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S index 038f70e0be65..eceb484d90f9 100644 --- a/arch/blackfin/mach-common/entry.S +++ b/arch/blackfin/mach-common/entry.S | |||
| @@ -158,23 +158,45 @@ ENTRY(_ex_single_step) | |||
| 158 | cc = r7 == r6; | 158 | cc = r7 == r6; |
| 159 | if cc jump _bfin_return_from_exception; | 159 | if cc jump _bfin_return_from_exception; |
| 160 | 160 | ||
| 161 | /* Don't do single step in hardware exception handler */ | ||
| 162 | p5.l = lo(IPEND); | ||
| 163 | p5.h = hi(IPEND); | ||
| 164 | r6 = [p5]; | ||
| 165 | cc = bittst(r6, 5); | ||
| 166 | if cc jump _bfin_return_from_exception; | ||
| 167 | |||
| 168 | #ifdef CONFIG_KGDB | ||
| 169 | /* skip single step if current interrupt priority is higher than | ||
| 170 | * that of the first instruction, from which gdb starts single step */ | ||
| 171 | r6 >>= 6; | ||
| 172 | r7 = 10; | ||
| 173 | .Lfind_priority_start: | ||
| 174 | cc = bittst(r6, 0); | ||
| 175 | if cc jump .Lfind_priority_done; | ||
| 176 | r6 >>= 1; | ||
| 177 | r7 += -1; | ||
| 178 | cc = r7 == 0; | ||
| 179 | if cc jump .Lfind_priority_done; | ||
| 180 | jump.s .Lfind_priority_start; | ||
| 181 | .Lfind_priority_done: | ||
| 182 | p4.l = _debugger_step; | ||
| 183 | p4.h = _debugger_step; | ||
| 184 | r6 = [p4]; | ||
| 185 | cc = r6 == 0; | ||
| 186 | if cc jump .Ldo_single_step; | ||
| 187 | r6 += -1; | ||
| 188 | cc = r6 < r7; | ||
| 189 | if cc jump _bfin_return_from_exception; | ||
| 190 | .Ldo_single_step: | ||
| 191 | #endif | ||
| 192 | |||
| 161 | /* If we were in user mode, do the single step normally. */ | 193 | /* If we were in user mode, do the single step normally. */ |
| 162 | p5.l = lo(IPEND); | ||
| 163 | p5.h = hi(IPEND); | ||
| 164 | r6 = [p5]; | 194 | r6 = [p5]; |
| 165 | r7 = 0xffe0 (z); | 195 | r7 = 0xffe0 (z); |
| 166 | r7 = r7 & r6; | 196 | r7 = r7 & r6; |
| 167 | cc = r7 == 0; | 197 | cc = r7 == 0; |
| 168 | if !cc jump 1f; | 198 | if cc jump 1f; |
| 169 | |||
| 170 | /* Single stepping only a single instruction, so clear the trace | ||
| 171 | * bit here. */ | ||
| 172 | r7 = syscfg; | ||
| 173 | bitclr (r7, 0); | ||
| 174 | syscfg = R7; | ||
| 175 | jump _ex_trap_c; | ||
| 176 | 199 | ||
| 177 | 1: | ||
| 178 | /* | 200 | /* |
| 179 | * We were in an interrupt handler. By convention, all of them save | 201 | * We were in an interrupt handler. By convention, all of them save |
| 180 | * SYSCFG with their first instruction, so by checking whether our | 202 | * SYSCFG with their first instruction, so by checking whether our |
| @@ -202,11 +224,15 @@ ENTRY(_ex_single_step) | |||
| 202 | cc = R7 == R6; | 224 | cc = R7 == R6; |
| 203 | if !cc jump _bfin_return_from_exception; | 225 | if !cc jump _bfin_return_from_exception; |
| 204 | 226 | ||
| 227 | 1: | ||
| 228 | /* Single stepping only a single instruction, so clear the trace | ||
| 229 | * bit here. */ | ||
| 205 | r7 = syscfg; | 230 | r7 = syscfg; |
| 206 | bitclr (r7, 0); | 231 | bitclr (r7, 0); |
| 207 | syscfg = R7; | 232 | syscfg = R7; |
| 208 | 233 | ||
| 209 | /* Fall through to _bfin_return_from_exception. */ | 234 | jump _ex_trap_c; |
| 235 | |||
| 210 | ENDPROC(_ex_single_step) | 236 | ENDPROC(_ex_single_step) |
| 211 | 237 | ||
| 212 | ENTRY(_bfin_return_from_exception) | 238 | ENTRY(_bfin_return_from_exception) |
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c index f5fd768022ea..64d746114e4b 100644 --- a/arch/blackfin/mach-common/ints-priority.c +++ b/arch/blackfin/mach-common/ints-priority.c | |||
| @@ -459,6 +459,8 @@ static struct irq_chip bfin_gpio_irqchip = { | |||
| 459 | .mask = bfin_gpio_mask_irq, | 459 | .mask = bfin_gpio_mask_irq, |
| 460 | .mask_ack = bfin_gpio_mask_ack_irq, | 460 | .mask_ack = bfin_gpio_mask_ack_irq, |
| 461 | .unmask = bfin_gpio_unmask_irq, | 461 | .unmask = bfin_gpio_unmask_irq, |
| 462 | .disable = bfin_gpio_mask_irq, | ||
| 463 | .enable = bfin_gpio_unmask_irq, | ||
| 462 | .set_type = bfin_gpio_irq_type, | 464 | .set_type = bfin_gpio_irq_type, |
| 463 | .startup = bfin_gpio_irq_startup, | 465 | .startup = bfin_gpio_irq_startup, |
| 464 | .shutdown = bfin_gpio_irq_shutdown, | 466 | .shutdown = bfin_gpio_irq_shutdown, |
| @@ -846,6 +848,8 @@ static struct irq_chip bfin_gpio_irqchip = { | |||
| 846 | .mask = bfin_gpio_mask_irq, | 848 | .mask = bfin_gpio_mask_irq, |
| 847 | .mask_ack = bfin_gpio_mask_ack_irq, | 849 | .mask_ack = bfin_gpio_mask_ack_irq, |
| 848 | .unmask = bfin_gpio_unmask_irq, | 850 | .unmask = bfin_gpio_unmask_irq, |
| 851 | .disable = bfin_gpio_mask_irq, | ||
| 852 | .enable = bfin_gpio_unmask_irq, | ||
| 849 | .set_type = bfin_gpio_irq_type, | 853 | .set_type = bfin_gpio_irq_type, |
| 850 | .startup = bfin_gpio_irq_startup, | 854 | .startup = bfin_gpio_irq_startup, |
| 851 | .shutdown = bfin_gpio_irq_shutdown, | 855 | .shutdown = bfin_gpio_irq_shutdown, |
diff --git a/arch/blackfin/mach-common/pm.c b/arch/blackfin/mach-common/pm.c index 0be805ca423f..4fe6a2366b13 100644 --- a/arch/blackfin/mach-common/pm.c +++ b/arch/blackfin/mach-common/pm.c | |||
| @@ -38,8 +38,9 @@ | |||
| 38 | #include <linux/io.h> | 38 | #include <linux/io.h> |
| 39 | #include <linux/irq.h> | 39 | #include <linux/irq.h> |
| 40 | 40 | ||
| 41 | #include <asm/dpmc.h> | ||
| 42 | #include <asm/gpio.h> | 41 | #include <asm/gpio.h> |
| 42 | #include <asm/dma.h> | ||
| 43 | #include <asm/dpmc.h> | ||
| 43 | 44 | ||
| 44 | #ifdef CONFIG_PM_WAKEUP_GPIO_POLAR_H | 45 | #ifdef CONFIG_PM_WAKEUP_GPIO_POLAR_H |
| 45 | #define WAKEUP_TYPE PM_WAKE_HIGH | 46 | #define WAKEUP_TYPE PM_WAKE_HIGH |
| @@ -61,16 +62,17 @@ | |||
| 61 | #define WAKEUP_TYPE PM_WAKE_BOTH_EDGES | 62 | #define WAKEUP_TYPE PM_WAKE_BOTH_EDGES |
| 62 | #endif | 63 | #endif |
| 63 | 64 | ||
| 65 | |||
| 64 | void bfin_pm_suspend_standby_enter(void) | 66 | void bfin_pm_suspend_standby_enter(void) |
| 65 | { | 67 | { |
| 68 | unsigned long flags; | ||
| 69 | |||
| 66 | #ifdef CONFIG_PM_WAKEUP_BY_GPIO | 70 | #ifdef CONFIG_PM_WAKEUP_BY_GPIO |
| 67 | gpio_pm_wakeup_request(CONFIG_PM_WAKEUP_GPIO_NUMBER, WAKEUP_TYPE); | 71 | gpio_pm_wakeup_request(CONFIG_PM_WAKEUP_GPIO_NUMBER, WAKEUP_TYPE); |
| 68 | #endif | 72 | #endif |
| 69 | 73 | ||
| 70 | u32 flags; | ||
| 71 | |||
| 72 | local_irq_save(flags); | 74 | local_irq_save(flags); |
| 73 | bfin_pm_setup(); | 75 | bfin_pm_standby_setup(); |
| 74 | 76 | ||
| 75 | #ifdef CONFIG_PM_BFIN_SLEEP_DEEPER | 77 | #ifdef CONFIG_PM_BFIN_SLEEP_DEEPER |
| 76 | sleep_deeper(bfin_sic_iwr[0], bfin_sic_iwr[1], bfin_sic_iwr[2]); | 78 | sleep_deeper(bfin_sic_iwr[0], bfin_sic_iwr[1], bfin_sic_iwr[2]); |
| @@ -78,7 +80,7 @@ void bfin_pm_suspend_standby_enter(void) | |||
| 78 | sleep_mode(bfin_sic_iwr[0], bfin_sic_iwr[1], bfin_sic_iwr[2]); | 80 | sleep_mode(bfin_sic_iwr[0], bfin_sic_iwr[1], bfin_sic_iwr[2]); |
| 79 | #endif | 81 | #endif |
| 80 | 82 | ||
| 81 | bfin_pm_restore(); | 83 | bfin_pm_standby_restore(); |
| 82 | 84 | ||
| 83 | #if defined(CONFIG_BF54x) || defined(CONFIG_BF52x) || defined(CONFIG_BF561) | 85 | #if defined(CONFIG_BF54x) || defined(CONFIG_BF52x) || defined(CONFIG_BF561) |
| 84 | bfin_write_SIC_IWR0(IWR_ENABLE_ALL); | 86 | bfin_write_SIC_IWR0(IWR_ENABLE_ALL); |
| @@ -93,6 +95,195 @@ void bfin_pm_suspend_standby_enter(void) | |||
| 93 | local_irq_restore(flags); | 95 | local_irq_restore(flags); |
| 94 | } | 96 | } |
| 95 | 97 | ||
| 98 | int bf53x_suspend_l1_mem(unsigned char *memptr) | ||
| 99 | { | ||
| 100 | dma_memcpy(memptr, (const void *) L1_CODE_START, L1_CODE_LENGTH); | ||
| 101 | dma_memcpy(memptr + L1_CODE_LENGTH, (const void *) L1_DATA_A_START, | ||
| 102 | L1_DATA_A_LENGTH); | ||
| 103 | dma_memcpy(memptr + L1_CODE_LENGTH + L1_DATA_A_LENGTH, | ||
| 104 | (const void *) L1_DATA_B_START, L1_DATA_B_LENGTH); | ||
| 105 | memcpy(memptr + L1_CODE_LENGTH + L1_DATA_A_LENGTH + | ||
| 106 | L1_DATA_B_LENGTH, (const void *) L1_SCRATCH_START, | ||
| 107 | L1_SCRATCH_LENGTH); | ||
| 108 | |||
| 109 | return 0; | ||
| 110 | } | ||
| 111 | |||
| 112 | int bf53x_resume_l1_mem(unsigned char *memptr) | ||
| 113 | { | ||
| 114 | dma_memcpy((void *) L1_CODE_START, memptr, L1_CODE_LENGTH); | ||
| 115 | dma_memcpy((void *) L1_DATA_A_START, memptr + L1_CODE_LENGTH, | ||
| 116 | L1_DATA_A_LENGTH); | ||
| 117 | dma_memcpy((void *) L1_DATA_B_START, memptr + L1_CODE_LENGTH + | ||
| 118 | L1_DATA_A_LENGTH, L1_DATA_B_LENGTH); | ||
| 119 | memcpy((void *) L1_SCRATCH_START, memptr + L1_CODE_LENGTH + | ||
| 120 | L1_DATA_A_LENGTH + L1_DATA_B_LENGTH, L1_SCRATCH_LENGTH); | ||
| 121 | |||
| 122 | return 0; | ||
| 123 | } | ||
| 124 | |||
| 125 | #ifdef CONFIG_BFIN_WB | ||
| 126 | static void flushinv_all_dcache(void) | ||
| 127 | { | ||
| 128 | u32 way, bank, subbank, set; | ||
| 129 | u32 status, addr; | ||
| 130 | u32 dmem_ctl = bfin_read_DMEM_CONTROL(); | ||
| 131 | |||
| 132 | for (bank = 0; bank < 2; ++bank) { | ||
| 133 | if (!(dmem_ctl & (1 << (DMC1_P - bank)))) | ||
| 134 | continue; | ||
| 135 | |||
| 136 | for (way = 0; way < 2; ++way) | ||
| 137 | for (subbank = 0; subbank < 4; ++subbank) | ||
| 138 | for (set = 0; set < 64; ++set) { | ||
| 139 | |||
| 140 | bfin_write_DTEST_COMMAND( | ||
| 141 | way << 26 | | ||
| 142 | bank << 23 | | ||
| 143 | subbank << 16 | | ||
| 144 | set << 5 | ||
| 145 | ); | ||
| 146 | CSYNC(); | ||
| 147 | status = bfin_read_DTEST_DATA0(); | ||
| 148 | |||
| 149 | /* only worry about valid/dirty entries */ | ||
| 150 | if ((status & 0x3) != 0x3) | ||
| 151 | continue; | ||
| 152 | |||
| 153 | /* construct the address using the tag */ | ||
| 154 | addr = (status & 0xFFFFC800) | (subbank << 12) | (set << 5); | ||
| 155 | |||
| 156 | /* flush it */ | ||
| 157 | __asm__ __volatile__("FLUSHINV[%0];" : : "a"(addr)); | ||
| 158 | } | ||
| 159 | } | ||
| 160 | } | ||
| 161 | #endif | ||
| 162 | |||
| 163 | static inline void dcache_disable(void) | ||
| 164 | { | ||
| 165 | #ifdef CONFIG_BFIN_DCACHE | ||
| 166 | unsigned long ctrl; | ||
| 167 | |||
| 168 | #ifdef CONFIG_BFIN_WB | ||
| 169 | flushinv_all_dcache(); | ||
| 170 | #endif | ||
| 171 | SSYNC(); | ||
| 172 | ctrl = bfin_read_DMEM_CONTROL(); | ||
| 173 | ctrl &= ~ENDCPLB; | ||
| 174 | bfin_write_DMEM_CONTROL(ctrl); | ||
| 175 | SSYNC(); | ||
| 176 | #endif | ||
| 177 | } | ||
| 178 | |||
| 179 | static inline void dcache_enable(void) | ||
| 180 | { | ||
| 181 | #ifdef CONFIG_BFIN_DCACHE | ||
| 182 | unsigned long ctrl; | ||
| 183 | SSYNC(); | ||
| 184 | ctrl = bfin_read_DMEM_CONTROL(); | ||
| 185 | ctrl |= ENDCPLB; | ||
| 186 | bfin_write_DMEM_CONTROL(ctrl); | ||
| 187 | SSYNC(); | ||
| 188 | #endif | ||
| 189 | } | ||
| 190 | |||
| 191 | static inline void icache_disable(void) | ||
| 192 | { | ||
| 193 | #ifdef CONFIG_BFIN_ICACHE | ||
| 194 | unsigned long ctrl; | ||
| 195 | SSYNC(); | ||
| 196 | ctrl = bfin_read_IMEM_CONTROL(); | ||
| 197 | ctrl &= ~ENICPLB; | ||
| 198 | bfin_write_IMEM_CONTROL(ctrl); | ||
| 199 | SSYNC(); | ||
| 200 | #endif | ||
| 201 | } | ||
| 202 | |||
| 203 | static inline void icache_enable(void) | ||
| 204 | { | ||
| 205 | #ifdef CONFIG_BFIN_ICACHE | ||
| 206 | unsigned long ctrl; | ||
| 207 | SSYNC(); | ||
| 208 | ctrl = bfin_read_IMEM_CONTROL(); | ||
| 209 | ctrl |= ENICPLB; | ||
| 210 | bfin_write_IMEM_CONTROL(ctrl); | ||
| 211 | SSYNC(); | ||
| 212 | #endif | ||
| 213 | } | ||
| 214 | |||
| 215 | int bfin_pm_suspend_mem_enter(void) | ||
| 216 | { | ||
| 217 | unsigned long flags; | ||
| 218 | int wakeup, ret; | ||
| 219 | |||
| 220 | unsigned char *memptr = kmalloc(L1_CODE_LENGTH + L1_DATA_A_LENGTH | ||
| 221 | + L1_DATA_B_LENGTH + L1_SCRATCH_LENGTH, | ||
| 222 | GFP_KERNEL); | ||
| 223 | |||
| 224 | if (memptr == NULL) { | ||
| 225 | panic("bf53x_suspend_l1_mem malloc failed"); | ||
| 226 | return -ENOMEM; | ||
| 227 | } | ||
| 228 | |||
| 229 | wakeup = bfin_read_VR_CTL() & ~FREQ; | ||
| 230 | wakeup |= SCKELOW; | ||
| 231 | |||
| 232 | /* FIXME: merge this somehow with set_irq_wake */ | ||
| 233 | #ifdef CONFIG_PM_BFIN_WAKE_RTC | ||
| 234 | wakeup |= WAKE; | ||
| 235 | #endif | ||
| 236 | #ifdef CONFIG_PM_BFIN_WAKE_PH6 | ||
| 237 | wakeup |= PHYWE; | ||
| 238 | #endif | ||
| 239 | #ifdef CONFIG_PM_BFIN_WAKE_CAN | ||
| 240 | wakeup |= CANWE; | ||
| 241 | #endif | ||
| 242 | #ifdef CONFIG_PM_BFIN_WAKE_GP | ||
| 243 | wakeup |= GPWE; | ||
| 244 | #endif | ||
| 245 | #ifdef CONFIG_PM_BFIN_WAKE_USB | ||
| 246 | wakeup |= USBWE; | ||
| 247 | #endif | ||
| 248 | #ifdef CONFIG_PM_BFIN_WAKE_KEYPAD | ||
| 249 | wakeup |= KPADWE; | ||
| 250 | #endif | ||
| 251 | #ifdef CONFIG_PM_BFIN_WAKE_ROTARY | ||
| 252 | wakeup |= ROTWE; | ||
| 253 | #endif | ||
| 254 | |||
| 255 | local_irq_save(flags); | ||
| 256 | |||
| 257 | ret = blackfin_dma_suspend(); | ||
| 258 | |||
| 259 | if (ret) { | ||
| 260 | local_irq_restore(flags); | ||
| 261 | kfree(memptr); | ||
| 262 | return ret; | ||
| 263 | } | ||
| 264 | |||
| 265 | bfin_gpio_pm_hibernate_suspend(); | ||
| 266 | |||
| 267 | dcache_disable(); | ||
| 268 | icache_disable(); | ||
| 269 | bf53x_suspend_l1_mem(memptr); | ||
| 270 | |||
| 271 | do_hibernate(wakeup); /* Goodbye */ | ||
| 272 | |||
| 273 | bf53x_resume_l1_mem(memptr); | ||
| 274 | |||
| 275 | icache_enable(); | ||
| 276 | dcache_enable(); | ||
| 277 | |||
| 278 | bfin_gpio_pm_hibernate_restore(); | ||
| 279 | blackfin_dma_resume(); | ||
| 280 | |||
| 281 | local_irq_restore(flags); | ||
| 282 | kfree(memptr); | ||
| 283 | |||
| 284 | return 0; | ||
| 285 | } | ||
| 286 | |||
| 96 | /* | 287 | /* |
| 97 | * bfin_pm_valid - Tell the PM core that we only support the standby sleep | 288 | * bfin_pm_valid - Tell the PM core that we only support the standby sleep |
| 98 | * state | 289 | * state |
| @@ -101,7 +292,24 @@ void bfin_pm_suspend_standby_enter(void) | |||
| 101 | */ | 292 | */ |
| 102 | static int bfin_pm_valid(suspend_state_t state) | 293 | static int bfin_pm_valid(suspend_state_t state) |
| 103 | { | 294 | { |
| 104 | return (state == PM_SUSPEND_STANDBY); | 295 | return (state == PM_SUSPEND_STANDBY |
| 296 | #ifndef BF533_FAMILY | ||
| 297 | /* | ||
| 298 | * On BF533/2/1: | ||
| 299 | * If we enter Hibernate the SCKE Pin is driven Low, | ||
| 300 | * so that the SDRAM enters Self Refresh Mode. | ||
| 301 | * However when the reset sequence that follows hibernate | ||
| 302 | * state is executed, SCKE is driven High, taking the | ||
| 303 | * SDRAM out of Self Refresh. | ||
| 304 | * | ||
| 305 | * If you reconfigure and access the SDRAM "very quickly", | ||
| 306 | * you are likely to avoid errors, otherwise the SDRAM | ||
| 307 | * start losing its contents. | ||
| 308 | * An external HW workaround is possible using logic gates. | ||
| 309 | */ | ||
| 310 | || state == PM_SUSPEND_MEM | ||
| 311 | #endif | ||
| 312 | ); | ||
| 105 | } | 313 | } |
| 106 | 314 | ||
| 107 | /* | 315 | /* |
| @@ -115,10 +323,9 @@ static int bfin_pm_enter(suspend_state_t state) | |||
| 115 | case PM_SUSPEND_STANDBY: | 323 | case PM_SUSPEND_STANDBY: |
| 116 | bfin_pm_suspend_standby_enter(); | 324 | bfin_pm_suspend_standby_enter(); |
| 117 | break; | 325 | break; |
| 118 | |||
| 119 | case PM_SUSPEND_MEM: | 326 | case PM_SUSPEND_MEM: |
| 120 | return -ENOTSUPP; | 327 | bfin_pm_suspend_mem_enter(); |
| 121 | 328 | break; | |
| 122 | default: | 329 | default: |
| 123 | return -EINVAL; | 330 | return -EINVAL; |
| 124 | } | 331 | } |
diff --git a/arch/blackfin/mm/blackfin_sram.c b/arch/blackfin/mm/blackfin_sram.c index 3246f91c7baa..5af3c31c9365 100644 --- a/arch/blackfin/mm/blackfin_sram.c +++ b/arch/blackfin/mm/blackfin_sram.c | |||
| @@ -41,215 +41,309 @@ | |||
| 41 | #include <asm/blackfin.h> | 41 | #include <asm/blackfin.h> |
| 42 | #include "blackfin_sram.h" | 42 | #include "blackfin_sram.h" |
| 43 | 43 | ||
| 44 | spinlock_t l1sram_lock, l1_data_sram_lock, l1_inst_sram_lock; | 44 | static spinlock_t l1sram_lock, l1_data_sram_lock, l1_inst_sram_lock; |
| 45 | 45 | static spinlock_t l2_sram_lock; | |
| 46 | #if CONFIG_L1_MAX_PIECE < 16 | ||
| 47 | #undef CONFIG_L1_MAX_PIECE | ||
| 48 | #define CONFIG_L1_MAX_PIECE 16 | ||
| 49 | #endif | ||
| 50 | |||
| 51 | #if CONFIG_L1_MAX_PIECE > 1024 | ||
| 52 | #undef CONFIG_L1_MAX_PIECE | ||
| 53 | #define CONFIG_L1_MAX_PIECE 1024 | ||
| 54 | #endif | ||
| 55 | |||
| 56 | #define SRAM_SLT_NULL 0 | ||
| 57 | #define SRAM_SLT_FREE 1 | ||
| 58 | #define SRAM_SLT_ALLOCATED 2 | ||
| 59 | 46 | ||
| 60 | /* the data structure for L1 scratchpad and DATA SRAM */ | 47 | /* the data structure for L1 scratchpad and DATA SRAM */ |
| 61 | struct l1_sram_piece { | 48 | struct sram_piece { |
| 62 | void *paddr; | 49 | void *paddr; |
| 63 | int size; | 50 | int size; |
| 64 | int flag; | ||
| 65 | pid_t pid; | 51 | pid_t pid; |
| 52 | struct sram_piece *next; | ||
| 66 | }; | 53 | }; |
| 67 | 54 | ||
| 68 | static struct l1_sram_piece l1_ssram[CONFIG_L1_MAX_PIECE]; | 55 | static struct sram_piece free_l1_ssram_head, used_l1_ssram_head; |
| 69 | 56 | ||
| 70 | #if L1_DATA_A_LENGTH != 0 | 57 | #if L1_DATA_A_LENGTH != 0 |
| 71 | static struct l1_sram_piece l1_data_A_sram[CONFIG_L1_MAX_PIECE]; | 58 | static struct sram_piece free_l1_data_A_sram_head, used_l1_data_A_sram_head; |
| 72 | #endif | 59 | #endif |
| 73 | 60 | ||
| 74 | #if L1_DATA_B_LENGTH != 0 | 61 | #if L1_DATA_B_LENGTH != 0 |
| 75 | static struct l1_sram_piece l1_data_B_sram[CONFIG_L1_MAX_PIECE]; | 62 | static struct sram_piece free_l1_data_B_sram_head, used_l1_data_B_sram_head; |
| 76 | #endif | 63 | #endif |
| 77 | 64 | ||
| 78 | #if L1_CODE_LENGTH != 0 | 65 | #if L1_CODE_LENGTH != 0 |
| 79 | static struct l1_sram_piece l1_inst_sram[CONFIG_L1_MAX_PIECE]; | 66 | static struct sram_piece free_l1_inst_sram_head, used_l1_inst_sram_head; |
| 67 | #endif | ||
| 68 | |||
| 69 | #ifdef L2_LENGTH | ||
| 70 | static struct sram_piece free_l2_sram_head, used_l2_sram_head; | ||
| 80 | #endif | 71 | #endif |
| 81 | 72 | ||
| 73 | static struct kmem_cache *sram_piece_cache; | ||
| 74 | |||
| 82 | /* L1 Scratchpad SRAM initialization function */ | 75 | /* L1 Scratchpad SRAM initialization function */ |
| 83 | void __init l1sram_init(void) | 76 | static void __init l1sram_init(void) |
| 84 | { | 77 | { |
| 85 | printk(KERN_INFO "Blackfin Scratchpad data SRAM: %d KB\n", | 78 | free_l1_ssram_head.next = |
| 86 | L1_SCRATCH_LENGTH >> 10); | 79 | kmem_cache_alloc(sram_piece_cache, GFP_KERNEL); |
| 80 | if (!free_l1_ssram_head.next) { | ||
| 81 | printk(KERN_INFO"Fail to initialize Scratchpad data SRAM.\n"); | ||
| 82 | return; | ||
| 83 | } | ||
| 84 | |||
| 85 | free_l1_ssram_head.next->paddr = (void *)L1_SCRATCH_START; | ||
| 86 | free_l1_ssram_head.next->size = L1_SCRATCH_LENGTH; | ||
| 87 | free_l1_ssram_head.next->pid = 0; | ||
| 88 | free_l1_ssram_head.next->next = NULL; | ||
| 87 | 89 | ||
| 88 | memset(&l1_ssram, 0x00, sizeof(l1_ssram)); | 90 | used_l1_ssram_head.next = NULL; |
| 89 | l1_ssram[0].paddr = (void *)L1_SCRATCH_START; | ||
| 90 | l1_ssram[0].size = L1_SCRATCH_LENGTH; | ||
| 91 | l1_ssram[0].flag = SRAM_SLT_FREE; | ||
| 92 | 91 | ||
| 93 | /* mutex initialize */ | 92 | /* mutex initialize */ |
| 94 | spin_lock_init(&l1sram_lock); | 93 | spin_lock_init(&l1sram_lock); |
| 94 | |||
| 95 | printk(KERN_INFO "Blackfin Scratchpad data SRAM: %d KB\n", | ||
| 96 | L1_SCRATCH_LENGTH >> 10); | ||
| 95 | } | 97 | } |
| 96 | 98 | ||
| 97 | void __init l1_data_sram_init(void) | 99 | static void __init l1_data_sram_init(void) |
| 98 | { | 100 | { |
| 99 | #if L1_DATA_A_LENGTH != 0 | 101 | #if L1_DATA_A_LENGTH != 0 |
| 100 | memset(&l1_data_A_sram, 0x00, sizeof(l1_data_A_sram)); | 102 | free_l1_data_A_sram_head.next = |
| 101 | l1_data_A_sram[0].paddr = (void *)L1_DATA_A_START + | 103 | kmem_cache_alloc(sram_piece_cache, GFP_KERNEL); |
| 102 | (_ebss_l1 - _sdata_l1); | 104 | if (!free_l1_data_A_sram_head.next) { |
| 103 | l1_data_A_sram[0].size = L1_DATA_A_LENGTH - (_ebss_l1 - _sdata_l1); | 105 | printk(KERN_INFO"Fail to initialize L1 Data A SRAM.\n"); |
| 104 | l1_data_A_sram[0].flag = SRAM_SLT_FREE; | 106 | return; |
| 105 | 107 | } | |
| 106 | printk(KERN_INFO "Blackfin Data A SRAM: %d KB (%d KB free)\n", | 108 | |
| 107 | L1_DATA_A_LENGTH >> 10, l1_data_A_sram[0].size >> 10); | 109 | free_l1_data_A_sram_head.next->paddr = |
| 110 | (void *)L1_DATA_A_START + (_ebss_l1 - _sdata_l1); | ||
| 111 | free_l1_data_A_sram_head.next->size = | ||
| 112 | L1_DATA_A_LENGTH - (_ebss_l1 - _sdata_l1); | ||
| 113 | free_l1_data_A_sram_head.next->pid = 0; | ||
| 114 | free_l1_data_A_sram_head.next->next = NULL; | ||
| 115 | |||
| 116 | used_l1_data_A_sram_head.next = NULL; | ||
| 117 | |||
| 118 | printk(KERN_INFO "Blackfin L1 Data A SRAM: %d KB (%d KB free)\n", | ||
| 119 | L1_DATA_A_LENGTH >> 10, | ||
| 120 | free_l1_data_A_sram_head.next->size >> 10); | ||
| 108 | #endif | 121 | #endif |
| 109 | #if L1_DATA_B_LENGTH != 0 | 122 | #if L1_DATA_B_LENGTH != 0 |
| 110 | memset(&l1_data_B_sram, 0x00, sizeof(l1_data_B_sram)); | 123 | free_l1_data_B_sram_head.next = |
| 111 | l1_data_B_sram[0].paddr = (void *)L1_DATA_B_START + | 124 | kmem_cache_alloc(sram_piece_cache, GFP_KERNEL); |
| 112 | (_ebss_b_l1 - _sdata_b_l1); | 125 | if (!free_l1_data_B_sram_head.next) { |
| 113 | l1_data_B_sram[0].size = L1_DATA_B_LENGTH - (_ebss_b_l1 - _sdata_b_l1); | 126 | printk(KERN_INFO"Fail to initialize L1 Data B SRAM.\n"); |
| 114 | l1_data_B_sram[0].flag = SRAM_SLT_FREE; | 127 | return; |
| 115 | 128 | } | |
| 116 | printk(KERN_INFO "Blackfin Data B SRAM: %d KB (%d KB free)\n", | 129 | |
| 117 | L1_DATA_B_LENGTH >> 10, l1_data_B_sram[0].size >> 10); | 130 | free_l1_data_B_sram_head.next->paddr = |
| 131 | (void *)L1_DATA_B_START + (_ebss_b_l1 - _sdata_b_l1); | ||
| 132 | free_l1_data_B_sram_head.next->size = | ||
| 133 | L1_DATA_B_LENGTH - (_ebss_b_l1 - _sdata_b_l1); | ||
| 134 | free_l1_data_B_sram_head.next->pid = 0; | ||
| 135 | free_l1_data_B_sram_head.next->next = NULL; | ||
| 136 | |||
| 137 | used_l1_data_B_sram_head.next = NULL; | ||
| 138 | |||
| 139 | printk(KERN_INFO "Blackfin L1 Data B SRAM: %d KB (%d KB free)\n", | ||
| 140 | L1_DATA_B_LENGTH >> 10, | ||
| 141 | free_l1_data_B_sram_head.next->size >> 10); | ||
| 118 | #endif | 142 | #endif |
| 119 | 143 | ||
| 120 | /* mutex initialize */ | 144 | /* mutex initialize */ |
| 121 | spin_lock_init(&l1_data_sram_lock); | 145 | spin_lock_init(&l1_data_sram_lock); |
| 122 | } | 146 | } |
| 123 | 147 | ||
| 124 | void __init l1_inst_sram_init(void) | 148 | static void __init l1_inst_sram_init(void) |
| 125 | { | 149 | { |
| 126 | #if L1_CODE_LENGTH != 0 | 150 | #if L1_CODE_LENGTH != 0 |
| 127 | memset(&l1_inst_sram, 0x00, sizeof(l1_inst_sram)); | 151 | free_l1_inst_sram_head.next = |
| 128 | l1_inst_sram[0].paddr = (void *)L1_CODE_START + (_etext_l1 - _stext_l1); | 152 | kmem_cache_alloc(sram_piece_cache, GFP_KERNEL); |
| 129 | l1_inst_sram[0].size = L1_CODE_LENGTH - (_etext_l1 - _stext_l1); | 153 | if (!free_l1_inst_sram_head.next) { |
| 130 | l1_inst_sram[0].flag = SRAM_SLT_FREE; | 154 | printk(KERN_INFO"Fail to initialize L1 Instruction SRAM.\n"); |
| 155 | return; | ||
| 156 | } | ||
| 131 | 157 | ||
| 132 | printk(KERN_INFO "Blackfin Instruction SRAM: %d KB (%d KB free)\n", | 158 | free_l1_inst_sram_head.next->paddr = |
| 133 | L1_CODE_LENGTH >> 10, l1_inst_sram[0].size >> 10); | 159 | (void *)L1_CODE_START + (_etext_l1 - _stext_l1); |
| 160 | free_l1_inst_sram_head.next->size = | ||
| 161 | L1_CODE_LENGTH - (_etext_l1 - _stext_l1); | ||
| 162 | free_l1_inst_sram_head.next->pid = 0; | ||
| 163 | free_l1_inst_sram_head.next->next = NULL; | ||
| 164 | |||
| 165 | used_l1_inst_sram_head.next = NULL; | ||
| 166 | |||
| 167 | printk(KERN_INFO "Blackfin L1 Instruction SRAM: %d KB (%d KB free)\n", | ||
| 168 | L1_CODE_LENGTH >> 10, | ||
| 169 | free_l1_inst_sram_head.next->size >> 10); | ||
| 134 | #endif | 170 | #endif |
| 135 | 171 | ||
| 136 | /* mutex initialize */ | 172 | /* mutex initialize */ |
| 137 | spin_lock_init(&l1_inst_sram_lock); | 173 | spin_lock_init(&l1_inst_sram_lock); |
| 138 | } | 174 | } |
| 139 | 175 | ||
| 140 | /* L1 memory allocate function */ | 176 | static void __init l2_sram_init(void) |
| 141 | static void *_l1_sram_alloc(size_t size, struct l1_sram_piece *pfree, int count) | ||
| 142 | { | 177 | { |
| 143 | int i, index = 0; | 178 | #ifdef L2_LENGTH |
| 144 | void *addr = NULL; | 179 | free_l2_sram_head.next = |
| 180 | kmem_cache_alloc(sram_piece_cache, GFP_KERNEL); | ||
| 181 | if (!free_l2_sram_head.next) { | ||
| 182 | printk(KERN_INFO"Fail to initialize L2 SRAM.\n"); | ||
| 183 | return; | ||
| 184 | } | ||
| 145 | 185 | ||
| 146 | if (size <= 0) | 186 | free_l2_sram_head.next->paddr = (void *)L2_START + |
| 187 | (_etext_l2 - _stext_l2) + (_edata_l2 - _sdata_l2); | ||
| 188 | free_l2_sram_head.next->size = L2_LENGTH - | ||
| 189 | (_etext_l2 - _stext_l2) + (_edata_l2 - _sdata_l2); | ||
| 190 | free_l2_sram_head.next->pid = 0; | ||
| 191 | free_l2_sram_head.next->next = NULL; | ||
| 192 | |||
| 193 | used_l2_sram_head.next = NULL; | ||
| 194 | |||
| 195 | printk(KERN_INFO "Blackfin L2 SRAM: %d KB (%d KB free)\n", | ||
| 196 | L2_LENGTH >> 10, | ||
| 197 | free_l2_sram_head.next->size >> 10); | ||
| 198 | #endif | ||
| 199 | |||
| 200 | /* mutex initialize */ | ||
| 201 | spin_lock_init(&l2_sram_lock); | ||
| 202 | } | ||
| 203 | void __init bfin_sram_init(void) | ||
| 204 | { | ||
| 205 | sram_piece_cache = kmem_cache_create("sram_piece_cache", | ||
| 206 | sizeof(struct sram_piece), | ||
| 207 | 0, SLAB_PANIC, NULL); | ||
| 208 | |||
| 209 | l1sram_init(); | ||
| 210 | l1_data_sram_init(); | ||
| 211 | l1_inst_sram_init(); | ||
| 212 | l2_sram_init(); | ||
| 213 | } | ||
| 214 | |||
| 215 | /* SRAM allocate function */ | ||
| 216 | static void *_sram_alloc(size_t size, struct sram_piece *pfree_head, | ||
| 217 | struct sram_piece *pused_head) | ||
| 218 | { | ||
| 219 | struct sram_piece *pslot, *plast, *pavail; | ||
| 220 | |||
| 221 | if (size <= 0 || !pfree_head || !pused_head) | ||
| 147 | return NULL; | 222 | return NULL; |
| 148 | 223 | ||
| 149 | /* Align the size */ | 224 | /* Align the size */ |
| 150 | size = (size + 3) & ~3; | 225 | size = (size + 3) & ~3; |
| 151 | 226 | ||
| 152 | /* not use the good method to match the best slot !!! */ | 227 | pslot = pfree_head->next; |
| 153 | /* search an available memory slot */ | 228 | plast = pfree_head; |
| 154 | for (i = 0; i < count; i++) { | 229 | |
| 155 | if ((pfree[i].flag == SRAM_SLT_FREE) | 230 | /* search an available piece slot */ |
| 156 | && (pfree[i].size >= size)) { | 231 | while (pslot != NULL && size > pslot->size) { |
| 157 | addr = pfree[i].paddr; | 232 | plast = pslot; |
| 158 | pfree[i].flag = SRAM_SLT_ALLOCATED; | 233 | pslot = pslot->next; |
| 159 | pfree[i].pid = current->pid; | ||
| 160 | index = i; | ||
| 161 | break; | ||
| 162 | } | ||
| 163 | } | 234 | } |
| 164 | if (i >= count) | 235 | |
| 236 | if (!pslot) | ||
| 165 | return NULL; | 237 | return NULL; |
| 166 | 238 | ||
| 167 | /* updated the NULL memory slot !!! */ | 239 | if (pslot->size == size) { |
| 168 | if (pfree[i].size > size) { | 240 | plast->next = pslot->next; |
| 169 | for (i = 0; i < count; i++) { | 241 | pavail = pslot; |
| 170 | if (pfree[i].flag == SRAM_SLT_NULL) { | 242 | } else { |
| 171 | pfree[i].pid = 0; | 243 | pavail = kmem_cache_alloc(sram_piece_cache, GFP_KERNEL); |
| 172 | pfree[i].flag = SRAM_SLT_FREE; | 244 | |
| 173 | pfree[i].paddr = addr + size; | 245 | if (!pavail) |
| 174 | pfree[i].size = pfree[index].size - size; | 246 | return NULL; |
| 175 | pfree[index].size = size; | 247 | |
| 176 | break; | 248 | pavail->paddr = pslot->paddr; |
| 177 | } | 249 | pavail->size = size; |
| 178 | } | 250 | pslot->paddr += size; |
| 251 | pslot->size -= size; | ||
| 179 | } | 252 | } |
| 180 | 253 | ||
| 181 | return addr; | 254 | pavail->pid = current->pid; |
| 255 | |||
| 256 | pslot = pused_head->next; | ||
| 257 | plast = pused_head; | ||
| 258 | |||
| 259 | /* insert new piece into used piece list !!! */ | ||
| 260 | while (pslot != NULL && pavail->paddr < pslot->paddr) { | ||
| 261 | plast = pslot; | ||
| 262 | pslot = pslot->next; | ||
| 263 | } | ||
| 264 | |||
| 265 | pavail->next = pslot; | ||
| 266 | plast->next = pavail; | ||
| 267 | |||
| 268 | return pavail->paddr; | ||
| 182 | } | 269 | } |
| 183 | 270 | ||
| 184 | /* Allocate the largest available block. */ | 271 | /* Allocate the largest available block. */ |
| 185 | static void *_l1_sram_alloc_max(struct l1_sram_piece *pfree, int count, | 272 | static void *_sram_alloc_max(struct sram_piece *pfree_head, |
| 273 | struct sram_piece *pused_head, | ||
| 186 | unsigned long *psize) | 274 | unsigned long *psize) |
| 187 | { | 275 | { |
| 188 | unsigned long best = 0; | 276 | struct sram_piece *pslot, *pmax; |
| 189 | int i, index = -1; | ||
| 190 | void *addr = NULL; | ||
| 191 | 277 | ||
| 192 | /* search an available memory slot */ | 278 | if (!pfree_head || !pused_head) |
| 193 | for (i = 0; i < count; i++) { | 279 | return NULL; |
| 194 | if (pfree[i].flag == SRAM_SLT_FREE && pfree[i].size > best) { | 280 | |
| 195 | addr = pfree[i].paddr; | 281 | pmax = pslot = pfree_head->next; |
| 196 | index = i; | 282 | |
| 197 | best = pfree[i].size; | 283 | /* search an available piece slot */ |
| 198 | } | 284 | while (pslot != NULL) { |
| 285 | if (pslot->size > pmax->size) | ||
| 286 | pmax = pslot; | ||
| 287 | pslot = pslot->next; | ||
| 199 | } | 288 | } |
| 200 | if (index < 0) | 289 | |
| 290 | if (!pmax) | ||
| 201 | return NULL; | 291 | return NULL; |
| 202 | *psize = best; | ||
| 203 | 292 | ||
| 204 | pfree[index].pid = current->pid; | 293 | *psize = pmax->size; |
| 205 | pfree[index].flag = SRAM_SLT_ALLOCATED; | 294 | |
| 206 | return addr; | 295 | return _sram_alloc(*psize, pfree_head, pused_head); |
| 207 | } | 296 | } |
| 208 | 297 | ||
| 209 | /* L1 memory free function */ | 298 | /* SRAM free function */ |
| 210 | static int _l1_sram_free(const void *addr, | 299 | static int _sram_free(const void *addr, |
| 211 | struct l1_sram_piece *pfree, | 300 | struct sram_piece *pfree_head, |
| 212 | int count) | 301 | struct sram_piece *pused_head) |
| 213 | { | 302 | { |
| 214 | int i, index = 0; | 303 | struct sram_piece *pslot, *plast, *pavail; |
| 304 | |||
| 305 | if (!pfree_head || !pused_head) | ||
| 306 | return -1; | ||
| 215 | 307 | ||
| 216 | /* search the relevant memory slot */ | 308 | /* search the relevant memory slot */ |
| 217 | for (i = 0; i < count; i++) { | 309 | pslot = pused_head->next; |
| 218 | if (pfree[i].paddr == addr) { | 310 | plast = pused_head; |
| 219 | if (pfree[i].flag != SRAM_SLT_ALLOCATED) { | 311 | |
| 220 | /* error log */ | 312 | /* search an available piece slot */ |
| 221 | return -1; | 313 | while (pslot != NULL && pslot->paddr != addr) { |
| 222 | } | 314 | plast = pslot; |
| 223 | index = i; | 315 | pslot = pslot->next; |
| 224 | break; | ||
| 225 | } | ||
| 226 | } | 316 | } |
| 227 | if (i >= count) | 317 | |
| 318 | if (!pslot) | ||
| 228 | return -1; | 319 | return -1; |
| 229 | 320 | ||
| 230 | pfree[index].pid = 0; | 321 | plast->next = pslot->next; |
| 231 | pfree[index].flag = SRAM_SLT_FREE; | 322 | pavail = pslot; |
| 232 | 323 | pavail->pid = 0; | |
| 233 | /* link the next address slot */ | 324 | |
| 234 | for (i = 0; i < count; i++) { | 325 | /* insert free pieces back to the free list */ |
| 235 | if (((pfree[index].paddr + pfree[index].size) == pfree[i].paddr) | 326 | pslot = pfree_head->next; |
| 236 | && (pfree[i].flag == SRAM_SLT_FREE)) { | 327 | plast = pfree_head; |
| 237 | pfree[i].pid = 0; | 328 | |
| 238 | pfree[i].flag = SRAM_SLT_NULL; | 329 | while (pslot != NULL && addr > pslot->paddr) { |
| 239 | pfree[index].size += pfree[i].size; | 330 | plast = pslot; |
| 240 | pfree[index].flag = SRAM_SLT_FREE; | 331 | pslot = pslot->next; |
| 241 | break; | 332 | } |
| 242 | } | 333 | |
| 334 | if (plast != pfree_head && plast->paddr + plast->size == pavail->paddr) { | ||
| 335 | plast->size += pavail->size; | ||
| 336 | kmem_cache_free(sram_piece_cache, pavail); | ||
| 337 | } else { | ||
| 338 | pavail->next = plast; | ||
| 339 | plast->next = pavail; | ||
| 340 | plast = pavail; | ||
| 243 | } | 341 | } |
| 244 | 342 | ||
| 245 | /* link the last address slot */ | 343 | if (pslot && plast->paddr + plast->size == pslot->paddr) { |
| 246 | for (i = 0; i < count; i++) { | 344 | plast->size += pslot->size; |
| 247 | if (((pfree[i].paddr + pfree[i].size) == pfree[index].paddr) && | 345 | plast->next = pslot->next; |
| 248 | (pfree[i].flag == SRAM_SLT_FREE)) { | 346 | kmem_cache_free(sram_piece_cache, pslot); |
| 249 | pfree[index].flag = SRAM_SLT_NULL; | ||
| 250 | pfree[i].size += pfree[index].size; | ||
| 251 | break; | ||
| 252 | } | ||
| 253 | } | 347 | } |
| 254 | 348 | ||
| 255 | return 0; | 349 | return 0; |
| @@ -273,6 +367,11 @@ int sram_free(const void *addr) | |||
| 273 | && addr < (void *)(L1_DATA_B_START + L1_DATA_B_LENGTH)) | 367 | && addr < (void *)(L1_DATA_B_START + L1_DATA_B_LENGTH)) |
| 274 | return l1_data_B_sram_free(addr); | 368 | return l1_data_B_sram_free(addr); |
| 275 | #endif | 369 | #endif |
| 370 | #ifdef L2_LENGTH | ||
| 371 | else if (addr >= (void *)L2_START | ||
| 372 | && addr < (void *)(L2_START + L2_LENGTH)) | ||
| 373 | return l2_sram_free(addr); | ||
| 374 | #endif | ||
| 276 | else | 375 | else |
| 277 | return -1; | 376 | return -1; |
| 278 | } | 377 | } |
| @@ -287,7 +386,8 @@ void *l1_data_A_sram_alloc(size_t size) | |||
| 287 | spin_lock_irqsave(&l1_data_sram_lock, flags); | 386 | spin_lock_irqsave(&l1_data_sram_lock, flags); |
| 288 | 387 | ||
| 289 | #if L1_DATA_A_LENGTH != 0 | 388 | #if L1_DATA_A_LENGTH != 0 |
| 290 | addr = _l1_sram_alloc(size, l1_data_A_sram, ARRAY_SIZE(l1_data_A_sram)); | 389 | addr = _sram_alloc(size, &free_l1_data_A_sram_head, |
| 390 | &used_l1_data_A_sram_head); | ||
| 291 | #endif | 391 | #endif |
| 292 | 392 | ||
| 293 | /* add mutex operation */ | 393 | /* add mutex operation */ |
| @@ -309,8 +409,8 @@ int l1_data_A_sram_free(const void *addr) | |||
| 309 | spin_lock_irqsave(&l1_data_sram_lock, flags); | 409 | spin_lock_irqsave(&l1_data_sram_lock, flags); |
| 310 | 410 | ||
| 311 | #if L1_DATA_A_LENGTH != 0 | 411 | #if L1_DATA_A_LENGTH != 0 |
| 312 | ret = _l1_sram_free(addr, | 412 | ret = _sram_free(addr, &free_l1_data_A_sram_head, |
| 313 | l1_data_A_sram, ARRAY_SIZE(l1_data_A_sram)); | 413 | &used_l1_data_A_sram_head); |
| 314 | #else | 414 | #else |
| 315 | ret = -1; | 415 | ret = -1; |
| 316 | #endif | 416 | #endif |
| @@ -331,7 +431,8 @@ void *l1_data_B_sram_alloc(size_t size) | |||
| 331 | /* add mutex operation */ | 431 | /* add mutex operation */ |
| 332 | spin_lock_irqsave(&l1_data_sram_lock, flags); | 432 | spin_lock_irqsave(&l1_data_sram_lock, flags); |
| 333 | 433 | ||
| 334 | addr = _l1_sram_alloc(size, l1_data_B_sram, ARRAY_SIZE(l1_data_B_sram)); | 434 | addr = _sram_alloc(size, &free_l1_data_B_sram_head, |
| 435 | &used_l1_data_B_sram_head); | ||
| 335 | 436 | ||
| 336 | /* add mutex operation */ | 437 | /* add mutex operation */ |
| 337 | spin_unlock_irqrestore(&l1_data_sram_lock, flags); | 438 | spin_unlock_irqrestore(&l1_data_sram_lock, flags); |
| @@ -355,7 +456,8 @@ int l1_data_B_sram_free(const void *addr) | |||
| 355 | /* add mutex operation */ | 456 | /* add mutex operation */ |
| 356 | spin_lock_irqsave(&l1_data_sram_lock, flags); | 457 | spin_lock_irqsave(&l1_data_sram_lock, flags); |
| 357 | 458 | ||
| 358 | ret = _l1_sram_free(addr, l1_data_B_sram, ARRAY_SIZE(l1_data_B_sram)); | 459 | ret = _sram_free(addr, &free_l1_data_B_sram_head, |
| 460 | &used_l1_data_B_sram_head); | ||
| 359 | 461 | ||
| 360 | /* add mutex operation */ | 462 | /* add mutex operation */ |
| 361 | spin_unlock_irqrestore(&l1_data_sram_lock, flags); | 463 | spin_unlock_irqrestore(&l1_data_sram_lock, flags); |
| @@ -408,7 +510,8 @@ void *l1_inst_sram_alloc(size_t size) | |||
| 408 | /* add mutex operation */ | 510 | /* add mutex operation */ |
| 409 | spin_lock_irqsave(&l1_inst_sram_lock, flags); | 511 | spin_lock_irqsave(&l1_inst_sram_lock, flags); |
| 410 | 512 | ||
| 411 | addr = _l1_sram_alloc(size, l1_inst_sram, ARRAY_SIZE(l1_inst_sram)); | 513 | addr = _sram_alloc(size, &free_l1_inst_sram_head, |
| 514 | &used_l1_inst_sram_head); | ||
| 412 | 515 | ||
| 413 | /* add mutex operation */ | 516 | /* add mutex operation */ |
| 414 | spin_unlock_irqrestore(&l1_inst_sram_lock, flags); | 517 | spin_unlock_irqrestore(&l1_inst_sram_lock, flags); |
| @@ -432,7 +535,8 @@ int l1_inst_sram_free(const void *addr) | |||
| 432 | /* add mutex operation */ | 535 | /* add mutex operation */ |
| 433 | spin_lock_irqsave(&l1_inst_sram_lock, flags); | 536 | spin_lock_irqsave(&l1_inst_sram_lock, flags); |
| 434 | 537 | ||
| 435 | ret = _l1_sram_free(addr, l1_inst_sram, ARRAY_SIZE(l1_inst_sram)); | 538 | ret = _sram_free(addr, &free_l1_inst_sram_head, |
| 539 | &used_l1_inst_sram_head); | ||
| 436 | 540 | ||
| 437 | /* add mutex operation */ | 541 | /* add mutex operation */ |
| 438 | spin_unlock_irqrestore(&l1_inst_sram_lock, flags); | 542 | spin_unlock_irqrestore(&l1_inst_sram_lock, flags); |
| @@ -453,7 +557,8 @@ void *l1sram_alloc(size_t size) | |||
| 453 | /* add mutex operation */ | 557 | /* add mutex operation */ |
| 454 | spin_lock_irqsave(&l1sram_lock, flags); | 558 | spin_lock_irqsave(&l1sram_lock, flags); |
| 455 | 559 | ||
| 456 | addr = _l1_sram_alloc(size, l1_ssram, ARRAY_SIZE(l1_ssram)); | 560 | addr = _sram_alloc(size, &free_l1_ssram_head, |
| 561 | &used_l1_ssram_head); | ||
| 457 | 562 | ||
| 458 | /* add mutex operation */ | 563 | /* add mutex operation */ |
| 459 | spin_unlock_irqrestore(&l1sram_lock, flags); | 564 | spin_unlock_irqrestore(&l1sram_lock, flags); |
| @@ -470,7 +575,8 @@ void *l1sram_alloc_max(size_t *psize) | |||
| 470 | /* add mutex operation */ | 575 | /* add mutex operation */ |
| 471 | spin_lock_irqsave(&l1sram_lock, flags); | 576 | spin_lock_irqsave(&l1sram_lock, flags); |
| 472 | 577 | ||
| 473 | addr = _l1_sram_alloc_max(l1_ssram, ARRAY_SIZE(l1_ssram), psize); | 578 | addr = _sram_alloc_max(&free_l1_ssram_head, |
| 579 | &used_l1_ssram_head, psize); | ||
| 474 | 580 | ||
| 475 | /* add mutex operation */ | 581 | /* add mutex operation */ |
| 476 | spin_unlock_irqrestore(&l1sram_lock, flags); | 582 | spin_unlock_irqrestore(&l1sram_lock, flags); |
| @@ -487,7 +593,8 @@ int l1sram_free(const void *addr) | |||
| 487 | /* add mutex operation */ | 593 | /* add mutex operation */ |
| 488 | spin_lock_irqsave(&l1sram_lock, flags); | 594 | spin_lock_irqsave(&l1sram_lock, flags); |
| 489 | 595 | ||
| 490 | ret = _l1_sram_free(addr, l1_ssram, ARRAY_SIZE(l1_ssram)); | 596 | ret = _sram_free(addr, &free_l1_ssram_head, |
| 597 | &used_l1_ssram_head); | ||
| 491 | 598 | ||
| 492 | /* add mutex operation */ | 599 | /* add mutex operation */ |
| 493 | spin_unlock_irqrestore(&l1sram_lock, flags); | 600 | spin_unlock_irqrestore(&l1sram_lock, flags); |
| @@ -495,6 +602,64 @@ int l1sram_free(const void *addr) | |||
| 495 | return ret; | 602 | return ret; |
| 496 | } | 603 | } |
| 497 | 604 | ||
| 605 | void *l2_sram_alloc(size_t size) | ||
| 606 | { | ||
| 607 | #ifdef L2_LENGTH | ||
| 608 | unsigned flags; | ||
| 609 | void *addr; | ||
| 610 | |||
| 611 | /* add mutex operation */ | ||
| 612 | spin_lock_irqsave(&l2_sram_lock, flags); | ||
| 613 | |||
| 614 | addr = _sram_alloc(size, &free_l2_sram_head, | ||
| 615 | &used_l2_sram_head); | ||
| 616 | |||
| 617 | /* add mutex operation */ | ||
| 618 | spin_unlock_irqrestore(&l2_sram_lock, flags); | ||
| 619 | |||
| 620 | pr_debug("Allocated address in l2_sram_alloc is 0x%lx+0x%lx\n", | ||
| 621 | (long unsigned int)addr, size); | ||
| 622 | |||
| 623 | return addr; | ||
| 624 | #else | ||
| 625 | return NULL; | ||
| 626 | #endif | ||
| 627 | } | ||
| 628 | EXPORT_SYMBOL(l2_sram_alloc); | ||
| 629 | |||
| 630 | void *l2_sram_zalloc(size_t size) | ||
| 631 | { | ||
| 632 | void *addr = l2_sram_alloc(size); | ||
| 633 | |||
| 634 | if (addr) | ||
| 635 | memset(addr, 0x00, size); | ||
| 636 | |||
| 637 | return addr; | ||
| 638 | } | ||
| 639 | EXPORT_SYMBOL(l2_sram_zalloc); | ||
| 640 | |||
| 641 | int l2_sram_free(const void *addr) | ||
| 642 | { | ||
| 643 | #ifdef L2_LENGTH | ||
| 644 | unsigned flags; | ||
| 645 | int ret; | ||
| 646 | |||
| 647 | /* add mutex operation */ | ||
| 648 | spin_lock_irqsave(&l2_sram_lock, flags); | ||
| 649 | |||
| 650 | ret = _sram_free(addr, &free_l2_sram_head, | ||
| 651 | &used_l2_sram_head); | ||
| 652 | |||
| 653 | /* add mutex operation */ | ||
| 654 | spin_unlock_irqrestore(&l2_sram_lock, flags); | ||
| 655 | |||
| 656 | return ret; | ||
| 657 | #else | ||
| 658 | return -1; | ||
| 659 | #endif | ||
| 660 | } | ||
| 661 | EXPORT_SYMBOL(l2_sram_free); | ||
| 662 | |||
| 498 | int sram_free_with_lsl(const void *addr) | 663 | int sram_free_with_lsl(const void *addr) |
| 499 | { | 664 | { |
| 500 | struct sram_list_struct *lsl, **tmp; | 665 | struct sram_list_struct *lsl, **tmp; |
| @@ -533,6 +698,9 @@ void *sram_alloc_with_lsl(size_t size, unsigned long flags) | |||
| 533 | if (addr == NULL && (flags & L1_DATA_B_SRAM)) | 698 | if (addr == NULL && (flags & L1_DATA_B_SRAM)) |
| 534 | addr = l1_data_B_sram_alloc(size); | 699 | addr = l1_data_B_sram_alloc(size); |
| 535 | 700 | ||
| 701 | if (addr == NULL && (flags & L2_SRAM)) | ||
| 702 | addr = l2_sram_alloc(size); | ||
| 703 | |||
| 536 | if (addr == NULL) { | 704 | if (addr == NULL) { |
| 537 | kfree(lsl); | 705 | kfree(lsl); |
| 538 | return NULL; | 706 | return NULL; |
| @@ -549,49 +717,80 @@ EXPORT_SYMBOL(sram_alloc_with_lsl); | |||
| 549 | /* Once we get a real allocator, we'll throw all of this away. | 717 | /* Once we get a real allocator, we'll throw all of this away. |
| 550 | * Until then, we need some sort of visibility into the L1 alloc. | 718 | * Until then, we need some sort of visibility into the L1 alloc. |
| 551 | */ | 719 | */ |
| 552 | static void _l1sram_proc_read(char *buf, int *len, const char *desc, | 720 | /* Need to keep line of output the same. Currently, that is 44 bytes |
| 553 | struct l1_sram_piece *pfree, const int array_size) | 721 | * (including newline). |
| 722 | */ | ||
| 723 | static int _sram_proc_read(char *buf, int *len, int count, const char *desc, | ||
| 724 | struct sram_piece *pfree_head, | ||
| 725 | struct sram_piece *pused_head) | ||
| 554 | { | 726 | { |
| 555 | int i; | 727 | struct sram_piece *pslot; |
| 556 | 728 | ||
| 557 | *len += sprintf(&buf[*len], "--- L1 %-14s Size PID State\n", desc); | 729 | if (!pfree_head || !pused_head) |
| 558 | for (i = 0; i < array_size; ++i) { | 730 | return -1; |
| 559 | const char *alloc_type; | 731 | |
| 560 | switch (pfree[i].flag) { | 732 | *len += sprintf(&buf[*len], "--- SRAM %-14s Size PID State \n", desc); |
| 561 | case SRAM_SLT_NULL: alloc_type = "NULL"; break; | 733 | |
| 562 | case SRAM_SLT_FREE: alloc_type = "FREE"; break; | 734 | /* search the relevant memory slot */ |
| 563 | case SRAM_SLT_ALLOCATED: alloc_type = "ALLOCATED"; break; | 735 | pslot = pused_head->next; |
| 564 | default: alloc_type = "????"; break; | 736 | |
| 565 | } | 737 | while (pslot != NULL) { |
| 566 | *len += sprintf(&buf[*len], "%p-%p %8i %4i %s\n", | 738 | *len += sprintf(&buf[*len], "%p-%p %10i %5i %-10s\n", |
| 567 | pfree[i].paddr, pfree[i].paddr + pfree[i].size, | 739 | pslot->paddr, pslot->paddr + pslot->size, |
| 568 | pfree[i].size, pfree[i].pid, alloc_type); | 740 | pslot->size, pslot->pid, "ALLOCATED"); |
| 741 | |||
| 742 | pslot = pslot->next; | ||
| 569 | } | 743 | } |
| 744 | |||
| 745 | pslot = pfree_head->next; | ||
| 746 | |||
| 747 | while (pslot != NULL) { | ||
| 748 | *len += sprintf(&buf[*len], "%p-%p %10i %5i %-10s\n", | ||
| 749 | pslot->paddr, pslot->paddr + pslot->size, | ||
| 750 | pslot->size, pslot->pid, "FREE"); | ||
| 751 | |||
| 752 | pslot = pslot->next; | ||
| 753 | } | ||
| 754 | |||
| 755 | return 0; | ||
| 570 | } | 756 | } |
| 571 | static int l1sram_proc_read(char *buf, char **start, off_t offset, int count, | 757 | static int sram_proc_read(char *buf, char **start, off_t offset, int count, |
| 572 | int *eof, void *data) | 758 | int *eof, void *data) |
| 573 | { | 759 | { |
| 574 | int len = 0; | 760 | int len = 0; |
| 575 | 761 | ||
| 576 | _l1sram_proc_read(buf, &len, "Scratchpad", | 762 | if (_sram_proc_read(buf, &len, count, "Scratchpad", |
| 577 | l1_ssram, ARRAY_SIZE(l1_ssram)); | 763 | &free_l1_ssram_head, &used_l1_ssram_head)) |
| 764 | goto not_done; | ||
| 578 | #if L1_DATA_A_LENGTH != 0 | 765 | #if L1_DATA_A_LENGTH != 0 |
| 579 | _l1sram_proc_read(buf, &len, "Data A", | 766 | if (_sram_proc_read(buf, &len, count, "L1 Data A", |
| 580 | l1_data_A_sram, ARRAY_SIZE(l1_data_A_sram)); | 767 | &free_l1_data_A_sram_head, |
| 768 | &used_l1_data_A_sram_head)) | ||
| 769 | goto not_done; | ||
| 581 | #endif | 770 | #endif |
| 582 | #if L1_DATA_B_LENGTH != 0 | 771 | #if L1_DATA_B_LENGTH != 0 |
| 583 | _l1sram_proc_read(buf, &len, "Data B", | 772 | if (_sram_proc_read(buf, &len, count, "L1 Data B", |
| 584 | l1_data_B_sram, ARRAY_SIZE(l1_data_B_sram)); | 773 | &free_l1_data_B_sram_head, |
| 774 | &used_l1_data_B_sram_head)) | ||
| 775 | goto not_done; | ||
| 585 | #endif | 776 | #endif |
| 586 | #if L1_CODE_LENGTH != 0 | 777 | #if L1_CODE_LENGTH != 0 |
| 587 | _l1sram_proc_read(buf, &len, "Instruction", | 778 | if (_sram_proc_read(buf, &len, count, "L1 Instruction", |
| 588 | l1_inst_sram, ARRAY_SIZE(l1_inst_sram)); | 779 | &free_l1_inst_sram_head, &used_l1_inst_sram_head)) |
| 780 | goto not_done; | ||
| 781 | #endif | ||
| 782 | #ifdef L2_LENGTH | ||
| 783 | if (_sram_proc_read(buf, &len, count, "L2", | ||
| 784 | &free_l2_sram_head, &used_l2_sram_head)) | ||
| 785 | goto not_done; | ||
| 589 | #endif | 786 | #endif |
| 590 | 787 | ||
| 788 | *eof = 1; | ||
| 789 | not_done: | ||
| 591 | return len; | 790 | return len; |
| 592 | } | 791 | } |
| 593 | 792 | ||
| 594 | static int __init l1sram_proc_init(void) | 793 | static int __init sram_proc_init(void) |
| 595 | { | 794 | { |
| 596 | struct proc_dir_entry *ptr; | 795 | struct proc_dir_entry *ptr; |
| 597 | ptr = create_proc_entry("sram", S_IFREG | S_IRUGO, NULL); | 796 | ptr = create_proc_entry("sram", S_IFREG | S_IRUGO, NULL); |
| @@ -600,8 +799,8 @@ static int __init l1sram_proc_init(void) | |||
| 600 | return -1; | 799 | return -1; |
| 601 | } | 800 | } |
| 602 | ptr->owner = THIS_MODULE; | 801 | ptr->owner = THIS_MODULE; |
| 603 | ptr->read_proc = l1sram_proc_read; | 802 | ptr->read_proc = sram_proc_read; |
| 604 | return 0; | 803 | return 0; |
| 605 | } | 804 | } |
| 606 | late_initcall(l1sram_proc_init); | 805 | late_initcall(sram_proc_init); |
| 607 | #endif | 806 | #endif |
diff --git a/arch/blackfin/mm/blackfin_sram.h b/arch/blackfin/mm/blackfin_sram.h index 0fb73b78dd60..8cb0945563f9 100644 --- a/arch/blackfin/mm/blackfin_sram.h +++ b/arch/blackfin/mm/blackfin_sram.h | |||
| @@ -30,9 +30,7 @@ | |||
| 30 | #ifndef __BLACKFIN_SRAM_H__ | 30 | #ifndef __BLACKFIN_SRAM_H__ |
| 31 | #define __BLACKFIN_SRAM_H__ | 31 | #define __BLACKFIN_SRAM_H__ |
| 32 | 32 | ||
| 33 | extern void l1sram_init(void); | 33 | extern void bfin_sram_init(void); |
| 34 | extern void l1_inst_sram_init(void); | ||
| 35 | extern void l1_data_sram_init(void); | ||
| 36 | extern void *l1sram_alloc(size_t); | 34 | extern void *l1sram_alloc(size_t); |
| 37 | 35 | ||
| 38 | #endif | 36 | #endif |
diff --git a/arch/blackfin/mm/init.c b/arch/blackfin/mm/init.c index 4d5326ee9a85..bc240abb8745 100644 --- a/arch/blackfin/mm/init.c +++ b/arch/blackfin/mm/init.c | |||
| @@ -137,11 +137,14 @@ void __init mem_init(void) | |||
| 137 | "(%uk init code, %uk kernel code, %uk data, %uk dma, %uk reserved)\n", | 137 | "(%uk init code, %uk kernel code, %uk data, %uk dma, %uk reserved)\n", |
| 138 | (unsigned long) freepages << (PAGE_SHIFT-10), _ramend >> 10, | 138 | (unsigned long) freepages << (PAGE_SHIFT-10), _ramend >> 10, |
| 139 | initk, codek, datak, DMA_UNCACHED_REGION >> 10, (reservedpages << (PAGE_SHIFT-10))); | 139 | initk, codek, datak, DMA_UNCACHED_REGION >> 10, (reservedpages << (PAGE_SHIFT-10))); |
| 140 | } | ||
| 141 | |||
| 142 | static int __init sram_init(void) | ||
| 143 | { | ||
| 144 | unsigned long tmp; | ||
| 140 | 145 | ||
| 141 | /* Initialize the blackfin L1 Memory. */ | 146 | /* Initialize the blackfin L1 Memory. */ |
| 142 | l1sram_init(); | 147 | bfin_sram_init(); |
| 143 | l1_data_sram_init(); | ||
| 144 | l1_inst_sram_init(); | ||
| 145 | 148 | ||
| 146 | /* Allocate this once; never free it. We assume this gives us a | 149 | /* Allocate this once; never free it. We assume this gives us a |
| 147 | pointer to the start of L1 scratchpad memory; panic if it | 150 | pointer to the start of L1 scratchpad memory; panic if it |
| @@ -152,7 +155,10 @@ void __init mem_init(void) | |||
| 152 | tmp, (unsigned long)L1_SCRATCH_TASK_INFO); | 155 | tmp, (unsigned long)L1_SCRATCH_TASK_INFO); |
| 153 | panic("No L1, time to give up\n"); | 156 | panic("No L1, time to give up\n"); |
| 154 | } | 157 | } |
| 158 | |||
| 159 | return 0; | ||
| 155 | } | 160 | } |
| 161 | pure_initcall(sram_init); | ||
| 156 | 162 | ||
| 157 | static void __init free_init_pages(const char *what, unsigned long begin, unsigned long end) | 163 | static void __init free_init_pages(const char *what, unsigned long begin, unsigned long end) |
| 158 | { | 164 | { |
diff --git a/include/asm-blackfin/bfin-global.h b/include/asm-blackfin/bfin-global.h index 76033831eb35..320aa5e167e9 100644 --- a/include/asm-blackfin/bfin-global.h +++ b/include/asm-blackfin/bfin-global.h | |||
| @@ -92,16 +92,20 @@ extern void *l1_data_B_sram_alloc(size_t); | |||
| 92 | extern void *l1_inst_sram_alloc(size_t); | 92 | extern void *l1_inst_sram_alloc(size_t); |
| 93 | extern void *l1_data_sram_alloc(size_t); | 93 | extern void *l1_data_sram_alloc(size_t); |
| 94 | extern void *l1_data_sram_zalloc(size_t); | 94 | extern void *l1_data_sram_zalloc(size_t); |
| 95 | extern void *l2_sram_alloc(size_t); | ||
| 96 | extern void *l2_sram_zalloc(size_t); | ||
| 95 | extern int l1_data_A_sram_free(const void*); | 97 | extern int l1_data_A_sram_free(const void*); |
| 96 | extern int l1_data_B_sram_free(const void*); | 98 | extern int l1_data_B_sram_free(const void*); |
| 97 | extern int l1_inst_sram_free(const void*); | 99 | extern int l1_inst_sram_free(const void*); |
| 98 | extern int l1_data_sram_free(const void*); | 100 | extern int l1_data_sram_free(const void*); |
| 101 | extern int l2_sram_free(const void *); | ||
| 99 | extern int sram_free(const void*); | 102 | extern int sram_free(const void*); |
| 100 | 103 | ||
| 101 | #define L1_INST_SRAM 0x00000001 | 104 | #define L1_INST_SRAM 0x00000001 |
| 102 | #define L1_DATA_A_SRAM 0x00000002 | 105 | #define L1_DATA_A_SRAM 0x00000002 |
| 103 | #define L1_DATA_B_SRAM 0x00000004 | 106 | #define L1_DATA_B_SRAM 0x00000004 |
| 104 | #define L1_DATA_SRAM 0x00000006 | 107 | #define L1_DATA_SRAM 0x00000006 |
| 108 | #define L2_SRAM 0x00000008 | ||
| 105 | extern void *sram_alloc_with_lsl(size_t, unsigned long); | 109 | extern void *sram_alloc_with_lsl(size_t, unsigned long); |
| 106 | extern int sram_free_with_lsl(const void*); | 110 | extern int sram_free_with_lsl(const void*); |
| 107 | 111 | ||
| @@ -114,7 +118,9 @@ extern struct file_operations dpmc_fops; | |||
| 114 | extern unsigned long _ramstart, _ramend, _rambase; | 118 | extern unsigned long _ramstart, _ramend, _rambase; |
| 115 | extern unsigned long memory_start, memory_end, physical_mem_end; | 119 | extern unsigned long memory_start, memory_end, physical_mem_end; |
| 116 | extern char _stext_l1[], _etext_l1[], _sdata_l1[], _edata_l1[], _sbss_l1[], | 120 | extern char _stext_l1[], _etext_l1[], _sdata_l1[], _edata_l1[], _sbss_l1[], |
| 117 | _ebss_l1[], _l1_lma_start[], _sdata_b_l1[], _ebss_b_l1[]; | 121 | _ebss_l1[], _l1_lma_start[], _sdata_b_l1[], _ebss_b_l1[], |
| 122 | _stext_l2[], _etext_l2[], _sdata_l2[], _edata_l2[], _sbss_l2[], | ||
| 123 | _ebss_l2[], _l2_lma_start[]; | ||
| 118 | 124 | ||
| 119 | #ifdef CONFIG_MTD_UCLINUX | 125 | #ifdef CONFIG_MTD_UCLINUX |
| 120 | extern unsigned long memory_mtd_start, memory_mtd_end, mtd_size; | 126 | extern unsigned long memory_mtd_start, memory_mtd_end, mtd_size; |
diff --git a/include/asm-blackfin/dma.h b/include/asm-blackfin/dma.h index c0d5259e315b..3cd4b522aa3f 100644 --- a/include/asm-blackfin/dma.h +++ b/include/asm-blackfin/dma.h | |||
| @@ -144,8 +144,16 @@ struct dma_channel { | |||
| 144 | void *data; | 144 | void *data; |
| 145 | unsigned int dma_enable_flag; | 145 | unsigned int dma_enable_flag; |
| 146 | unsigned int loopback_flag; | 146 | unsigned int loopback_flag; |
| 147 | #ifdef CONFIG_PM | ||
| 148 | unsigned short saved_peripheral_map; | ||
| 149 | #endif | ||
| 147 | }; | 150 | }; |
| 148 | 151 | ||
| 152 | #ifdef CONFIG_PM | ||
| 153 | int blackfin_dma_suspend(void); | ||
| 154 | void blackfin_dma_resume(void); | ||
| 155 | #endif | ||
| 156 | |||
| 149 | /******************************************************************************* | 157 | /******************************************************************************* |
| 150 | * DMA API's | 158 | * DMA API's |
| 151 | *******************************************************************************/ | 159 | *******************************************************************************/ |
diff --git a/include/asm-blackfin/dpmc.h b/include/asm-blackfin/dpmc.h index 7f34cd384f12..de28e6e018b3 100644 --- a/include/asm-blackfin/dpmc.h +++ b/include/asm-blackfin/dpmc.h | |||
| @@ -7,63 +7,18 @@ | |||
| 7 | #ifndef _BLACKFIN_DPMC_H_ | 7 | #ifndef _BLACKFIN_DPMC_H_ |
| 8 | #define _BLACKFIN_DPMC_H_ | 8 | #define _BLACKFIN_DPMC_H_ |
| 9 | 9 | ||
| 10 | #define SLEEP_MODE 1 | ||
| 11 | #define DEEP_SLEEP_MODE 2 | ||
| 12 | #define ACTIVE_PLL_DISABLED 3 | ||
| 13 | #define FULLON_MODE 4 | ||
| 14 | #define ACTIVE_PLL_ENABLED 5 | ||
| 15 | #define HIBERNATE_MODE 6 | ||
| 16 | |||
| 17 | #define IOCTL_FULL_ON_MODE _IO('s', 0xA0) | ||
| 18 | #define IOCTL_ACTIVE_MODE _IO('s', 0xA1) | ||
| 19 | #define IOCTL_SLEEP_MODE _IO('s', 0xA2) | ||
| 20 | #define IOCTL_DEEP_SLEEP_MODE _IO('s', 0xA3) | ||
| 21 | #define IOCTL_HIBERNATE_MODE _IO('s', 0xA4) | ||
| 22 | #define IOCTL_CHANGE_FREQUENCY _IOW('s', 0xA5, unsigned long) | ||
| 23 | #define IOCTL_CHANGE_VOLTAGE _IOW('s', 0xA6, unsigned long) | ||
| 24 | #define IOCTL_SET_CCLK _IOW('s', 0xA7, unsigned long) | ||
| 25 | #define IOCTL_SET_SCLK _IOW('s', 0xA8, unsigned long) | ||
| 26 | #define IOCTL_GET_PLLSTATUS _IOW('s', 0xA9, unsigned long) | ||
| 27 | #define IOCTL_GET_CORECLOCK _IOW('s', 0xAA, unsigned long) | ||
| 28 | #define IOCTL_GET_SYSTEMCLOCK _IOW('s', 0xAB, unsigned long) | ||
| 29 | #define IOCTL_GET_VCO _IOW('s', 0xAC, unsigned long) | ||
| 30 | #define IOCTL_DISABLE_WDOG_TIMER _IO('s', 0xAD) | ||
| 31 | #define IOCTL_UNMASK_WDOG_WAKEUP_EVENT _IO('s',0xAE) | ||
| 32 | #define IOCTL_PROGRAM_WDOG_TIMER _IOW('s',0xAF,unsigned long) | ||
| 33 | #define IOCTL_CLEAR_WDOG_WAKEUP_EVENT _IO('s',0xB0) | ||
| 34 | #define IOCTL_SLEEP_DEEPER_MODE _IO('s',0xB1) | ||
| 35 | |||
| 36 | #define DPMC_MINOR 254 | ||
| 37 | |||
| 38 | #define ON 0 | ||
| 39 | #define OFF 1 | ||
| 40 | |||
| 41 | #ifdef __KERNEL__ | 10 | #ifdef __KERNEL__ |
| 11 | #ifndef __ASSEMBLY__ | ||
| 42 | 12 | ||
| 43 | unsigned long calc_volt(void); | ||
| 44 | int calc_vlev(int vlt); | ||
| 45 | unsigned long change_voltage(unsigned long volt); | ||
| 46 | int calc_msel(int vco_hz); | ||
| 47 | unsigned long change_frequency(unsigned long vco_mhz); | ||
| 48 | int set_pll_div(unsigned short sel, unsigned char flag); | ||
| 49 | int get_vco(void); | ||
| 50 | unsigned long change_system_clock(unsigned long clock); | ||
| 51 | unsigned long change_core_clock(unsigned long clock); | ||
| 52 | unsigned long get_pll_status(void); | ||
| 53 | void change_baud(int baud); | ||
| 54 | void fullon_mode(void); | ||
| 55 | void active_mode(void); | ||
| 56 | void sleep_mode(u32 sic_iwr0, u32 sic_iwr1, u32 sic_iwr2); | 13 | void sleep_mode(u32 sic_iwr0, u32 sic_iwr1, u32 sic_iwr2); |
| 57 | void deep_sleep(u32 sic_iwr0, u32 sic_iwr1, u32 sic_iwr2); | 14 | void deep_sleep(u32 sic_iwr0, u32 sic_iwr1, u32 sic_iwr2); |
| 58 | void hibernate_mode(u32 sic_iwr0, u32 sic_iwr1, u32 sic_iwr2); | 15 | void hibernate_mode(u32 sic_iwr0, u32 sic_iwr1, u32 sic_iwr2); |
| 59 | void sleep_deeper(u32 sic_iwr0, u32 sic_iwr1, u32 sic_iwr2); | 16 | void sleep_deeper(u32 sic_iwr0, u32 sic_iwr1, u32 sic_iwr2); |
| 60 | void program_wdog_timer(unsigned long); | 17 | void do_hibernate(int wakeup); |
| 61 | void unmask_wdog_wakeup_evt(void); | 18 | void set_dram_srfs(void); |
| 62 | void clear_wdog_wakeup_evt(void); | 19 | void unset_dram_srfs(void); |
| 63 | void disable_wdog_timer(void); | ||
| 64 | 20 | ||
| 65 | extern unsigned long get_cclk(void); | 21 | #define VRPAIR(vlev, freq) (((vlev) << 16) | ((freq) >> 16)) |
| 66 | extern unsigned long get_sclk(void); | ||
| 67 | 22 | ||
| 68 | struct bfin_dpmc_platform_data { | 23 | struct bfin_dpmc_platform_data { |
| 69 | const unsigned int *tuple_tab; | 24 | const unsigned int *tuple_tab; |
| @@ -71,8 +26,33 @@ struct bfin_dpmc_platform_data { | |||
| 71 | unsigned short vr_settling_time; /* in us */ | 26 | unsigned short vr_settling_time; /* in us */ |
| 72 | }; | 27 | }; |
| 73 | 28 | ||
| 74 | #define VRPAIR(vlev, freq) (((vlev) << 16) | ((freq) >> 16)) | 29 | #else |
| 30 | |||
| 31 | #define PM_PUSH(x) \ | ||
| 32 | R0 = [P0 + (x - SRAM_BASE_ADDRESS)];\ | ||
| 33 | [--SP] = R0;\ | ||
| 34 | |||
| 35 | #define PM_POP(x) \ | ||
| 36 | R0 = [SP++];\ | ||
| 37 | [P0 + (x - SRAM_BASE_ADDRESS)] = R0;\ | ||
| 38 | |||
| 39 | #define PM_SYS_PUSH(x) \ | ||
| 40 | R0 = [P0 + (x - PLL_CTL)];\ | ||
| 41 | [--SP] = R0;\ | ||
| 42 | |||
| 43 | #define PM_SYS_POP(x) \ | ||
| 44 | R0 = [SP++];\ | ||
| 45 | [P0 + (x - PLL_CTL)] = R0;\ | ||
| 46 | |||
| 47 | #define PM_SYS_PUSH16(x) \ | ||
| 48 | R0 = w[P0 + (x - PLL_CTL)];\ | ||
| 49 | [--SP] = R0;\ | ||
| 50 | |||
| 51 | #define PM_SYS_POP16(x) \ | ||
| 52 | R0 = [SP++];\ | ||
| 53 | w[P0 + (x - PLL_CTL)] = R0;\ | ||
| 75 | 54 | ||
| 55 | #endif | ||
| 76 | #endif /* __KERNEL__ */ | 56 | #endif /* __KERNEL__ */ |
| 77 | 57 | ||
| 78 | #endif /*_BLACKFIN_DPMC_H_*/ | 58 | #endif /*_BLACKFIN_DPMC_H_*/ |
diff --git a/include/asm-blackfin/elf.h b/include/asm-blackfin/elf.h index 30303fc8292c..67a03a8a353e 100644 --- a/include/asm-blackfin/elf.h +++ b/include/asm-blackfin/elf.h | |||
| @@ -15,6 +15,8 @@ | |||
| 15 | #define EF_BFIN_FDPIC 0x00000002 /* -mfdpic */ | 15 | #define EF_BFIN_FDPIC 0x00000002 /* -mfdpic */ |
| 16 | #define EF_BFIN_CODE_IN_L1 0x00000010 /* --code-in-l1 */ | 16 | #define EF_BFIN_CODE_IN_L1 0x00000010 /* --code-in-l1 */ |
| 17 | #define EF_BFIN_DATA_IN_L1 0x00000020 /* --data-in-l1 */ | 17 | #define EF_BFIN_DATA_IN_L1 0x00000020 /* --data-in-l1 */ |
| 18 | #define EF_BFIN_CODE_IN_L2 0x00000040 /* --code-in-l2 */ | ||
| 19 | #define EF_BFIN_DATA_IN_L2 0x00000080 /* --data-in-l2 */ | ||
| 18 | 20 | ||
| 19 | typedef unsigned long elf_greg_t; | 21 | typedef unsigned long elf_greg_t; |
| 20 | 22 | ||
diff --git a/include/asm-blackfin/gpio.h b/include/asm-blackfin/gpio.h index ff95e9d88342..168f1251eb4d 100644 --- a/include/asm-blackfin/gpio.h +++ b/include/asm-blackfin/gpio.h | |||
| @@ -376,8 +376,12 @@ struct gpio_port_t { | |||
| 376 | #endif | 376 | #endif |
| 377 | 377 | ||
| 378 | #ifdef CONFIG_PM | 378 | #ifdef CONFIG_PM |
| 379 | unsigned int bfin_pm_setup(void); | 379 | |
| 380 | void bfin_pm_restore(void); | 380 | unsigned int bfin_pm_standby_setup(void); |
| 381 | void bfin_pm_standby_restore(void); | ||
| 382 | |||
| 383 | void bfin_gpio_pm_hibernate_restore(void); | ||
| 384 | void bfin_gpio_pm_hibernate_suspend(void); | ||
| 381 | 385 | ||
| 382 | #ifndef CONFIG_BF54x | 386 | #ifndef CONFIG_BF54x |
| 383 | #define PM_WAKE_RISING 0x1 | 387 | #define PM_WAKE_RISING 0x1 |
| @@ -392,17 +396,8 @@ void gpio_pm_wakeup_free(unsigned gpio); | |||
| 392 | 396 | ||
| 393 | struct gpio_port_s { | 397 | struct gpio_port_s { |
| 394 | unsigned short data; | 398 | unsigned short data; |
| 395 | unsigned short data_clear; | ||
| 396 | unsigned short data_set; | ||
| 397 | unsigned short toggle; | ||
| 398 | unsigned short maska; | 399 | unsigned short maska; |
| 399 | unsigned short maska_clear; | ||
| 400 | unsigned short maska_set; | ||
| 401 | unsigned short maska_toggle; | ||
| 402 | unsigned short maskb; | 400 | unsigned short maskb; |
| 403 | unsigned short maskb_clear; | ||
| 404 | unsigned short maskb_set; | ||
| 405 | unsigned short maskb_toggle; | ||
| 406 | unsigned short dir; | 401 | unsigned short dir; |
| 407 | unsigned short polar; | 402 | unsigned short polar; |
| 408 | unsigned short edge; | 403 | unsigned short edge; |
| @@ -411,10 +406,10 @@ struct gpio_port_s { | |||
| 411 | 406 | ||
| 412 | unsigned short fer; | 407 | unsigned short fer; |
| 413 | unsigned short reserved; | 408 | unsigned short reserved; |
| 409 | unsigned short mux; | ||
| 414 | }; | 410 | }; |
| 415 | #endif /*CONFIG_BF54x*/ | 411 | #endif /*CONFIG_BF54x*/ |
| 416 | #endif /*CONFIG_PM*/ | 412 | #endif /*CONFIG_PM*/ |
| 417 | |||
| 418 | /*********************************************************** | 413 | /*********************************************************** |
| 419 | * | 414 | * |
| 420 | * FUNCTIONS: Blackfin GPIO Driver | 415 | * FUNCTIONS: Blackfin GPIO Driver |
diff --git a/include/asm-blackfin/mach-bf527/anomaly.h b/include/asm-blackfin/mach-bf527/anomaly.h index 4725268a5ada..b7b166f4f064 100644 --- a/include/asm-blackfin/mach-bf527/anomaly.h +++ b/include/asm-blackfin/mach-bf527/anomaly.h | |||
| @@ -23,6 +23,8 @@ | |||
| 23 | #define ANOMALY_05000245 (1) | 23 | #define ANOMALY_05000245 (1) |
| 24 | /* Sensitivity To Noise with Slow Input Edge Rates on External SPORT TX and RX Clocks */ | 24 | /* Sensitivity To Noise with Slow Input Edge Rates on External SPORT TX and RX Clocks */ |
| 25 | #define ANOMALY_05000265 (1) | 25 | #define ANOMALY_05000265 (1) |
| 26 | /* New Feature: EMAC TX DMA Word Alignment */ | ||
| 27 | #define ANOMALY_05000285 (1) | ||
| 26 | /* Errors when SSYNC, CSYNC, or Loads to LT, LB and LC Registers Are Interrupted */ | 28 | /* Errors when SSYNC, CSYNC, or Loads to LT, LB and LC Registers Are Interrupted */ |
| 27 | #define ANOMALY_05000312 (1) | 29 | #define ANOMALY_05000312 (1) |
| 28 | /* Incorrect Access of OTP_STATUS During otp_write() Function */ | 30 | /* Incorrect Access of OTP_STATUS During otp_write() Function */ |
diff --git a/include/asm-blackfin/mach-bf527/bfin_sir.h b/include/asm-blackfin/mach-bf527/bfin_sir.h index 0612d0c9501c..cfd8ad4f1f2c 100644 --- a/include/asm-blackfin/mach-bf527/bfin_sir.h +++ b/include/asm-blackfin/mach-bf527/bfin_sir.h | |||
| @@ -118,16 +118,25 @@ static inline void SIR_UART_CLEAR_LSR(struct bfin_sir_port *port) | |||
| 118 | 118 | ||
| 119 | #define DRIVER_NAME "bfin_sir" | 119 | #define DRIVER_NAME "bfin_sir" |
| 120 | 120 | ||
| 121 | static void bfin_sir_hw_init(void) | 121 | static int bfin_sir_hw_init(void) |
| 122 | { | 122 | { |
| 123 | int ret = -ENODEV; | ||
| 123 | #ifdef CONFIG_BFIN_SIR0 | 124 | #ifdef CONFIG_BFIN_SIR0 |
| 124 | peripheral_request(P_UART0_TX, DRIVER_NAME); | 125 | ret = peripheral_request(P_UART0_TX, DRIVER_NAME); |
| 125 | peripheral_request(P_UART0_RX, DRIVER_NAME); | 126 | if (ret) |
| 127 | return ret; | ||
| 128 | ret = peripheral_request(P_UART0_RX, DRIVER_NAME); | ||
| 129 | if (ret) | ||
| 130 | return ret; | ||
| 126 | #endif | 131 | #endif |
| 127 | 132 | ||
| 128 | #ifdef CONFIG_BFIN_SIR1 | 133 | #ifdef CONFIG_BFIN_SIR1 |
| 129 | peripheral_request(P_UART1_TX, DRIVER_NAME); | 134 | ret = peripheral_request(P_UART1_TX, DRIVER_NAME); |
| 130 | peripheral_request(P_UART1_RX, DRIVER_NAME); | 135 | if (ret) |
| 136 | return ret; | ||
| 137 | ret = peripheral_request(P_UART1_RX, DRIVER_NAME); | ||
| 138 | if (ret) | ||
| 139 | return ret; | ||
| 131 | #endif | 140 | #endif |
| 132 | SSYNC(); | 141 | return ret; |
| 133 | } | 142 | } |
diff --git a/include/asm-blackfin/mach-bf527/defBF527.h b/include/asm-blackfin/mach-bf527/defBF527.h index 82134f578f32..f1a70db70cb8 100644 --- a/include/asm-blackfin/mach-bf527/defBF527.h +++ b/include/asm-blackfin/mach-bf527/defBF527.h | |||
| @@ -302,6 +302,7 @@ | |||
| 302 | #define PHYIE 0x00000001 /* PHY_INT Interrupt Enable */ | 302 | #define PHYIE 0x00000001 /* PHY_INT Interrupt Enable */ |
| 303 | #define RXDWA 0x00000002 /* Receive Frame DMA Word Alignment (Odd/Even*) */ | 303 | #define RXDWA 0x00000002 /* Receive Frame DMA Word Alignment (Odd/Even*) */ |
| 304 | #define RXCKS 0x00000004 /* Enable RX Frame TCP/UDP Checksum Computation */ | 304 | #define RXCKS 0x00000004 /* Enable RX Frame TCP/UDP Checksum Computation */ |
| 305 | #define TXDWA 0x00000010 /* Transmit Frame DMA Word Alignment (Odd/Even*) */ | ||
| 305 | #define MDCDIV 0x00003F00 /* SCLK:MDC Clock Divisor [MDC=SCLK/(2*(N+1))] */ | 306 | #define MDCDIV 0x00003F00 /* SCLK:MDC Clock Divisor [MDC=SCLK/(2*(N+1))] */ |
| 306 | 307 | ||
| 307 | #define SET_MDCDIV(x) (((x)&0x3F)<< 8) /* Set MDC Clock Divisor */ | 308 | #define SET_MDCDIV(x) (((x)&0x3F)<< 8) /* Set MDC Clock Divisor */ |
diff --git a/include/asm-blackfin/mach-bf527/mem_init.h b/include/asm-blackfin/mach-bf527/mem_init.h index 008ca66719e2..cbe03f4a5698 100644 --- a/include/asm-blackfin/mach-bf527/mem_init.h +++ b/include/asm-blackfin/mach-bf527/mem_init.h | |||
| @@ -146,33 +146,6 @@ | |||
| 146 | #define SDRAM_CL CL_3 | 146 | #define SDRAM_CL CL_3 |
| 147 | #endif | 147 | #endif |
| 148 | 148 | ||
| 149 | #if (CONFIG_MEM_SIZE == 128) | ||
| 150 | #define SDRAM_SIZE EBSZ_128 | ||
| 151 | #endif | ||
| 152 | #if (CONFIG_MEM_SIZE == 64) | ||
| 153 | #define SDRAM_SIZE EBSZ_64 | ||
| 154 | #endif | ||
| 155 | #if (CONFIG_MEM_SIZE == 32) | ||
| 156 | #define SDRAM_SIZE EBSZ_32 | ||
| 157 | #endif | ||
| 158 | #if (CONFIG_MEM_SIZE == 16) | ||
| 159 | #define SDRAM_SIZE EBSZ_16 | ||
| 160 | #endif | ||
| 161 | #if (CONFIG_MEM_ADD_WIDTH == 11) | ||
| 162 | #define SDRAM_WIDTH EBCAW_11 | ||
| 163 | #endif | ||
| 164 | #if (CONFIG_MEM_ADD_WIDTH == 10) | ||
| 165 | #define SDRAM_WIDTH EBCAW_10 | ||
| 166 | #endif | ||
| 167 | #if (CONFIG_MEM_ADD_WIDTH == 9) | ||
| 168 | #define SDRAM_WIDTH EBCAW_9 | ||
| 169 | #endif | ||
| 170 | #if (CONFIG_MEM_ADD_WIDTH == 8) | ||
| 171 | #define SDRAM_WIDTH EBCAW_8 | ||
| 172 | #endif | ||
| 173 | |||
| 174 | #define mem_SDBCTL (SDRAM_WIDTH | SDRAM_SIZE | EBE) | ||
| 175 | |||
| 176 | /* Equation from section 17 (p17-46) of BF533 HRM */ | 149 | /* Equation from section 17 (p17-46) of BF533 HRM */ |
| 177 | #define mem_SDRRC (((CONFIG_SCLK_HZ / 1000) * SDRAM_Tref) / SDRAM_NRA) - (SDRAM_tRAS_num + SDRAM_tRP_num) | 150 | #define mem_SDRRC (((CONFIG_SCLK_HZ / 1000) * SDRAM_Tref) / SDRAM_NRA) - (SDRAM_tRAS_num + SDRAM_tRP_num) |
| 178 | 151 | ||
diff --git a/include/asm-blackfin/mach-bf533/bfin_sir.h b/include/asm-blackfin/mach-bf533/bfin_sir.h index cefcf8bb505b..9bb87e9e2e9b 100644 --- a/include/asm-blackfin/mach-bf533/bfin_sir.h +++ b/include/asm-blackfin/mach-bf533/bfin_sir.h | |||
| @@ -110,11 +110,16 @@ static inline void SIR_UART_CLEAR_LSR(struct bfin_sir_port *port) | |||
| 110 | 110 | ||
| 111 | #define DRIVER_NAME "bfin_sir" | 111 | #define DRIVER_NAME "bfin_sir" |
| 112 | 112 | ||
| 113 | static void bfin_sir_hw_init(void) | 113 | static int bfin_sir_hw_init(void) |
| 114 | { | 114 | { |
| 115 | int ret = -ENODEV; | ||
| 115 | #ifdef CONFIG_BFIN_SIR0 | 116 | #ifdef CONFIG_BFIN_SIR0 |
| 116 | peripheral_request(P_UART0_TX, DRIVER_NAME); | 117 | ret = peripheral_request(P_UART0_TX, DRIVER_NAME); |
| 117 | peripheral_request(P_UART0_RX, DRIVER_NAME); | 118 | if (ret) |
| 119 | return ret; | ||
| 120 | ret = peripheral_request(P_UART0_RX, DRIVER_NAME); | ||
| 121 | if (ret) | ||
| 122 | return ret; | ||
| 118 | #endif | 123 | #endif |
| 119 | SSYNC(); | 124 | return ret; |
| 120 | } | 125 | } |
diff --git a/include/asm-blackfin/mach-bf533/mem_init.h b/include/asm-blackfin/mach-bf533/mem_init.h index f8f31901fca9..995c06b2b1ef 100644 --- a/include/asm-blackfin/mach-bf533/mem_init.h +++ b/include/asm-blackfin/mach-bf533/mem_init.h | |||
| @@ -133,33 +133,6 @@ | |||
| 133 | #define SDRAM_CL CL_3 | 133 | #define SDRAM_CL CL_3 |
| 134 | #endif | 134 | #endif |
| 135 | 135 | ||
| 136 | #if (CONFIG_MEM_SIZE == 128) | ||
| 137 | #define SDRAM_SIZE EBSZ_128 | ||
| 138 | #endif | ||
| 139 | #if (CONFIG_MEM_SIZE == 64) | ||
| 140 | #define SDRAM_SIZE EBSZ_64 | ||
| 141 | #endif | ||
| 142 | #if (CONFIG_MEM_SIZE == 32) | ||
| 143 | #define SDRAM_SIZE EBSZ_32 | ||
| 144 | #endif | ||
| 145 | #if (CONFIG_MEM_SIZE == 16) | ||
| 146 | #define SDRAM_SIZE EBSZ_16 | ||
| 147 | #endif | ||
| 148 | #if (CONFIG_MEM_ADD_WIDTH == 11) | ||
| 149 | #define SDRAM_WIDTH EBCAW_11 | ||
| 150 | #endif | ||
| 151 | #if (CONFIG_MEM_ADD_WIDTH == 10) | ||
| 152 | #define SDRAM_WIDTH EBCAW_10 | ||
| 153 | #endif | ||
| 154 | #if (CONFIG_MEM_ADD_WIDTH == 9) | ||
| 155 | #define SDRAM_WIDTH EBCAW_9 | ||
| 156 | #endif | ||
| 157 | #if (CONFIG_MEM_ADD_WIDTH == 8) | ||
| 158 | #define SDRAM_WIDTH EBCAW_8 | ||
| 159 | #endif | ||
| 160 | |||
| 161 | #define mem_SDBCTL (SDRAM_WIDTH | SDRAM_SIZE | EBE) | ||
| 162 | |||
| 163 | /* Equation from section 17 (p17-46) of BF533 HRM */ | 136 | /* Equation from section 17 (p17-46) of BF533 HRM */ |
| 164 | #define mem_SDRRC (((CONFIG_SCLK_HZ / 1000) * SDRAM_Tref) / SDRAM_NRA) - (SDRAM_tRAS_num + SDRAM_tRP_num) | 137 | #define mem_SDRRC (((CONFIG_SCLK_HZ / 1000) * SDRAM_Tref) / SDRAM_NRA) - (SDRAM_tRAS_num + SDRAM_tRP_num) |
| 165 | 138 | ||
diff --git a/include/asm-blackfin/mach-bf537/bfin_sir.h b/include/asm-blackfin/mach-bf537/bfin_sir.h index 0612d0c9501c..cfd8ad4f1f2c 100644 --- a/include/asm-blackfin/mach-bf537/bfin_sir.h +++ b/include/asm-blackfin/mach-bf537/bfin_sir.h | |||
| @@ -118,16 +118,25 @@ static inline void SIR_UART_CLEAR_LSR(struct bfin_sir_port *port) | |||
| 118 | 118 | ||
| 119 | #define DRIVER_NAME "bfin_sir" | 119 | #define DRIVER_NAME "bfin_sir" |
| 120 | 120 | ||
| 121 | static void bfin_sir_hw_init(void) | 121 | static int bfin_sir_hw_init(void) |
| 122 | { | 122 | { |
| 123 | int ret = -ENODEV; | ||
| 123 | #ifdef CONFIG_BFIN_SIR0 | 124 | #ifdef CONFIG_BFIN_SIR0 |
| 124 | peripheral_request(P_UART0_TX, DRIVER_NAME); | 125 | ret = peripheral_request(P_UART0_TX, DRIVER_NAME); |
| 125 | peripheral_request(P_UART0_RX, DRIVER_NAME); | 126 | if (ret) |
| 127 | return ret; | ||
| 128 | ret = peripheral_request(P_UART0_RX, DRIVER_NAME); | ||
| 129 | if (ret) | ||
| 130 | return ret; | ||
| 126 | #endif | 131 | #endif |
| 127 | 132 | ||
| 128 | #ifdef CONFIG_BFIN_SIR1 | 133 | #ifdef CONFIG_BFIN_SIR1 |
| 129 | peripheral_request(P_UART1_TX, DRIVER_NAME); | 134 | ret = peripheral_request(P_UART1_TX, DRIVER_NAME); |
| 130 | peripheral_request(P_UART1_RX, DRIVER_NAME); | 135 | if (ret) |
| 136 | return ret; | ||
| 137 | ret = peripheral_request(P_UART1_RX, DRIVER_NAME); | ||
| 138 | if (ret) | ||
| 139 | return ret; | ||
| 131 | #endif | 140 | #endif |
| 132 | SSYNC(); | 141 | return ret; |
| 133 | } | 142 | } |
diff --git a/include/asm-blackfin/mach-bf537/defBF537.h b/include/asm-blackfin/mach-bf537/defBF537.h index 3f455909c418..abde24c6d3b1 100644 --- a/include/asm-blackfin/mach-bf537/defBF537.h +++ b/include/asm-blackfin/mach-bf537/defBF537.h | |||
| @@ -290,6 +290,7 @@ | |||
| 290 | #define PHYIE 0x00000001 /* PHY_INT Interrupt Enable */ | 290 | #define PHYIE 0x00000001 /* PHY_INT Interrupt Enable */ |
| 291 | #define RXDWA 0x00000002 /* Receive Frame DMA Word Alignment (Odd/Even*) */ | 291 | #define RXDWA 0x00000002 /* Receive Frame DMA Word Alignment (Odd/Even*) */ |
| 292 | #define RXCKS 0x00000004 /* Enable RX Frame TCP/UDP Checksum Computation */ | 292 | #define RXCKS 0x00000004 /* Enable RX Frame TCP/UDP Checksum Computation */ |
| 293 | #define TXDWA 0x00000010 /* Transmit Frame DMA Word Alignment (Odd/Even*) */ | ||
| 293 | #define MDCDIV 0x00003F00 /* SCLK:MDC Clock Divisor [MDC=SCLK/(2*(N+1))] */ | 294 | #define MDCDIV 0x00003F00 /* SCLK:MDC Clock Divisor [MDC=SCLK/(2*(N+1))] */ |
| 294 | 295 | ||
| 295 | #define SET_MDCDIV(x) (((x)&0x3F)<< 8) /* Set MDC Clock Divisor */ | 296 | #define SET_MDCDIV(x) (((x)&0x3F)<< 8) /* Set MDC Clock Divisor */ |
diff --git a/include/asm-blackfin/mach-bf537/mem_init.h b/include/asm-blackfin/mach-bf537/mem_init.h index 9ad979d416c6..f67698f670ca 100644 --- a/include/asm-blackfin/mach-bf537/mem_init.h +++ b/include/asm-blackfin/mach-bf537/mem_init.h | |||
| @@ -139,33 +139,6 @@ | |||
| 139 | #define SDRAM_CL CL_3 | 139 | #define SDRAM_CL CL_3 |
| 140 | #endif | 140 | #endif |
| 141 | 141 | ||
| 142 | #if (CONFIG_MEM_SIZE == 128) | ||
| 143 | #define SDRAM_SIZE EBSZ_128 | ||
| 144 | #endif | ||
| 145 | #if (CONFIG_MEM_SIZE == 64) | ||
| 146 | #define SDRAM_SIZE EBSZ_64 | ||
| 147 | #endif | ||
| 148 | #if (CONFIG_MEM_SIZE == 32) | ||
| 149 | #define SDRAM_SIZE EBSZ_32 | ||
| 150 | #endif | ||
| 151 | #if (CONFIG_MEM_SIZE == 16) | ||
| 152 | #define SDRAM_SIZE EBSZ_16 | ||
| 153 | #endif | ||
| 154 | #if (CONFIG_MEM_ADD_WIDTH == 11) | ||
| 155 | #define SDRAM_WIDTH EBCAW_11 | ||
| 156 | #endif | ||
| 157 | #if (CONFIG_MEM_ADD_WIDTH == 10) | ||
| 158 | #define SDRAM_WIDTH EBCAW_10 | ||
| 159 | #endif | ||
| 160 | #if (CONFIG_MEM_ADD_WIDTH == 9) | ||
| 161 | #define SDRAM_WIDTH EBCAW_9 | ||
| 162 | #endif | ||
| 163 | #if (CONFIG_MEM_ADD_WIDTH == 8) | ||
| 164 | #define SDRAM_WIDTH EBCAW_8 | ||
| 165 | #endif | ||
| 166 | |||
| 167 | #define mem_SDBCTL (SDRAM_WIDTH | SDRAM_SIZE | EBE) | ||
| 168 | |||
| 169 | /* Equation from section 17 (p17-46) of BF533 HRM */ | 142 | /* Equation from section 17 (p17-46) of BF533 HRM */ |
| 170 | #define mem_SDRRC (((CONFIG_SCLK_HZ / 1000) * SDRAM_Tref) / SDRAM_NRA) - (SDRAM_tRAS_num + SDRAM_tRP_num) | 143 | #define mem_SDRRC (((CONFIG_SCLK_HZ / 1000) * SDRAM_Tref) / SDRAM_NRA) - (SDRAM_tRAS_num + SDRAM_tRP_num) |
| 171 | 144 | ||
diff --git a/include/asm-blackfin/mach-bf548/bfin_sir.h b/include/asm-blackfin/mach-bf548/bfin_sir.h index 5e94271c7e3b..c41f9cf00268 100644 --- a/include/asm-blackfin/mach-bf548/bfin_sir.h +++ b/include/asm-blackfin/mach-bf548/bfin_sir.h | |||
| @@ -124,26 +124,43 @@ struct bfin_sir_self { | |||
| 124 | 124 | ||
| 125 | #define DRIVER_NAME "bfin_sir" | 125 | #define DRIVER_NAME "bfin_sir" |
| 126 | 126 | ||
| 127 | static void bfin_sir_hw_init(void) | 127 | static int bfin_sir_hw_init(void) |
| 128 | { | 128 | { |
| 129 | int ret = -ENODEV; | ||
| 129 | #ifdef CONFIG_BFIN_SIR0 | 130 | #ifdef CONFIG_BFIN_SIR0 |
| 130 | peripheral_request(P_UART0_TX, DRIVER_NAME); | 131 | ret = peripheral_request(P_UART0_TX, DRIVER_NAME); |
| 131 | peripheral_request(P_UART0_RX, DRIVER_NAME); | 132 | if (ret) |
| 133 | return ret; | ||
| 134 | ret = peripheral_request(P_UART0_RX, DRIVER_NAME); | ||
| 135 | if (ret) | ||
| 136 | return ret; | ||
| 132 | #endif | 137 | #endif |
| 133 | 138 | ||
| 134 | #ifdef CONFIG_BFIN_SIR1 | 139 | #ifdef CONFIG_BFIN_SIR1 |
| 135 | peripheral_request(P_UART1_TX, DRIVER_NAME); | 140 | ret = peripheral_request(P_UART1_TX, DRIVER_NAME); |
| 136 | peripheral_request(P_UART1_RX, DRIVER_NAME); | 141 | if (ret) |
| 142 | return ret; | ||
| 143 | ret = peripheral_request(P_UART1_RX, DRIVER_NAME); | ||
| 144 | if (ret) | ||
| 145 | return ret; | ||
| 137 | #endif | 146 | #endif |
| 138 | 147 | ||
| 139 | #ifdef CONFIG_BFIN_SIR2 | 148 | #ifdef CONFIG_BFIN_SIR2 |
| 140 | peripheral_request(P_UART2_TX, DRIVER_NAME); | 149 | ret = peripheral_request(P_UART2_TX, DRIVER_NAME); |
| 141 | peripheral_request(P_UART2_RX, DRIVER_NAME); | 150 | if (ret) |
| 151 | return ret; | ||
| 152 | ret = peripheral_request(P_UART2_RX, DRIVER_NAME); | ||
| 153 | if (ret) | ||
| 154 | return ret; | ||
| 142 | #endif | 155 | #endif |
| 143 | 156 | ||
| 144 | #ifdef CONFIG_BFIN_SIR3 | 157 | #ifdef CONFIG_BFIN_SIR3 |
| 145 | peripheral_request(P_UART3_TX, DRIVER_NAME); | 158 | ret = peripheral_request(P_UART3_TX, DRIVER_NAME); |
| 146 | peripheral_request(P_UART3_RX, DRIVER_NAME); | 159 | if (ret) |
| 160 | return ret; | ||
| 161 | ret = peripheral_request(P_UART3_RX, DRIVER_NAME); | ||
| 162 | if (ret) | ||
| 163 | return ret; | ||
| 147 | #endif | 164 | #endif |
| 148 | SSYNC(); | 165 | return ret; |
| 149 | } | 166 | } |
diff --git a/include/asm-blackfin/mach-bf548/gpio.h b/include/asm-blackfin/mach-bf548/gpio.h index cb8b0f15c9a6..bba82dc75f16 100644 --- a/include/asm-blackfin/mach-bf548/gpio.h +++ b/include/asm-blackfin/mach-bf548/gpio.h | |||
| @@ -209,3 +209,11 @@ struct gpio_port_t { | |||
| 209 | unsigned short dummy7; | 209 | unsigned short dummy7; |
| 210 | unsigned int port_mux; | 210 | unsigned int port_mux; |
| 211 | }; | 211 | }; |
| 212 | |||
| 213 | struct gpio_port_s { | ||
| 214 | unsigned short fer; | ||
| 215 | unsigned short data; | ||
| 216 | unsigned short dir; | ||
| 217 | unsigned short inen; | ||
| 218 | unsigned int mux; | ||
| 219 | }; | ||
diff --git a/include/asm-blackfin/mach-bf561/bfin_sir.h b/include/asm-blackfin/mach-bf561/bfin_sir.h index cefcf8bb505b..9bb87e9e2e9b 100644 --- a/include/asm-blackfin/mach-bf561/bfin_sir.h +++ b/include/asm-blackfin/mach-bf561/bfin_sir.h | |||
| @@ -110,11 +110,16 @@ static inline void SIR_UART_CLEAR_LSR(struct bfin_sir_port *port) | |||
| 110 | 110 | ||
| 111 | #define DRIVER_NAME "bfin_sir" | 111 | #define DRIVER_NAME "bfin_sir" |
| 112 | 112 | ||
| 113 | static void bfin_sir_hw_init(void) | 113 | static int bfin_sir_hw_init(void) |
| 114 | { | 114 | { |
| 115 | int ret = -ENODEV; | ||
| 115 | #ifdef CONFIG_BFIN_SIR0 | 116 | #ifdef CONFIG_BFIN_SIR0 |
| 116 | peripheral_request(P_UART0_TX, DRIVER_NAME); | 117 | ret = peripheral_request(P_UART0_TX, DRIVER_NAME); |
| 117 | peripheral_request(P_UART0_RX, DRIVER_NAME); | 118 | if (ret) |
| 119 | return ret; | ||
| 120 | ret = peripheral_request(P_UART0_RX, DRIVER_NAME); | ||
| 121 | if (ret) | ||
| 122 | return ret; | ||
| 118 | #endif | 123 | #endif |
| 119 | SSYNC(); | 124 | return ret; |
| 120 | } | 125 | } |
diff --git a/include/asm-blackfin/mach-bf561/mem_init.h b/include/asm-blackfin/mach-bf561/mem_init.h index 439a5895b346..e163260bca18 100644 --- a/include/asm-blackfin/mach-bf561/mem_init.h +++ b/include/asm-blackfin/mach-bf561/mem_init.h | |||
| @@ -131,33 +131,6 @@ | |||
| 131 | #define SDRAM_CL CL_3 | 131 | #define SDRAM_CL CL_3 |
| 132 | #endif | 132 | #endif |
| 133 | 133 | ||
| 134 | #if (CONFIG_MEM_SIZE == 128) | ||
| 135 | #define SDRAM_SIZE EB0_SZ_128 | ||
| 136 | #endif | ||
| 137 | #if (CONFIG_MEM_SIZE == 64) | ||
| 138 | #define SDRAM_SIZE EB0_SZ_64 | ||
| 139 | #endif | ||
| 140 | #if ( CONFIG_MEM_SIZE == 32) | ||
| 141 | #define SDRAM_SIZE EB0_SZ_32 | ||
| 142 | #endif | ||
| 143 | #if (CONFIG_MEM_SIZE == 16) | ||
| 144 | #define SDRAM_SIZE EB0_SZ_16 | ||
| 145 | #endif | ||
| 146 | #if (CONFIG_MEM_ADD_WIDTH == 11) | ||
| 147 | #define SDRAM_WIDTH EB0_CAW_11 | ||
| 148 | #endif | ||
| 149 | #if (CONFIG_MEM_ADD_WIDTH == 10) | ||
| 150 | #define SDRAM_WIDTH EB0_CAW_10 | ||
| 151 | #endif | ||
| 152 | #if (CONFIG_MEM_ADD_WIDTH == 9) | ||
| 153 | #define SDRAM_WIDTH EB0_CAW_9 | ||
| 154 | #endif | ||
| 155 | #if (CONFIG_MEM_ADD_WIDTH == 8) | ||
| 156 | #define SDRAM_WIDTH EB0_CAW_8 | ||
| 157 | #endif | ||
| 158 | |||
| 159 | #define mem_SDBCTL (SDRAM_WIDTH | SDRAM_SIZE | EB0_E) | ||
| 160 | |||
| 161 | /* Equation from section 17 (p17-46) of BF533 HRM */ | 134 | /* Equation from section 17 (p17-46) of BF533 HRM */ |
| 162 | #define mem_SDRRC (((CONFIG_SCLK_HZ / 1000) * SDRAM_Tref) / SDRAM_NRA) - (SDRAM_tRAS_num + SDRAM_tRP_num) | 135 | #define mem_SDRRC (((CONFIG_SCLK_HZ / 1000) * SDRAM_Tref) / SDRAM_NRA) - (SDRAM_tRAS_num + SDRAM_tRP_num) |
| 163 | 136 | ||
diff --git a/include/asm-blackfin/module.h b/include/asm-blackfin/module.h index 3c7ce1644280..e3128df139d6 100644 --- a/include/asm-blackfin/module.h +++ b/include/asm-blackfin/module.h | |||
| @@ -6,8 +6,6 @@ | |||
| 6 | #define Elf_Shdr Elf32_Shdr | 6 | #define Elf_Shdr Elf32_Shdr |
| 7 | #define Elf_Sym Elf32_Sym | 7 | #define Elf_Sym Elf32_Sym |
| 8 | #define Elf_Ehdr Elf32_Ehdr | 8 | #define Elf_Ehdr Elf32_Ehdr |
| 9 | #define FLG_CODE_IN_L1 0x10 | ||
| 10 | #define FLG_DATA_IN_L1 0x20 | ||
| 11 | 9 | ||
| 12 | struct mod_arch_specific { | 10 | struct mod_arch_specific { |
| 13 | Elf_Shdr *text_l1; | 11 | Elf_Shdr *text_l1; |
| @@ -15,5 +13,8 @@ struct mod_arch_specific { | |||
| 15 | Elf_Shdr *bss_a_l1; | 13 | Elf_Shdr *bss_a_l1; |
| 16 | Elf_Shdr *data_b_l1; | 14 | Elf_Shdr *data_b_l1; |
| 17 | Elf_Shdr *bss_b_l1; | 15 | Elf_Shdr *bss_b_l1; |
| 16 | Elf_Shdr *text_l2; | ||
| 17 | Elf_Shdr *data_l2; | ||
| 18 | Elf_Shdr *bss_l2; | ||
| 18 | }; | 19 | }; |
| 19 | #endif /* _ASM_BFIN_MODULE_H */ | 20 | #endif /* _ASM_BFIN_MODULE_H */ |
diff --git a/include/asm-blackfin/processor.h b/include/asm-blackfin/processor.h index 1c0040724612..6f3995b119d8 100644 --- a/include/asm-blackfin/processor.h +++ b/include/asm-blackfin/processor.h | |||
| @@ -112,7 +112,26 @@ unsigned long get_wchan(struct task_struct *p); | |||
| 112 | static inline uint32_t __pure bfin_revid(void) | 112 | static inline uint32_t __pure bfin_revid(void) |
| 113 | { | 113 | { |
| 114 | /* stored in the upper 4 bits */ | 114 | /* stored in the upper 4 bits */ |
| 115 | return bfin_read_CHIPID() >> 28; | 115 | uint32_t revid = bfin_read_CHIPID() >> 28; |
| 116 | |||
| 117 | #ifdef CONFIG_BF52x | ||
| 118 | /* ANOMALY_05000357 | ||
| 119 | * Incorrect Revision Number in DSPID Register | ||
| 120 | */ | ||
| 121 | if (revid == 0) | ||
| 122 | switch (bfin_read16(_BOOTROM_GET_DXE_ADDRESS_TWI)) { | ||
| 123 | case 0x0010: | ||
| 124 | revid = 0; | ||
| 125 | break; | ||
| 126 | case 0x2796: | ||
| 127 | revid = 1; | ||
| 128 | break; | ||
| 129 | default: | ||
| 130 | revid = 0xFFFF; | ||
| 131 | break; | ||
| 132 | } | ||
| 133 | #endif | ||
| 134 | return revid; | ||
| 116 | } | 135 | } |
| 117 | 136 | ||
| 118 | static inline uint32_t __pure bfin_compiled_revid(void) | 137 | static inline uint32_t __pure bfin_compiled_revid(void) |
