Add support to linux 2.6.30 kernel patches for Atmel arm in menuconfig.
authorJosh.Wu <josh.wu@atmel.com>
Fri, 9 Apr 2010 09:26:43 +0000 (17:26 +0800)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 21 Apr 2010 08:38:08 +0000 (10:38 +0200)
Signed-off-by: Josh.Wu <josh.wu@atmel.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
target/device/Atmel/arch-arm/Config.in.linux.patches

index 0ea509196ba6959d238eeaa52a1c20f3cc031def..8cd9a856affda06829765038238805e350b7d1e0 100644 (file)
@@ -2,11 +2,17 @@ choice
        prompt "Add AT91 specific patches"
        depends on BR2_KERNEL_ARCH_PATCH_ENABLED
        depends on BR2_TARGET_ATMEL && BR2_arm
+       default BR2_ARCH_AT91_2_6_30            if BR2_LINUX_2_6_30
        default BR2_ARCH_AT91_2_6_28            if BR2_LINUX_2_6_28
        default BR2_ARCH_AT91_2_6_27            if BR2_LINUX_2_6_27
        help
          Select a patch to add to the Linux kernel
 
+config BR2_ARCH_AT91_2_6_30
+       bool "2.6.30"
+       help
+         Apply the at91 linux-2.6.30 patches
+
 config BR2_ARCH_AT91_2_6_28
        bool "2.6.28"
        help
@@ -22,6 +28,7 @@ config        BR2_KERNEL_ARCH_PATCH_VERSION
        string
        depends on BR2_KERNEL_ARCH_PATCH_ENABLED
        depends on BR2_TARGET_ATMEL && BR2_arm
+       default "2.6.30" if BR2_ARCH_AT91_2_6_30
        default "2.6.28" if BR2_ARCH_AT91_2_6_28
        default "2.6.27" if BR2_ARCH_AT91_2_6_27