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