diff options
| author | Shawn Guo <shawn.guo@linaro.org> | 2012-12-12 05:54:01 -0500 |
|---|---|---|
| committer | Shawn Guo <shawn.guo@linaro.org> | 2013-02-04 21:14:54 -0500 |
| commit | 4ad625d466389b016a9aec425b3dc2d82adc43df (patch) | |
| tree | 2b4883714cbcbc16b211975fc5121c150f0a6a48 | |
| parent | f93c32d90f8d878c3cad78f41a047ca4fb5792ba (diff) | |
ARM: imx: use separated debug uart symbol for imx31 and imx35
It's improper to use combined symbol DEBUG_IMX31_IMX35_UART for
imx31 and imx35, because imx31 has 5 UARTs while imx35 only has 3.
So later when we add UART port selection for DEBUG_IMX31_IMX35_UART,
we will have problem.
Use separated Kconfig options for imx31 and imx35 debug uart selection.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| -rw-r--r-- | arch/arm/Kconfig.debug | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 1dceb8e31618..dfe788a84e5e 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
| @@ -205,12 +205,19 @@ choice | |||
| 205 | Say Y here if you want kernel low-level debugging support | 205 | Say Y here if you want kernel low-level debugging support |
| 206 | on i.MX28. | 206 | on i.MX28. |
| 207 | 207 | ||
| 208 | config DEBUG_IMX31_IMX35_UART | 208 | config DEBUG_IMX31_UART |
| 209 | bool "i.MX31 and i.MX35 Debug UART" | 209 | bool "i.MX31 Debug UART" |
| 210 | depends on SOC_IMX31 || SOC_IMX35 | 210 | depends on SOC_IMX31 |
| 211 | help | 211 | help |
| 212 | Say Y here if you want kernel low-level debugging support | 212 | Say Y here if you want kernel low-level debugging support |
| 213 | on i.MX31 or i.MX35. | 213 | on i.MX31. |
| 214 | |||
| 215 | config DEBUG_IMX35_UART | ||
| 216 | bool "i.MX35 Debug UART" | ||
| 217 | depends on SOC_IMX35 | ||
| 218 | help | ||
| 219 | Say Y here if you want kernel low-level debugging support | ||
| 220 | on i.MX35. | ||
| 214 | 221 | ||
| 215 | config DEBUG_IMX51_UART | 222 | config DEBUG_IMX51_UART |
| 216 | bool "i.MX51 Debug UART" | 223 | bool "i.MX51 Debug UART" |
| @@ -495,7 +502,8 @@ config DEBUG_LL_INCLUDE | |||
| 495 | default "debug/imx.S" if DEBUG_IMX1_UART || \ | 502 | default "debug/imx.S" if DEBUG_IMX1_UART || \ |
| 496 | DEBUG_IMX25_UART || \ | 503 | DEBUG_IMX25_UART || \ |
| 497 | DEBUG_IMX21_IMX27_UART || \ | 504 | DEBUG_IMX21_IMX27_UART || \ |
| 498 | DEBUG_IMX31_IMX35_UART || \ | 505 | DEBUG_IMX31_UART || \ |
| 506 | DEBUG_IMX35_UART || \ | ||
| 499 | DEBUG_IMX51_UART || \ | 507 | DEBUG_IMX51_UART || \ |
| 500 | DEBUG_IMX53_UART ||\ | 508 | DEBUG_IMX53_UART ||\ |
| 501 | DEBUG_IMX6Q_UART | 509 | DEBUG_IMX6Q_UART |
