]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - doc/README.omap3
Fix compile warning in uli526x driver
[people/ms/u-boot.git] / doc / README.omap3
index 30dc51ee21360cd4d07403963d17e7b74af80538..6227151f8e974878459ea05ad92ce1ba0c2415a7 100644 (file)
@@ -17,6 +17,10 @@ Currently the following boards are supported:
 
 * OpenPandora Ltd. Pandora [5]
 
+* TI/Logic PD Zoom MDK [6]
+
+* TI/Logic PD Zoom 2 [7]
+
 Toolchain
 =========
 
@@ -47,6 +51,16 @@ make
 make omap3_pandora_config
 make
 
+* Zoom MDK:
+
+make omap3_zoom1_config
+make
+
+* Zoom 2:
+
+make omap3_zoom2_config
+make
+
 Custom commands
 ===============
 
@@ -70,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 [6] 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
@@ -100,6 +146,13 @@ http://focus.ti.com/docs/toolsw/folders/print/tmdxevm3503.html
 
 http://openpandora.org/
 
-[6] TI OMAP3 U-Boot:
+[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