Re: [U-Boot] [PATCH] tools: fw_printenv supports mmc device

2010-12-16 Thread Donghwa Lee
On 2010-12-17 오전 3:45 , Steve Sakoman wrote: > On Wed, Dec 15, 2010 at 5:22 PM, Donghwa Lee wrote: >> I modified fw_printenv tools to use /dev/mmcblk0 node. Original fw_printenv >> tool >> can be access MTD devices, but, in some cases, environment variables can be >> stored >> other memory devi

Re: [U-Boot] [PATCH] tools: fw_printenv supports mmc device

2010-12-16 Thread Donghwa Lee
On 2010-12-16 오후 3:42 , Stefano Babic wrote: > On 12/16/2010 02:22 AM, Donghwa Lee wrote: >> diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c >> index 8ff7052..5a707f6 100644 >> --- a/tools/env/fw_env.c >> +++ b/tools/env/fw_env.c >> @@ -855,6 +855,7 @@ static int flash_write_buf (int dev, int

Re: [U-Boot] [PATCH] tools: fw_printenv supports mmc device

2010-12-16 Thread Steve Sakoman
On Wed, Dec 15, 2010 at 5:22 PM, Donghwa Lee wrote: > I modified fw_printenv tools to use /dev/mmcblk0 node. Original fw_printenv > tool > can be access MTD devices, but, in some cases, environment variables can be > stored > other memory devices, for example, mmc devices. > So, I modified a few

Re: [U-Boot] [PATCH] tools: fw_printenv supports mmc device

2010-12-15 Thread Stefano Babic
On 12/16/2010 02:22 AM, Donghwa Lee wrote: > diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c > index 8ff7052..5a707f6 100644 > --- a/tools/env/fw_env.c > +++ b/tools/env/fw_env.c > @@ -855,6 +855,7 @@ static int flash_write_buf (int dev, int fd, void *buf, > size_t count, > } >

[U-Boot] [PATCH] tools: fw_printenv supports mmc device

2010-12-15 Thread Donghwa Lee
I modified fw_printenv tools to use /dev/mmcblk0 node. Original fw_printenv tool can be access MTD devices, but, in some cases, environment variables can be stored other memory devices, for example, mmc devices. So, I modified a few code to use /dev/mmcblk0. Signed-off-by: Donghwa Lee Signed-off

[U-Boot] [PATCH] tools: fw_printenv supports mmc device

2010-12-15 Thread y
From: Donghwa Lee I modified fw_printenv tools to use /dev/mmcblk0 node. Original fw_printenv tool can be access MTD devices, but, in some cases, environment variables can be stored other memory devices, for example, mmc devices. So, I modified a few code to use /dev/mmcblk0. Signed-off-by: Don