]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: mbv: Moving little_endian variable to data section
authorMichal Simek <michal.simek@amd.com>
Wed, 14 Feb 2024 11:52:32 +0000 (12:52 +0100)
committerMichal Simek <michal.simek@amd.com>
Fri, 1 Mar 2024 07:41:39 +0000 (08:41 +0100)
commit9600e8d39ccf4daa1ac3aca54bc596985904e245
tree019823832d30315bae7a931eb9a23dd01738ff3e
parenteb950dcbf884e30f730661ea05ef830e7029bb75
riscv: mbv: Moving little_endian variable to data section

SPL is cleaning bss after calling board_init_f. Setting up console is done
and little_endian global variable is cleared which caused that console
stops to work. That's why move it to data seciton now. The patch should be
reverted when bss is cleared before board_init_f is called.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/934dc8871c59265eb9d8012193aa97d9b8bd7f33.1707911544.git.michal.simek@amd.com
drivers/serial/serial_xuartlite.c