linux-stable/arch/sh
Geert Uytterhoeven b8ead75c62 sh: bios: Revive earlyprintk support
[ Upstream commit 553f7ac78f ]

The SuperH BIOS earlyprintk code is protected by CONFIG_EARLY_PRINTK.
However, when this protection was added, it was missed that SuperH no
longer defines an EARLY_PRINTK config symbol since commit
e76fe57447 ("sh: Remove old early serial console code V2"), so
BIOS earlyprintk can no longer be used.

Fix this by reviving the EARLY_PRINTK config symbol.

Fixes: d0380e6c3c ("early_printk: consolidate random copies of identical code")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/c40972dfec3dcc6719808d5df388857360262878.1697708489.git.geert+renesas@glider.be
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 10:27:34 +01:00
..
boards sh: landisk: Add missing initialization of sh_io_port_base 2020-08-21 09:48:23 +02:00
boot License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cchips License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
configs sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
drivers sh: dma: Fix DMA channel offset calculation 2023-08-11 11:33:41 +02:00
include sh/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:48:23 +02:00
kernel sh: j2: Use ioremap() to translate device tree address into kernel memory 2023-08-11 11:33:39 +02:00
lib License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
lib64 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
math-emu sh: math-emu: fix macro redefined warning 2023-05-17 11:11:49 +02:00
mm mips,s390,sh,sparc: gup: Work around the "COW can break either way" issue 2022-01-27 09:01:01 +01:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tools License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig sh/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:48:23 +02:00
Kconfig.cpu License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig.debug sh: bios: Revive earlyprintk support 2023-11-20 10:27:34 +01:00
Makefile sh: Use full path in KBUILD_IMAGE definition 2017-03-20 22:42:20 +09:00