1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-20 13:54:00 +01:00
Files
u-boot-megous/drivers
Heinrich Schuchardt 25e7d4bf64 serial: move sbi_dbcn_available to .data section
U-Boot SPL loads the device-tree directly behind main U-Boot overlapping
the .bss section. reserve_fdt() is called in board_init_f() to relocate the
device-tree to a safe location.

Debug UARTs are enabled before board_init_f(). With sbi_dbcn_available in
the .bss section the device-tree is corrupted when _debug_uart_init() is
called in the SBI serial driver. Move the variable to the .data section.

Link: https://bugs.launchpad.net/ubuntu/+source/u-boot/+bug/2054091
Fixes: dfe0837494 ("risc-v: implement DBCN based debug console")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
2024-03-12 14:36:13 +08:00
..
2023-11-20 09:19:50 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-05-02 14:23:58 -04:00
2024-01-29 22:35:02 -05:00
2023-10-11 10:35:24 -04:00
2024-01-18 12:18:48 -05:00
2023-12-13 11:35:16 -05:00
2024-01-29 22:35:02 -05:00
2024-01-29 22:35:02 -05:00
2023-11-07 14:50:51 -05:00
2024-03-05 08:27:59 +01:00
2024-01-29 22:35:02 -05:00
2023-11-20 09:19:50 -05:00
2024-01-16 12:26:54 +00:00
2024-01-29 22:35:02 -05:00
2023-11-20 09:19:50 -05:00