Commit 3ec20520ddfb654b1e60f51ff5e4769afde51b36
Committed by
Russell King
1 parent
c76578460f
[ARM] 4514/1: S3C: Rename DEBUG_S3C2410_PORT and DEBUG_S3C_UART
Rename DEBUG_S3C2410_PORT to DEBUG_S3C_PORT as well as DEBUG_S3C2410_UART to DEBUG_S3C_UART as part of the updates to moving to plat-s3c for S3C base support. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Showing 3 changed files with 12 additions and 12 deletions Side-by-side Diff
arch/arm/Kconfig.debug
... | ... | @@ -82,20 +82,20 @@ |
82 | 82 | output to the second serial port on these devices. Saying N will |
83 | 83 | cause the debug messages to appear on the first serial port. |
84 | 84 | |
85 | -config DEBUG_S3C2410_PORT | |
86 | - depends on DEBUG_LL && ARCH_S3C2410 | |
87 | - bool "Kernel low-level debugging messages via S3C2410 UART" | |
85 | +config DEBUG_S3C_PORT | |
86 | + depends on DEBUG_LL && PLAT_S3C | |
87 | + bool "Kernel low-level debugging messages via S3C UART" | |
88 | 88 | help |
89 | 89 | Say Y here if you want debug print routines to go to one of the |
90 | - S3C2410 internal UARTs. The chosen UART must have been configured | |
90 | + S3C internal UARTs. The chosen UART must have been configured | |
91 | 91 | before it is used. |
92 | 92 | |
93 | -config DEBUG_S3C2410_UART | |
94 | - depends on ARCH_S3C2410 | |
95 | - int "S3C2410 UART to use for low-level debug" | |
93 | +config DEBUG_S3C_UART | |
94 | + depends on PLAT_S3C | |
95 | + int "S3C UART to use for low-level debug" | |
96 | 96 | default "0" |
97 | 97 | help |
98 | - Choice for UART for kernel low-level using S3C2410 UARTS, | |
98 | + Choice for UART for kernel low-level using S3C UARTS, | |
99 | 99 | should be between zero and two. The port must have been |
100 | 100 | initialised by the boot-loader before use. |
101 | 101 |
arch/arm/configs/s3c2410_defconfig
... | ... | @@ -1392,8 +1392,8 @@ |
1392 | 1392 | # CONFIG_DEBUG_ERRORS is not set |
1393 | 1393 | CONFIG_DEBUG_LL=y |
1394 | 1394 | # CONFIG_DEBUG_ICEDCC is not set |
1395 | -CONFIG_DEBUG_S3C2410_PORT=y | |
1396 | -CONFIG_DEBUG_S3C2410_UART=0 | |
1395 | +CONFIG_DEBUG_S3C_PORT=y | |
1396 | +CONFIG_DEBUG_S3C_UART=0 | |
1397 | 1397 | |
1398 | 1398 | # |
1399 | 1399 | # Security options |
include/asm-arm/arch-s3c2410/debug-macro.S
... | ... | @@ -24,8 +24,8 @@ |
24 | 24 | tst \rx, #1 |
25 | 25 | ldreq \rx, = S3C24XX_PA_UART |
26 | 26 | ldrne \rx, = S3C24XX_VA_UART |
27 | -#if CONFIG_DEBUG_S3C2410_UART != 0 | |
28 | - add \rx, \rx, #(S3C2410_UART1_OFF * CONFIG_DEBUG_S3C2410_UART) | |
27 | +#if CONFIG_DEBUG_S3C_UART != 0 | |
28 | + add \rx, \rx, #(S3C2410_UART1_OFF * CONFIG_DEBUG_S3C_UART) | |
29 | 29 | #endif |
30 | 30 | .endm |
31 | 31 |