Re: [PATCH] commands: add lodvar - load variable from file content

2014-09-06 Thread Sebastian Block
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 ar

[PATCH] commands: add lodvar - load variable from file content

2014-09-06 Thread Sebastian Block
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 --- commands/Kconfig | 7 + commands/Makefile | 1 + commands/loadvar.c | 90 ++ 3 files c

[PATCH v2] mtd: add mtdram device (which build mtd over ram area - useful for FRAM oder MRAM)

2014-09-06 Thread Sebastian Block
: Sebastian Block --- drivers/mtd/devices/Kconfig | 5 ++ drivers/mtd/devices/Makefile | 1 + drivers/mtd/devices/mtdram.c | 124 +++ 3 files changed, 130 insertions(+) create mode 100644 drivers/mtd/devices/mtdram.c diff --git a/drivers/mtd/devices