Files
u-boot/include
Wu, Josh be354c1a21 env_fat: use get_device_and_partition() during env save and load
Use get_device_and_partition() is better since:
1. It will call the device initialize function internally. So we can
remove the mmc intialization code to save many lines.
2. It is used by fatls/fatload/fatwrite. So saveenv & load env should
use it too.
3. It can parse the "D:P", "D", "D:", "D:auto" string to get correct
device and partition information by run-time.

Also we remove the FAT_ENV_DEVICE and FAT_ENV_PART. We use a string:
FAT_ENV_DEVICE_AND_PART.
For at91sam9m10g45ek, it is "0". That means use device 0 and if:
a)device 0 has no partition table, use the whole device as a FAT file
system.
b)device 0 has partittion table, use the partition #1.

Refer to the commit: 10a37fd7a4 for details of device & partition string.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
2014-07-07 19:43:01 -04:00
..
2014-06-20 11:56:50 -06:00
2014-05-29 17:45:31 -04:00
2014-02-04 16:32:20 +01:00
2014-07-03 08:40:51 +02:00
2014-02-21 08:42:47 -05:00
2014-03-17 20:05:48 -06:00
2014-05-27 10:21:32 -04:00
2014-06-21 10:06:58 -06:00
2014-05-16 14:54:26 +09:00
2014-06-19 11:18:55 -04:00
2014-02-20 06:48:23 +01:00
2013-09-24 09:10:33 -04:00
2014-05-28 10:58:19 +09:00
2014-06-20 11:54:29 -06:00
2014-03-17 20:05:49 -06:00
2013-09-20 10:30:54 -04:00
2014-05-30 14:03:24 -04:00
2013-11-09 17:21:01 +01:00
2014-05-25 16:25:12 +02:00
2014-03-17 20:05:49 -06:00
2013-11-09 17:21:01 +01:00
2014-03-05 12:23:48 +01:00
2014-02-19 10:47:43 -05:00
2014-06-11 16:27:06 -04:00
2013-12-04 08:11:28 -05:00
2013-08-28 11:44:59 -04:00