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

Simon Glass sjg at chromium.org
Mon Jan 8 03:52:34 UTC 2018


Hi Jagan,

On 27 December 2017 at 23:12, Jagan Teki <jagan at amarulasolutions.com> wrote:
> initialize spi-nor framework during boot, so-that detected
> buses can appears at boot log.
>
> Signed-off-by: Suneel Garapati <suneelglinux at gmail.com>
> Signed-off-by: Jagan Teki <jagan at 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


More information about the U-Boot mailing list