[U-Boot] [PATCH v2 11/13] ARM: atmel: sama5d4: build related file when enable SPL

2014-12-14 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: None arch/arm/cpu/at91-common/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/at91-common/Makefile b/arch/arm/cpu/at91-common/Makefile index 89e1577..03614d4 100644 --- a/arch/arm/cpu/at91-common/Makefile

[U-Boot] [PATCH v2 13/13] ARM: atmel: sama5d4_xplained: enable spl support

2014-12-14 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - change CONFIG_SYS_MMC_SD_FS_BOOT_PARTITION to CONFIG_SYS_MMCSD_FS_BOOT_PARTITION arch/arm/Kconfig| 1 + board/atmel/sama5d4_xplained/sama5d4_xplained.c | 85 + configs

[U-Boot] [PATCH v2 09/13] ARM: atmel: sama5d4: add interrupt redirec function

2014-12-14 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: None arch/arm/cpu/armv7/at91/sama5d4_devices.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/cpu/armv7/at91/sama5d4_devices.c b/arch/arm/cpu/armv7/at91/sama5d4_devices.c index 9c63e99..ef39cb7 100644

[U-Boot] [PATCH v2 12/13] ARM: atmel: sama5d4ek: enable SPL support

2014-12-14 Thread Bo Shen
The sama5d4ek support boot up from NAND flash, SD/MMC card and also the SPI flash. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - change CONFIG_SYS_MMC_SD_FS_BOOT_PARTITION to CONFIG_SYS_MMCSD_FS_BOOT_PARTITION arch/arm/Kconfig | 1 + board/atmel

Re: [U-Boot] [PATCH 13/13] ARM: atmel: sama5d4_xplained: enable spl support

2014-12-10 Thread Bo Shen
-ee.com/ Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 13/13] ARM: atmel: sama5d4_xplained: enable spl support

2014-12-10 Thread Bo Shen
Hi Robert Nelson, On 12/11/2014 09:21 AM, Bo Shen wrote: Hi Robert Nelson, On 12/11/2014 05:35 AM, Robert Nelson wrote: + +#ifdef CONFIG_SYS_USE_MMC +#define CONFIG_SPL_LDSCRIPT arch/arm/cpu/at91-common/u-boot-spl.lds +#define CONFIG_SPL_MMC_SUPPORT +#define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS

[U-Boot] [PATCH 02/13] ARM: atmel: sama5: add bus matrix header file

2014-12-07 Thread Bo Shen
This matrix header file can be shared between sama5d3 and sama5d4 soc. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/sama5_matrix.h | 37 +++ 1 file changed, 37 insertions(+) create mode 100644 arch/arm/include/asm/arch-at91

[U-Boot] [PATCH 01/13] ARM: atmel: clock: make it possible to configure HMX32

2014-12-07 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/armv7/at91/clock.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/cpu/armv7/at91/clock.c b/arch/arm/cpu/armv7/at91/clock.c index 2cdddb2..0bf453e 100644 --- a/arch/arm/cpu/armv7/at91/clock.c +++ b/arch/arm/cpu

[U-Boot] [PATCH 07/13] ARM: atmel: sama5d4: add matrix1 base addr definition

2014-12-07 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/sama5d4.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-at91/sama5d4.h b/arch/arm/include/asm/arch-at91/sama5d4.h index d851568..f30cb5f 100644 --- a/arch/arm/include/asm/arch-at91

[U-Boot] [PATCH 0/13] ARM: atmel: enable spl for sama5d4 related boards

2014-12-07 Thread Bo Shen
This patch enable SPL support for both sama5d4ek and sama5d4 xplained board which are based on SAMA5D4 SoC. These two boards both support boot up from NAND flash, SD/MMC card and also serial flash. This patch series based on the ARM: atmel: enable usb ethernet gadget Bo Shen (13): ARM: atmel

[U-Boot] [PATCH 03/13] ARM: atmel: sama5: add sfr register header file

2014-12-07 Thread Bo Shen
The SFR (special function registers) can be shared bwteen sama5d3 and sama5d4 soc. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/sama5_sfr.h | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 arch/arm/include/asm/arch-at91

[U-Boot] [PATCH 08/13] ARM: atmel: sama5d4: add bus matrix init function

2014-12-07 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/armv7/at91/sama5d4_devices.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/cpu/armv7/at91/sama5d4_devices.c b/arch/arm/cpu/armv7/at91/sama5d4_devices.c index 7469825..9c63e99 100644

[U-Boot] [PATCH 13/13] ARM: atmel: sama5d4_xplained: enable spl support

2014-12-07 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/Kconfig| 1 + board/atmel/sama5d4_xplained/sama5d4_xplained.c | 85 + configs/sama5d4_xplained_mmc_defconfig | 1 + configs/sama5d4_xplained_nandflash_defconfig| 1

[U-Boot] [PATCH 05/13] ARM: atmel: spl: add saic to aic redirect function

2014-12-07 Thread Bo Shen
Some SoC need to redirect the saic to aic to make the interrupt to work, here add a weak function to be replaced by real function. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/at91-common/spl_atmel.c | 7 +++ arch/arm/include/asm/arch-at91/at91_common.h | 1 + 2

[U-Boot] [PATCH 04/13] ARM: atmel: spl: add weak bus matrix init function

2014-12-07 Thread Bo Shen
Some SoC need to configure the bus matrix, add an weak function to be replace by real function. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/at91-common/spl_atmel.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/cpu/at91-common/spl_atmel.c b/arch/arm/cpu

[U-Boot] [PATCH 11/13] ARM: atmel: sama5d4: build related file when enable SPL

2014-12-07 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/at91-common/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/at91-common/Makefile b/arch/arm/cpu/at91-common/Makefile index 89e1577..03614d4 100644 --- a/arch/arm/cpu/at91-common/Makefile +++ b/arch/arm/cpu

[U-Boot] [PATCH 09/13] ARM: atmel: sama5d4: add interrupt redirec function

2014-12-07 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/armv7/at91/sama5d4_devices.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/cpu/armv7/at91/sama5d4_devices.c b/arch/arm/cpu/armv7/at91/sama5d4_devices.c index 9c63e99..ef39cb7 100644 --- a/arch/arm/cpu

[U-Boot] [PATCH 12/13] ARM: atmel: sama5d4ek: enable SPL support

2014-12-07 Thread Bo Shen
The sama5d4ek support boot up from NAND flash, SD/MMC card and also the SPI flash. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/Kconfig | 1 + board/atmel/sama5d4ek/sama5d4ek.c | 85 +++ configs/sama5d4ek_mmc_defconfig

[U-Boot] [PATCH 10/13] ARM: atmel: sama5d4: can access DDR in interleave mode

2014-12-07 Thread Bo Shen
The SAMAA5D4 SoC can access DDR in interleave mode. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/at91-common/mpddrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/at91-common/mpddrc.c b/arch/arm/cpu/at91-common/mpddrc.c index 44798e6..beec13d

[U-Boot] [PATCH 06/13] ARM: atmel: spl: can not disable osc for sama5d4

2014-12-07 Thread Bo Shen
The SAMA5D4 SoC on chip rc oscillator can not be disabled. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/at91-common/spl_atmel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/at91-common/spl_atmel.c b/arch/arm/cpu/at91-common/spl_atmel.c index fdea466

[U-Boot] [PATCH 0/6] ARM: atmel: enable usb ethernet gadget

2014-12-03 Thread Bo Shen
This patch set enable the usb ethernet on SAMA5D4 base boards, including sama5d4ek and sama5d4_xplained board. Bo Shen (6): ARM: atmel: sama5d4: add usb platform data ARM: atmel: sama5d4: add usb device initial code ARM: atmel: sama5d4ek: add option for usb ethernet gadget ARM: atmel

[U-Boot] [PATCH 1/6] ARM: atmel: sama5d4: add usb platform data

2014-12-03 Thread Bo Shen
The SAMA5D4 has the same usb platform data with SAMA5D3 SoC. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/atmel_usba_udc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-at91/atmel_usba_udc.h b/arch/arm/include

[U-Boot] [PATCH 4/6] ARM: atmel: sama5d4ek: enable usb ethernet gadget

2014-12-03 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- include/configs/sama5d4ek.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/sama5d4ek.h b/include/configs/sama5d4ek.h index cbdb3a2..09ab4d7 100644 --- a/include/configs/sama5d4ek.h +++ b/include/configs/sama5d4ek.h

[U-Boot] [PATCH 2/6] ARM: atmel: sama5d4: add usb device initial code

2014-12-03 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/armv7/at91/sama5d4_devices.c | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/cpu/armv7/at91/sama5d4_devices.c b/arch/arm/cpu/armv7/at91/sama5d4_devices.c index 2708097..7469825 100644 --- a/arch/arm/cpu

[U-Boot] [PATCH 6/6] ARM: atmel: sama5d4_xplained: enable usb ethernet gadget

2014-12-03 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- include/configs/sama5d4_xplained.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/sama5d4_xplained.h b/include/configs/sama5d4_xplained.h index 104edef..996973d 100644 --- a/include/configs/sama5d4_xplained.h +++ b

[U-Boot] [PATCH 3/6] ARM: atmel: sama5d4ek: add option for usb ethernet gadget

2014-12-03 Thread Bo Shen
Add the option for USB Ethernet gadget based on atmel usb device. Signed-off-by: Bo Shen voice.s...@atmel.com --- board/atmel/sama5d4ek/sama5d4ek.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/board/atmel/sama5d4ek/sama5d4ek.c b/board/atmel/sama5d4ek/sama5d4ek.c index

[U-Boot] [PATCH 5/6] ARM: atmel: sama5d4_xplained: add option for usb ethernet gadget

2014-12-03 Thread Bo Shen
Add the option for USB Ethernet gadget based on atmel usb device. Signed-off-by: Bo Shen voice.s...@atmel.com --- board/atmel/sama5d4_xplained/sama5d4_xplained.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/board/atmel/sama5d4_xplained/sama5d4_xplained.c b/board/atmel

Re: [U-Boot] [PATCH v4 3/3] ARM: atmel: add sama5d4ek board support

2014-11-20 Thread Bo Shen
Hi Masahiro, On 11/20/2014 05:45 PM, Masahiro Yamada wrote: Hi Bo, On Mon, 10 Nov 2014 15:24:02 +0800 Bo Shen voice.s...@atmel.com wrote: diff --git a/configs/sama5d4ek_mmc_defconfig b/configs/sama5d4ek_mmc_defconfig new file mode 100644 index 000..16a5ed7 --- /dev/null +++ b/configs

Re: [U-Boot] [PATCH 0/6] ARM: at91: SAMA5: extract the common sama5 chip configurations to a common header

2014-11-19 Thread Bo Shen
100644 include/configs/at91-sama5_common.h Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/6] ARM: at91: sama5d3_xplained: spl: enable PMECC header generation

2014-11-19 Thread Bo Shen
Hi Josh, On 11/19/2014 07:03 PM, Josh Wu wrote: As sama5d3 xplained support the PMECC. So add the PMECC header for spl binary. That make ROM loader can use PMECC to avoid error flips in spl code in nandflash. Signed-off-by: Josh Wu josh...@atmel.com Thanks. Acked-by: Bo Shen voice.s

Re: [U-Boot] [PATCH 0/6] ARM: at91: SAMA5: extract the common sama5 chip configurations to a common header

2014-11-19 Thread Bo Shen
Hello Josh, On 11/20/2014 11:22 AM, Josh Wu wrote: Hi, Bo On 11/20/2014 9:12 AM, Bo Shen wrote: Hi Josh, On 11/19/2014 07:02 PM, Josh Wu wrote: This patch series reorganized the configurations for SAMA5 chips. Make the common part into one file. That way we don't need to have many copy

[U-Boot] [PATCH v4 0/3] ARM: atmel: add sama5d4ek board support

2014-11-09 Thread Bo Shen
build function by Josh. Bo Shen (2): net: macb: enable GMAC IP without GE feature support ARM: atmel: add sama5d4ek board support Josh Wu (1): mtd: atmel_nand: runtime to build gf table for pmecc arch/arm/Kconfig | 5 + arch/arm/cpu/armv7/at91/Makefile

[U-Boot] [PATCH v4 2/3] net: macb: enable GMAC IP without GE feature support

2014-11-09 Thread Bo Shen
The User Register in GMAC IP is used to select interface type. When with GE feature, it is used to select interface between RGMII and GMII. If without GE feature, it is used to select interface between MII and RMII. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v4: None Changes

[U-Boot] [PATCH v4 3/3] ARM: atmel: add sama5d4ek board support

2014-11-09 Thread Bo Shen
The code for this board supports following features: - Boot media support: NAND flash/SD card/SPI flash - Support LCD display - Support ethernet - Support USB mass storage Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v4: - rebase to the mainline master (11ada92

[U-Boot] [PATCH v4 1/3] mtd: atmel_nand: runtime to build gf table for pmecc

2014-11-09 Thread Bo Shen
algorithm, so based on the build_gf_tables() function in lib/bch.c, we can build the Galois Field lookup table. Signed-off-by: Josh Wu josh...@atmel.com Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v4: None Changes in v2: - rewrite the gf table build function by Josh. drivers/mtd

[U-Boot] [PATCH v2] ARM: atmel: add sama5d4 xplained ultra board support

2014-11-09 Thread Bo Shen
The code for this board supports following features: - Boot media support: NAND flash/SD card/SPI flash - Support LCD display (optional, disabled by default) - Support ethernet - Support USB mass storage Signed-off-by: Bo Shen voice.s...@atmel.com --- This patch based on the patch to add

Re: [U-Boot] [PATCH v3 3/3] ARM: atmel: add sama5d4ek board support

2014-11-05 Thread Bo Shen
Hi Masahiro, On 11/06/2014 02:13 PM, Masahiro Yamada wrote: On Wed, 29 Oct 2014 13:12:06 +0800 Bo Shen voice.s...@atmel.com wrote: The code for this board supports following features: - Boot media support: NAND flash/SD card/SPI flash - Support LCD display - Support ethernet

Re: [U-Boot] at91, usb, dfu: add dfu support for at91 boards

2014-11-04 Thread Bo Shen
, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [v3 PATCH 07/12] mtd: atmel_nand: add missign include

2014-10-31 Thread Bo Shen
-by: Heiko Schocher h...@denx.de Reviewed-by: Andreas Bießmann andreas.de...@googlemail.com Reviewed-by: Bo Shen voice.s...@atmel.com --- Changes in v3: add Reviewed-by from Bo Shen Changes in v2: add Reviewed-by: Andreas Bießmann andreas.de...@googlemail.com drivers/mtd/nand/atmel_nand.c | 1

Re: [U-Boot] [v2 PATCH 10/12] arm, spl, at91: add at91sam9260 and at91sam9g45 spl support

2014-10-30 Thread Bo Shen
AT91_PMC_MCKR_PRES_64 0x0018 -#define AT91_PMC_MCKR_PRES_MASK0x001C +#define AT91_PMC_MCKR_PRES_MASK0x003C Ditto #endif Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [v2 PATCH 10/12] arm, spl, at91: add at91sam9260 and at91sam9g45 spl support

2014-10-30 Thread Bo Shen
(); preloader_console_init(); mem_init(); + + at91_spl_board_init(); } +#endif Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [v2 PATCH 03/12] arm, at91, mpddrc: fix typo in ddr2_init()

2014-10-30 Thread Bo Shen
the 80 character's warning here? ba_off += (mpddr_value-md ATMEL_MPDDRC_MD_DBW_MASK) ? 1 : 2; Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [v2 PATCH 10/12] arm, spl, at91: add at91sam9260 and at91sam9g45 spl support

2014-10-30 Thread Bo Shen
Hi Heiko, On 10/30/2014 07:41 PM, Heiko Schocher wrote: Hello Bo, Am 30.10.2014 11:17, schrieb Bo Shen: Hi Heiko, On 10/30/2014 04:15 PM, Heiko Schocher wrote: diff --git a/arch/arm/include/asm/arch-at91/at91_pmc.h b/arch/arm/include/asm/arch-at91/at91_pmc.h index 27331ff..5f64583 100644

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

2014-10-29 Thread Bo Shen
The code for this board supports following features: - Boot media support: NAND flash/SD card/SPI flash - Support LCD display (optional, disabled by default) - Support ethernet - Support USB mass storage Signed-off-by: Bo Shen voice.s...@atmel.com --- This patch depends on: ARM: atmel

Re: [U-Boot] [PATCH 1/3] atmel_nand: if don't have gf table in rom code we will build it runtime

2014-10-28 Thread Bo Shen
, can you give me some hints about it? Thanks. Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] atmel_nand: if don't have gf table in rom code we will build it runtime

2014-10-28 Thread Bo Shen
Hi Andreas, On 10/28/2014 04:05 PM, Bo Shen wrote: Hi Andreas, On 10/25/2014 06:22 AM, Andreas Bießmann wrote: ATMEL_BASE_PMERRLOC; +#if defined(NO_GALOIS_TABLE_IN_ROM) +/* Set pmecc_rom_base as the begin of gf table */ +int size = host-pmecc_sector_size == 512

[U-Boot] [PATCH v2 0/3] ARM: atmel: add sama5d4ek board support

2014-10-28 Thread Bo Shen
to hold soc related code (e.g: get_cpu_name) Bo Shen (2): net: macb: enable GMAC IP without GE feature support ARM: atmel: add sama5d4ek board support Josh Wu (1): mtd: atmel_nand: runtime to build gf table for pmecc arch/arm/Kconfig | 4 + arch/arm/cpu/armv7

[U-Boot] [PATCH v2 2/3] net: macb: enable GMAC IP without GE feature support

2014-10-28 Thread Bo Shen
The User Register in GMAC IP is used to select interface type. When with GE feature, it is used to select interface between RGMII and GMII. If without GE feature, it is used to select interface between MII and RMII. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: None drivers/net

[U-Boot] [PATCH v2 3/3] ARM: atmel: add sama5d4ek board support

2014-10-28 Thread Bo Shen
The code for this board supports following features: - Boot media support: NAND flash/SD card/SPI flash - Support LCD display - Support ethernet - Support USB mass storage Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - Add sama5d4_devices.c to hold soc related code

[U-Boot] [PATCH v2 1/3] mtd: atmel_nand: runtime to build gf table for pmecc

2014-10-28 Thread Bo Shen
algorithm, so based on the build_gf_tables() function in lib/bch.c, we can build the Galois Field lookup table. Signed-off-by: Josh Wu josh...@atmel.com Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - rewrite the gf table build function by Josh. drivers/mtd/nand/atmel_nand.c

Re: [U-Boot] [PATCH v2 3/3] ARM: atmel: add sama5d4ek board support

2014-10-28 Thread Bo Shen
looks good and should be applied soon. Best Regards Andreas Bießmann Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v3 0/3] ARM: atmel: add sama5d4ek board support

2014-10-28 Thread Bo Shen
. Series-changes: 2 - Add sama5d4_devices.c to hold soc related code (e.g: get_cpu_name) - rewrite the clock with H32MXDIV Changes in v2: - rewrite the gf table build function by Josh. Bo Shen (2): net: macb: enable GMAC IP without GE feature support ARM: atmel: add sama5d4ek board support

[U-Boot] [PATCH v3 3/3] ARM: atmel: add sama5d4ek board support

2014-10-28 Thread Bo Shen
The code for this board supports following features: - Boot media support: NAND flash/SD card/SPI flash - Support LCD display - Support ethernet - Support USB mass storage Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v3: - Rewrite the h32mxdiv related code according

[U-Boot] [PATCH v3 2/3] net: macb: enable GMAC IP without GE feature support

2014-10-28 Thread Bo Shen
The User Register in GMAC IP is used to select interface type. When with GE feature, it is used to select interface between RGMII and GMII. If without GE feature, it is used to select interface between MII and RMII. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v3: None Changes in v2

[U-Boot] [PATCH v3 1/3] mtd: atmel_nand: runtime to build gf table for pmecc

2014-10-28 Thread Bo Shen
algorithm, so based on the build_gf_tables() function in lib/bch.c, we can build the Galois Field lookup table. Signed-off-by: Josh Wu josh...@atmel.com Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v3: None Changes in v2: - rewrite the gf table build function by Josh. drivers/mtd

[U-Boot] [PATCH 2/2] ARM: atmel: spl: make css field configurable

2014-10-26 Thread Bo Shen
The clock source for master clock can be slow clock, main clock, plla clock or upll clock. So, make the clock source selection field in mckr can be configured. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/at91-common/spl.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions

[U-Boot] [PATCH 1/2] ARM: atmel: spl: make initialization more stable

2014-10-26 Thread Bo Shen
We need to make sure the main clock ready field in MCFR is set after switch to main crystal oscillator. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/at91-common/spl.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu/at91-common/spl.c b/arch/arm/cpu/at91

Re: [U-Boot] [PATCH 1/3] atmel_nand: if don't have gf table in rom code we will build it runtime

2014-10-26 Thread Bo Shen
it in DDR2 SDRAM. We can use the PMECC generate by atbootstrap, however we must to maintain the address where to put the PMECC table, it will easily cause issues, so we try to regenerate the PMECC table also in u-boot. On 16.09.14 09:57, Bo Shen wrote: From: Josh Wu josh...@atmel.com Add a macro

Re: [U-Boot] [PATCH 3/3] ARM: atmel: add sama5d4ek board support

2014-10-26 Thread Bo Shen
Hi Andreas, On 10/25/2014 08:26 AM, Andreas Bießmann wrote: Hi Bo, On 16.09.14 09:57, Bo Shen wrote: The code for this board supports following features: - Boot media support: NAND flash/SD card/SPI flash - Support LCD display - Support ethernet - Support USB mass storage Signed

[U-Boot] [PATCH] net: macb: write mac address when initialization

2014-10-22 Thread Bo Shen
address is not valid It also solve the problem after bootup then set mac address and the mac address won't set to net device issue. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/net/macb.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/macb.c b/drivers/net

[U-Boot] [PATCH] ARM: at91 series: convert to generic board

2014-10-22 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- include/configs/at91rm9200ek.h | 2 ++ include/configs/at91sam9260ek.h | 2 ++ include/configs/at91sam9261ek.h | 2 ++ 3 files changed, 6 insertions(+) diff --git a/include/configs/at91rm9200ek.h b/include/configs/at91rm9200ek.h index a30c016

Re: [U-Boot] Device tree for Atmel SAMA5D31

2014-10-09 Thread Bo Shen
this file arch/arm/boot/dts/sama5d3xdm.dtsi as a reference, qt1070 use GPIO PIOE 31 as interrupt. it conflict with your setting. Thanks (and apologies for the noise), Andy. Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http

[U-Boot] [PATCH] ARM: atmel: switch at91sam9263ek to generic board

2014-09-24 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- include/configs/at91sam9263ek.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/at91sam9263ek.h b/include/configs/at91sam9263ek.h index 48c12ea..b666d94 100644 --- a/include/configs/at91sam9263ek.h +++ b/include/configs

[U-Boot] [PATCH v2] usb: gadget: fastboot: improve download progress bar

2014-09-19 Thread Bo Shen
). Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - get rid of the global variable. - avoid the dot print after showing the total download length. drivers/usb/gadget/f_fastboot.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/drivers/usb

Re: [U-Boot] FW: [PATCH] usb: gadget: fastboot: improve download progress bar

2014-09-18 Thread Bo Shen
Hi Marek, On 09/18/2014 10:32 AM, Marek Vasut wrote: On Thursday, September 18, 2014 at 03:34:18 AM, Bo Shen wrote: Hi Marek, On 09/17/2014 07:16 PM, Marek Vasut wrote: On Wednesday, September 17, 2014 at 12:28:57 PM, Bo Shen wrote: Hi Marek, On 09/17/2014 06:10 PM, Marek Vasut wrote

Re: [U-Boot] [PATCH 0/2] sama5d3xek: get GMAC working

2014-09-18 Thread Bo Shen
sama5d31ek? Test OK on sama5d31ek board, you can add Tested-by tag for this patch series. Tested-by: Bo Shen voice.s...@atmel.com Thanks. Andreas Bießmann (2): macb: simplify gmac initialisation sama5d3xek: run PHY's config board/atmel/sama5d3xek/sama5d3xek.c | 29

Re: [U-Boot] FW: [PATCH] usb: gadget: fastboot: improve download progress bar

2014-09-18 Thread Bo Shen
Hi Marek, On 09/18/2014 05:59 PM, Marek Vasut wrote: On Thursday, September 18, 2014 at 10:11:49 AM, Bo Shen wrote: Hi Marek, On 09/18/2014 10:32 AM, Marek Vasut wrote: On Thursday, September 18, 2014 at 03:34:18 AM, Bo Shen wrote: Hi Marek, On 09/17/2014 07:16 PM, Marek Vasut wrote

Re: [U-Boot] Need help with u-boot problem with usb-keyboard / kvm switch

2014-09-18 Thread Bo Shen
, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] usb: gadget: fastboot: improve download progress bar

2014-09-17 Thread Bo Shen
). Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/usb/gadget/f_fastboot.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c index 7a1acb9..2f13bf0 100644 --- a/drivers/usb/gadget/f_fastboot.c +++ b

Re: [U-Boot] [PATCH] usb: gadget: fastboot: improve download progress bar

2014-09-17 Thread Bo Shen
Hi Marek, On 09/17/2014 06:10 PM, Marek Vasut wrote: On Wednesday, September 17, 2014 at 09:43:56 AM, Bo Shen wrote: +CC Lukasz, this is his turf. When download is ongoing, if the actual size of one transfer is not the same as BTYES_PER_DOT, which will cause the dot won't print anymore

Re: [U-Boot] [PATCH] usb: gadget: fastboot: improve download progress bar

2014-09-17 Thread Bo Shen
Hi Marek, On 09/17/2014 07:16 PM, Marek Vasut wrote: On Wednesday, September 17, 2014 at 12:28:57 PM, Bo Shen wrote: Hi Marek, On 09/17/2014 06:10 PM, Marek Vasut wrote: On Wednesday, September 17, 2014 at 09:43:56 AM, Bo Shen wrote: +CC Lukasz, this is his turf. When download is ongoing

[U-Boot] [PATCH 2/3] net: macb: enable GMAC IP without GE feature support

2014-09-16 Thread Bo Shen
The User Register in GMAC IP is used to select interface type. When with GE feature, it is used to select interface between RGMII and GMII. If without GE feature, it is used to select interface between MII and RMII. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/net/macb.c | 8

[U-Boot] [PATCH 0/3] ARM: atmel: add sama5d4ek board support

2014-09-16 Thread Bo Shen
peripheral clock. [1] http://patchwork.ozlabs.org/patch/376960/ Bo Shen (2): net: macb: enable GMAC IP without GE feature support ARM: atmel: add sama5d4ek board support Josh Wu (1): atmel_nand: if don't have gf table in rom code we will build it runtime arch/arm/Kconfig

[U-Boot] [PATCH 1/3] atmel_nand: if don't have gf table in rom code we will build it runtime

2014-09-16 Thread Bo Shen
From: Josh Wu josh...@atmel.com Add a macro NO_GALOIS_TABLE_IN_ROM. If it is defined we will build a runtime pmecc galois table. Signed-off-by: Josh Wu josh...@atmel.com Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/mtd/nand/atmel_nand.c | 127

[U-Boot] [PATCH 3/3] ARM: atmel: add sama5d4ek board support

2014-09-16 Thread Bo Shen
The code for this board supports following features: - Boot media support: NAND flash/SD card/SPI flash - Support LCD display - Support ethernet - Support USB mass storage Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/Kconfig | 4 + arch/arm/cpu

Re: [U-Boot] [PATCH 2/2] USB: gadget: s3c: get rid of debug compile warning

2014-08-31 Thread Bo Shen
Hi Marek, On 08/29/2014 05:34 PM, Marek Vasut wrote: On Wednesday, August 27, 2014 at 11:28:18 AM, Bo Shen wrote: When enable debug option to compile, it will give the following warning, this patch is used to get rid of it. ---8--- warning: 'flags' is used uninitialized in this function

Re: [U-Boot] [RFC PATCH] USB: get rid of warning when compile with debug enabled

2014-08-27 Thread Bo Shen
Hi Marek, On 08/26/2014 02:46 PM, Marek Vasut wrote: On Tuesday, August 26, 2014 at 03:11:13 AM, Bo Shen wrote: Hi Marek, On 08/25/2014 06:43 PM, Marek Vasut wrote: On Monday, August 25, 2014 at 11:23:19 AM, Bo Shen wrote: When compile with debug information is enabled, if call

[U-Boot] [PATCH 2/2] USB: gadget: s3c: get rid of debug compile warning

2014-08-27 Thread Bo Shen
When enable debug option to compile, it will give the following warning, this patch is used to get rid of it. ---8--- warning: 'flags' is used uninitialized in this function [-Wuninitialized] ---8--- Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/usb/gadget/s3c_udc_otg.c | 10

[U-Boot] [PATCH 1/2] USB: gadget: atmel: get rid of debug compile warning

2014-08-27 Thread Bo Shen
When enable debug option to compile, it will give the following warning, this patch is used to get rid of it. ---8--- warning: 'flags' is used uninitialized in this function [-Wuninitialized] ---8--- Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/usb/gadget/atmel_usba_udc.c | 12

Re: [U-Boot] [RFC PATCH] USB: get rid of warning when compile with debug enabled

2014-08-27 Thread Bo Shen
was resolved please ? OK, after this patch is merged, I will check it. Thanks. Best regards, Marek Vasut Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [RFC PATCH] USB: get rid of warning when compile with debug enabled

2014-08-25 Thread Bo Shen
When compile with debug information is enabled, if call spin_lock_irqsave, it will give following warning information. This patch is used to get rid of it. ---8--- warning: 'flags' is used uninitialized in this function [-Wuninitialized] ---8--- Signed-off-by: Bo Shen voice.s...@atmel.com

Re: [U-Boot] [RFC PATCH] USB: get rid of warning when compile with debug enabled

2014-08-25 Thread Bo Shen
Hi Marek, On 08/25/2014 06:43 PM, Marek Vasut wrote: On Monday, August 25, 2014 at 11:23:19 AM, Bo Shen wrote: When compile with debug information is enabled, if call spin_lock_irqsave, it will give following warning information. This patch is used to get rid of it. ---8--- warning: 'flags

[U-Boot] [PATCH 1/4] ARM: atmel: use pcr to enable or disable peripheral clock

2014-08-06 Thread Bo Shen
When use pcr (peripheral control register), then we won't need to care about the peripheral ID. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/armv7/at91/clock.c | 24 arch/arm/include/asm/arch-at91/at91_pmc.h | 4 arch/arm/include/asm/arch

[U-Boot] [PATCH 0/4] ARM: atmel: use pcr to control clock

2014-08-06 Thread Bo Shen
When the SoC has pcr (peripheral control register), then switch to use it to enable or disable clock. Bo Shen (4): ARM: atmel: use pcr to enable or disable peripheral clock ARM: atmel: add pcr related definition USB: ohci-at91: use pcr to enable or disable clock USB: ehci-atmel: use pcr

[U-Boot] [PATCH 3/4] USB: ohci-at91: use pcr to enable or disable clock

2014-08-06 Thread Bo Shen
If the SoC has pcr, we use pcr (peripheral control register) to enable or disable clock. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/usb/host/ohci-at91.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci

[U-Boot] [PATCH 2/4] ARM: atmel: add pcr related definition

2014-08-06 Thread Bo Shen
Using CPU_HAS_PCR micro to present the SoC has pcr (peripheral control register). Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/at91_pmc.h | 2 +- arch/arm/include/asm/arch-at91/sama5d3.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch

[U-Boot] [PATCH 4/4] USB: ehci-atmel: use pcr to enable or disable clock

2014-08-06 Thread Bo Shen
If the SoC has pcr, we use pcr (peripheral control register) to enable or disable clock. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/usb/host/ehci-atmel.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/usb/host/ehci-atmel.c b/drivers/usb/host/ehci-atmel.c index

[U-Boot] [PATCH] ARM: atmel: sama5d3: add timings register

2014-08-01 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/sama5d3_smc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-at91/sama5d3_smc.h b/arch/arm/include/asm/arch-at91/sama5d3_smc.h index 6caa9b6..a859b6d 100644 --- a/arch

[U-Boot] [PATCH 0/3] MMC: atmel: enable the features supported by MCI

2014-07-31 Thread Bo Shen
reading uimage 3973216 bytes read in 275 ms (13.8 MiB/s) It near 50% performance improvement. Bo Shen (3): MMC: atmel_mci: refactor setting the mode register MMC: atmel_mci: add configuration register definition MMC: atmel_mci: enable high speed mode support drivers/mmc/gen_atmel_mci.c

[U-Boot] [PATCH 1/3] MMC: atmel_mci: refactor setting the mode register

2014-07-31 Thread Bo Shen
The mode register is different between MCI IP version. So, according to MCI IP version to set the mode register. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/mmc/gen_atmel_mci.c | 56 + include/atmel_mci.h | 4 2 files changed

[U-Boot] [PATCH 2/3] MMC: atmel_mci: add configuration register definition

2014-07-31 Thread Bo Shen
Add configuration register definition, this register only exists on MCI IP version = 0x300. Signed-off-by: Bo Shen voice.s...@atmel.com --- include/atmel_mci.h | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/include/atmel_mci.h b/include/atmel_mci.h index

[U-Boot] [PATCH 3/3] MMC: atmel_mci: enable high speed mode support

2014-07-31 Thread Bo Shen
If the MCI IP version = 0x300, it supports hight speed mode option, this patch enable it. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/mmc/gen_atmel_mci.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/gen_atmel_mci.c b/drivers/mmc

Re: [U-Boot] [PATCH] cosmetic: boards.cfg: fix some maintainers fields

2014-07-22 Thread Bo Shen
if it is a really minor fix. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Bo Shen voice.s...@atmel.com --- boards.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards.cfg b/boards.cfg index 3be1e0d..1808131 100644 --- a/boards.cfg +++ b

[U-Boot] [PATCH v2 0/2] ARM: atmel: sama5d3xek: enable NOR flash support

2014-07-18 Thread Bo Shen
Add NOR flash support on sama5d3xek board. Then, we can use NOR flash related command to access it. Changes in v2: - Add CONFIG_SYS_FLASH_PROTECTION - Correct the max sector number Bo Shen (2): ARM: atmel: sama5d3xek: add nor flash init function ARM: atmel: sama5d3xek: enable NOR flash

[U-Boot] [PATCH v2 1/2] ARM: atmel: sama5d3xek: add nor flash init function

2014-07-18 Thread Bo Shen
Add NOR flash hardware init function, including SMC and PIO configuration. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: None board/atmel/sama5d3xek/sama5d3xek.c | 58 + 1 file changed, 58 insertions(+) diff --git a/board/atmel/sama5d3xek

[U-Boot] [PATCH v2 2/2] ARM: atmel: sama5d3xek: enable NOR flash support

2014-07-18 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - Add CONFIG_SYS_FLASH_PROTECTION - Correct the max sector number include/configs/sama5d3xek.h | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/include/configs/sama5d3xek.h b/include/configs

Re: [U-Boot] [PATCH] USB: gadget: atmel: zero out allocated requests

2014-07-01 Thread Bo Shen
changed, 1 insertion(+), 1 deletion(-) Thanks. Acked-by: Bo Shen voice.s...@atmel.com diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c index c99208d10200..2c709738a3cb 100644 --- a/drivers/usb/gadget/atmel_usba_udc.c +++ b/drivers/usb/gadget/atmel_usba_udc.c

Re: [U-Boot] [PATCH 2/2] ARM: atmel: sama5d3xek: enable NOR flash support

2014-06-30 Thread Bo Shen
altered during power transitions. In order to make your patch set work: #define CONFIG_SYS_FLASH_PROTECTION needs adding into the include/configs/sama5d3xek.h file. Thanks for your information. I will add it into next version. Thanks again. Andy. Best Regards, Bo Shen

Re: [U-Boot] [PATCH 2/2] ARM: atmel: sama5d3xek: enable NOR flash support

2014-06-30 Thread Bo Shen
for CONFIG_SYS_MAX_FLASH_SECT? Shouldn't it be 127 (if we ignore the top boot block) or 131 if they are included? oops, I fill this with the sector size. Thanks point it out. Here, I think we should fill with 131. Regards, Andy. Best Regards, Bo Shen ___ U-Boot

[U-Boot] [PATCH 0/2] ARM: atmel: sama5d3xek: enable NOR flash support

2014-06-20 Thread Bo Shen
Add NOR flash support on sama5d3xek board. Then, we can use NOR flash related command to access it. Bo Shen (2): ARM: atmel: sama5d3xek: add nor flash init function ARM: atmel: sama5d3xek: enable NOR flash support board/atmel/sama5d3xek/sama5d3xek.c | 58

<    1   2   3   4   5   6   >