summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-04-21 13:44:58 +0000
committerimp <imp@FreeBSD.org>2006-04-21 13:44:58 +0000
commita76624710a52eaa8c615aefe5f9730f4bc195958 (patch)
treed351385cb3fb059929d032b245b0a290bc509202 /sys/boot
parenta894bea56ea25173bed9887a6fe5505bd3c08a63 (diff)
downloadFreeBSD-src-a76624710a52eaa8c615aefe5f9730f4bc195958.zip
FreeBSD-src-a76624710a52eaa8c615aefe5f9730f4bc195958.tar.gz
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.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/arm/at91/bootiic/main.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/boot/arm/at91/bootiic/main.c b/sys/boot/arm/at91/bootiic/main.c
index 2642b10..cc71b8e 100644
--- a/sys/boot/arm/at91/bootiic/main.c
+++ b/sys/boot/arm/at91/bootiic/main.c
@@ -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);
OpenPOWER on IntegriCloud