Add Pandora support to the public X-Loader OMAP3 tree.
[pandora-x-loader.git] / lib / board.c
old mode 100644 (file)
new mode 100755 (executable)
index a3b8369..b456f10
@@ -93,7 +93,8 @@ void start_armboot (void)
                size = file_fat_read("u-boot.bin", buf, 0);
                if (size > 0) {
 #ifdef CFG_PRINTF
-                       printf("Loading u-boot.bin from mmc\n");
+                       printf("Loading u-boot.bin from MMC\n");
+                       printf("\n%ld Bytes Read from MMC \n", size);
 #endif
                        buf += size;
                }
@@ -112,7 +113,7 @@ void start_armboot (void)
                        }
                } else if (get_mem_type() == GPMC_NAND){
 #ifdef CFG_PRINTF
-                               printf("Loading u-boot.bin from nand\n");
+                               printf("Loading u-boot.bin from NAND\n");
 #endif
                        for (i = NAND_UBOOT_START; i < NAND_UBOOT_END; i+= NAND_BLOCK_SIZE){
                                if (!nand_read_block(buf, i))
@@ -125,6 +126,10 @@ void start_armboot (void)
        if (buf == (uchar *)CFG_LOADADDR)
                hang();
 
+#ifdef CFG_PRINTF
+       printf("Starting Stage 2 Bootloader...\n");
+#endif
+
        /* go run U-Boot and never return */
        ((init_fnc_t *)CFG_LOADADDR)();