[DM/FDT] Fix garble when booting

Fix garble caused by empty implementation of earlycon series
function in driver.If driver doesn't offer earlycon_id or rt_f
dt_earlycon_id.setup function but open option, the checking
of best_earlycon_id will failed.

Signed-off-by: 1078249029 <1078249029@qq.com>
This commit is contained in:
1078249029 2025-04-02 11:30:21 +08:00 committed by Rbb666
parent 7c39352f4c
commit 9d1fb86020
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
#include "ofw_internal.h"
struct rt_fdt_earlycon fdt_earlycon rt_section(".bss.noclean.earlycon");
struct rt_fdt_earlycon fdt_earlycon;
RT_OFW_SYMBOL_TYPE_RANGE(earlycon, struct rt_fdt_earlycon_id, _earlycon_start = {}, _earlycon_end = {});