From: Randy Dunlap <rdunlap@infradead.org> Date: 2023-05-16 15:29:07
In a randconfig with CONFIG_SERIAL_CPM=m and
CONFIG_PPC_EARLY_DEBUG_CPM=y, there is a build error:
ERROR: modpost: "udbg_putc" [drivers/tty/serial/cpm_uart/cpm_uart.ko] undefined!
Prevent the build error by allowing PPC_EARLY_DEBUG_CPM only when
SERIAL_CPM=y.
Fixes: c374e00e17f1 ("[POWERPC] Add early debug console for CPM serial ports.")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Scott Wood <redacted>
Cc: Kumar Gala <redacted>
Cc: "Pali Rohár" <pali@kernel.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Christophe Leroy <redacted>
Cc: linuxppc-dev@lists.ozlabs.org
---
arch/powerpc/Kconfig.debug | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -- a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug
@@ -240,7 +240,7 @@ config PPC_EARLY_DEBUG_40xconfigPPC_EARLY_DEBUG_CPMbool"Early serial debugging for Freescale CPM-based serial ports"-depends onSERIAL_CPM+depends onSERIAL_CPM=yhelpSelectthistoenableearlydebuggingforFreescalechipsusingaCPM-basedserialport.Thisassumesthatthebootwrapper
On Tuesday 16 May 2023 08:28:54 Randy Dunlap wrote:
In a randconfig with CONFIG_SERIAL_CPM=m and
CONFIG_PPC_EARLY_DEBUG_CPM=y, there is a build error:
ERROR: modpost: "udbg_putc" [drivers/tty/serial/cpm_uart/cpm_uart.ko] undefined!
Prevent the build error by allowing PPC_EARLY_DEBUG_CPM only when
SERIAL_CPM=y.
Fixes: c374e00e17f1 ("[POWERPC] Add early debug console for CPM serial ports.")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Scott Wood <redacted>
Cc: Kumar Gala <redacted>
Cc: "Pali Rohár" <pali@kernel.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Christophe Leroy <redacted>
Cc: linuxppc-dev@lists.ozlabs.org
@@ -240,7 +240,7 @@ config PPC_EARLY_DEBUG_40xconfigPPC_EARLY_DEBUG_CPMbool"Early serial debugging for Freescale CPM-based serial ports"-depends onSERIAL_CPM+depends onSERIAL_CPM=yhelpSelectthistoenableearlydebuggingforFreescalechipsusingaCPM-basedserialport.Thisassumesthatthebootwrapper
From: Randy Dunlap <rdunlap@infradead.org> Date: 2023-06-10 03:11:22
Hi--
On 5/16/23 11:54, Pali Rohár wrote:
On Tuesday 16 May 2023 08:28:54 Randy Dunlap wrote:
quoted
In a randconfig with CONFIG_SERIAL_CPM=m and
CONFIG_PPC_EARLY_DEBUG_CPM=y, there is a build error:
ERROR: modpost: "udbg_putc" [drivers/tty/serial/cpm_uart/cpm_uart.ko] undefined!
Prevent the build error by allowing PPC_EARLY_DEBUG_CPM only when
SERIAL_CPM=y.
Fixes: c374e00e17f1 ("[POWERPC] Add early debug console for CPM serial ports.")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Scott Wood <redacted>
Cc: Kumar Gala <redacted>
Cc: "Pali Rohár" <pali@kernel.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Christophe Leroy <redacted>
Cc: linuxppc-dev@lists.ozlabs.org
@@ -240,7 +240,7 @@ config PPC_EARLY_DEBUG_40xconfigPPC_EARLY_DEBUG_CPMbool"Early serial debugging for Freescale CPM-based serial ports"-depends onSERIAL_CPM+depends onSERIAL_CPM=yhelpSelectthistoenableearlydebuggingforFreescalechipsusingaCPM-basedserialport.Thisassumesthatthebootwrapper
From: Randy Dunlap <rdunlap@infradead.org> Date: 2023-07-01 05:47:26
On 6/9/23 20:11, Randy Dunlap wrote:
Hi--
On 5/16/23 11:54, Pali Rohár wrote:
quoted
On Tuesday 16 May 2023 08:28:54 Randy Dunlap wrote:
quoted
In a randconfig with CONFIG_SERIAL_CPM=m and
CONFIG_PPC_EARLY_DEBUG_CPM=y, there is a build error:
ERROR: modpost: "udbg_putc" [drivers/tty/serial/cpm_uart/cpm_uart.ko] undefined!
Prevent the build error by allowing PPC_EARLY_DEBUG_CPM only when
SERIAL_CPM=y.
Fixes: c374e00e17f1 ("[POWERPC] Add early debug console for CPM serial ports.")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Scott Wood <redacted>
Cc: Kumar Gala <redacted>
Cc: "Pali Rohár" <pali@kernel.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Christophe Leroy <redacted>
Cc: linuxppc-dev@lists.ozlabs.org
@@ -240,7 +240,7 @@ config PPC_EARLY_DEBUG_40xconfigPPC_EARLY_DEBUG_CPMbool"Early serial debugging for Freescale CPM-based serial ports"-depends onSERIAL_CPM+depends onSERIAL_CPM=yhelpSelectthistoenableearlydebuggingforFreescalechipsusingaCPM-basedserialport.Thisassumesthatthebootwrapper
On Tuesday 16 May 2023 08:28:54 Randy Dunlap wrote:
quoted
In a randconfig with CONFIG_SERIAL_CPM=m and
CONFIG_PPC_EARLY_DEBUG_CPM=y, there is a build error:
ERROR: modpost: "udbg_putc" [drivers/tty/serial/cpm_uart/cpm_uart.ko] undefined!
Prevent the build error by allowing PPC_EARLY_DEBUG_CPM only when
SERIAL_CPM=y.
Fixes: c374e00e17f1 ("[POWERPC] Add early debug console for CPM serial ports.")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Scott Wood <redacted>
Cc: Kumar Gala <redacted>
Cc: "Pali Rohár" <pali@kernel.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Christophe Leroy <redacted>
Cc: linuxppc-dev@lists.ozlabs.org
@@ -240,7 +240,7 @@ config PPC_EARLY_DEBUG_40xconfigPPC_EARLY_DEBUG_CPMbool"Early serial debugging for Freescale CPM-based serial ports"-depends onSERIAL_CPM+depends onSERIAL_CPM=yhelpSelectthistoenableearlydebuggingforFreescalechipsusingaCPM-basedserialport.Thisassumesthatthebootwrapper