Skip to content

Commit 4e218b9

Browse files
author
Russell King
committed
ARM: debug: move PL01X debug include into arch/arm/include/debug/
Now that the PL01X debug include can mostly stand alone without requiring platforms to provide any macros, move it into the debug directory so it can be directly included. This allows us to get rid of a lot of debug-macros include files. The autodetect case for Versatile Express and the ux500 are left alone; these are more complicated implementations. Acked-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Ryan Mallon <rmallon@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent 5c972af commit 4e218b9

15 files changed

Lines changed: 5 additions & 142 deletions

File tree

‎arch/arm/Kconfig.debug‎

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -846,10 +846,8 @@ config DEBUG_STI_UART
846846
config DEBUG_LL_INCLUDE
847847
string
848848
default "debug/8250.S" if DEBUG_UART_8250
849-
default "debug/bcm2835.S" if DEBUG_BCM2835
850-
default "debug/cns3xxx.S" if DEBUG_CNS3XXX
849+
default "debug/pl01x.S" if DEBUG_UART_PL01X
851850
default "debug/exynos.S" if DEBUG_EXYNOS_UART
852-
default "debug/highbank.S" if DEBUG_HIGHBANK_UART
853851
default "debug/icedcc.S" if DEBUG_ICEDCC
854852
default "debug/imx.S" if DEBUG_IMX1_UART || \
855853
DEBUG_IMX25_UART || \
@@ -862,18 +860,12 @@ config DEBUG_LL_INCLUDE
862860
DEBUG_IMX6SL_UART
863861
default "debug/keystone.S" if DEBUG_KEYSTONE_UART0 || \
864862
DEBUG_KEYSTONE_UART1
865-
default "debug/mxs.S" if DEBUG_IMX23_UART || DEBUG_IMX28_UART
866-
default "debug/nomadik.S" if DEBUG_NOMADIK_UART
867-
default "debug/nspire.S" if DEBUG_NSPIRE_CX_UART
868863
default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART
869864
default "debug/sirf.S" if DEBUG_SIRFPRIMA2_UART1 || DEBUG_SIRFMARCO_UART1
870865
default "debug/sti.S" if DEBUG_STI_UART
871866
default "debug/tegra.S" if DEBUG_TEGRA_UART
872-
default "debug/u300.S" if DEBUG_U300_UART
873867
default "debug/ux500.S" if DEBUG_UX500_UART
874-
default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT || \
875-
DEBUG_VEXPRESS_UART0_CA9 || DEBUG_VEXPRESS_UART0_RS1 || \
876-
DEBUG_VEXPRESS_UART0_CRX
868+
default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT
877869
default "debug/vt8500.S" if DEBUG_VT8500_UART0
878870
default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1
879871
default "mach/debug-macro.S"

‎arch/arm/include/debug/bcm2835.S‎

Lines changed: 0 additions & 13 deletions
This file was deleted.

‎arch/arm/include/debug/cns3xxx.S‎

Lines changed: 0 additions & 12 deletions
This file was deleted.

‎arch/arm/include/debug/highbank.S‎

Lines changed: 0 additions & 11 deletions
This file was deleted.

‎arch/arm/include/debug/mxs.S‎

Lines changed: 0 additions & 13 deletions
This file was deleted.

‎arch/arm/include/debug/nomadik.S‎

Lines changed: 0 additions & 12 deletions
This file was deleted.

‎arch/arm/include/debug/nspire.S‎

Lines changed: 0 additions & 11 deletions
This file was deleted.

arch/arm/include/asm/hardware/debug-pl01x.S renamed to arch/arm/include/debug/pl01x.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* arch/arm/include/asm/hardware/debug-pl01x.S
1+
/* arch/arm/include/debug/pl01x.S
22
*
33
* Debugging macro include header
44
*

‎arch/arm/include/debug/u300.S‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎arch/arm/include/debug/ux500.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@
4545
ldr \rv, =UART_VIRT_BASE @ yes, virtual address
4646
.endm
4747

48-
#include <asm/hardware/debug-pl01x.S>
48+
#include <debug/pl01x.S>

0 commit comments

Comments
 (0)