mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
more ifdef stuff
This commit is contained in:
parent
9180eb5955
commit
8052b47600
3 changed files with 6 additions and 6 deletions
|
@ -220,9 +220,9 @@ sis730ipl_start:
|
|||
#include "rom/std_flash.inc"
|
||||
#else /* !STD_FLASH */
|
||||
#include "unlock_flash.inc"
|
||||
#if defined(USE_DOC_MIL) || defined(USE_DOC_2000_TSOP)
|
||||
#if (USE_DOC_MIL == 1) || (USE_DOC_2000_TSOP == 1)
|
||||
# include "rom/doc_mil.inc"
|
||||
#elif defined(USE_DOC_MIL_PLUS)
|
||||
#elif (USE_DOC_MIL_PLUS == 1)
|
||||
# include "rom/doc_mil_plus.inc"
|
||||
#endif
|
||||
#endif /* STD_FLASH */
|
||||
|
@ -337,9 +337,9 @@ reset_vector:
|
|||
.byte 0xea # jmp to f000:fc00, where IPL
|
||||
.word 0xfc00, 0xf000 # starts in Standard Flash
|
||||
#else /* !STD_FLASH i.e. DoC Mil */
|
||||
#if defined(USE_DOC_MIL)
|
||||
#if (USE_DOC_MIL == 1)
|
||||
.org 0x1f0
|
||||
#elif defined(USE_DOC_2000_TSOP) || defined(USE_DOC_MIL_PLUS)
|
||||
#elif (USE_DOC_2000_TSOP == 1) || (USE_DOC_MIL_PLUS == 1)
|
||||
.org 0x3f0
|
||||
#endif
|
||||
reset_vector:
|
||||
|
|
|
@ -9,7 +9,7 @@ mainboard pcchips/m810lmr
|
|||
option SERIAL_CONSOLE=1
|
||||
|
||||
# use DOC MIL
|
||||
option USE_DOC_MIL
|
||||
option USE_DOC_MIL=1
|
||||
docipl northsouthbridge/sis/730/ipl.S
|
||||
|
||||
# Use the internal VGA frame buffer device
|
||||
|
|
|
@ -16,4 +16,4 @@ option HAVE_FRAMEBUFFER
|
|||
linux /usr/src/linux
|
||||
|
||||
# Kernel command line parameters
|
||||
commandline root=/dev/hda1 console=tty0 video=sisfb:1024x768-32@85,font:VGA8x16
|
||||
commandline root=/dev/hda5 console=tty0 video=sisfb:1024x768-32@85,font:VGA8x16
|
||||
|
|
Loading…
Add table
Reference in a new issue