MX28: extend print_cpuinfo() to use chip information

The information now is gathered from HW_DIGCTL_CHIPID register and
includes the chip modem and revision on the output.

Series-to: u-boot
Series-version: 4

Series-changes: 4
- change short-description prefix to MX28

Series-changes: 3
- drop mx23 data as it will be posted in a later patch
- fix info order (first rev, then clock)

Series-changes: 2
- use ?? for unidentified revision and cpu type
- use numeric revisions

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
MX28: use a clear name for DDR2 initialization

The mx28 prefix has been added to the initialization data and function
so it is clear by which SoC it is used as i.MX233 will have a specific
one. While on that, we also change it to static.

Series-to: u-boot
Series-version: 3

Series-changes: 3
- change short-description prefix

Series-changes: 2
- use static for the allocation of memory initialization matrix

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
MX28: Check if we are using a valid VBUS for power initialization

Series-to: u-boot
Series-version: 2

Series-changes: 3
- change short-description prefix

Series-changes: 2
- fix when we have vbus OR vdd5v
- improve patch short description
- add comments

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mxs: reorganize source directory for easy sharing of code in i.MXS SoCs

Most code can be shared between i.MX23 and i.MX28 as both are from
i.MXS family; this source directory structure makes easy to share code
among them.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mxs: prefix register acessor macros with 'mxs' prefix

As the register accessing mode is the same for all i.MXS SoCs we ought
to use 'mxs' prefix intead of 'mx28'.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mxs: prefix register structs with 'mxs' prefix

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mxs: Reowork SPL to use 'mxs' prefix for methods

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mxs: rename mx28.c to mxs.c as it is common to i.MX233 and i.MX28 SoCs

Series-to: u-boot
Series-prefix: RFC

Cover-letter:
Rework for mxs SoC family support
This patchset is the basis for inclusion of i.MX233 support on U-Boot.
To accomplish it, this patchset moves code around to create the mxs
SoC family support.

The idea of posting it on the mailing list is to receive comments on
ways to improve the patchset and also try to merge it during the merge
window.
END

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
MX28: rename regs-clkctrl.h to regs-clkctrl-mx28.h

The CLKCTRL registers are SoC specific so we ought to have it clear on
filename.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
MX233: Add MX233 register base addresses

The address space layout is a bit different on MX233.

Signed-off-by: Marek Vasut <marex@denx.de>
MX233: add regs-clkctrl-mx23.h

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
MX233: power: Add comment about registers with same offsets

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
MX233: add support on print_cpuinfo()

Add information to identify i.MX233 chips and its known revisions.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
MX233: add iomux-mx23.h

This has been copied from Linux source at revision 786f02b719f.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
MX233: SPL: Disable i.MX28 specific power code

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx28evk: extend default environment

The environment has been based on mx53loco and m28evk but keeping the
possibility to easy change the default console device as Freescale and
mainline kernels differ on the device name.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx53loco: change default environment to cope with OE changes

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mxsboot: refer to i.MX23/i.MX28 as it works for both SoCs

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
WIP mx23evk: add board information

This adds the i.MX23EVK board to be build. This board has:

 Processor: Freescale i.MX233

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>