diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2014-02-27 21:39:03 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-02-28 08:20:26 +0100 |
commit | e3ae621635a9a6c39551b7a26321d839d676f3bf (patch) | |
tree | 781e8381a0214c024c76a49a700654dd4d52a930 /Documentation | |
parent | a7f78e72732806cd777a1f5aaa2e3832e92de303 (diff) | |
download | barebox-e3ae621635a9a6c39551b7a26321d839d676f3bf.tar.gz |
Documentation: fix example call to devfs_add_partition
The flags parameter was skipped in the example. Add it as
DEVFS_PARTITION_FIXED.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/porting.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/porting.txt b/Documentation/porting.txt index a350e5e5fe..bd807a3186 100644 --- a/Documentation/porting.txt +++ b/Documentation/porting.txt @@ -50,7 +50,7 @@ extra-y += barebox.lds is not ported yet. - Call devfs_add_partition() to add an environment partition for your device: - devfs_add_partition("nor0", 0x40000, 0x20000, "env0"); + devfs_add_partition("nor0", 0x40000, 0x20000, DEVFS_PARTITION_FIXED, "env0"); This will add an area starting at 0x40000 of size 0x20000 of the device nor0 as env0. |