Re: [U-Boot] [PATCH v3 0/4] sunxi: nand: Basic NAND driver for SPL

2015-08-06 Thread Piotr Zierhoffer
you have mentioned at the moment. Of course we will be willing to help with testing and fixing if anything comes up. Best regards, thank you for your support Piotr Zierhoffer Antmicro Ltd | antmicro.com ___ U-Boot mailing list U-Boot@lists.denx.de http

[U-Boot] [PATCH v3 0/4] sunxi: nand: Basic NAND driver for SPL

2015-07-23 Thread Piotr Zierhoffer
/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

[U-Boot] [PATCH v3 3/4] sunxi: nand: Add board configuration options

2015-07-23 Thread Piotr Zierhoffer
Holenko mhole...@antmicro.com Signed-off-by: Piotr Zierhoffer pzierhof...@antmicro.com Signed-off-by: Karol Gugala kgug...@antmicro.com --- Changes in v3: - added new options in Kconfig to support different chips - changed descriptions to comply with patman rules Changes in v2: - removed traces of non

[U-Boot] [PATCH v3 2/4] sunxi: nand: Add basic sunxi NAND driver for SPL with DMA support

2015-07-23 Thread Piotr Zierhoffer
This driver adds NAND support to SPL. It was tested on Allwinner A20. Signed-off-by: Peter Gielda pgie...@antmicro.com Signed-off-by: Tomasz Gorochowik tgorocho...@antmicro.com Signed-off-by: Mateusz Holenko mhole...@antmicro.com Signed-off-by: Piotr Zierhoffer pzierhof...@antmicro.com Signed-off

[U-Boot] [PATCH v3 1/4] sunxi: nand: Add pinmux and clock settings for NAND support

2015-07-23 Thread Piotr Zierhoffer
From: Karol Gugala kgug...@antmicro.com To enable NAND flash in sunxi SPL, pins 0-6, 8-22 and 24 on port C are configured. Signed-off-by: Karol Gugala kgug...@antmicro.com Signed-off-by: Piotr Zierhoffer pzierhof...@antmicro.com --- Changes in v3: - moved pinmux and clock to board level - code

[U-Boot] [PATCH v3 4/4] sunxi: nand: Add information to sunxi that it was run from NAND in SPL

2015-07-23 Thread Piotr Zierhoffer
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 pgie...@antmicro.com Signed-off-by: Tomasz Gorochowik tgorocho...@antmicro.com Signed-off-by: Mateusz Holenko mhole...@antmicro.com Signed-off-by: Piotr

Re: [U-Boot] [PATCH v3 0/4] sunxi: nand: Basic NAND driver for SPL

2015-07-23 Thread Piotr Zierhoffer
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 ma...@denx.de: On Thursday, July 23, 2015 at 02:33:00 PM, Piotr Zierhoffer wrote: This is a basic

Re: [U-Boot] [PATCH v2 1/3] sunxi: nand: Add basic sunxi NAND driver for SPL with DMA support

2015-07-22 Thread Piotr Zierhoffer
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

Re: [U-Boot] [PATCH v2 1/3] sunxi: nand: Add basic sunxi NAND driver for SPL with DMA support

2015-07-22 Thread Piotr Zierhoffer
*.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. Best regards Piotr Zierhoffer Antmicro Ltd | www.antmicro.com ___ U-Boot

[U-Boot] [PATCH v2 1/3] sunxi: nand: Add basic sunxi NAND driver for SPL with DMA support

2015-07-20 Thread Piotr Zierhoffer
From: Piotr Zierhoffer piotr.zierhof...@cs.put.poznan.pl This driver adds NAND support to SPL. It was tested on AllWinner A20. Signed-off-by: Peter Gielda pgie...@antmicro.com Signed-off-by: Tomasz Gorochowik tgorocho...@antmicro.com Signed-off-by: Mateusz Holenko mhole...@antmicro.com Signed

[U-Boot] [PATCH v2 3/3] sunxi: nand: Add information to sunxi that it was run from NAND in SPL

2015-07-20 Thread Piotr Zierhoffer
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 pgie...@antmicro.com Signed-off-by: Tomasz Gorochowik tgorocho...@antmicro.com Signed-off-by: Mateusz Holenko mhole...@antmicro.com Signed-off-by: Piotr

[U-Boot] [PATCH v2 0/3] sunxi: nand: Basic NAND driver for SPL

2015-07-20 Thread Piotr Zierhoffer
- 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

[U-Boot] [PATCH v2 2/3] sunxi: nand: Add board configuration options

2015-07-20 Thread Piotr Zierhoffer
From: Piotr Zierhoffer piotr.zierhof...@cs.put.poznan.pl 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 pgie...@antmicro.com Signed-off-by: Tomasz

Re: [U-Boot] [PATCH v2 0/3] sunxi: nand: Basic NAND driver for SPL

2015-07-20 Thread Piotr Zierhoffer
dropped the 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

Re: [U-Boot] [PATCH 1/4] sunxi: nand: Add basic sunxi NAND driver with DMA support

2015-07-17 Thread Piotr Zierhoffer
2015-07-16 23:15 GMT+02:00 Scott Wood scottw...@freescale.com: On Thu, 2015-07-16 at 13:25 +0200, Piotr Zierhoffer wrote: From: Piotr Zierhoffer piotr.zierhof...@cs.put.poznan.pl This driver adds NAND support to both SPL and full U-Boot. It was tested on AllWinner A20. It looks a lot like

Re: [U-Boot] [PATCH 3/4] sunxi: nand: Add a20_nandread command to load image from NAND in SPL

2015-07-17 Thread Piotr Zierhoffer
Hello 2015-07-16 23:20 GMT+02:00 Scott Wood scottw...@freescale.com: On Thu, 2015-07-16 at 13:25 +0200, Piotr Zierhoffer wrote: Signed-off-by: Peter Gielda pgie...@antmicro.com Signed-off-by: Tomasz Gorochowik tgorocho...@antmicro.com Signed-off-by: Mateusz Holenko mhole...@antmicro.com

[U-Boot] [PATCH 0/4] sunxi: nand: Basic NAND driver with SPL support

2015-07-16 Thread Piotr Zierhoffer
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

[U-Boot] [PATCH 1/4] sunxi: nand: Add basic sunxi NAND driver with DMA support

2015-07-16 Thread Piotr Zierhoffer
From: Piotr Zierhoffer piotr.zierhof...@cs.put.poznan.pl This driver adds NAND support to both SPL and full U-Boot. It was tested on AllWinner A20. Signed-off-by: Peter Gielda pgie...@antmicro.com Signed-off-by: Tomasz Gorochowik tgorocho...@antmicro.com Signed-off-by: Mateusz Holenko mhole

[U-Boot] [PATCH 4/4] sunxi: nand: Add information to sunxi that it was run from NAND in SPL

2015-07-16 Thread Piotr Zierhoffer
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 pgie...@antmicro.com Signed-off-by: Tomasz Gorochowik tgorocho...@antmicro.com Signed-off-by: Mateusz Holenko mhole...@antmicro.com Signed-off-by: Piotr

[U-Boot] [PATCH 3/4] sunxi: nand: Add a20_nandread command to load image from NAND in SPL

2015-07-16 Thread Piotr Zierhoffer
From: Piotr Zierhoffer piotr.zierhof...@cs.put.poznan.pl The usage of the command is: a20_nandread address offset bytes 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

[U-Boot] [PATCH 2/4] sunxi: nand: Add board configuration options

2015-07-16 Thread Piotr Zierhoffer
From: Piotr Zierhoffer piotr.zierhof...@cs.put.poznan.pl 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 pgie...@antmicro.com Signed-off-by: Tomasz