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:
imp 2006-04-21 13:44:58 +00:00
parent a894bea56e
commit a76624710a

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