[FE training-materials-updates] labs: kernel: Fix inconsistencies in the length of the registers

Maxime Ripard maxime.ripard at free-electrons.com
Fri Oct 4 16:34:56 CEST 2013


Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=0c22780b9b25b85fc4b08bae79bdf127c63b5bee

>---------------------------------------------------------------

commit 0c22780b9b25b85fc4b08bae79bdf127c63b5bee
Author: Maxime Ripard <maxime.ripard at free-electrons.com>
Date:   Fri Oct 4 16:33:38 2013 +0200

    labs: kernel: Fix inconsistencies in the length of the registers
    
    Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>


>---------------------------------------------------------------

0c22780b9b25b85fc4b08bae79bdf127c63b5bee
 labs/kernel-serial-iomem/kernel-serial-iomem.tex |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/labs/kernel-serial-iomem/kernel-serial-iomem.tex b/labs/kernel-serial-iomem/kernel-serial-iomem.tex
index a3c6669..dc1661e 100644
--- a/labs/kernel-serial-iomem/kernel-serial-iomem.tex
+++ b/labs/kernel-serial-iomem/kernel-serial-iomem.tex
@@ -211,13 +211,13 @@ routine, returning an \code{unsigned int} value, and  taking a \code{dev}
 pointer to an \code{feserial_dev} structure and an \code{offset} integer
 offset.
 
-In this function, read a word at the base virtual address
-for the device plus the offset multiplied by 4, and return this value.
+In this function, read from a 32 bits register at the base virtual
+address for the device plus the offset multiplied by 4, and return
+this value.
 
-Note that all the I/O registers of the AM335x SoC are 32 bits wide.
-
-Create a similar \code{reg_write()} routine, writing an integer value
-at a given integer offset from the device base virtual address.
+Create a similar \code{reg_write()} routine, writing an unsigned
+integer value at a given integer offset from the device base virtual
+address.
 
 All the UART register offsets have standardized values, shared between
 several types of serial drivers (see



More information about the training-materials-updates mailing list