]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - doc/README.omap3
arm920t/at91/timer: replace bss variables by gd
[karo-tx-uboot.git] / doc / README.omap3
index 54f46b7465e923ce21cb466c9785c20ff9d1e939..6227151f8e974878459ea05ad92ce1ba0c2415a7 100644 (file)
@@ -15,6 +15,12 @@ Currently the following boards are supported:
 
 * TI EVM [4]
 
+* OpenPandora Ltd. Pandora [5]
+
+* TI/Logic PD Zoom MDK [6]
+
+* TI/Logic PD Zoom 2 [7]
+
 Toolchain
 =========
 
@@ -40,6 +46,21 @@ make
 make omap3_evm_config
 make
 
+* Pandora:
+
+make omap3_pandora_config
+make
+
+* Zoom MDK:
+
+make omap3_zoom1_config
+make
+
+* Zoom 2:
+
+make omap3_zoom2_config
+make
+
 Custom commands
 ===============
 
@@ -63,10 +84,42 @@ For all other commands see
 
 help
 
+Interfaces
+==========
+
+gpio
+
+To set a bit :
+
+       if (!omap_request_gpio(N)) {
+               omap_set_gpio_direction(N, 0);
+               omap_set_gpio_dataout(N, 1);
+       }
+
+To clear a bit :
+
+       if (!omap_request_gpio(N)) {
+               omap_set_gpio_direction(N, 0);
+               omap_set_gpio_dataout(N, 0);
+       }
+
+To read a bit :
+
+       if (!omap_request_gpio(N)) {
+               omap_set_gpio_direction(N, 1);
+               val = omap_get_gpio_datain(N);
+               omap_free_gpio(N);
+       }
+       if (val)
+               printf("GPIO N is set\n");
+       else
+               printf("GPIO N is clear\n");
+
+
 Acknowledgements
 ================
 
-OMAP3 U-Boot is based on U-Boot tar ball [5] for BeagleBoard and EVM done by
+OMAP3 U-Boot is based on U-Boot tar ball [8] for BeagleBoard and EVM done by
 several TI employees.
 
 Links
@@ -89,6 +142,17 @@ http://www.gumstix.net/Overo/
 
 http://focus.ti.com/docs/toolsw/folders/print/tmdxevm3503.html
 
-[5] TI OMAP3 U-Boot:
+[5] OpenPandora Ltd. Pandora:
+
+http://openpandora.org/
+
+[6] TI/Logic PD Zoom MDK:
+
+http://www.logicpd.com/products/devkit/ti/zoom_mobile_development_kit
+
+[7] TI/Logic PD Zoom 2
+
+http://www.logicpd.com/sites/default/files/1012659A_Zoom_OMAP34x-II_MDP_Brief.pdf
+[8] TI OMAP3 U-Boot:
 
 http://beagleboard.googlecode.com/files/u-boot_beagle_revb.tar.gz