summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com>2014-01-09 01:48:21 +0530
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-01-10 15:18:33 +0100
commitb3de92495f23db58a2643fb9328edacbf9a17f1c (patch)
tree8c19a291bffd9b22576f7c50124c6e99a2fbe0c7 /doc
parentfe5eddbf9818ba857d0d7f5e849b5682c9717b74 (diff)
downloadtalos-obmc-uboot-b3de92495f23db58a2643fb9328edacbf9a17f1c.tar.gz
talos-obmc-uboot-b3de92495f23db58a2643fb9328edacbf9a17f1c.zip
zynq: Add support to find bootmode
Added support to find the bootmodes by reading slcr bootmode register. this can be helpful to autoboot the configurations w.r.t a specified bootmode. Added this functionality on board_late_init as it's not needed for normal initializtion part. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/README.zynq25
1 files changed, 23 insertions, 2 deletions
diff --git a/doc/README.zynq b/doc/README.zynq
index 56a74b4f1f..ea1c8c1412 100644
--- a/doc/README.zynq
+++ b/doc/README.zynq
@@ -28,7 +28,27 @@ and I/O programmability.
- zc770-xm012 (nor)
- zc770-xm013 (dual parallel qspi, gem1)
-3. Mainline status
+3. Bootmode
+
+Zynq has a facility to read the bootmode from the slcr bootmode register
+once user is setting through jumpers on the board - see page no:1546 on [5]
+
+All possible bootmode values are defined in Table 6-2:Boot_Mode MIO Pins
+on [5].
+
+board_late_init() will read the bootmode values using slcr bootmode register
+at runtime and assign the modeboot variable to specific bootmode string which
+is intern used in autoboot.
+
+SLCR bootmode register Bit[3:0] values
+#define ZYNQ_BM_NOR 0x02
+#define ZYNQ_BM_SD 0x05
+#define ZYNQ_BM_JTAG 0x0
+
+"modeboot" variable can assign any of "norboot", "sdboot" or "jtagboot"
+bootmode strings at runtime.
+
+4. Mainline status
- Added basic board configurations support.
- Added zynq u-boot bsp code - arch/arm/cpu/armv7/zynq
@@ -41,7 +61,7 @@ and I/O programmability.
spi- drivers/spi/zynq_spi.c
i2c - drivers/i2c/zynq_i2c.c
-4. TODO
+5. TODO
- Add zynq boards support - zc70x, zed, microzed, zc770
- Add zynq qspi controller driver
@@ -54,6 +74,7 @@ and I/O programmability.
[2] http://www.xilinx.com/products/boards-and-kits/EK-Z7-ZC706-G.htm
[3] http://zedboard.org/product/zedboard
[4] http://zedboard.org/product/microzed
+[5] http://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf
--
Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
OpenPOWER on IntegriCloud