mtdparts: use 64-bit for size to allow >4GiB partitions

Can't believe nobody noticed this before, but Michal caught it when he
was doing his i.MX6 GPMI support. This does things a little bit
differently regarding the printing of partitions in cmd_mtdparts and
provides some weird values that Michal's patch did not. I need to
investigate whether U-Boot can even print a 64-bit value (%lx or so)
in it's vsprintf support.

This at least gets mtdparts working once NAND is probed.

Signed-off-by: Matt Sealey <matt@genesi-usa.com>
nand ids: remove our Micron NAND as we want ONFI detection..

Signed-off-by: Matt Sealey <matt@genesi-usa.com>
onfi: rework ONFI detection a bit to work with mxc_nand

chip->read_buf can't work on mxc_nand without a known writesize so use
read_byte instead to grab all the data.

Use standard string comparison to compare ONFI string.

Minor improvements/changes.

A lot of debug litter. Sorry.

Signed-off-by: Matt Sealey <matt@genesi-usa.com>
mxc_nand: change read parameter page & read id functionality

i.MX NFC does READID by toggling 6 read enables on the bus, which for
a Micron NAND won't work so well because it's ID has 8 bytes (although
the last 3 are basically unused, it doesn't matter, but it's still
wrong).

Therefore use standard NFC auto mode for atomic reads which will grab
us up to the page size worth of data. Tests on Micron NAND show that
the column counter inside the chip wraps at the end of the data so
what you get is basically however many bytes the command returns all
constantly repeated throughout the NFC buffer (for ONFI ID, it will
basically say ONFIONFIONFIONFI.. even though you only care about 4
bytes).

This also fix it so it passes a column, since ONFI read needs to come
from 0x20 and not NFC auto read-id's hardcoded address cycle of 0x0,
according to the ONFI specification, reading 36 bytes and then looking
at the end for "ONFI" is not how you're meant to do it.

There was no support for ONFI parameter page reads (and no auto-mode
atomic read speciality cycle generator for ONFI), so add that too.

ONFI NAND will autodetect now and all the parameters match the actual
chip exactly on MT29F32G08CBACAWP chip (4GiB)

Signed-off-by: Matt Sealey <matt@genesi-usa.com>
clean up config file for ONFI NAND

Disable EFI and FAT since it's pushing our U-Boot over 256KiB even
in Thumb2 mode, which won't be loaded properly by the Housekeeper
until we update the Housekeeper..

Signed-off-by: Matt Sealey <matt@genesi-usa.com>