• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révisionf67d99a5b9a95cfa4473ebb48b039254f8c94cdf (tree)
l'heure2016-04-17 18:04:11
AuteurYoshinori Sato <ysato@user...>
CommiterYoshinori Sato

Message de Log

spl: Add EXT support

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>

Change Summary

Modification

--- a/common/spl/spl_ide.c
+++ b/common/spl/spl_ide.c
@@ -28,9 +28,16 @@ int spl_ide_load_image(void)
2828 if (spl_start_uboot() || spl_load_image_fat_os(stor_dev,
2929 CONFIG_SYS_IDE_FAT_BOOT_PARTITION))
3030 #endif
31+#ifdef CONFIG_SPL_FAT_SUPPORT
3132 err = spl_load_image_fat(stor_dev,
3233 CONFIG_SYS_IDE_FAT_BOOT_PARTITION,
3334 CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME);
35+#endif
36+#ifdef CONFIG_SPL_EXT_SUPPORT
37+ err = spl_load_image_ext(stor_dev,
38+ CONFIG_SYS_IDE_EXT4_BOOT_PARTITION,
39+ CONFIG_SPL_EXT4_LOAD_PAYLOAD_NAME);
40+#endif
3441 if (err) {
3542 puts("Error loading IDE device\n");
3643 return err;