9
0
Fork 0

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>
This commit is contained in:
Uwe Kleine-König 2014-02-27 21:39:03 +01:00 committed by Sascha Hauer
parent a7f78e7273
commit e3ae621635
1 changed files with 1 additions and 1 deletions

View File

@ -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.