[U-Boot] [PATCH 5/5] nand: sunxi: And a20_nandread command utilizing spl nand read driver

Hans de Goede hdegoede at redhat.com
Tue May 5 11:45:43 CEST 2015


Hi,

On 05-05-15 11:17, Daniel Kochmański wrote:
>
> Hans de Goede writes:
>
>> Hi,
>>
>> On 05/02/2015 04:26 PM, Ian Campbell wrote:
>>> 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>
>>>
>>> This stuff should really be integrated with cmd_nand.c rather than
>>> adding an adhoc SoC specific interface.
>>
>> I want to go even further and I see that this really needs to be integrated
>> with the blkdev code so that one can just do:
>>
>> ls nand 0:1
>>
>> And things will just work, these way we can also just have the standard
>> boot cmds from config_distro_bootcmd.h work rather then needing special
>> nand boot commands.
>>
>> Regards,
>>
>> Hans
>>
>
> It was more a convenient function then proper integration.

I understand but for upstream nand support we really want a proper solution,
note that I'm find with having the nand support being read only, but it
should really be integrated enough that things like:

ls nand 0:1

Will work.


> I'll look
> into that, but it may take time - I'm quite unfamiliar with U-Boot nand
> interface.

Thanks!

Regards,

Hans


More information about the U-Boot mailing list