NET: fec_mxc.c: Add support for MII for MX5 SOCs

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Fabio Estevam <fabio.estevam@freescale.com>
arm: Add option to disable code relocation

This permits disabling the code relation in U-Boot which is useful when
debugging with an ICE.

To use it define CONFIG_SYS_SKIP_ARM_RELOCATION in your board.

Signed-off-by: Simon Glass <sjg@chromium.org>
mx6q: Skip the relocation for the ARM2 and SabreLite boards

The boot ROM code copies U-Boot already into the RAM at address
CONFIG_SYS_TEXT_BASE.  To improve the boot time, skip the relocation
(i.e. the copy RAM -> RAM).

ATTENTION: Please read

http://lists.denx.de/pipermail/u-boot/2012-February/117140.html

why you normally don't want this!

Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Add doc/README.kbd

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
README: Fix how to for serial console when CONFIG_CFB_CONSOLE is defined

Fix how to force serial console when CONFIG_CFB_CONSOLE is defined.

Tested on a mx51evk board.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
mx6qsabrelite: Add splashscreen support

Add splashscreen support.

It was used a Hannstar 1024 x 768 LVDS panel that can be connected to the mx6qsabrelite board.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Revert "mx6qsabrelite: Add splashscreen support"

While the splashscreen support is most probably fine, it conflicts
with the kernel IPU driver. So remove it for the moment to be able
to use the kernel IPU driver.

See

http://lists.denx.de/pipermail/u-boot/2012-July/129556.html

Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
mx6qsabrelite: enable DCache and MMC bounce buffer

The recent U-Boot version 2012.07 has improved drivers
(e.g. MMC and network/FEC) regarding DCache handling.
So it should be safe to use the DCache on the i.MX6, now.

Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
phy: add phy_connect_by_mask

It is useful to be able to try a range of
possible phy addresses to connect.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
fec_mxc: use phy_connect_by_mask

Allow board config files to list a range
of possible phy addresses, in case the
exact phy address is not certain.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
mx6qsabrelite: set CONFIG_FEC_MXC_PHYMASK

Different ethernet jacks parts can result in the Micrel
KSZ9021 getting a different phy address. Let's support
all parts.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
i.MX6: add OTP support

Signed-off-by: Thilo Jeremias <tjeremias@de.adit-jv.com>
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
mx6q: Factor out common DDR3 init code

Factor out common DDR3 initialization code, allowing easier maintainance of such
scripts.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
mx6: Add basic support for mx6qsabresd board.

mx6qsabresd is a board based on mx6q SoC with the following features:
- 1GB of DDR3
- 1 USB OTG port
- 1 HDMI output port
- SPI NOR
- LVDS panel
- Gigabit Ethernet
- Camera Connector
- eMMC and SD card slot
- Audio

Add very basic support for it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
i.MX6: get rid of redundant struct src_regs (dupe of struct src)

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
i.MX5/6: change register name for CCM_CHSCCDR to match ref. manual

Register CCM_CHSCCDR (offset 0x34 in CCM) is named CCM_CHSCCDR in
reference manual, but was named chscdr in struct mxc_ccm_reg.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
i.MX6: define bitfields for CHSCCDR register

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
i.MX6: Add ANATOP_PFD_480 bitfield constants

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
i.MX6: provide functional names for CCM_CCGR0-CCGR6 bit fields

Add meaningful constants for each clock channels and use them for
enabling and disabling i.MX6 clocks.

Includes an update to enable/disable the IPU1 clock in
drivers/video/ipu_common to remove IMX5x register access
when used on i.MX6 as discussed in V1:

	http://patchwork.ozlabs.org/patch/185129/

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
i.MX6: define struct iomuxc and IOMUX_GPR2/3 register bitfields