Révision | f67d99a5b9a95cfa4473ebb48b039254f8c94cdf (tree) |
---|---|
l'heure | 2016-04-17 18:04:11 |
Auteur | Yoshinori Sato <ysato@user...> |
Commiter | Yoshinori Sato |
spl: Add EXT support
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
@@ -28,9 +28,16 @@ int spl_ide_load_image(void) | ||
28 | 28 | if (spl_start_uboot() || spl_load_image_fat_os(stor_dev, |
29 | 29 | CONFIG_SYS_IDE_FAT_BOOT_PARTITION)) |
30 | 30 | #endif |
31 | +#ifdef CONFIG_SPL_FAT_SUPPORT | |
31 | 32 | err = spl_load_image_fat(stor_dev, |
32 | 33 | CONFIG_SYS_IDE_FAT_BOOT_PARTITION, |
33 | 34 | 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 | |
34 | 41 | if (err) { |
35 | 42 | puts("Error loading IDE device\n"); |
36 | 43 | return err; |