summaryrefslogtreecommitdiffstats
path: root/commands/partition.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-15 13:50:04 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2007-07-15 13:50:04 +0200
commit665291e693efd1fd2955c6f8bfb89956711b0aef (patch)
tree0c9d871da372b4a640a9760f8946a8a57e3fbbba /commands/partition.c
parent9b3761c4459167a335d3a1c30543824afa2d654d (diff)
downloadbarebox-665291e693efd1fd2955c6f8bfb89956711b0aef.tar.gz
barebox-665291e693efd1fd2955c6f8bfb89956711b0aef.tar.xz
implement memmap().
With this function we can get a pointer to directly memory mapped devices like nor flash or RAM. Useful for bootm where we save one memcopy when the image is mappable
Diffstat (limited to 'commands/partition.c')
-rw-r--r--commands/partition.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/partition.c b/commands/partition.c
index 0a363c0cc7..42f4870098 100644
--- a/commands/partition.c
+++ b/commands/partition.c
@@ -41,6 +41,7 @@ static void dev_del_partitions(struct device_d *physdev)
dev = device_from_spec_str(buf, NULL);
if (dev) {
struct partition *part = dev->type_data;
+ printf("unregister %s %s\n", dev->name, dev->id);
unregister_device(dev);
free(part);
} else