more ifdef stuff

This commit is contained in:
Li-Ta Lo 2002-02-20 02:42:27 +00:00
parent 9180eb5955
commit 8052b47600
3 changed files with 6 additions and 6 deletions

View file

@ -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:

View file

@ -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

View file

@ -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