summaryrefslogtreecommitdiffstats
path: root/Documentation/boards
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-12-01 11:37:30 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-12-01 11:53:24 +0100
commitf2c95c2b948f4e503a19775e39f6b12d5b8cca4a (patch)
tree5e563b00bd9c9f931e1565134f33e148576815ef /Documentation/boards
parent00e3ada8bd50335404e9a7d19e7650eb78e8c261 (diff)
downloadbarebox-f2c95c2b948f4e503a19775e39f6b12d5b8cca4a.tar.gz
barebox-f2c95c2b948f4e503a19775e39f6b12d5b8cca4a.tar.xz
Documentation: Change many code blocks to no highlight
Several blocks cannot be sensibly highlighted, so change the highliting to 'none'. Fixes many warnings in building the documentation. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/boards')
-rw-r--r--Documentation/boards/openrisc.rst4
-rw-r--r--Documentation/boards/x86.rst18
2 files changed, 15 insertions, 7 deletions
diff --git a/Documentation/boards/openrisc.rst b/Documentation/boards/openrisc.rst
index cc00a5d8ea..fe6c48c958 100644
--- a/Documentation/boards/openrisc.rst
+++ b/Documentation/boards/openrisc.rst
@@ -12,7 +12,9 @@ Compile or1ksim emulator::
$ ./configure
$ make
-Create minimal or1ksim.cfg file::
+Create minimal or1ksim.cfg file:
+
+.. code-block:: none
section cpu
ver = 0x12
diff --git a/Documentation/boards/x86.rst b/Documentation/boards/x86.rst
index ee5e86980f..d0528a3280 100644
--- a/Documentation/boards/x86.rst
+++ b/Documentation/boards/x86.rst
@@ -47,9 +47,10 @@ Keep Sectors free
Build the barebox image and check its size. At least this amount of
sectors must be kept free after the MBR prior the first partition. Do this
-simple calulation::
+simple calulation:
- sectors = (\<size of barebox image\> + 511) / 512
+.. code-block:: none
+ sectors = (\<size of barebox image\> + 511) / 512
To be able to store the runtime configuration, further free sectors are
required. Its up to you and your requirements, how large this persistant
@@ -60,8 +61,9 @@ For this example we are reserving 300 sectors for the barebox image and
additionaly 32 sectors for the persistant storage. So, the first partition on
the boot media must start at sector 333 or later.
-Run the fdisk tool to setup such a partition table::
+Run the fdisk tool to setup such a partition table:
+.. code-block:: none
[jb@host]~> fdisk /dev/sda
Command (m for help): p
@@ -74,7 +76,7 @@ Run the fdisk tool to setup such a partition table::
Change the used units to sectors for easier handling.
-::
+.. code-block:: none
Command (m for help): u
Changing display/entry units to sectors
@@ -87,7 +89,9 @@ Change the used units to sectors for easier handling.
Device Boot Start End Blocks Id System
-Now its possible to create the first partition with the required offset::
+Now its possible to create the first partition with the required offset:
+
+.. code-block:: none
Command (m for help): n
Command action
@@ -128,7 +132,9 @@ The barebox image gets stored on the boot media like this::
storage main image partition
If the -s option is omitted, the "persistant storage" part simply does
-not exist::
+not exist:
+
+.. code-block:: none
sector 0 1 333
|---|--------------- ~~~ ------------|--------------