[U-Boot] [PATCH 2/6] nand: Add SPL_NAND support to mxc_nand_spl

Philip Paeps
2013-04-19T13:00:13Z

On 2013-04-19 06:10:51 (+0200), Marek Vasut <marex@denx.de> wrote:
> To avoid the old function which are used with the nand_spl/ stuff
> getting in the way of NAND SPL framework, the macro
> CONFIG_SPL_NAND_LEGACY was introduced and two remaining legacy
> boards were adjusted. These board need to be either fixed or
> removed in the long run, but I don't have either.

It sounds like "fixing" these boards is mainly a matter of confirming
that a configuration for them based around CONFIG_SPL_FRAMEWORK will fit
in 2K. If so, I don't think there is any reason to keep legacy support
around.

> +void nand_init(void) {}
> +void nand_deselect(void) {}

Couldn't you just rename nfc_nand_init() to nand_init()?

- Philip

--
Philip Paeps
Senior Reality Engineer
Ministry of Information