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
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
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
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
-ee.com/
Best Regards,
Bo Shen
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
,
Bo Shen
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
-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
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
();
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
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
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
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
,
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
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
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
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
).
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
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
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
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
,
Bo Shen
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
).
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
101 - 200 of 589 matches
Mail list logo