summaryrefslogtreecommitdiffstats
path: root/common/partition.c
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2007-11-09 14:05:23 +0100
committerJuergen Beisert <j.beisert@pengutronix.de>2007-11-09 14:05:23 +0100
commit3ff14ef200fc6f69b6237fffabbad796aa463cfb (patch)
treee6e749f27cbd14641eac77e46e8e52736cb0cc92 /common/partition.c
parent8fe25ecf1270ab08e0b3baf5e8bae91e8f55eaa9 (diff)
downloadbarebox-3ff14ef200fc6f69b6237fffabbad796aa463cfb.tar.gz
barebox-3ff14ef200fc6f69b6237fffabbad796aa463cfb.tar.xz
various doc added
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
Diffstat (limited to 'common/partition.c')
-rw-r--r--common/partition.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/common/partition.c b/common/partition.c
index bb4006eb0a..4942ffdf55 100644
--- a/common/partition.c
+++ b/common/partition.c
@@ -230,18 +230,18 @@ handled in the same way as every other device.
What we want:
-@code
+@verbatim
device nor0
|--- partition 0
|--- partition 1
|--- partition 2
|--- partition 3
`--- partition 4
-@endcode
+@endverbatim
How to get:
-@code
+@verbatim
$ addpart /dev/nor0 256k(uboot),128k(env),256k(bla),1024k(blubb),2048k(friesel)
$ devinfo
|---nor0.uboot
@@ -249,7 +249,7 @@ $ devinfo
|---nor0.bla
|---nor0.blubb
|---nor0.friesel
-@endcode
+@endverbatim
@par Partitions with sub partitions:
@@ -258,7 +258,7 @@ there is a way to create sub partitions on partitions.
What we want:
-@code
+@verbatim
device nor0
|--- partition 0
|--- partition 1
@@ -267,11 +267,11 @@ What we want:
`--- partition 4
|--- partition 0
`--- partition 1
-@endcode
+@endverbatim
How to get:
-@code
+@verbatim
$ addpart /dev/nor0 256k(uboot),128k(env),256k(bla),1M(blubb),2048k(friesel)
$ devinfo
|---nor0.uboot
@@ -289,15 +289,15 @@ $ devinfo
|---nor0.friesel
|---nor0.friesel.fussel
`---nor0.friesel.boerks
-@endcode
+@endverbatim
@par Forwarding partitions to the kernel:
-@code
+@verbatim
$ device="nor0"
$ partitions="256k(uboot),128k(env),256k(bla),1024k(blubb),2048k(friesel)"
$ addpart /dev/$device:$partitions
-@endcode
+@endverbatim
@par Removing partitions: