]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/at91sam9m10g45ek.h
Merge branch 'master' of git://git.denx.de/u-boot
[karo-tx-uboot.git] / include / configs / at91sam9m10g45ek.h
index 341b21df270c305a767fb2a0aad78c6696b96d9f..db5d5ea846b24062a6803557d0f034b9b3198704 100644 (file)
 #elif CONFIG_SYS_USE_MMC
 /* bootstrap + u-boot + env + linux in mmc */
 #define FAT_ENV_INTERFACE      "mmc"
-#define FAT_ENV_DEVICE         0
-#define FAT_ENV_PART           1
+/*
+ * We don't specify the part number, if device 0 has partition table, it means
+ * the first partition; it no partition table, then take whole device as a
+ * FAT file system.
+ */
+#define FAT_ENV_DEVICE_AND_PART        "0"
 #define FAT_ENV_FILE           "uboot.env"
 #define CONFIG_ENV_IS_IN_FAT
 #define CONFIG_FAT_WRITE