[U-Boot] [PATCH 01/13] mxc nand: Merge mtd and spl register definitions

Stefano Babic
2012-08-14T08:37:23Z

On 13/08/2012 22:48, Beno?t Th?baudeau wrote:
> This patches fixes the TODO to use same register definitions in mtd mxc_nand and
> nand_spl fsl nfc drivers.
>
> Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
> Cc: Scott Wood <scottwood@freescale.com>
> Cc: Stefano Babic <sbabic@denx.de>
> ---

Hi Beno?t,

before going deeper in the review there is a general issue.

nand_spl was used in the past and it was the first implementation to
have a first loader able to copy u-boot into RAM when the SOC boots from
NAND. It is replaced by the general SPL framework. All new
implementations must use the new SPL framework, What you see under
nand_spl is referred to already supported boards.

With general SPL, we do not have two drivers for NAND, and we are able
to boot from other devices, too. So it makes no sense to try to uniform
the driver under nand_spl with the main driver, we want to use only the
main driver.

Best regards,
Stefano Babic

--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================