diff mbox

[U-Boot,v2,2/2] README: document the CONFIG_ENV_IS_IN_FAT option

Message ID 1403491267-14484-2-git-send-email-josh.wu@atmel.com
State Superseded
Delegated to: Tom Rini
Headers show

Commit Message

Josh Wu June 23, 2014, 2:41 a.m. UTC
Signed-off-by: Josh Wu <josh.wu@atmel.com>
---
 README |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Comments

Stephen Warren June 23, 2014, 6:41 p.m. UTC | #1
On 06/22/2014 08:41 PM, Josh Wu wrote:
> Signed-off-by: Josh Wu <josh.wu@atmel.com>

A quick description might be nice. Otherwise,

Reviewed-by: Stephen Warren <swarren@nvidia.com>
Jon Loeliger June 23, 2014, 7:08 p.m. UTC | #2
On Mon, Jun 23, 2014 at 1:41 PM, Stephen Warren <swarren@wwwdotorg.org> wrote:
> On 06/22/2014 08:41 PM, Josh Wu wrote:
>> Signed-off-by: Josh Wu <josh.wu@atmel.com>
>
> A quick description might be nice. Otherwise,

Josh,

Any chance you want to patch the lack of CONFIG_ENV_IS_IN_SPI_FLASH
documentation while you are in the area? :-)

jdl
Josh Wu June 24, 2014, 9:47 a.m. UTC | #3
Hi, Jon

On 6/24/2014 3:08 AM, Jon Loeliger wrote:
> On Mon, Jun 23, 2014 at 1:41 PM, Stephen Warren <swarren@wwwdotorg.org> wrote:
>> On 06/22/2014 08:41 PM, Josh Wu wrote:
>>> Signed-off-by: Josh Wu <josh.wu@atmel.com>
>> A quick description might be nice. Otherwise,
> Josh,
>
> Any chance you want to patch the lack of CONFIG_ENV_IS_IN_SPI_FLASH
> documentation while you are in the area? :-)

I think it's no problem ;-)
I will do a patch for SPI_FLASH.

>
> jdl
Best Regards,
Josh Wu
Josh Wu June 24, 2014, 9:49 a.m. UTC | #4
Dear Stephen

On 6/24/2014 2:41 AM, Stephen Warren wrote:
> On 06/22/2014 08:41 PM, Josh Wu wrote:
>> Signed-off-by: Josh Wu <josh.wu@atmel.com>
> A quick description might be nice. Otherwise,
>
> Reviewed-by: Stephen Warren <swarren@nvidia.com>

Thanks. I will add a description message for the commit in v3.

Best Regards,
Josh Wu
Jon Loeliger June 24, 2014, 2:07 p.m. UTC | #5
On Tue, Jun 24, 2014 at 4:47 AM, Josh Wu <josh.wu@atmel.com> wrote:

>> Josh,
>>
>> Any chance you want to patch the lack of CONFIG_ENV_IS_IN_SPI_FLASH
>> documentation while you are in the area? :-)
>
> I think it's no problem ;-)
> I will do a patch for SPI_FLASH.
>
> Best Regards,
> Josh Wu

Awesome!

Thanks,
jdl
diff mbox

Patch

diff --git a/README b/README
index 7129df8..0c9fda3 100644
--- a/README
+++ b/README
@@ -4133,6 +4133,37 @@  but it can not erase, write this NOR flash by SRIO or PCIE interface.
 	  You will probably want to define these to avoid a really noisy system
 	  when storing the env in UBI.
 
+- CONFIG_ENV_IS_IN_FAT:
+       Define this if you want to use the FAT file system for the environment.
+
+       - FAT_ENV_INTERFACE:
+
+         Define this to a string that is the name of the block device.
+
+       - FAT_ENV_DEV_AND_PART:
+
+         Define this to a string to specify the partition of the device. It can
+         be as following:
+
+           "D:P", "D:0", "D", "D:" or "D:auto" (D, P are integers. And P >= 1)
+               - "D:P": device D partition P. Error occurs if device D has no
+                        partition table.
+               - "D:0": device D.
+               - "D" or "D:": device D partition 1 if device D has partition
+                              table, or the whole device D if has no partition
+                              table.
+               - "D:auto": first partition in device D with bootable flag set.
+                           If none, first valid paratition in device D. If no
+                           partition table then means device D.
+
+       - FAT_ENV_FILE:
+
+         It's a string of the FAT file name. This file use to store the
+         envrionment.
+
+       - CONFIG_FAT_WRITE:
+         This should be defined. Otherwise it cannot save the envrionment file.
+
 - CONFIG_ENV_IS_IN_MMC:
 
 	Define this if you have an MMC device which you want to use for the