Author: sir_richard
Date: Tue Nov 23 16:44:19 2010
New Revision: 49737
URL:
http://svn.reactos.org/svn/reactos?rev=49737&view=rev
Log:
[ARMLLB]: Initialize hardware before parsing environment variables. This makes more sense,
and also allows debug output from the environment scanning code.
Modified:
trunk/reactos/boot/armllb/main.c
Modified: trunk/reactos/boot/armllb/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/armllb/main.c?rev=497…
==============================================================================
--- trunk/reactos/boot/armllb/main.c [iso-8859-1] (original)
+++ trunk/reactos/boot/armllb/main.c [iso-8859-1] Tue Nov 23 16:44:19 2010
@@ -16,17 +16,17 @@
/* Make sure we are booting on the correct kind of machine */
if (BoardInfo != LlbHwGetBoardType()) while (TRUE);
+ /* Initialize hardware components */
+ LlbHwInitialize();
+
/* Either QEMU or U-Boot itself should send this information */
LlbEnvParseArguments(Arguments);
- /* Initialize hardware components */
- LlbHwInitialize();
-
/* Clean up the screen */
LlbVideoClearScreen(FALSE);
/* Print header */
- printf("ReactOS ARM Low-Level Boot Loader [" __DATE__ " "__TIME__
"]\n");
+ printf("\nReactOS ARM Low-Level Boot Loader [" __DATE__ "
"__TIME__ "]\n");
/* Boot the OS Loader */
LlbBoot();