On Wed, 2015-04-29 at 17:03 +0200, Daniel Kochmański wrote:
> This patch adds a20_nandread command. It is simple function utilizing
> function from SPL nand driver `nand_spl_load_image`.
> 
> Usage: a20_nandread <address> <offset> <bytes>
> 
> Signed-off-by: Daniel Kochmański <dkochman...@turtle-solutions.eu>
> Cc: Ian Campbell <i...@hellion.org.uk>
> Cc: Hans De Goede <hdego...@redhat.com>
> ---
> 
>  common/Kconfig            |  7 +++++++
>  common/Makefile           |  1 +
>  common/cmd_a20_nandread.c | 27 +++++++++++++++++++++++++++
>  3 files changed, 35 insertions(+)
>  create mode 100644 common/cmd_a20_nandread.c

Obviously a real NAND driver would be preferred (even if some
functionality is missing at first), but if for some reason we do need to
support simple read-only access using SPL code in the main U-Boot, what
is a20-specific about this file beyond the use case?

-Scott


_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to