[PATCH] ARM: atmel: sama5d4_xplained: switch to env2

2015-03-10 Thread Bo Shen
Switch sama5d4 xplained board to use default environment 2. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boards/sama5d4_xplained/env/boot/mmc | 8 + arch/arm/boards/sama5d4_xplained/env/boot/nand | 8 + arch/arm/boards/sama5d4_xplained/env/config| 42

Re: mtd partition handling updates

2015-02-12 Thread Bo Shen
, test OK with Doug's patch on sama5d4ek board. Tested-by: Bo Shen voice.s...@atmel.com commands/partition.c | 104 + defaultenv/defaultenv-2-base/bin/mtdparts-add | 15 +- drivers/mtd/core.c| 213

Re: [PATCH] SAMA5D4EK - Now uses the new environment.

2015-02-12 Thread Bo Shen
@@ -494,6 +494,7 @@ choice config MACH_SAMA5D4EK bool Atmel SAMA5D4 Evaluation Kit + select HAVE_DEFAULT_ENVIRONMENT_NEW help Select this if you are using Atmel's SAMA5D4-EK Evaluation Kit. Best Regards, Bo Shen

Re: [PATCH 1/2] SAMA5D4EK - Now mostly supports booting Android from NAND.

2015-02-10 Thread Bo Shen
(if support is compiled in) PS1=\e[1;32mbarebox@\e[1;31m\h:\w\e[0m\n# Best Regards, Bo Shen ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

[PATCH] ARM: atmel: sama5d4 xplained: correc env path

2015-02-10 Thread Bo Shen
Correct the environment path for sama5d4 xplained board. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/configs/sama5d4_xplained_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/configs/sama5d4_xplained_defconfig b/arch/arm/configs

Re: [PATCH 1/2] SAMA5D4EK - Now mostly supports booting Android from NAND.

2015-02-10 Thread Bo Shen
Doug Best Regards, Bo Shen ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH 2/2] Switched SAMA5D4EK development board to the newer environment method.

2015-02-10 Thread Bo Shen
let Doug to keep the default boot from net? I did send patch for this in the past but they did not hit the mainline Can you point us this? Thanks. Best Regards, J. Best Regards, Bo Shen ___ barebox mailing list barebox@lists.infradead.org

Re: [PATCH] ARM: atmel: sama5d4 xplained: correc env path

2015-02-10 Thread Bo Shen
Hi Sascha, I found there is a typo error in subject. s/correc/correct Can you help fix it? Thanks. On 02/10/2015 05:36 PM, Sascha Hauer wrote: On Tue, Feb 10, 2015 at 04:04:01PM +0800, Bo Shen wrote: Correct the environment path for sama5d4 xplained board. Signed-off-by: Bo Shen voice.s

[PATCH] ARM: atmel: at91sam9n12: add subtype support

2015-02-05 Thread Bo Shen
As the at91sam9n12 series includes at91sam9n12, at91sam9cn11, at91sam9cn12. So, add subtype to distinguish them. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/mach-at91/include/mach/cpu.h | 7 +++ arch/arm/mach-at91/setup.c| 17 + 2 files changed, 24

[PATCH] usb: at91_udc: pass the vbus initial value

2015-02-04 Thread Bo Shen
If without pass the vbus initial value, the vbus status alway present as 0 even if the vbus is connected to 5v. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/usb/gadget/at91_udc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget

[PATCH] ARM: atmel: at91sam9n12ek: correct udc device name

2015-02-04 Thread Bo Shen
The created device name for atmel udc is at91_udc while not at91_udc0. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boards/at91sam9n12ek/env/bin/init_board | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boards/at91sam9n12ek/env/bin/init_board b

Re: Passing kernel arguments - SAMA5D4EK

2015-02-03 Thread Bo Shen
environment is board specific and your board isn't converted yet. If you are interested I can show you the steps to convert it. I am interested in this, could you show me the steps to convert it? Thanks. Sascha Best Regards, Bo Shen ___ barebox

[PATCH] ARM: atmel: sama5d4: nand: add has_pmecc parameter

2015-01-28 Thread Bo Shen
Add the missing has_pmecc parameter for sama5d4 based boards. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c | 1 + arch/arm/boards/sama5d4ek/sama5d4ek.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/boards

Re: [PATCH] ARM: atmel: sama5d3xek: fix conflict between w1 and led

2015-01-23 Thread Bo Shen
Hi J, On 01/23/2015 03:58 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On Jan 21, 2015, at 6:03 PM, Bo Shen voice.s...@atmel.com wrote: Hi J, On 01/21/2015 05:56 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On Jan 21, 2015, at 5:41 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Tue

Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id

2015-01-21 Thread Bo Shen
On 01/22/2015 01:12 PM, Bo Shen wrote: Hi J, On 01/22/2015 12:35 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On Jan 21, 2015, at 11:07 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Jan 19, 2015 at 12:39:39PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: On 17:54 Mon 19 Jan

Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id

2015-01-21 Thread Bo Shen
Hi J, On 01/22/2015 12:35 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On Jan 21, 2015, at 11:07 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Jan 19, 2015 at 12:39:39PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: On 17:54 Mon 19 Jan , Bo Shen wrote: On the SAMA5D33

[PATCH] ARM: atmel: sama5d3xek: let emac auto detect phy addr

2015-01-21 Thread Bo Shen
On the SAMA5D35 the EMAC phy addr is 1 while not 0. So, let the EMAC auto detect phy addr, or else hard code to 0, the ethernet can not work on SAMA5D35 board. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boards/sama5d3xek/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [PATCH] ARM: atmel: sama5d3xek: fix conflict between w1 and led

2015-01-21 Thread Bo Shen
Hi J, On 01/21/2015 05:56 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On Jan 21, 2015, at 5:41 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Tue, Jan 20, 2015 at 03:31:25PM +0800, Bo Shen wrote: As the 1-wire and LED d2 use the same pin (PE25) on the EK board. So, make LED enable only

Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id

2015-01-19 Thread Bo Shen
Hi J, On 01/19/2015 07:39 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On 17:54 Mon 19 Jan , Bo Shen wrote: On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7. So, let the GMAC auto detect phy id, or else hard code to 7, it can not work on these two boards. Signed-off-by: Bo

[PATCH] ARM: atmel: sama5d3xek: fix conflict between w1 and led

2015-01-19 Thread Bo Shen
As the 1-wire and LED d2 use the same pin (PE25) on the EK board. So, make LED enable only when the 1-wire is disabled. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boards/sama5d3xek/init.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boards/sama5d3xek/init.c

[PATCH] ARM: atmel: sama5d4 xplained: fix mci1 power pin

2015-01-19 Thread Bo Shen
Correct the mci1 power pin from PE15 to PE4. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c b/arch/arm/boards

[PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id

2015-01-19 Thread Bo Shen
On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7. So, let the GMAC auto detect phy id, or else hard code to 7, it can not work on these two boards. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boards/sama5d3xek/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 2/2] ARM: atmel: sama5d4ek: correct the typo

2015-01-14 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boards/sama5d4ek/sama5d4ek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boards/sama5d4ek/sama5d4ek.c b/arch/arm/boards/sama5d4ek/sama5d4ek.c index bbc53c6..1e7c08c 100644 --- a/arch/arm/boards/sama5d4ek

[PATCH 1/2] ARM: atmel: sama5d4 xplained: correct the name

2015-01-14 Thread Bo Shen
Correct the function and board name for sama5d4 xplained board. Signed-off-by: Bo Shen voice.s...@atmel.com --- .../arm/boards/sama5d4_xplained/sama5d4_xplained.c | 24 +++--- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm/boards/sama5d4_xplained

[PATCH] ARM: atmel: add sama5d4 xplained ultra board support

2014-10-29 Thread Bo Shen
The sama5d4 xplained ultra board support following features: - NAND flash support - SPI flash support - MMC card support (MCI1) - LCD display support (with QT1070) - Ethernet support Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boards/Makefile

Re: [PATCH 4/7] arm: at91: remove unused variable

2014-10-20 Thread Bo Shen
Hi Lucas, On 10/21/2014 02:15 AM, Lucas Stach wrote: Signed-off-by: Lucas Stach d...@lynxeye.de Acked-by: Bo Shen voice.s...@atmel.com --- arch/arm/mach-at91/clock.c | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c index

[PATCH v2 1/4] net: macb: enable GEM with only FE feature

2014-09-23 Thread Bo Shen
for RGMII/GMII. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - using the same bit for RMII/MII configuration for GEM only with FE feature. drivers/net/macb.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index

[PATCH v2 0/4] ARM: at91: add sama5d4ek board support

2014-09-23 Thread Bo Shen
the configuration for GEM with only FE feature enable. Bo Shen (4): net: macb: enable GEM with only FE feature ARM: at91: add sama5d4 soc support #1 ARM: at91: add sama5d4 soc support #2 ARM: at91: add sama5d4ek board support arch/arm/boards/Makefile | 1 + arch/arm/boards

[PATCH v2 3/4] ARM: at91: add sama5d4 soc support #2

2014-09-23 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - Using clkdev_add_physbase to define GPIO clock. arch/arm/mach-at91/include/mach/sama5d4.h | 134 arch/arm/mach-at91/sama5d4.c | 304 ++ arch/arm/mach-at91/sama5d4_devices.c | 495

[PATCH v2 2/4] ARM: at91: add sama5d4 soc support #1

2014-09-23 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - Multi line the #define arch/arm/mach-at91/clock.c | 58 +++--- arch/arm/mach-at91/clock.h | 2 +- arch/arm/mach-at91/include/mach/at91_pmc.h | 1 + arch/arm/mach-at91

[PATCH v2 4/4] ARM: at91: add sama5d4ek board support

2014-09-23 Thread Bo Shen
Add Atmel sama5d4ek board support, which include following features: - NAND flash support - SPI flash support - MMC card support (MCI1) - LCD display support (with QT1070) - Ethernet support Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - Add new LED D9. arch/arm

Re: [PATCH 7/9] ARM: at91: add sama5d4 soc support #1

2014-09-22 Thread Bo Shen
Hi Sascha, On 09/18/2014 02:10 PM, Sascha Hauer wrote: On Wed, Sep 17, 2014 at 06:21:33PM +0800, Bo Shen wrote: Signed-off-by: Bo Shen voice.s...@atmel.com --- diff --git a/arch/arm/mach-at91/sam9_smc.c b/arch/arm/mach-at91/sam9_smc.c index 9f02807..5df7109 100644 --- a/arch/arm/mach-at91

Re: [PATCH 5/9] net: macb: using default value for FBLDO

2014-09-21 Thread Bo Shen
Hi Sascha, On 09/22/2014 12:59 PM, Sascha Hauer wrote: On Wed, Sep 17, 2014 at 06:21:31PM +0800, Bo Shen wrote: Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/net/macb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 12a2a3c

[PATCH 0/9] ARM: at91: add sama5d4ek board support

2014-09-17 Thread Bo Shen
This patch series add Atmel new SoC SAMA5D4 support, which embedded the Cortex-A5 core. This patch series also add the EK board base on SAMA5D4 SoC support. Bo Shen (9): ARM: at91: move pmc base address into soc header ARM: atmel: sama5d3 is a family member of sama5 ARM: at91: clock: use

[PATCH 4/9] nand: atmel: runtime to generate galois table

2014-09-17 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/mtd/nand/atmel_nand.c | 121 -- 1 file changed, 117 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 1e7c6c6..fa4fac2 100644

[PATCH 8/9] ARM: at91: add sama5d4 soc support #2

2014-09-17 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/mach-at91/include/mach/sama5d4.h | 134 arch/arm/mach-at91/sama5d4.c | 303 ++ arch/arm/mach-at91/sama5d4_devices.c | 495 ++ 3 files changed, 932 insertions(+) create

[PATCH 6/9] mci: atmel: add new ip version 0x600 support

2014-09-17 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/mci/atmel_mci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mci/atmel_mci.c b/drivers/mci/atmel_mci.c index 36107a6..b36fbe3 100644 --- a/drivers/mci/atmel_mci.c +++ b/drivers/mci/atmel_mci.c @@ -511,6 +511,7 @@ static void

[PATCH 5/9] net: macb: using default value for FBLDO

2014-09-17 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/net/macb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 12a2a3c..ef49f74 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -304,7 +304,6 @@ static void macb_configure_dma(struct

[PATCH 9/9] ARM: at91: add sama5d4ek board support

2014-09-17 Thread Bo Shen
Add Atmel sama5d4ek board support, which include following features: - NAND flash support - SPI flash support - MMC card support (MCI1) - LCD display support (with QT1070) - Ethernet support Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boards/Makefile

[PATCH 2/9] ARM: atmel: sama5d3 is a family member of sama5

2014-09-17 Thread Bo Shen
As the sama5d3 is a family member of sama5, so only check sama5 family. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/mach-at91/include/mach/cpu.h | 2 +- arch/arm/mach-at91/setup.c| 2 +- arch/arm/mach-at91/soc.h | 2 +- 3 files changed, 3 insertions(+), 3

[PATCH 1/9] ARM: at91: move pmc base address into soc header

2014-09-17 Thread Bo Shen
As the PMC base address may be different between each SoC, so move them to SoC header. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/mach-at91/include/mach/at91rm9200.h | 1 + arch/arm/mach-at91/include/mach/at91sam9260.h | 2 ++ arch/arm/mach-at91/include/mach/at91sam9261.h | 1

[PATCH 3/9] ARM: at91: clock: use cpu_has_pcr for pcr1 checking

2014-09-17 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/mach-at91/clock.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c index 9d2a846..50450f5 100644 --- a/arch/arm/mach-at91/clock.c +++ b/arch/arm

[PATCH 7/9] ARM: at91: add sama5d4 soc support #1

2014-09-17 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/mach-at91/clock.c | 58 +++--- arch/arm/mach-at91/clock.h | 2 +- arch/arm/mach-at91/include/mach/at91_pmc.h | 1 + arch/arm/mach-at91/include/mach/cpu.h | 28

Re: [PATCH 8/9] ARM: at91: add sama5d4 soc support #2

2014-09-17 Thread Bo Shen
will switch to use atmel i2c driver. Best Regards, Bo Shen ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

[PATCH] Makefile: remove never reached code

2014-09-03 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- Makefile | 8 1 file changed, 8 deletions(-) diff --git a/Makefile b/Makefile index 5cd0369..7a7ad38 100644 --- a/Makefile +++ b/Makefile @@ -180,14 +180,6 @@ endif BOOT_NAME=$(BOARDNAME)-$(PROJECT)$(CARD_SUFFIX)boot-$(TARGET_NAME)$(BLOB

Re: [PATCH] Makefile: remove never reached code

2014-09-03 Thread Bo Shen
Hi, Sorry for this noise, it goes wrong to the barebox ML. Please ignore it. On 09/04/2014 09:43 AM, Bo Shen wrote: Signed-off-by: Bo Shen voice.s...@atmel.com --- Makefile | 8 1 file changed, 8 deletions(-) diff --git a/Makefile b/Makefile index 5cd0369..7a7ad38 100644

Re: [PATCH V2 0/2] Add device tree support of i2c Atmel driver

2014-08-06 Thread Bo Shen
and generate the series and send it, then there won't have signed-off issue. (In general, keep my signed-off and add your signed-off if you prefer). Best Regards, Bo Shen ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org

Re: [PATCH V2 0/2] Add device tree support of i2c Atmel driver

2014-08-05 Thread Bo Shen
Hi Raphaël Poggi, On 08/04/2014 05:29 PM, Bo Shen wrote: Hi Raphaël Poggi, On 08/04/2014 05:22 PM, Raphaël Poggi wrote: Hi, I have tested it on a custom board which use a sam9m10 and it worked... Tell me more when we have found something suspicious. I tested on sama5d3xek with qt1070

Re: [PATCH V2 0/2] Add device tree support of i2c Atmel driver

2014-08-05 Thread Bo Shen
Hi Raphaël Poggi, On 08/06/2014 04:05 AM, Raphaël Poggi wrote: I am ready to send a v3. Are you going to send your fix or you want me to squash it in v3 ? Please send it together with your patch. Thanks. Best Regards, Raphaël Poggi Best Regards, Bo Shen

Re: [PATCH] i2c: at91: add at91sam9x5 config

2014-08-04 Thread Bo Shen
Hi Raphaël Poggi, Actually, this is a build fix. On 08/01/2014 09:26 PM, Raphaël Poggi wrote: Signed-off-by: Raphaël Poggi poggi.r...@gmail.com Acked-by: Bo Shen voice.s...@atmel.com --- drivers/i2c/busses/i2c-at91.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers

Re: [PATCH] i2c: at91: add at91sam9x5 config

2014-08-04 Thread Bo Shen
Hi Raphaël Poggi, On 08/04/2014 03:34 PM, Bo Shen wrote: Hi Raphaël Poggi, Actually, this is a build fix. On 08/01/2014 09:26 PM, Raphaël Poggi wrote: Signed-off-by: Raphaël Poggi poggi.r...@gmail.com Acked-by: Bo Shen voice.s...@atmel.com Sorry, can you squash this patch into [PATCH 1

Re: [PATCH V2 0/2] Add device tree support of i2c Atmel driver

2014-08-04 Thread Bo Shen
Hi Raphaël Poggi, I try to manage to make the i2c driver work, however, failed for non device tree. I am still checking it. However, some comments for the patches. Best Regards, Bo Shen On 08/04/2014 04:31 PM, Raphaël Poggi wrote: Change since v1: * Squash the commit [1] which

Re: [PATCH V2 2/2] at91sam9g45: clock: add i2c clocks

2014-08-04 Thread Bo Shen
), Best Regards, Bo Shen ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH V2 0/2] Add device tree support of i2c Atmel driver

2014-08-04 Thread Bo Shen
can not access qt1070, if I use i2c-gpio driver, it works well. I am still working on it, if any news, I will let you know. Best Regards, Bo Shen Thanks for your test. Raphaël Poggi 2014-08-04 11:11 GMT+02:00 Bo Shen voice.s...@atmel.com: Hi Raphaël Poggi, I try to manage to make

Re: [PATCH V2 1/2] i2c: at91: add support of device tree

2014-08-04 Thread Bo Shen
Hi Raphaël Poggi, On 08/04/2014 05:42 PM, Raphaël Poggi wrote: Btw, do you use tab for alignment? Yes, but maybe my vim config is wrong ? (set tabstop=4, set shiftwidth=4, set softtabstop=4) In general, the tabstop = 8. Best Regards, Bo Shen

[PATCH] ARM: atmel: sama5d3_xplained: import smc timing from U-Boot

2014-08-01 Thread Bo Shen
for sama5d3xek to sama5d3_xplained board] Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boards/sama5d3_xplained/init.c | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/arch/arm/boards/sama5d3_xplained/init.c b/arch/arm/boards

[PATCH] Makefile: remove drivers/serial/Makefile.rej file

2014-08-01 Thread Bo Shen
This file is introduced by commit: 949df9c Remove it. Signed-off-by: Bo Shen voice.s...@atmel.com --- This patch is base on the next branch. drivers/serial/Makefile.rej | 7 --- 1 file changed, 7 deletions(-) delete mode 100644 drivers/serial/Makefile.rej diff --git a/drivers/serial

[PATCH] mci: core: the sd1.0 card can work in 4 bits mode

2014-07-29 Thread Bo Shen
The sd 1.0 card can work in 4 bits mode also. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/mci/mci-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c index ce6e590..8221632 100644 --- a/drivers/mci/mci

[PATCH] ARM: at91: clock: fix the pllb checking

2014-07-29 Thread Bo Shen
On at91sam9n12 soc, it has pllb, while on sama5d3 soc, it doesn't has pllb. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/mach-at91/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c index 59c4d11

Re: [PATCH 1/2] mtd: atmel_nand: increase chip_delay

2014-07-17 Thread Bo Shen
Hi Raphael, On 07/17/2014 04:51 PM, Raphael Poggi wrote: Some nand like Micron MT29F32G08ABAAAWP need more than 20us. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com Acked-by: Bo Shen voice.s...@atmel.com --- drivers/mtd/nand/atmel_nand.c |2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 2/2] mtd: atmel_nand: enable PMECC for 8k page nand

2014-07-17 Thread Bo Shen
Hi Raphael, On 07/17/2014 04:51 PM, Raphael Poggi wrote: Enable the PMECC to support 8k page. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com Acked-by: Bo Shen voice.s...@atmel.com --- drivers/mtd/nand/atmel_nand.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

Re: [PATCH 1/2] sama5d3x: fix HSMC MODE register offset and add TIMINGS register

2014-06-24 Thread Bo Shen
good. Thanks again. Best Regards, Bo Shen ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: atmel_nand pmecc on 8k page [RFC]

2014-06-18 Thread Bo Shen
Hi Jean-Christophe PLAGNIOL-VILLARD, On 06/19/2014 12:31 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On 15:19 Mon 16 Jun , Bo Shen wrote: Hi Matteo, On 06/13/2014 08:48 PM, Matteo Fortini wrote: Hi all, glad you found my patch useful. Sascha rejected it because he sees it more fit

Re: atmel_nand pmecc on 8k page [RFC]

2014-06-16 Thread Bo Shen
coming SoC. Thank you in advance for your comments, I ask Raphaël to wait until this patch is settled to send in his changes. They will be very useful for me, too (I had to deactivate PMECC to use my NAND...) M Best Regards, Bo Shen ___ barebox

Re: atmel_nand pmecc on 8k page

2014-06-12 Thread Bo Shen
are you test this? Can you try to apply two patches from matteo.fort...@gmail.com on 2014-06-06 with name [PATCH 1/2] sama5d3x: fix HSMC MODE register offset and add TIMINGS [PATCH 2/2] sama5d3x: HSMC NAND initialize TIMINGS and import values Best regards, Raphaël Best Regards, Bo Shen

[PATCH] ARM: atmel: add sama5d3_xplained support

2014-06-03 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@gmail.com --- arch/arm/boards/Makefile|1 + arch/arm/boards/sama5d3_xplained/Makefile |1 + arch/arm/boards/sama5d3_xplained/env/config | 42 + arch/arm/boards/sama5d3_xplained/init.c | 238

[PATCH] ARM: atmel: sama5d3xek: remove duplicate included file

2014-05-28 Thread Bo Shen
As the at91sam9_smc.h duplicate in header list, remove one. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boards/sama5d3xek/init.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boards/sama5d3xek/init.c b/arch/arm/boards/sama5d3xek/init.c index e078642..731 100644

Re: [PATCH 2/5] ARM: at91: add missing break

2014-04-21 Thread Bo Shen
Hi Lucas Stach, On 04/22/2014 04:15 AM, Lucas Stach wrote: Otherwise SAM A5d35 would be detected as A5d36. Signed-off-by: Lucas Stach d...@lynxeye.de Acked-by: Bo Shen voice.s...@atmel.com --- arch/arm/mach-at91/setup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach

[PATCH] ARM: at91: add sama5d36 SoC support

2014-03-28 Thread Bo Shen
SAMA5D36 SoC is a sub type of SAMA5D3 which has two Ethernets Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/mach-at91/include/mach/cpu.h | 5 - arch/arm/mach-at91/sama5d3.c | 6 -- arch/arm/mach-at91/setup.c| 3 +++ 3 files changed, 11 insertions(+), 3