ARM: at91: stop using HAVE_AT91_DBGUx
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 15 Jan 2015 21:58:11 +0000 (22:58 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 26 Jan 2015 12:43:35 +0000 (13:43 +0100)
In order to remove SOC_SAM9xxx options, stop using HAVE_AT91_DBGUx.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/Kconfig.debug
arch/arm/mach-at91/Kconfig

index 3092052bb285ebaae43b7886b7dbb358b0b26e72..575db67a61d68f1442f8b22dd3a7d625ab036439 100644 (file)
@@ -118,19 +118,19 @@ choice
                bool "Kernel low-level debugging on rm9200, 9260/9g20, 9261/9g10, 9rl, 9x5, 9n12"
                select DEBUG_AT91_UART
                depends on ARCH_AT91
-               depends on HAVE_AT91_DBGU0
+               depends on SOC_AT91RM9200 || SOC_AT91SAM9
 
        config AT91_DEBUG_LL_DBGU1
                bool "Kernel low-level debugging on 9263, 9g45 and sama5d3"
                select DEBUG_AT91_UART
                depends on ARCH_AT91
-               depends on HAVE_AT91_DBGU1
+               depends on SOC_AT91SAM9 || SOC_SAMA5
 
        config AT91_DEBUG_LL_DBGU2
                bool "Kernel low-level debugging on sama5d4"
                select DEBUG_AT91_UART
                depends on ARCH_AT91
-               depends on HAVE_AT91_DBGU2
+               depends on SOC_SAMA5
 
        config DEBUG_BCM2835
                bool "Kernel low-level debugging on BCM2835 PL011 UART"
index b7dcef50db23a04a0e7b7a21f34baf65b15ad1f4..c6956b863b9dfe5f1b8d9018e743a4d91559d048 100644 (file)
@@ -6,15 +6,6 @@ config HAVE_AT91_UTMI
 config HAVE_AT91_USB_CLK
        bool
 
-config HAVE_AT91_DBGU0
-       bool
-
-config HAVE_AT91_DBGU1
-       bool
-
-config HAVE_AT91_DBGU2
-       bool
-
 config COMMON_CLK_AT91
        bool
        select COMMON_CLK
@@ -70,7 +61,6 @@ config SOC_SAMA5D3
        bool "SAMA5D3 family"
        select SOC_SAMA5
        select HAVE_FB_ATMEL
-       select HAVE_AT91_DBGU1
        select HAVE_AT91_UTMI
        select HAVE_AT91_SMD
        select HAVE_AT91_USB_CLK
@@ -81,7 +71,6 @@ config SOC_SAMA5D3
 config SOC_SAMA5D4
        bool "SAMA5D4 family"
        select SOC_SAMA5
-       select HAVE_AT91_DBGU2
        select CLKSRC_MMIO
        select CACHE_L2X0
        select CACHE_PL310
@@ -101,12 +90,10 @@ config SOC_AT91RM9200
        select COMMON_CLK_AT91
        select CPU_ARM920T
        select GENERIC_CLOCKEVENTS
-       select HAVE_AT91_DBGU0
        select HAVE_AT91_USB_CLK
 
 config SOC_AT91SAM9260
        bool "AT91SAM9260, AT91SAM9XE or AT91SAM9G20"
-       select HAVE_AT91_DBGU0
        select SOC_AT91SAM9
        select HAVE_AT91_USB_CLK
        help
@@ -115,7 +102,6 @@ config SOC_AT91SAM9260
 
 config SOC_AT91SAM9261
        bool "AT91SAM9261 or AT91SAM9G10"
-       select HAVE_AT91_DBGU0
        select HAVE_FB_ATMEL
        select SOC_AT91SAM9
        select HAVE_AT91_USB_CLK
@@ -124,21 +110,18 @@ config SOC_AT91SAM9261
 
 config SOC_AT91SAM9263
        bool "AT91SAM9263"
-       select HAVE_AT91_DBGU1
        select HAVE_FB_ATMEL
        select SOC_AT91SAM9
        select HAVE_AT91_USB_CLK
 
 config SOC_AT91SAM9RL
        bool "AT91SAM9RL"
-       select HAVE_AT91_DBGU0
        select HAVE_FB_ATMEL
        select SOC_AT91SAM9
        select HAVE_AT91_UTMI
 
 config SOC_AT91SAM9G45
        bool "AT91SAM9G45 or AT91SAM9M10 families"
-       select HAVE_AT91_DBGU1
        select HAVE_FB_ATMEL
        select SOC_AT91SAM9
        select HAVE_AT91_UTMI
@@ -149,7 +132,6 @@ config SOC_AT91SAM9G45
 
 config SOC_AT91SAM9X5
        bool "AT91SAM9x5 family"
-       select HAVE_AT91_DBGU0
        select HAVE_FB_ATMEL
        select SOC_AT91SAM9
        select HAVE_AT91_UTMI
@@ -164,7 +146,6 @@ config SOC_AT91SAM9X5
 
 config SOC_AT91SAM9N12
        bool "AT91SAM9N12 family"
-       select HAVE_AT91_DBGU0
        select HAVE_FB_ATMEL
        select SOC_AT91SAM9
        select HAVE_AT91_USB_CLK