[U-Boot] [PATCH v2 3/3] spi: ti_qspi: Remove delay in read path for dra7xx

2016-07-21 Thread Vignesh R
As per commit b545a98f5dc563 ("spi: ti_qspi: Add delay for successful bulk erase) says its added to meet bulk erase timing constraints. But bulk erase is a cmd to flash and delay in read path does not make sense. Morever, testing on DRA74/DRA72 evm has shown that this delay is no longer required.

Re: [U-Boot] MPC8347 Initial Boot problems

2016-07-21 Thread Wolfgang Denk
Dear Simon In message you wrote: > > I'm really not sure about this. The large binary suggests that you > have code/data at 0 and at 0xfe00, which seems wrong. So the image > is trying to bridge the gap and ends up being

[U-Boot] [PATCH v2 2/3] spi: ti_qspi: Fix compiler warning when DEBUG macro is set

2016-07-21 Thread Vignesh R
clk_div is uninitialized at the beginning of ti_spi_set_speed(), move debug() print after clk_div calculation to avoid compiler warning and to have proper value of clk_div printed during debugging. Signed-off-by: Vignesh R --- v2: no change drivers/spi/ti_qspi.c | 4 ++-- 1

[U-Boot] [PATCH v2 1/3] spi: ti_qspi: Fix failure on multiple READ_ID cmd

2016-07-21 Thread Vignesh R
Populating QSPI_RD_SNGL bit(0x1) in priv->cmd means that value QSPI_INVAL (0x4) is not written to CMD field of QSPI_SPI_CMD_REG in ti_qspi_cs_deactivate(). Therefore CS is never deactivated between successive READ ID which results in sf probe to fail. Fix this by not populating priv->cmd with

Re: [U-Boot] [PATCH] usb: dwc3: fixes crash in dwc3 driver due to types size mismatch

2016-07-21 Thread Masahiro Yamada
Hi. 2016-07-21 21:29 GMT+09:00 B, Ravi : > Hi Marek > >>> The crash at dwc3 driver observed due to offset misalignment of >>> structure members across files causing wrong code generation and leads >>> to crash, the issue is found during dfu test. >>> >>> For instance, ther is is

[U-Boot] [PATCH 4/4] ARM: uniphier: add PH1-LD21 board data

2016-07-21 Thread Masahiro Yamada
This has the same silicon die as PH1-LD20, but includes DRAM chips in its package. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/boards.c | 17 + arch/arm/mach-uniphier/init.h | 2 ++ 2 files changed, 19 insertions(+) diff --git

[U-Boot] [PATCH 3/4] ARM: uniphier: introduce flags to uniphier_board_data structure

2016-07-21 Thread Masahiro Yamada
I need to add more board attributes, so the "flags" member will be handier than separate boolean ones. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/boards.c| 4 ++-- arch/arm/mach-uniphier/dram/umc-ld4.c | 2 +-

[U-Boot] [PATCH 1/4] ARM: uniphier: clear notification flag before L2 operation

2016-07-21 Thread Masahiro Yamada
Clear the flag immediately before cache operation to not depend on the previous state. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/arm32/cache_uniphier.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[U-Boot] [PATCH 0/4] ARM: uniphier updates for v2016.09-rc1

2016-07-21 Thread Masahiro Yamada
I want this series merged during this merge window. Masahiro Yamada (4): ARM: uniphier: clear notification flag before L2 operation ARM: uniphier: rename outer-cache register macros ARM: uniphier: introduce flags to uniphier_board_data structure ARM: uniphier: add PH1-LD21 board data

[U-Boot] [PATCH 2/4] ARM: uniphier: rename outer-cache register macros

2016-07-21 Thread Masahiro Yamada
Sync register macros with Linux code. This will be helpful to develop the counterpart of Linux. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/arm32/Makefile | 2 +- arch/arm/mach-uniphier/arm32/cache-uniphier.c | 163

Re: [U-Boot] [PATCH v3] mmc-uclass: correct the device number

2016-07-21 Thread Jaehoon Chung
Hi Simon, On 07/22/2016 12:21 PM, Simon Glass wrote: > Hi Kever, > > On 19 July 2016 at 07:28, Kever Yang wrote: >> Not like the mmc-legacy which the devnum starts from 1, it starts from 0 >> in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num().

Re: [U-Boot] [PATCH v7] mmc: atmel_sdhci: Convert to the driver model support

2016-07-21 Thread Jaehoon Chung
On 07/22/2016 12:21 PM, Simon Glass wrote: > Hi, > > On 20 July 2016 at 22:16, Jaehoon Chung wrote: >> Hi Wenyuo, >> >> On 07/20/2016 07:04 PM, Wenyou Yang wrote: >>> Convert the driver to the driver model while retaining the existing >>> legacy code. This allows the

[U-Boot] Please pull u-boot-mpc85xx master

2016-07-21 Thread york sun
Tom, The following changes since commit 55edb9d4d521ff733d217ddf47ad7bf4650676be: mtd: cfi_flash: fix polling for bit XSR.7 on Intel chips (2016-07-20 11:13:26 +0200) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git for you to fetch changes up to

Re: [U-Boot] [PATCH] test/py: use absolute dts path in vboot test

2016-07-21 Thread Simon Glass
On 18 July 2016 at 10:07, Stephen Warren wrote: > From: Stephen Warren > > Without this, the test fails if the test is run with a cwd other than the > root of the U-Boot source tree. > > Fixes: 8729d582595d ("test: Convert the vboot test to test/py") >

Re: [U-Boot] [PATCH] rockchip: add a dummy byte for the sdram-channel property

2016-07-21 Thread Simon Glass
On 18 July 2016 at 09:41, Ziyuan Xu wrote: > Add an extra byte so that this data is not byteswapped. > > Signed-off-by: Ziyuan Xu > --- > > arch/arm/dts/rk3288-evb.dts | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Acked-by: Simon Glass

Re: [U-Boot] [PATCH] cosmetic: rockchip: rk3288: pinctrl: fix config symbol naming

2016-07-21 Thread Simon Glass
On 18 July 2016 at 09:51, Ziyuan Xu wrote: > Revise config to CONFIG_ROCKCHIP_RK3288_PINCTRL. > > Signed-off-by: Ziyuan Xu > --- > > configs/evb-rk3288_defconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Simon Glass

Re: [U-Boot] [PATCH] tpm: atmel_twi: Make compatible with DM I2C busses

2016-07-21 Thread Simon Glass
On 18 July 2016 at 05:47, Mario Six wrote: > Commit 302c5db ("dm: tpm: Add Driver Model support for tpm_atmel_twi > driver") converted the Atmel TWI TPM driver itself to driver model, but > kept the legacy-style i2c_write/i2c_read calls. > > Commit 3e7d940 ("dm: tpm: Every TPM

Re: [U-Boot] [PATCH] WIP: usb: xhci-pci: Add DM support

2016-07-21 Thread Simon Glass
On 18 July 2016 at 04:51, Stefan Roese wrote: > This patch adds DM support to the xHCI PCI driver. Enabling its use > e.g. in x86 platforms. > > Status: On the congatec BayTrail SoM, xHCI still does not work > correctly with this patch. Some internal timeouts lead to resets (BUG). >

Re: [U-Boot] [PATCH v2] mmc: display mmc list information like mmc_legacy type

2016-07-21 Thread Simon Glass
On 19 July 2016 at 08:21, Ziyuan Xu wrote: > From: Xu Ziyuan > > It's nicer to see this: > > => mmc list > dwmmc@ff0c: 0 > dwmmc@ff0f: 1 (eMMC) > > than this: > > => mmc list > dwmmc@ff0c: 0dwmmc@ff0f: 1 (eMMC) > > With the latter,

Re: [U-Boot] [PATCH 1/2] tools: Fix return code of fit_image_process_sig()

2016-07-21 Thread Simon Glass
Hi Mario, On 19 July 2016 at 03:07, Mario Six wrote: > When signing images, we repeatedly call fit_add_file_data() with > successively increasing size values to include the keys in the DTB. > > Unfortunately, if large keys are used (such as 4096 bit RSA keys), this > process

Re: [U-Boot] [PATCH 03/14] drivers: i2c: uclass: parse dt parameters only when CONFIG_OF_CONTROL is enable

2016-07-21 Thread Simon Glass
Hi Mugunthan, On 18 July 2016 at 03:40, Mugunthan V N wrote: > parse dt parameter of i2c devices only when CONFIG_OF_CONTROL > is enabled. > > Signed-off-by: Mugunthan V N > --- > drivers/i2c/i2c-uclass.c | 14 ++ > 1 file changed, 14

Re: [U-Boot] [PATCH] spl: Fix compilation warnings for arm64

2016-07-21 Thread Simon Glass
Hi Michael, On 18 July 2016 at 01:07, Michal Simek wrote: > Hi Simon, > > On 17.7.2016 16:12, Simon Glass wrote: >> Hi Michal, >> >> On 15 July 2016 at 00:48, Michal Simek wrote: >>> Make code 64bit aware. >>> >>> Warnings: >>>

Re: [U-Boot] [PATCH v3] mmc-uclass: correct the device number

2016-07-21 Thread Simon Glass
Hi Kever, On 19 July 2016 at 07:28, Kever Yang wrote: > Not like the mmc-legacy which the devnum starts from 1, it starts from 0 > in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num(). > > Signed-off-by: Kever Yang >

Re: [U-Boot] MPC8347 Initial Boot problems

2016-07-21 Thread Simon Glass
Hi Austin, On 20 July 2016 at 14:21, Gardner, Austin (GE Transportation) wrote: > Simon, > > Thanks for the response! > > I do not have any debug facilities unfortunately, and I don't think it is a > board fault either. The text base you're referring to is >

Re: [U-Boot] [PATCH v7] mmc: atmel_sdhci: Convert to the driver model support

2016-07-21 Thread Simon Glass
Hi, On 20 July 2016 at 22:16, Jaehoon Chung wrote: > Hi Wenyuo, > > On 07/20/2016 07:04 PM, Wenyou Yang wrote: >> Convert the driver to the driver model while retaining the existing >> legacy code. This allows the driver to support boards that have >> converted to driver

Re: [U-Boot] [PATCH 0/4] Ability to load linux kernel on rock2 RK3288

2016-07-21 Thread Simon Glass
+Hans, Tom Hi Sandy, On 15 July 2016 at 07:40, Sandy Patterson wrote: > Hi Simon, > > I think I screwed up submitting, and didn't cc the maintainers for the > reverts. I can resubmit and get patman to behave. What do you suggest? > > I still think this is the best

Re: [U-Boot] [Urgent Problem] ARM64 Linux fails to boot with initramdisk with uImage header

2016-07-21 Thread Simon Glass
Hi Masahiro, On 20 July 2016 at 07:09, Masahiro Yamada wrote: > Hi Tom. > > > 2016-07-20 21:41 GMT+09:00 Tom Rini : >> I think Simon is away this week and that change is in the middle of some >> others. So I'd like to fix things today and let

Re: [U-Boot] [PATCH 0/4] Ability to load linux kernel on rock2 RK3288

2016-07-21 Thread Ziyuan Xu
Hi Standy, On 2016年07月14日 01:51, Sandy Patterson wrote: I did a little more on this, and talked to someone else here. It seems that my problem with loading the kernel including these patches is specific to our kernel and after applying a local patch we have, it appears to load fine. So this

Re: [U-Boot] [U-Boot, 3/3] stm32: Change USART port to USART6 for stm32f746 discovery board

2016-07-21 Thread Vikas MANOCHA
Thanks Tom > On Jul 21, 2016, at 12:39 PM, Tom Rini wrote: > >> On Wed, Jul 20, 2016 at 11:59:32PM +0200, Vikas MANOCHA wrote: >> Hi Tom, >> >>> -Original Message- >>> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Tom Rini >>> Sent: Saturday, July

Re: [U-Boot] testing: [PATCH v7 0/3] common: usb_storage: Implement logic to calculate optimal usb maximum trasfer blocks

2016-07-21 Thread Matthew Bright
On 07/22/2016 01:24 AM, Rajesh Bhagat wrote: > >> -Original Message- >> From: Marek Vasut [mailto:marex at denx.de] >> Sent: Thursday, July 21, 2016 5:13 PM >> To: Rajesh Bhagat ; Matthew Bright >> >> Cc: u-boot at lists.denx.de; Chris Packham > alliedtelesis.co.nz>; Mark >> Tomlinson >>

Re: [U-Boot] Pull request: u-boot-sh/rmobile

2016-07-21 Thread Nobuhiro Iwamatsu
Hi! 2016-07-21 23:38 GMT+09:00 Tom Rini : > On Thu, Jul 21, 2016 at 04:10:30AM +0900, Nobuhiro Iwamatsu wrote: > >> Hi Tom, >> >> Please pull u-boot-sh rmobile branch. >> >> The following changes since commit 59d07ee08e858bf2c121d0cdc6c8ddd3b26ee5b1: >> >> SPL: tiny-printf:

[U-Boot] Pull request, u-boot-tegra/master

2016-07-21 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! All Tegra builds are OK, and Stephen's automated test system reports that all tests pass, except for a sandbox issue (also in mainline) that he's sent a patch for. The following changes since commit

Re: [U-Boot] [U-Boot, 3/3] stm32: Change USART port to USART6 for stm32f746 discovery board

2016-07-21 Thread Tom Rini
On Wed, Jul 20, 2016 at 11:59:32PM +0200, Vikas MANOCHA wrote: > Hi Tom, > > > -Original Message- > > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Tom Rini > > Sent: Saturday, July 16, 2016 6:51 AM > > To: tnishinaga@gmail.com > > Cc: u-boot@lists.denx.de;

Re: [U-Boot] [PATCH 1/2] ARM: Add save_boot_params for ARMv8

2016-07-21 Thread Tom Rini
On Thu, Jul 21, 2016 at 04:16:57PM +, Tom Warren wrote: > Tom, > > I'm going to take these 2 in via Tegra if that's OK with you. Expect a PR > later today. Sounds good, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [PATCH] Kconfig: Move option CONFIG_SYS_NO_FLASH to Kconfig

2016-07-21 Thread Tom Rini
On Thu, Jul 21, 2016 at 04:58:18PM +0200, Michal Simek wrote: > On 21.7.2016 16:46, Tom Rini wrote: > > On Thu, Jul 21, 2016 at 01:51:20PM +0200, Michal Simek wrote: > >> Hi Tom, > >> > >> On 19.7.2016 07:12, Siva Durga Prasad Paladugu wrote: > >>> Move config option CONFIG_SYS_NO_FLASH as Kconfig

Re: [U-Boot] [PATCH] arch-mx6: fix MX6_PAD_DECLARE macro to work with MX6 duallite

2016-07-21 Thread Hannes Schmelzer
On 07/21/2016 10:28 AM, Stefano Babic wrote: Hi Hannes, Hi Stefano, On 21/07/2016 08:10, Hannes Schmelzer wrote: Just looked around a bit more about this. Root cause for failing this patch is, that many boards do not use the 'IOMUX_PADS' macro, instead they just directly use the definition

Re: [U-Boot] [PATCH 1/5] fsl: serdes: ensure accessing the initialized maps of serdes protocol

2016-07-21 Thread Zhiqiang Hou
Hi York, Thanks for your comments! > -Original Message- > From: york sun > Sent: 2016年7月21日 5:15 > To: Zhiqiang Hou ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; w...@denx.de; Prabhakar Kushwaha > ; alison.w...@freescale.com; >

Re: [U-Boot] [PATCH] spi: zynq_spi: Fix infinite looping while xfer

2016-07-21 Thread Jagan Teki
On 21 July 2016 at 13:54, Lad, Prabhakar wrote: > On Thu, Jul 21, 2016 at 7:58 AM, Jagan Teki wrote: >> On 23 June 2016 at 19:28, Lad, Prabhakar wrote: >>> During spi transfer, for example: >>> sspi 1:1.0 8 ff >>>

Re: [U-Boot] [PATCH 1/2] ARM: Add save_boot_params for ARMv8

2016-07-21 Thread Tom Warren
Tom, I'm going to take these 2 in via Tegra if that's OK with you. Expect a PR later today. Tom > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Tuesday, July 19, 2016 7:22 PM > To: Stephen Warren > Cc: u-boot@lists.denx.de; Simon Glass

[U-Boot] [RFC PATCH v2 0/5] SPL: DFU Support in SPL

2016-07-21 Thread Ravi Babu
Traditionally the DFU support is available only as part 2nd stage boot loader(u-boot) and DFU is not supported in SPL. The SPL-DFU feature is useful for boards which does not have MMC/SD, ethernet boot mechanism to boot the board and only has USB inteface. This patch add DFU support in SPL with

[U-Boot] [RFC PATCH v2 4/5] dra7x: boot: add dfu bootmode support

2016-07-21 Thread Ravi Babu
This patch enables the DFU boot mode support for dra7x platform. Signed-off-by: Ravi Babu --- arch/arm/cpu/armv7/omap-common/boot-common.c |5 + arch/arm/include/asm/arch-omap5/spl.h|2 +- common/spl/spl.c | 10 +- 3

[U-Boot] [RFC PATCH v2 1/5] spl: dfu: add dfu support in SPL

2016-07-21 Thread Ravi Babu
Traditionally the DFU support is available only as part 2nd stage boot loader(u-boot) and DFU is not supported in SPL. The SPL-DFU feature is useful for boards which does not have MMC/SD, ethernet boot mechanism to boot the board and only has USB inteface. This patch add DFU support in SPL with

[U-Boot] [RFC PATCH v2 5/5] dra7x: configs: enable SPL-DFU support

2016-07-21 Thread Ravi Babu
This patch enables the SPL-DFU support for dra7x platform. Signed-off-by: Ravi Babu --- include/configs/dra7xx_evm.h | 19 ++- include/configs/ti_omap5_common.h |2 -- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git

Re: [U-Boot] [PATCH] Kconfig: Move option CONFIG_SYS_NO_FLASH to Kconfig

2016-07-21 Thread Michal Simek
On 21.7.2016 16:46, Tom Rini wrote: > On Thu, Jul 21, 2016 at 01:51:20PM +0200, Michal Simek wrote: >> Hi Tom, >> >> On 19.7.2016 07:12, Siva Durga Prasad Paladugu wrote: >>> Move config option CONFIG_SYS_NO_FLASH as Kconfig >>> option. All the boards which needs to enable this >>> option can be

[U-Boot] [RFC PATCH v2 3/5] spl: dfu: adding dfu support functions for SPL-DFU

2016-07-21 Thread Ravi Babu
Adding support functions to run dfu spl commands. Signed-off-by: Ravi Babu --- common/spl/Makefile |1 + common/spl/spl_dfu.c | 57 ++ include/spl.h|8 +++ 3 files changed, 66 insertions(+) create mode

[U-Boot] [RFC PATCH v2 2/5] common: dfu: saperate the dfu common functionality

2016-07-21 Thread Ravi Babu
The cmd_dfu functionality is been used by both SPL and u-boot, saperating the core dfu functionality moving it to common/dfu.c. Signed-off-by: Ravi Babu --- cmd/dfu.c | 61 ++ common/Makefile |2 ++ common/dfu.c| 88

Re: [U-Boot] [PATCH 2/2] arm: omap5: fix build dependency for secure devices

2016-07-21 Thread Tom Rini
On Wed, Jul 20, 2016 at 01:55:59PM -0500, Andreas Dannenberg wrote: > Commit 17c2987 introduces an undesired dependency on CONFIG_SPL_LOAD_FIT > when building U-Boot for AM57xx and DRA7xx high-security (HS) devices that > causes the build to break when that option is not active. Fix this issue >

Re: [U-Boot] [PATCH 1/2] arm: am4x: fix build dependency for secure devices

2016-07-21 Thread Tom Rini
On Wed, Jul 20, 2016 at 01:55:58PM -0500, Andreas Dannenberg wrote: > Commit e29878f introduces an undesired dependency on CONFIG_SPL_LOAD_FIT > when building U-Boot for AM43xx high-security (HS) devices that causes the > build to break when that option is not active. Fix this issue by only >

Re: [U-Boot] Pull request: u-boot-sh master

2016-07-21 Thread Tom Rini
On Thu, Jul 21, 2016 at 04:13:17AM +0900, Nobuhiro Iwamatsu wrote: > Hi Tom, > > Please pull u-boot-sh master branch. > > The following changes since commit 59d07ee08e858bf2c121d0cdc6c8ddd3b26ee5b1: > > SPL: tiny-printf: avoid any BSS usage (2016-07-08 12:50:34 -0400) > > are available in

Re: [U-Boot] [PATCH v2] image: fix IH_ARCH_... values for uImage compatibility

2016-07-21 Thread Tom Rini
On Thu, Jul 21, 2016 at 03:16:00PM +0900, Masahiro Yamada wrote: > Commit 555f45d8f916 ("image: Convert the IH_... values to enums") > accidentally changed some IH_ARCH_... values. > > Prior to that commit, there existed a gap between IH_ARCH_M68K and > IH_ARCH_MICROBLAZE, like follows. > >

Re: [U-Boot] [PATCH] Kconfig: Move option CONFIG_SYS_NO_FLASH to Kconfig

2016-07-21 Thread Tom Rini
On Thu, Jul 21, 2016 at 01:51:20PM +0200, Michal Simek wrote: > Hi Tom, > > On 19.7.2016 07:12, Siva Durga Prasad Paladugu wrote: > > Move config option CONFIG_SYS_NO_FLASH as Kconfig > > option. All the boards which needs to enable this > > option can be done through defconfigs > > > >

Re: [U-Boot] what is the *recommended* split between defconfig file and header file?

2016-07-21 Thread Tom Rini
On Thu, Jul 21, 2016 at 07:24:10AM -0400, Robert P. J. Day wrote: > On Tue, 19 Jul 2016, Tom Rini wrote: > > > On Tue, Jul 19, 2016 at 04:15:47AM -0400, Robert P. J. Day wrote: > > > > > > kind of a style question but what is the preferred way to define a > > > board in the sense of what belongs

Re: [U-Boot] testing: [PATCH v7 0/3] common: usb_storage: Implement logic to calculate optimal usb maximum trasfer blocks

2016-07-21 Thread Rajesh Bhagat
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Thursday, July 21, 2016 5:13 PM > To: Rajesh Bhagat ; Matthew Bright > > Cc: u-boot@lists.denx.de; Chris Packham ; >

Re: [U-Boot] Pull request: u-boot-sh/rmobile

2016-07-21 Thread Tom Rini
On Thu, Jul 21, 2016 at 04:10:30AM +0900, Nobuhiro Iwamatsu wrote: > Hi Tom, > > Please pull u-boot-sh rmobile branch. > > The following changes since commit 59d07ee08e858bf2c121d0cdc6c8ddd3b26ee5b1: > > SPL: tiny-printf: avoid any BSS usage (2016-07-08 12:50:34 -0400) > > are available in

[U-Boot] [PATCH v2] arm: imx: Add support for Advantech DMS-BA16 board

2016-07-21 Thread Akshay Bhat
Add support for Advantech DMS-BA16 board. The board is based on Advantech BA16 module which has a i.MX6D processor. The board supports: - FEC Ethernet - USB Ports - SDHC and MMC boot - SPI NOR - LVDS and HDMI display Basic information about the module: - Module manufacturer: Advantech -

Re: [U-Boot] [PATCH] arm: imx: Add support for Advantech DMS-BA16 board

2016-07-21 Thread Akshay Bhat
Hi Stefano, On 07/20/2016 12:25 PM, Stefano Babic wrote: HI Akshay, On 01/01/1970 01:00, wrote: Add support for Advantech DMS-BA16 board. The board is based on Advantech BA16 module which has a i.MX6D processor. The board supports: - FEC Ethernet - USB Ports - SDHC and MMC boot - SPI

Re: [U-Boot] [PATCH] fixing typo error in README file. CPU15 -> CP15

2016-07-21 Thread Jaehoon Chung
Hi Yeongjun, On 07/20/2016 10:56 PM, yeongjun Kim wrote: > It looks typo error. It's not error..Just typo. Subject should be add the prefix "README: fix the typo..." > Not CPU15, CP15(CoProcessor15) > > Signed-off-by: yeongjun Kim > --- If you send the patch

Re: [U-Boot] [PATCH] usb: dwc3: fixes crash in dwc3 driver due to types size mismatch

2016-07-21 Thread Marek Vasut
On 07/21/2016 03:03 PM, B, Ravi wrote: > Hi Marek > >>> >> Please explain why this patch fixes the issue. > > Ok I will explain, due to the commit[1] the resource_size_t size has > increased to 8 bytes (64 bit), compared to earlier 32 bit (4bytes) and > the definition is

Re: [U-Boot] [PATCH] usb: dwc3: fixes crash in dwc3 driver due to types size mismatch

2016-07-21 Thread B, Ravi
Hi Marek >> > Please explain why this patch fixes the issue. Ok I will explain, due to the commit[1] the resource_size_t size has increased to 8 bytes (64 bit), compared to earlier 32 bit (4bytes) and the definition is moved to includes/linux/types.h from asm.h. Due to

Re: [U-Boot] [PATCH] usb: dwc3: fixes crash in dwc3 driver due to types size mismatch

2016-07-21 Thread Marek Vasut
On 07/21/2016 02:44 PM, B, Ravi wrote: > Hi Marek > Please explain why this patch fixes the issue. >>> >>> Ok I will explain, due to the commit[1] the resource_size_t size has >>> increased to 8 bytes (64 bit), compared to earlier 32 bit (4bytes) and the >>> definition is moved to

Re: [U-Boot] [PATCH] usb: dwc3: fixes crash in dwc3 driver due to types size mismatch

2016-07-21 Thread B, Ravi
Hi Marek >>> Please explain why this patch fixes the issue. >> >> Ok I will explain, due to the commit[1] the resource_size_t size has >> increased to 8 bytes (64 bit), compared to earlier 32 bit (4bytes) and the >> definition is moved to includes/linux/types.h from asm.h. Due to this change

Re: [U-Boot] [PATCH] usb: dwc3: fixes crash in dwc3 driver due to types size mismatch

2016-07-21 Thread Marek Vasut
On 07/21/2016 02:29 PM, B, Ravi wrote: > Hi Marek > >>> The crash at dwc3 driver observed due to offset misalignment of >>> structure members across files causing wrong code generation and leads >>> to crash, the issue is found during dfu test. >>> >>> For instance, ther is is mismatch in code

[U-Boot] [PATCH] mmc: s5p_sdhci: support the Driver model for Exynos

2016-07-21 Thread Jaehoon Chung
This patch support the driver model for s5p_sdhci controller. To support the legacy model, maintained the existing code. Note: If use the Driver Model, it needs to modify the device-tree. In future, will update the Device-tree and enable the configuratioin. (CONFIG_BLK, CONFIG_DM_MMC and

Re: [U-Boot] [PATCH] usb: dwc3: fixes crash in dwc3 driver due to types size mismatch

2016-07-21 Thread B, Ravi
Hi Marek >> The crash at dwc3 driver observed due to offset misalignment of >> structure members across files causing wrong code generation and leads >> to crash, the issue is found during dfu test. >> >> For instance, ther is is mismatch in code generation to access the >> address of

Re: [U-Boot] [PATCH] Kconfig: Move option CONFIG_SYS_NO_FLASH to Kconfig

2016-07-21 Thread Michal Simek
Hi Tom, On 19.7.2016 07:12, Siva Durga Prasad Paladugu wrote: > Move config option CONFIG_SYS_NO_FLASH as Kconfig > option. All the boards which needs to enable this > option can be done through defconfigs > > Signed-off-by: Siva Durga Prasad Paladugu > --- > Changes for v2:

[U-Boot] [PATCH] microblaze: Remove empty ifdef around caches

2016-07-21 Thread Michal Simek
Code around was removed because of move to Kconfig. Signed-off-by: Michal Simek --- include/configs/microblaze-generic.h | 4 1 file changed, 4 deletions(-) diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index

Re: [U-Boot] [PATCH] ARM64: zynqmp: Enable AHCI on EP platform

2016-07-21 Thread Michal Simek
On 21.7.2016 01:34, Alexander Graf wrote: > The EP platform also has working AHCI emulation, so I see little reason > not to implement the plumbing for it that enables us to boot from AHCI. > > Signed-off-by: Alexander Graf > --- > include/configs/xilinx_zynqmp_ep.h | 1 + > 1

Re: [U-Boot] testing: [PATCH v7 0/3] common: usb_storage: Implement logic to calculate optimal usb maximum trasfer blocks

2016-07-21 Thread Marek Vasut
On 07/21/2016 10:08 AM, Rajesh Bhagat wrote: > Hello Marek, > > Any comments? If I recall correctly, this broke things for Matthew. Is this resolved ? >> -Original Message- >> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Rajesh Bhagat >> Sent: Tuesday, June 28, 2016

Re: [U-Boot] [PATCH] usb: dwc3: fixes crash in dwc3 driver due to types size mismatch

2016-07-21 Thread Marek Vasut
On 07/21/2016 12:41 PM, Ravi Babu wrote: > The crash at dwc3 driver observed due to offset misalignment > of structure members across files causing wrong code generation > and leads to crash, the issue is found during dfu test. > > For instance, ther is is mismatch in code generation to > access

Re: [U-Boot] [PATCH 0/5] usb: fsl: Add code to use CONFIG_DM_USB

2016-07-21 Thread Marek Vasut
On 07/21/2016 10:02 AM, Rajesh Bhagat wrote: > Hi All, > > Any Comments? York, please check this. >> -Original Message- >> From: Rajesh Bhagat [mailto:rajesh.bha...@nxp.com] >> Sent: Friday, July 01, 2016 6:52 PM >> To: u-boot@lists.denx.de >> Cc: ma...@denx.de; york sun

[U-Boot] [PATCH 2/2] ARM: am33xx: Always inhibit init/refresh during DDR phy init

2016-07-21 Thread Russ Dill
A couple of commits have modified the am33xx/am437x ddr2/ddr3 initialization path to fix certain issues, but have had the side effect of causing L3 noc errors during initialization. The two commits are: 69b918 "am33xx,ddr3: fix ddr3 sdram configuration" fc46ba "arm: am437x: Enable hardware

Re: [U-Boot] [PATCH 3/5] fsl: csu: add an API to set individual device access permission

2016-07-21 Thread Zhiqiang Hou
Hi Prabhakar, Thanks for your comments! > -Original Message- > From: Prabhakar Kushwaha > Sent: 2016年7月21日 12:39 > To: Zhiqiang Hou ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; york sun ; w...@denx.de; > alison.w...@freescale.com;

[U-Boot] [PATCH 0/2] am33xx/am437x u-boot DDR init fixes

2016-07-21 Thread Russ Dill
This patch set fixes a small pair of DDR init issues on am33xx and am437x platforms. These issue lead an L3 noc error on am437x platforms that is reported once the kernel boots. Russ Dill (2): ARM: am33xx: Fix DDR init delay placement ARM: am33xx: Always inhibit init/refresh during DDR phy

[U-Boot] [PATCH 1/2] ARM: am33xx: Fix DDR init delay placement

2016-07-21 Thread Russ Dill
The delay needs to be before the write to ref_ctrl register which initiates refreshes. An improper initialization sequence generates an L3 noc error. Signed-off-by: Russ Dill --- arch/arm/cpu/armv7/am33xx/ddr.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

Re: [U-Boot] what is the *recommended* split between defconfig file and header file?

2016-07-21 Thread Robert P. J. Day
On Tue, 19 Jul 2016, Tom Rini wrote: > On Tue, Jul 19, 2016 at 04:15:47AM -0400, Robert P. J. Day wrote: > > > > kind of a style question but what is the preferred way to define a > > board in the sense of what belongs in the defconfig file and what > > belongs in the header file? > > The header

[U-Boot] [patch v2] armv8/ls1043a: Add MTD partition scheme

2016-07-21 Thread Wenbin song
From: Wenbin Song Add and share the the MTD partition scheme with kernel by defualt bootargs. And add the "mtdparts" env. Signed-off-by: Wenbin Song --- Changes for v2: rebase --- include/configs/ls1043a_common.h | 22 -- 1 file

Re: [U-Boot] [PATCH v2] common: fit: Allow U-Boot images to be booted

2016-07-21 Thread Robert P. J. Day
On Wed, 20 Jul 2016, Mario Six wrote: > On Wed, Jul 20, 2016 at 3:56 PM, Robert P. J. Day > wrote: ... snip ... > > not really, since i always thought that the difficulty in loading > > and booting a second-stage u-boot was explained here: > > > >

[U-Boot] [PATCH] rockchip: rk3288: Fix pinctrl for GPIO bank 0

2016-07-21 Thread John Keeping
Bank 0 is the "PMU GPIO" bank which is controlled by the PMU registers rather than the GRF registers. In the GRF the top half of the register is used as a mask so that some bits can be updated without affecting the others, but in the PMU this feature is not provided and the top half of the

[U-Boot] [PATCH] usb: dwc3: fixes crash in dwc3 driver due to types size mismatch

2016-07-21 Thread Ravi Babu
The crash at dwc3 driver observed due to offset misalignment of structure members across files causing wrong code generation and leads to crash, the issue is found during dfu test. For instance, ther is is mismatch in code generation to access the address of structure member dwc->dep[0] in

[U-Boot] [PATCH v6 1/4] ARMv7: PSCI: add PSCI v1.0 functions skeleton

2016-07-21 Thread macro . wave . z
From: Hongbo Zhang This patch adds all the PSCI v1.0 functions in to the common framework, with all the functions returning "not implemented" by default, as a common framework all the dummy functions are added here, it is up to every platform developer to decide which

[U-Boot] [PATCH v6 4/4] ARMv7: PSCI: ls102xa: move secure text section into OCRAM

2016-07-21 Thread macro . wave . z
From: Hongbo Zhang LS1021 offers two secure OCRAM blocks for trustzone. This patch moves all the secure text sections into the OCRAM. Signed-off-by: Wang Dongsheng Signed-off-by: Hongbo Zhang ---

[U-Boot] [PATCH v6 0/4] ARMv7: PSCI: add PSCI v1.0 support

2016-07-21 Thread macro . wave . z
From: Hongbo Zhang v6 changes: - Remove the patch of fixing psci stack and patch of fixing saving target PC since Chen-Yu Tsai's patches resovle them in other way and already got merged - Temporarily remove patch of checking ON_PENDING and ALREADY_ON for reasons: it is

[U-Boot] [PATCH v6 3/4] ARMv7: PSCI: ls102xa: add more PSCI v1.0 functions implemention

2016-07-21 Thread macro . wave . z
From: Hongbo Zhang This patch implements PSCI functions for ls102xa SoC following PSCI v1.0, they are as the list: psci_version, psci_features, psci_cpu_suspend, psci_affinity_info, psci_system_reset, psci_system_off. Tested on LS1021aQDS,

[U-Boot] [PATCH v6 2/4] ARMv7: PSCI: ls102xa: check target CPU ID before further operations

2016-07-21 Thread macro . wave . z
From: Hongbo Zhang The input parameter CPU ID needs to be validated before furher oprations such as CPU_ON, this patch introduces the function to do this. Signed-off-by: Wang Dongsheng Signed-off-by: Hongbo Zhang ---

Re: [U-Boot] [PATCH v3] nitrogen6x : Use generic distro configuration

2016-07-21 Thread Stefano Babic
Hi Fabien, On 20/07/2016 10:07, Fabien Lahoudere wrote: > >> On most boards, mx6_common is included at the beginning of the >> configuration file. This means that CONFIG_FDTADDR is surely not set, >> and it will be set to 0x1800. >> >> For some boards this could be flawless: for example, I

[U-Boot] [PATCH v2 08/13] i2c: mvtwsi: Factor out adap parameter

2016-07-21 Thread Mario Six
To be able to use the compatibility layer from the DM functions, we factor the adap parameter out of all functions, and pass the actual register base instead. Signed-off-by: Mario Six Reviewed-by: Stefan Roese --- Changes for v2: None ---

[U-Boot] [PATCH v2 10/13] i2c: mvtwsi: Add compatibility to DM

2016-07-21 Thread Mario Six
This patch adds the necessary functions and Kconfig entry to make the MVTWSI I2C driver compatible with the driver model. A possible device tree entry might look like this: i2c@11100 { compatible = "marvell,mv64xxx-i2c"; reg = <0x11000 0x20>; clock-frequency = <10>;

[U-Boot] [PATCH v2 07/13] i2c: mvtwsi: Add compatibility functions

2016-07-21 Thread Mario Six
To prepare for the DM conversion, we add a layer of compatibility functions to be used by both the legacy and the DM functions. Signed-off-by: Mario Six Reviewed-by: Stefan Roese --- Changes for v2: None --- drivers/i2c/mvtwsi.c | 47

[U-Boot] [PATCH v2 12/13] i2c: mvtwsi: Make delay times frequency-dependent

2016-07-21 Thread Mario Six
Some devices using the MVTWSI driver have the option to run at speeds faster than Standard Mode (100kHZ). On the Armada 38x controllers, this is actually necessary, since due to erratum FE-8471889, a timing violation concerning repeated starts prevents the controller from working correctly in

[U-Boot] [PATCH v2 03/13] i2c: mvtwsi: Improve and fix comments

2016-07-21 Thread Mario Six
This patch fixes only comments/documentation: Streamline capitalization and improve grammar/punctuation. Signed-off-by: Mario Six Reviewed-by: Stefan Roese --- Changes for v2: None --- drivers/i2c/mvtwsi.c | 129

[U-Boot] [PATCH v2 09/13] i2c: mvtwsi: Make address length variable

2016-07-21 Thread Mario Six
The length of the address parameter of the __twsi_i2c_read and __twsi_i2c_write functions is fixed to four bytes. As a final step in the preparation of the DM conversion, we make the length of this parameter variable by turning it into an array of bytes, and convert the 32 bit value that's passed

[U-Boot] [PATCH v2 04/13] i2c: mvtwsi: Eliminate flags parameter

2016-07-21 Thread Mario Six
Due to breaking boots from NOR flashes, commit d6b7757 ("i2c: mvtwsi: Eliminate twsi_control_flags") removed the static global twsi_control_flags variable, which kept a set of default flags that were always or'd to the control register when writing. It was replaced with a flags parameter, which

[U-Boot] [PATCH v2 05/13] i2c: mvtwsi: Get rid of status parameter

2016-07-21 Thread Mario Six
The twsi_stop function contains a parameter "status," which is used to pass in the current exit status of the function calling twsi_stop, and either return this status unchanged if it indicates an error, or return twsi_stop's exit status if it does not indicate an error. While not massively

[U-Boot] [PATCH v2 13/13] i2c: mvtwsi: Add documentation

2016-07-21 Thread Mario Six
Add full documentation to all driver functions. Signed-off-by: Mario Six Reviewed-by: Stefan Roese --- Changes for v2: None --- drivers/i2c/mvtwsi.c | 163 +-- 1 file changed, 144 insertions(+), 19 deletions(-)

[U-Boot] [PATCH v2 11/13] i2c: mvtwsi: Handle zero-length offsets properly

2016-07-21 Thread Mario Six
Zero-length offsets are not properly handled by the driver. When a read operation with a zero-length offset is started, a START condition is asserted, and since no offset bytes are transferred, a repeated START is issued immediately after, which confuses the controller. To fix this, we send the

[U-Boot] [PATCH v2 00/13] i2c: mvtwsi: DM conversion and improvements

2016-07-21 Thread Mario Six
This patch series converts the MVTWSI I2C driver to DM, fixes style violations, improves and cleans up the code, and adds lots of documentation. Mario Six (13): i2c: mvtwsi: Fix style violations i2c: mvtwsi: Streamline code and add documentation i2c: mvtwsi: Improve and fix comments i2c:

[U-Boot] [PATCH v2 01/13] i2c: mvtwsi: Fix style violations

2016-07-21 Thread Mario Six
This patch fixes seven style violations: Six superfluous spaces after casts, and one logical continuation violation. Signed-off-by: Mario Six Reviewed-by: Stefan Roese --- Changes for v2: None --- drivers/i2c/mvtwsi.c | 16 1 file changed, 8

[U-Boot] [PATCH v2 06/13] i2c: mvtwsi: Use 'uint' instead of 'unsigned int'

2016-07-21 Thread Mario Six
Since some additional parameters will be added in the course of this patch series (especially with the addition of DM support), we replace the longer "unsigned int" declarations with "uint" declarations to keep the parameter lists more readable. Signed-off-by: Mario Six

[U-Boot] [PATCH v2 02/13] i2c: mvtwsi: Streamline code and add documentation

2016-07-21 Thread Mario Six
Convert groups of logically connected preprocessor defines into proper enums, one macro into an inline function, and add documentation to/extend existing documentation of these items. Signed-off-by: Mario Six Reviewed-by: Stefan Roese --- Changes for v2: None

Re: [U-Boot] [PATCH 1/5] fsl: serdes: ensure accessing the initialized maps of serdes protocol

2016-07-21 Thread Zhiqiang Hou
Hi Prabhakar, Thanks for your comments! > -Original Message- > From: Prabhakar Kushwaha > Sent: 2016年7月21日 12:28 > To: york sun ; Zhiqiang Hou ; u- > b...@lists.denx.de; albert.u.b...@aribaud.net; w...@denx.de; > alison.w...@freescale.com;

  1   2   >