Date:2010-04-29 11:56:18 (13 years 11 months ago)
Author:Xiangfu Liu
Commit:0f1cbcc699c376779172a3d2f4bac0af1f7eb2ca
Message:correct BOOT_FROM_SDCARD check

Files: package/uboot-xburst/patches/001-xburst.patch (2 diffs)

Change Details

package/uboot-xburst/patches/001-xburst.patch
16281628     bd->bi_flashoffset = monitor_flash_len; /* reserved area for U-Boot */
16291629 #else
16301630diff --git a/lib_mips/bootm.c b/lib_mips/bootm.c
1631index 54af24c..b498ae8 100644
1631index 54af24c..e6a5732 100644
16321632--- a/lib_mips/bootm.c
16331633+++ b/lib_mips/bootm.c
16341634@@ -46,10 +46,17 @@ static void linux_env_set (char * env_name, char * env_val);
...... 
16541654     }
16551655
16561656     /* we assume that the kernel is in place */
1657+ if (gd->boot_option == BOOT_FROM_SDCARD)
1657+ if (gd->boot_option & BOOT_FROM_SDCARD)
16581658+ printf ("\n *** Booting from mircoSD ***\n");
16591659+
16601660     printf ("\nStarting kernel ...\n\n");

Archive Download the corresponding diff file



interactive