summaryrefslogtreecommitdiff
path: root/board/bachmann/ot1200/ot1200.c
Commit message (Collapse)AuthorAgeLines
* ot1200: setup i2c bus 1 in setup_iomux_i2c()Christian Gmeiner2015-06-08-0/+15
| | | | | | | On this bus there is a EEPROM containing EDID and ddr3 calibration information. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
* ot1200: setup i2c bus in board_early_init_f(..)Christian Gmeiner2015-06-08-18/+22
| | | | | | Make it possible to use the i2c bus in SPL. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
* ot1200: enable spi clock directly in ccgr_init(..)Christian Gmeiner2015-01-22-4/+1
| | | | Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
* ot1200: move ccgr and gpr init to c functionsChristian Gmeiner2015-01-22-0/+28
| | | | | | We need this way for SPL boot. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
* ot1200: make use of imx_ddr_size(..)Christian Gmeiner2015-01-22-1/+2
| | | | | | | To support different ddr3 memory sizes we should start using imx_ddr_size(..) instead of the define PHYS_SDRAM_SIZE. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
* ot1200: Fix error handling in board_mmc_init()Fabio Estevam2014-11-24-4/+6
| | | | | | | | | When an invalid USDHC port is passed we should return -EINVAL instead of 0. Also, return the error immediately on fsl_esdhc_initialize() failure. Cc: Christian Gmeiner <christian.gmeiner@gmail.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
* ot1200: fix card detect for usdhc4Christian Gmeiner2014-11-13-2/+2
| | | | | | | | | | Today I got the final board and found out that a different connector is used as the one on my development board. The new connector has swaped pins for cd and wp. This change is tested on a production ready board. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
* ot1200: rework card detect for eMMCChristian Gmeiner2014-10-30-3/+4
| | | | Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
* ot1200: add support for usdhc4Christian Gmeiner2014-10-30-5/+49
| | | | | | | On the 'mr' variant switching to 'mmc dev 1' will result in "MMC: no card present". Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
* ot1200: add feature padsChristian Gmeiner2014-10-30-0/+15
| | | | | | | | | | | | | | | | The older 'mr' variant and the generic variant of the OT1200 differ in some places. As the name suggests the generic variant supports more boot devices. In order to be compatible with the 'mr' variant we define some 'feature' GPIOs. On the 'mr' variant this pads are not connected so we define their state with the help of the internal pullups. On the generic variant this GPIOs are connected and represent the state of the hardware. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
* ot1200: add sata supportChristian Gmeiner2014-10-23-0/+5
| | | | | | One of the possible boot devices can be sata. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
* ot1200: fix sf detectionChristian Gmeiner2014-10-23-0/+5
| | | | | | | | | | | Commit 155fa9af95ac5be857a7327e7a968a296e60d4c8 changed the way to define a GPIO line, which can be used to force CS high across multiple transactions. In order to fix sf detection change board code to make use of board_spi_cs_gpio(..). Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Acked-by: Stefano Babic <sbabic@denx.de> Acked-by: Nikita Kiryanov <nikita@compulab.co.il>
* imx6: add Bachmann OT1200 boardChristian Gmeiner2014-10-06-0/+251
This patch adds support for the OT1200 series of devices. Following components are used in u-boot: + ethernet + i2c + emmc + gpio For more details see README. Changes v1 > v2 - make use of enable_cspi_clock(..) - fix usage of OUTPUT_40OHM define - added README Changes v2 > v3 - improve spelling in README - added own copy of mx6q_4x_mt41j128.cfg Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>