SDRAM init Mem test .. pass Flash ID : 0x17 OpenSBI copy U-Boot copy Image check .. pass
static struct atexit *head = NULL; struct atexit **__atexit = &head;
li x0,0instructions in exit.s are odd.
li x0, 0instructions, that looks like a missed optimization opportunity. All integer constants are loaded via this template, and it seems that the zero case is not optimized.