ut unfortunately I won't be able to verify
them all with the Linux drivers, due to time constraints.
It can always be done later as a part of a separate patchset with a
Linux driver.
I will submit another version of this patchset later today.
I will follow your suggestion to create a new thread for that.
> Boris
>
Best regards
*Piotr Zierhoffer*
Antmicro Ltd | www.antmicro.com
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
ivers, as we have tegra_nand.h and
atmel_nand_ecc.h, never used elsewhere apart from their corresponding
*.c files.
Especially if we'd have two drivers, one header will be needed.
But if that would ease your work, I'll merge sunxi_nand.h to
sunxi_nand.c and rename it as you suggest.
This driver adds NAND support to SPL.
It was tested on Allwinner A20.
Signed-off-by: Peter Gielda
Signed-off-by: Tomasz Gorochowik
Signed-off-by: Mateusz Holenko
Signed-off-by: Piotr Zierhoffer
Signed-off-by: Karol Gugala
---
Changes in v3:
- renamed the driver file
- renamed constants to
From: Karol Gugala
To enable NAND flash in sunxi SPL,
pins 0-6, 8-22 and 24 on port C are configured.
Signed-off-by: Karol Gugala
Signed-off-by: Piotr Zierhoffer
---
Changes in v3:
- moved pinmux and clock to board level
- code cleanup with significant size reduction
Changes in v2: None
As SPL does not know which source to choose when booting U-Boot, choose
NAND if it is capable of doing so.
Signed-off-by: Peter Gielda
Signed-off-by: Tomasz Gorochowik
Signed-off-by: Mateusz Holenko
Signed-off-by: Piotr Zierhoffer
Signed-off-by: Karol Gugala
---
Changes in v3:
- none
When SPL_NAND_SUNXI option is selected in config, set some configuration
options for sunxi NAND.
This commit also introduces the configurable options in Kconfig.
Signed-off-by: Peter Gielda
Signed-off-by: Tomasz Gorochowik
Signed-off-by: Mateusz Holenko
Signed-off-by: Piotr Zierhoffer
Signed
/mtd/nand
- reworded Kconfig entry help
Karol Gugala (1):
sunxi: nand: Add pinmux and clock settings for NAND support
Piotr Zierhoffer (3):
sunxi: nand: Add basic sunxi NAND driver for SPL with DMA support
sunxi: nand: Add board configuration options
sunxi: nand: Add information to sunxi that
rds
Piotr Zierhoffer,
Antmicro Ltd | www.antmicro.com
*Piotr Zierhoffer*
mobile: +48 696 419 606
Antmicro Ltd | www.antmicro.com
Zwierzyniecka 3, 60-813 Poznan, Poland
2015-07-23 16:04 GMT+02:00 Marek Vasut :
> On Thursday, July 23, 2015 at 02:33:00 PM, Piotr Zierhoffer wrote:
>> This is a b
ple spl payload locations
>> to work around the breakage of the bad block marker mechanism, as was
>> discussed.
>
>
> I agree 100%, I've added note to my sunxi todo list for this. Note I only
> have this on my todo list as a reminder, since a few other people a
This is a basic driver for the sunxi NAND controller for Allwinner A20.
It supports both SPL and U-Boot.
The driver uses DMA for data transfers. It does not support writing.
To enable user reading from NADN, the a20_nandread command was added.
Piotr Zierhoffer (4):
sunxi: nand: Add basic
From: Piotr Zierhoffer
This driver adds NAND support to both SPL and full U-Boot.
It was tested on AllWinner A20.
Signed-off-by: Peter Gielda
Signed-off-by: Tomasz Gorochowik
Signed-off-by: Mateusz Holenko
Signed-off-by: Piotr Zierhoffer
---
board/sunxi/Makefile | 1 +
board/sunxi
From: Piotr Zierhoffer
When SUNXI_NAND option is selected in config, set some configuration
options for sunxi NAND.
This commit also introduces the configurable options in Kconfig.
Signed-off-by: Peter Gielda
Signed-off-by: Tomasz Gorochowik
Signed-off-by: Mateusz Holenko
Signed-off-by
As SPL does not know which source to choose when booting U-Boot, choose
NAND if it is capable of doing so.
Signed-off-by: Peter Gielda
Signed-off-by: Tomasz Gorochowik
Signed-off-by: Mateusz Holenko
Signed-off-by: Piotr Zierhoffer
---
arch/arm/cpu/armv7/sunxi/board.c | 4
1 file
From: Piotr Zierhoffer
The usage of the command is:
a20_nandread
It allows user to copy data from NAND to memory. It employs
nand_spl_load_image from the sunxi NAND driver.
It is added only when the NAND support is enabled.
Signed-off-by: Peter Gielda
Signed-off-by: Tomasz Gorochowik
2015-07-16 23:15 GMT+02:00 Scott Wood :
> On Thu, 2015-07-16 at 13:25 +0200, Piotr Zierhoffer wrote:
>> From: Piotr Zierhoffer
>>
>> This driver adds NAND support to both SPL and full U-Boot.
>> It was tested on AllWinner A20.
>
> It looks a lot like an SPL-only
Hello
2015-07-16 23:20 GMT+02:00 Scott Wood :
> On Thu, 2015-07-16 at 13:25 +0200, Piotr Zierhoffer wrote:
>> Signed-off-by: Peter Gielda
>> Signed-off-by: Tomasz Gorochowik
>> Signed-off-by: Mateusz Holenko
>> Signed-off-by: Piotr Zierhoffer
>
> Why does th
From: Piotr Zierhoffer
This driver adds NAND support to SPL.
It was tested on AllWinner A20.
Signed-off-by: Peter Gielda
Signed-off-by: Tomasz Gorochowik
Signed-off-by: Mateusz Holenko
Signed-off-by: Piotr Zierhoffer
Signed-off-by: Karol Gugala
---
Changes in v2:
- removed traces of non
As SPL does not know which source to choose when booting U-Boot, choose
NAND if it is capable of doing so.
Signed-off-by: Peter Gielda
Signed-off-by: Tomasz Gorochowik
Signed-off-by: Mateusz Holenko
Signed-off-by: Piotr Zierhoffer
---
Changes in v2:
- none
arch/arm/cpu/armv7/sunxi/board.c
- renamed defines to be more relevant
- moved Kconfig entry for the driver to drivers/mtd/nand
- reworded Kconfig entry help
Piotr Zierhoffer (3):
sunxi: nand: Add basic sunxi NAND driver for SPL with DMA support
sunxi: nand: Add board configuration options
sunxi: nand: Add information to
From: Piotr Zierhoffer
When SPL_NAND_SUNXI option is selected in config, set some configuration
options for sunxi NAND.
This commit also introduces the configurable options in Kconfig.
Signed-off-by: Peter Gielda
Signed-off-by: Tomasz Gorochowik
Signed-off-by: Mateusz Holenko
Signed-off-by
e a20_nandread command (which is a good
> thing IMHO), right ?
This is true. The command was the only non-SPL part, and since it was
not a full driver we have
decided to remove it from this patch set.
Best regards
Piotr Zierhoffer
Antmicro Ltd | www.antmicro.com
_
21 matches
Mail list logo