diff options
Diffstat (limited to 'recipes/x-load/x-load-1.41/0013-board.c-print-boot-method-mmc-onenand-nand.patch')
-rw-r--r-- | recipes/x-load/x-load-1.41/0013-board.c-print-boot-method-mmc-onenand-nand.patch | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/recipes/x-load/x-load-1.41/0013-board.c-print-boot-method-mmc-onenand-nand.patch b/recipes/x-load/x-load-1.41/0013-board.c-print-boot-method-mmc-onenand-nand.patch deleted file mode 100644 index 8223cb9dcf..0000000000 --- a/recipes/x-load/x-load-1.41/0013-board.c-print-boot-method-mmc-onenand-nand.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 8433611ac9fe90093f57e2a3e5968d9c61de5e28 Mon Sep 17 00:00:00 2001 -From: Vaibhav Hiremath <hvaibhav@ti.com> -Date: Mon, 20 Jul 2009 17:54:48 +0530 -Subject: [PATCH] board.c: print boot method (mmc, onenand, nand) - -Pulled from 4e1a4e8d4d670ab7a4c281317a8b440f4ee4581a commit -of sakoman's tree ---- - lib/board.c | 5 +++++ - 1 files changed, 5 insertions(+), 0 deletions(-) - -diff --git a/lib/board.c b/lib/board.c -index bc7d3d1..9dcc31a 100644 ---- a/lib/board.c -+++ b/lib/board.c -@@ -70,10 +70,12 @@ void start_armboot (void) - - #if defined (CONFIG_OMAP34XX) - if ((get_mem_type() == MMC_ONENAND) || (get_mem_type() == MMC_NAND)){ -+ printf("Booting from mmc . . .\n"); - buf += mmc_boot(buf); - } - - if (get_mem_type() == GPMC_ONENAND){ -+ printf("Booting from onenand . . .\n"); - for (i = ONENAND_START_BLOCK; i < ONENAND_END_BLOCK; i++){ - if (!onenand_read_block(buf, i)) - buf += ONENAND_BLOCK_SIZE; -@@ -81,6 +83,7 @@ void start_armboot (void) - } - - if (get_mem_type() == GPMC_NAND){ -+ printf("Booting from nand . . .\n"); - for (i = NAND_UBOOT_START; i < NAND_UBOOT_END; i+= NAND_BLOCK_SIZE){ - if (!nand_read_block(buf, i)) - buf += NAND_BLOCK_SIZE; /* advance buf ptr */ -@@ -88,10 +91,12 @@ void start_armboot (void) - } - #elif defined (CONFIG_OMAP3517EVM) - if (get_mem_type() == GPMC_NAND){ -+ printf("Booting from mmc . . .\n"); - buf += mmc_boot(buf); - } - - if (buf == (uchar *)CFG_LOADADDR){ -+ printf("Booting from nand . . .\n"); - for (i = NAND_UBOOT_START; i < NAND_UBOOT_END; i+= NAND_BLOCK_SIZE){ - if (!nand_read_block(buf, i)) - buf += NAND_BLOCK_SIZE; /* advance buf ptr */ --- -1.5.4.3 - |