[U-Boot] [PATCH v10 23/27] board_r: initialize spi_nor

Simon Glass
2018-01-08T03:52:34Z

Hi Jagan,

On 27 December 2017 at 23:12, Jagan Teki <jagan@amarulasolutions.com> wrote:
> initialize spi-nor framework during boot, so-that detected
> buses can appears at boot log.
>
> Signed-off-by: Suneel Garapati <suneelglinux@gmail.com>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
> common/board_r.c | 13 +++++++++++++
> drivers/mtd/spi-nor/spi-nor-uclass.c | 17 +++++++++++++++++
> include/linux/mtd/spi-nor.h | 1 +
> 3 files changed, 31 insertions(+)
>

We should rely on driver model to init this when it is first probed,
so this should not be needed.

Regards,
Simon