mxs: Rename CONFIG_SPL_MX28_PSWITCH_WAIT to CONFIG_SPL_MXS_PSWITCH_WAIT

The power switch option is compatible with i.MX23 and i.MX28 so the
configration option needs to reflect it. We choose
'CONFIG_SPL_MXS_PSWITCH_WAIT' for the option name.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Marek Vasut <marex@denx.de>
mx23: Document the tRAS lockout setting in memory initialization

Add a comment about the tRAS lockout setting of HW_DRAM_CTL08 to
enable the 'Fast Auto Pre-Charge' found in the memory chip. The
setting is applied after memory initialization and it is worth
document it.

Series-changes: 3
- Extend code comment to be more verbose (Marek)

Series-changes: 2
- Extend code comment to explicit say it needs to be there.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx23evk: Adjust DRAM control register to use full 128MB of RAM

Adjust HW_DRAM_CTL14 to enable the chip selects to allow usage of full
128MB of RAM.

Series-notes:
The DRAM control register change has been kept specific to mx23evk as
it breaks mx23_olinuxino (as it than reads only 16MB)
END

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
led: Use STATUS_LED_ON and STATUS_LED_OFF when calling __led_set

This fixes the gpio_led driver which needs to compare againt a
STATUS_LED_ON to enable a led.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mxs: Fix iomux.h to not break build during assembly stage

This fixes the build failure when included in mx23_olinuxino.h board
config; the addition of "asm/types.h" is due "u32" being otherwise
undefined.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx23_olinuxino: Add support for status LED

This allow user to know if the bootloader is running, even without a
serial console.

Series-changes: 2
- Use MUX pin name - Requested by Marek

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
usb: mxs: Adapt code for i.MX23 support

The i.MX23 just one USB port so we shouldn't mess up with PLL1CTRL and
USB1 port when building for i.MX23.

Series-changes: 4
- Rework soc_ehci_hcd_{enable,disable}_clock to mxs_ehci_hcd_clock (Fabio / Marek)

Series-changes: 3
- Improve commit log
- Move code to enable/disable clock to soc_ehci_hcd_{enable,disable}_clock
- Proper use mx23 clock registers

Series-changes: 2
- Avoid wrong clock setting in MX23

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx23evk: Enable USB support

This enabled USB support for the mx23evk board.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx23_olinuxino: Enable USB support

This enabled USB support for the mx23_olinuxino board.

Series-changes: 2
- Add changes for allow use of the USB hub

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
mx23_olinuxino: Add ethernet support

This adds support to the LAN9512 chip included in the board and extend
the environment to easy netboot use.

Series-to: u-boot
Series-version: 4
Series-changes: 2
- Remove extra newline

Cover-letter:
mx23/mxs pending patches

This patchset includes the pending patches we have in our tree. It
fixes issues for mx23evk and mx23_olinuxino boards.
END

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