mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 16:54:02 +00:00
MFp4:
Init eeprom here now that we don't init the eeprom in arm_init.s and read in the second 8k of the data. Tweak formatting.
This commit is contained in:
parent
ca2c5ec68f
commit
0cef210b08
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157937
|
@ -27,6 +27,7 @@
|
|||
#include "loader_prompt.h"
|
||||
#include "emac.h"
|
||||
#include "lib.h"
|
||||
#include "eeprom.h"
|
||||
|
||||
/*
|
||||
* .KB_C_FN_DEFINITION_START
|
||||
|
@ -41,16 +42,12 @@
|
|||
int
|
||||
main(void)
|
||||
{
|
||||
|
||||
InitEEPROM();
|
||||
EMAC_Init();
|
||||
|
||||
LoadBootCommands();
|
||||
|
||||
printf("\n\rKB9202(www.kwikbyte.com)\n\rAuto boot..\n\r");
|
||||
|
||||
if (getc(1) == -1)
|
||||
ExecuteEnvironmentFunctions();
|
||||
|
||||
Bootloader(0);
|
||||
|
||||
return (1);
|
||||
|
|
Loading…
Reference in a new issue