am33xx: fix compiler warning in board_identify

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: revert NAND init changes

- revert changes board specific NAND init introduced in
  463c9de7d0e903132ba8ebff72db6d5404de3f04

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
nand: disable NAND init for piA-AM335x_MMI in driver

- initializing non-existing NAND causes u-boot to freeze

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: show board name in detection routine

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: add nand configuration with 4k page size

- activated by #defining NAND_4K_PAGES
- configuration for Micron NAND devices with 4K page and 256K block size

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: disable testing routines in SPL

- don't waste space with unused function for SPL

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: enable USB support in SPL

- allows booting via USB RNDIS

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: rename E2 config and add board definitions for piA-AM335x

- E2 is a special board type, mark it as such
- piA-AM335x is supposed to be the generic pironex board

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
am335x_pia_e2: update board build config for new HW revision

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x-e2: add initial pinmux and gpio config for PoE

- PoE should be turned off by default

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x: fix compile error

- add header struct as parameter to GPIO init function to allow
  different configurations for different board revisions

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia335x-mmi: disable RMII Refclock signal

- MMI uses full MII without refcklock

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x-mmi: update boards.cfg for new MMI revision 0.2

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x-mmi: update Debug UART pinmux

- use the same function for E2 and MMI, new revision doesn't support
  RTS and CTS lines

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x-mmi: add support for board variants

- during FIRSTSTART initialization we need to define the board variant for
  the EEPROM.
  config[0] == 'B': Basic
  config[0] == 'X': Extended

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>