diff options
author | Anatolij Gustschin <agust@denx.de> | 2010-03-16 17:10:05 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-03-21 22:44:59 +0100 |
commit | 3c950e2ebfde083084cc926b020e3a22a536bf85 (patch) | |
tree | 50a4b0b6b2f5c03272216a7d9414052d8e3e9496 /common/cmd_mtdparts.c | |
parent | d611295032c30e6c533cb356005fa82ab7992824 (diff) | |
download | u-boot-midas-3c950e2ebfde083084cc926b020e3a22a536bf85.tar.gz u-boot-midas-3c950e2ebfde083084cc926b020e3a22a536bf85.tar.bz2 u-boot-midas-3c950e2ebfde083084cc926b020e3a22a536bf85.zip |
fdt_support: add partitions fixup in mtd node
Allow overwriting defined partitions in the device tree blob
using partition info defined in the 'mtdparts' environment
variable.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Gerald Van Baren <vanbaren@cideas.com>
Diffstat (limited to 'common/cmd_mtdparts.c')
-rw-r--r-- | common/cmd_mtdparts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_mtdparts.c b/common/cmd_mtdparts.c index 20fed2aadc..0b5f747141 100644 --- a/common/cmd_mtdparts.c +++ b/common/cmd_mtdparts.c @@ -776,7 +776,7 @@ static int device_del(struct mtd_device *dev) * @param num device number * @return NULL if requested device does not exist */ -static struct mtd_device* device_find(u8 type, u8 num) +struct mtd_device *device_find(u8 type, u8 num) { struct list_head *entry; struct mtd_device *dev_tmp; |