mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Updates to Clearwater and bootselect to support failover boot chooser
This commit is contained in:
parent
e431e353cd
commit
471515cebb
2 changed files with 2 additions and 2 deletions
|
@ -283,7 +283,7 @@ expr ROM_SECTION_OFFSET=(USE_FALLBACK_IMAGE*(ROM_SIZE-65536))+(USE_NORMAL_IMAGE*
|
||||||
## The linuxBIOS bootloader.
|
## The linuxBIOS bootloader.
|
||||||
##
|
##
|
||||||
#expr ZKERNEL_START =(0xffffffff - ROM_SIZE + ROM_SECTION_OFFSET + 1)
|
#expr ZKERNEL_START =(0xffffffff - ROM_SIZE + ROM_SECTION_OFFSET + 1)
|
||||||
expr ZKERNEL_START = 0xfff00000
|
expr ZKERNEL_START = 0xfff00000 + (USE_NORMAL_IMAGE * 0x10000)
|
||||||
|
|
||||||
expr PAYLOAD_SIZE =ROM_SECTION_SIZE - ROM_IMAGE_SIZE
|
expr PAYLOAD_SIZE =ROM_SECTION_SIZE - ROM_IMAGE_SIZE
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ int choose_stream(struct stream *stream)
|
||||||
current += current->block_count+1;
|
current += current->block_count+1;
|
||||||
}
|
}
|
||||||
|
|
||||||
j=1;
|
j=2;
|
||||||
if(iskey()) {
|
if(iskey()) {
|
||||||
j = ttys0_rx_char();
|
j = ttys0_rx_char();
|
||||||
j=-1;
|
j=-1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue