From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Mon, 18 May 2015 18:52:06 -0500 Subject: [U-Boot] [PATCH 5/5] nand: sunxi: And a20_nandread command utilizing spl nand read driver In-Reply-To: <1430319781-15375-6-git-send-email-dkochmanski@turtle-solutions.eu> References: <1430319781-15375-1-git-send-email-dkochmanski@turtle-solutions.eu> <1430319781-15375-6-git-send-email-dkochmanski@turtle-solutions.eu> Message-ID: <1431993126.27761.40.camel@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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
> > Signed-off-by: Daniel Kochma?ski > Cc: Ian Campbell > Cc: Hans De Goede > --- > > 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