Final changes for the sbc710. docmill_fill_inbuf.c now takes a
#define for the base of DoC, and defaults to 0xffffe000 if it is not set.
This commit is contained in:
parent
e997aa5946
commit
8e1e3fbfa5
2 changed files with 13 additions and 1 deletions
|
|
@ -22,6 +22,14 @@ option NO_KEYBOARD
|
|||
option HAVE_PIRQ_TABLE
|
||||
option ZKERNEL_START=0xfffc0000
|
||||
option ZKERNEL_MASK=0x7f
|
||||
# For those people who use DoC
|
||||
# on DoC on this board, Linux starts at the front. No need to have
|
||||
# linuxbios in DoC as it is in FLASH
|
||||
# Actually we'll leave it at the 65K offset. The reason to leave it there
|
||||
# is we can drop any LinuxBIOS DoC in from any machine and it will work
|
||||
# fine.
|
||||
# option DOC_KERNEL_START 0
|
||||
option DOC_MIL_BASE=0xd000
|
||||
option L440BX
|
||||
|
||||
object mainboard.o
|
||||
|
|
|
|||
|
|
@ -11,12 +11,16 @@
|
|||
#define DOC_KERNEL_START 65536
|
||||
#endif
|
||||
|
||||
#ifndef DOC_MIL_BASE
|
||||
#define DOC_MIL_BASE 0xffffe000
|
||||
#endif
|
||||
|
||||
static unsigned char *nvram;
|
||||
static int block_count;
|
||||
static int firstfill = 1;
|
||||
|
||||
static void memcpy_from_doc_mil(void *dest, const void *src, size_t n);
|
||||
static unsigned char *doc_mil = (unsigned char *) 0xffffe000;
|
||||
static unsigned char *doc_mil = (unsigned char *) DOC_MIL_BASE;
|
||||
#ifdef CHECK_DOC_MIL
|
||||
static unsigned char *checkbuf;
|
||||
#endif /* CHECK_DOC_MIL */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue