linux-stable/arch/sh
Geert Uytterhoeven 66888e6953 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:30:13 +01:00
..
boards sh: boards: Fix CEU buffer size passed to dma_declare_coherent_memory() 2023-09-23 10:59:59 +02:00
boot treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
cchips treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
configs scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-07-22 09:32:57 +02:00
drivers sh: dma: Fix DMA channel offset calculation 2023-07-27 08:37:24 +02:00
include sh/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:56:34 +02:00
kernel sh/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:56:34 +02:00
lib
lib64
math-emu sh: math-emu: fix macro redefined warning 2023-05-17 11:36:01 +02:00
mm mm/memory_hotplug: shrink zones when offlining memory 2020-01-09 10:19:56 +01:00
oprofile treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tools kbuild: remove redundant target cleaning on failure 2019-01-06 09:46:51 +09:00
Kconfig sh/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:56:34 +02:00
Kconfig.cpu
Kconfig.debug sh: bios: Revive earlyprintk support 2023-11-20 10:30:13 +01:00
Makefile treewide: prefix header search paths with $(srctree)/ 2019-05-18 11:49:57 +09:00