summaryrefslogtreecommitdiff
path: root/board/davedenx/qong/qong.c
Commit message (Collapse)AuthorAgeLines
* qong: Use generic function for configuring GPR registerFabio Estevam2011-11-11-1/+1
| | | | | | | Use generic function for configuring GPR register. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Stefano Babic <sbabic@denx.de>
* qong: remove unneeded IOMUX settingsFabio Estevam2011-11-03-6/+0
| | | | | | | | | | | | | On qong board some of the USBH2 pins are set via GPR register, so don need to setup the IOMUX for each pin individually. Other than that, these pins should not be configured as primary function because the primary function selects SSI functionality. Let GPR register do the work and remove the unneeded IOMUX setup. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Stefano Babic <sbabic@denx.de>
* qong: Use mx31_set_gpr to setup USBH2 pinsFabio Estevam2011-11-03-1/+1
| | | | | | Instead of writing directly to the GPR register, use mx31_set_gpr to setup USBH2 pins. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
* imx: fix coding styleFabio Estevam2011-10-27-5/+5
| | | | | | | | | Fix checkpatch warning and errors in several i.MX related files. While at it also address a checkpatch warning at arch/arm/cpu/armv7/mx5/soc.c regarding the usage of extern in a C file. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
* MX3: qong: use new pmic driverStefano Babic2011-10-27-3/+8
| | | | | | Switch to new pmic generic driver. Signed-off-by: Stefano Babic <sbabic@denx.de>
* mx31: provide readable WEIM CS accessorHelmut Raiger2011-10-27-53/+33
| | | | | | | | | | | | setup_weimcs() and some macros are added to support the setup for i.MX31 WEIM chip selects. As a compromise between verbosity and readability an ASCII-art'ish bit comment is used instead of bitfields. All i.MX31 boards have been patched to use this approach using a helper program to verify the changes. Signed-off-by: Helmut Raiger <helmut.raiger@hale.at> Acked-by: Stefano Babic <sbabic@denx.de>
* MX31: QONG: make use of GPIO frameworkStefano Babic2011-09-04-19/+17
| | | | Signed-off-by: Stefano Babic <sbabic@denx.de>
* Remove volatile qualifier in get_ram_size() callsAlbert ARIBAUD2011-07-17-1/+1
| | | | | | | | | Checkpatch.pl complains about the volatile qualifier in calls to get_ram_size(). Remove this qualifier in the prototype and in the calls where it is useless, and leave it only in the function body where it is needed. Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
* IMX: MX31: Cleanup include files and drop nasty #ifdef in driversStefano Babic2011-04-27-2/+2
| | | | | | | | | | As exception among the i.MX processors, the i.MX31 has headers without general names (mx31-regs.h, mx31.h instead of imx-regs.h and clock.h). This requires several nasty #ifdef in the drivers to include the correct header. The patch cleans up the driver and renames the header files as for the other i.MX processors. Signed-off-by: Stefano Babic <sbabic@denx.de>
* MX31: qong: add watchdogStefano Babic2011-04-27-0/+12
| | | | Signed-off-by: Stefano Babic <sbabic@denx.de>
* MX31: Add USB Host support to the QONG boardStefano Babic2010-10-13-0/+33
| | | | Signed-off-by: Stefano Babic <sbabic@denx.de>
* MX31: Add support to update FPGA bitstreamStefano Babic2010-10-13-0/+11
| | | | | | | | The patch adds the possibility to update the QONG FPGA (a Lattice XP2-5E) with u-boot using some GPIOs to drive the JTAG interface. Signed-off-by: Stefano Babic <sbabic@denx.de>
* Use common function to set GPIOs for MX3 and MX5Stefano Babic2010-09-29-14/+15
| | | | | | | | | The patch adds support for setting gpios to the MX51 processor and change name to the corresponding functions for MX31. In this way, it is possible to get rid of nasty #ifdef switches related to the processor type. Signed-off-by: Stefano Babic <sbabic@denx.de>
* ARM: implement relocation for ARM11Heiko Schocher2010-09-19-41/+46
| | | | | | | | | | | | Change the implementation for ARM11 to relocate the code to an arbitrary address in RAM. Tested on the qong board. Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher <hs@denx.de>
* MX31: Add support for PMIC to the QONG moduleStefano Babic2010-05-05-0/+20
| | | | | | | Add support for the PMIC (MC13783) controller and enables charging of the RTC battery. Signed-off-by: Stefano Babic <sbabic@denx.de>
* MX31: Removed erroneous board name from QONGStefano Babic2010-04-30-1/+1
| | | | | | | QONG is a module that can be installed on several boards, not only on the QONG-EVB manufactured by Dave srl. Signed-off-by: Stefano Babic <sbabic@denx.de>
* MX31: Add support for NAND to QONG boardStefano Babic2010-04-30-21/+72
| | | | | | | | The NAND device is connected to the FPGA of the QONG board and not to the NFC controller. For this reason, the FPGA must be set and initialized before accessing to the NAND itself. Signed-off-by: Stefano Babic <sbabic@denx.de>
* Coding Style cleanup; update CHANGELOGWolfgang Denk2009-02-22-2/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* qong: support for Dave/DENX QongEVB-LITE boardIlya Yanok2009-02-10-0/+168
This patch adds support for Dave/DENX QongEVB-LITE i.MX31-based board. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>