summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-13 07:31:32 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-16 08:44:17 -0300
commitf341afe2fca77fbb258007dc9addb36784b4f252 (patch)
treefb59027df70784feceb808e4a73b5f5bcdb75a2b /Documentation
parent609f212f6a12e005d2395edd7b4192d2b051ae67 (diff)
mtdnand.rst: group the "::" with previous line
Group the :: with the previous paragraph, in order to make it visually better when reading as a text file. While here, replace: ored (with means "Covered or adorned with ore or metal") by: OR-ed To reflect its true meaning. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/driver-api/mtdnand.rst24
1 files changed, 7 insertions, 17 deletions
diff --git a/Documentation/driver-api/mtdnand.rst b/Documentation/driver-api/mtdnand.rst
index 8723175f955e..7c19795ebb4a 100644
--- a/Documentation/driver-api/mtdnand.rst
+++ b/Documentation/driver-api/mtdnand.rst
@@ -843,10 +843,8 @@ Chip option constants
Constants for chip id table
~~~~~~~~~~~~~~~~~~~~~~~~~~~
-These constants are defined in nand.h. They are ored together to
-describe the chip functionality.
-
-::
+These constants are defined in nand.h. They are OR-ed together to
+describe the chip functionality::
/* Buswitdh is 16 bit */
#define NAND_BUSWIDTH_16 0x00000002
@@ -867,10 +865,8 @@ describe the chip functionality.
Constants for runtime options
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-These constants are defined in nand.h. They are ored together to
-describe the functionality.
-
-::
+These constants are defined in nand.h. They are OR-ed together to
+describe the functionality::
/* The hw ecc generator provides a syndrome instead a ecc value on read
* This can only work if we have the ecc bytes directly behind the
@@ -881,9 +877,7 @@ describe the functionality.
ECC selection constants
-----------------------
-Use these constants to select the ECC algorithm.
-
-::
+Use these constants to select the ECC algorithm::
/* No ECC. Usage is not recommended ! */
#define NAND_ECC_NONE 0
@@ -903,9 +897,7 @@ Hardware control related constants
----------------------------------
These constants describe the requested hardware access function when the
-boardspecific hardware control function is called
-
-::
+boardspecific hardware control function is called::
/* Select the chip by setting nCE to low */
#define NAND_CTL_SETNCE 1
@@ -929,9 +921,7 @@ Bad block table related constants
---------------------------------
These constants describe the options used for bad block table
-descriptors.
-
-::
+descriptors::
/* Options for the bad block table descriptors */