Skip to content

Commit 9d1fb86

Browse files
1078249029Rbb666
authored andcommitted
[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 <[email protected]>
1 parent 7c39352 commit 9d1fb86

File tree

1 file changed

+1
-1
lines changed
  • components/drivers/ofw

1 file changed

+1
-1
lines changed

components/drivers/ofw/fdt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
#include "ofw_internal.h"
2525

26-
struct rt_fdt_earlycon fdt_earlycon rt_section(".bss.noclean.earlycon");
26+
struct rt_fdt_earlycon fdt_earlycon;
2727

2828
RT_OFW_SYMBOL_TYPE_RANGE(earlycon, struct rt_fdt_earlycon_id, _earlycon_start = {}, _earlycon_end = {});
2929

0 commit comments

Comments
 (0)