summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-06-10 17:30:16 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-07-21 16:41:45 +0200
commitf57f73fc12d44a29baca6fd07ecfded12525d9b5 (patch)
tree67dfe034bee2c1f75c28686f81c14053297963bd /Documentation
parent871c8f4c28b7eece617fb4f923170e88aaad83eb (diff)
downloadbarebox-f57f73fc12d44a29baca6fd07ecfded12525d9b5.tar.gz
barebox-f57f73fc12d44a29baca6fd07ecfded12525d9b5.tar.xz
dev_add_partition -> devfs_add_partition
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/porting.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/porting.txt b/Documentation/porting.txt
index 5b5407031e..93532a80c8 100644
--- a/Documentation/porting.txt
+++ b/Documentation/porting.txt
@@ -51,8 +51,8 @@ console_initcall(scb9328_console_init);
- For most boards you will have to register a cfi_flash device. NAND flash
is not ported yet.
-- Call dev_add_partition() to add an environment partition for your device:
- dev_add_partition(&cfi_dev, 0x40000, 0x20000, "env");
+- Call devfs_add_partition() to add an environment partition for your device:
+ devfs_add_partition("nor0", 0x40000, 0x20000, "env");
This will add an area starting at 0x40000 of size 0x20000 of the device
cfi_dev as env0.