diff mbox series

[SRU,F,1/1] UBUNTU: [Config] enable hihope RZ/G2M serial console

Message ID 20230814071326.55578-2-andrea.righi@canonical.com
State New
Headers show
Series [SRU,F,1/1] UBUNTU: [Config] enable hihope RZ/G2M serial console | expand

Commit Message

Andrea Righi Aug. 14, 2023, 7:13 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2022361

Statically build SERIAL_SH_SCI console so that the Ubuntu installer can
work via serial port on Renesas boards.

Reported-by: John Vincent <john.vincent.xa@bp.renesas.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
---
 debian.master/config/annotations          | 7 ++++++-
 debian.master/config/config.common.ubuntu | 4 +++-
 2 files changed, 9 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/debian.master/config/annotations b/debian.master/config/annotations
index 9f6597df5419..f79f4fb3bf62 100644
--- a/debian.master/config/annotations
+++ b/debian.master/config/annotations
@@ -907,7 +907,12 @@  CONFIG_SERIAL_ALTERA_UART_MAXPORTS              policy<{'amd64': '4', 'arm64': '
 CONFIG_SERIAL_ALTERA_UART_BAUDRATE              policy<{'amd64': '115200', 'arm64': '115200', 'armhf': '115200', 'i386': '115200', 'ppc64el': '115200', }>
 
 # Menu: Device Drivers >> Character devices >> Serial drivers >> SuperH SCI(F) serial port support
-CONFIG_SERIAL_SH_SCI                            policy<{'arm64': 'm', 'armhf': 'm'}>
+CONFIG_SERIAL_SH_SCI                            policy<{'arm64': 'y', 'armhf': 'y'}>
+CONFIG_SERIAL_SH_SCI                            note<'LP: #2022361'>
+CONFIG_SERIAL_SH_SCI_CONSOLE                    policy<{'arm64': 'y', 'armhf': 'y'}>
+CONFIG_SERIAL_SH_SCI_CONSOLE                    note<'LP: #2022361'>
+CONFIG_SERIAL_SH_SCI_EARLYCON                   policy<{'arm64': 'y', 'armhf': 'y'}>
+CONFIG_SERIAL_SH_SCI_EARLYCON                   note<'LP: #2022361'>
 CONFIG_SERIAL_SH_SCI_NR_UARTS                   policy<{'arm64': '2', 'armhf': '2'}>
 CONFIG_SERIAL_SH_SCI_DMA                        policy<{'arm64': 'y', 'armhf': 'y'}>
 
diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index ef3aa4f8dbb8..2df1dd724f4a 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -8822,8 +8822,10 @@  CONFIG_SERIAL_SC16IS7XX_CORE=m
 CONFIG_SERIAL_SC16IS7XX_I2C=y
 CONFIG_SERIAL_SC16IS7XX_SPI=y
 CONFIG_SERIAL_SCCNXP_CONSOLE=y
-CONFIG_SERIAL_SH_SCI=m
+CONFIG_SERIAL_SH_SCI=y
+CONFIG_SERIAL_SH_SCI_CONSOLE=y
 CONFIG_SERIAL_SH_SCI_DMA=y
+CONFIG_SERIAL_SH_SCI_EARLYCON=y
 CONFIG_SERIAL_SH_SCI_NR_UARTS=2
 CONFIG_SERIAL_SIFIVE=m
 CONFIG_SERIAL_SPRD=m