Change since v1 (Sascha, thanks for review):
* use xzalloc instead of kzalloc and control check
* correct help and names
* fix coding style issue
* remove verbose and unneeded messages
This adds support for MTD in RAM devices (like FRAM or MRAM).
Signed-off-by:
This adds a command to load a variable from file content.
It is a work-a-round for var=$(cat file).
Signed-off-by: Sebastian Block ba...@linux-source.de
---
commands/Kconfig | 7 +
commands/Makefile | 1 +
commands/loadvar.c | 90 ++
3
Hi Sebastian,
On Sat, Sep 06, 2014 at 02:25:08PM +0200, Sebastian Block wrote:
This adds a command to load a variable from file content.
It is a work-a-round for var=$(cat file).
doesn't commands/readf.c do similar things?
- Alex
___
barebox
Hi Alex,
On Sat, Sep 06, 2014 at 02:25:08PM +0200, Sebastian Block wrote:
This adds a command to load a variable from file content.
It is a work-a-round for var=$(cat file).
doesn't commands/readf.c do similar things?
you are right. Please forget this patch.
Sebastian
On Sat, Sep 06, 2014 at 03:03:07PM +0200, Sebastian Block wrote:
Hi Alex,
On Sat, Sep 06, 2014 at 02:25:08PM +0200, Sebastian Block wrote:
This adds a command to load a variable from file content.
It is a work-a-round for var=$(cat file).
doesn't commands/readf.c do similar things?