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:
Warner Losh 2006-04-21 13:44:58 +00:00
parent ca2c5ec68f
commit 0cef210b08
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157937

View file

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