Re: [U-Boot] [PATCH 1/4] eth: asix88179: Add VID:DID for Cypress GX3 USB Ethernet Adapter

2016-08-03 Thread Marek Vasut
On 08/03/2016 08:14 AM, Alban Bedel wrote: > Added support for the Cypress GX3 SuperSpeed to Gigabit Ethernet > Bridge Controller (VID_04b4/PID_3610). > > Signed-off-by: Alban Bedel Applied, thanks > --- > drivers/usb/eth/asix88179.c | 2 ++ > 1 file changed, 2

Re: [U-Boot] [PATCH 2/4] eth: asix88179: Fix receiving on big endian system

2016-08-03 Thread Marek Vasut
On 08/03/2016 08:14 AM, Alban Bedel wrote: > In asix_recv() the call to convert the endianess of the receive header > was applied on the wrong variable. Instead of converting rx_hdr it > converted pkt_hdr which is a pointer, and not yet initialiazed at this > point. > > Signed-off-by: Alban Bedel

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

2016-08-03 Thread Stefano Babic
Hi Fabien, On 02/08/2016 09:31, Fabien Lahoudere wrote: > In order to simplify the use of various images on various media > for nitrogen6x, the configuration of the board must follow the > generic distro configuration (doc/README.distro). > > In order to boot your old rootfs, move your kernel

[U-Boot] [PATCH] tegra: config: Add 'pci enum' to preboot when PCI is enabled

2016-08-03 Thread Alban Bedel
For simplicity and backward compatibility automatically run 'pci enum' via preboot when PCI is enabled. As preboot is already used for the USB keyboard support this rework how CONFIG_PREBOOT is set to allow combining several commands. Signed-off-by: Alban Bedel ---

[U-Boot] [PATCH 3/4] eth: asix88179: Prepare supporting the driver model

2016-08-03 Thread Alban Bedel
Change the prototype of a few functions to allow resuing the code for the driver model. Signed-off-by: Alban Bedel --- drivers/usb/eth/asix88179.c | 71 - 1 file changed, 44 insertions(+), 27 deletions(-) diff --git

[U-Boot] [PATCH 2/4] eth: asix88179: Fix receiving on big endian system

2016-08-03 Thread Alban Bedel
In asix_recv() the call to convert the endianess of the receive header was applied on the wrong variable. Instead of converting rx_hdr it converted pkt_hdr which is a pointer, and not yet initialiazed at this point. Signed-off-by: Alban Bedel ---

Re: [U-Boot] [PATCH] malloc_simple: Add simple malloc free function

2016-08-03 Thread Marek Vasut
On 08/03/2016 05:24 AM, Chin Liang See wrote: > Enable a simple malloc implementation which will minimize > memory usage prior relocation. This is essential as memory > available prior location is internal memory and limited in > size. > > This implementation will stored last 2 usage of malloc.

Re: [U-Boot] [PATCH] malloc_simple: Add simple malloc free function

2016-08-03 Thread Chin Liang See
Hi Marek, On Wed, 2016-08-03 at 08:58 +0200, Marek Vasut wrote: > On 08/03/2016 05:24 AM, Chin Liang See wrote: > > Enable a simple malloc implementation which will minimize > > memory usage prior relocation. This is essential as memory > > available prior location is internal memory and limited

Re: [U-Boot] [PATCH] malloc_simple: Add simple malloc free function

2016-08-03 Thread Marek Vasut
On 08/03/2016 09:30 AM, Chin Liang See wrote: > Hi Marek, Hi, > On Wed, 2016-08-03 at 08:58 +0200, Marek Vasut wrote: >> On 08/03/2016 05:24 AM, Chin Liang See wrote: >>> Enable a simple malloc implementation which will minimize >>> memory usage prior relocation. This is essential as memory >>>

Re: [U-Boot] [PATCH] net: asix: Fix ASIX 88772B with driver model

2016-08-03 Thread Marek Vasut
On 08/03/2016 07:32 AM, Alban Bedel wrote: > Commit 147271209a9d ("net: asix: fix operation without eeprom") > added a special handling for ASIX 88772B that enable another > type of header. This break the driver in DM mode as the extra handling > needed in the receive path is missing. So add the

Re: [U-Boot] [PATCH 3/4] eth: asix88179: Prepare supporting the driver model

2016-08-03 Thread Marek Vasut
On 08/03/2016 08:14 AM, Alban Bedel wrote: > Change the prototype of a few functions to allow resuing the code for > the driver model. > > Signed-off-by: Alban Bedel Applied, thanks -- Best regards, Marek Vasut ___

Re: [U-Boot] [PATCH 4/4] eth: asix88179: Add support for the driver model

2016-08-03 Thread Marek Vasut
On 08/03/2016 08:14 AM, Alban Bedel wrote: > Signed-off-by: Alban Bedel > --- Please add a commit message and repost just this one patch. -- Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] mtd: nand: mxs: fix cache alignment for cache lines >32

2016-08-03 Thread Stefano Babic
On 02/08/2016 08:55, Stefan Agner wrote: > From: Stefan Agner > > Currently the command buffer gets allocated with a size of 32 bytes. > This causes warning messages on systems with cache lines bigger than > 32 bytes: > CACHE: Misaligned operation at range [9df17a00,

Re: [U-Boot] [PATCH] mx7dsabresd: Print secure/non-secure mode info

2016-08-03 Thread Stefano Babic
On 29/07/2016 01:49, Fabio Estevam wrote: > From: Fabio Estevam > > mx7dsabresd has two targets: > > - mx7dsabresd_defconfig: boots in non-secure mode > - mx7dsabresd_secure_defconfig: boots in secure mode > > Print the mode that is being used to help users to easily

[U-Boot] [PATCH] net: e1000: Fix the build with driver model and SPI EEPROM

2016-08-03 Thread Alban Bedel
When adding support for the driver model the SPI EEPROM feature had been ignored. Fix the build with both CONFIG_DM_ETH and CONFIG_E1000_SPI enabled. Signed-off-by: Alban Bedel --- drivers/net/e1000.c | 6 +- drivers/net/e1000_spi.c | 57

Re: [U-Boot] [PATCH] net: asix: Fix ASIX 88772B with driver model

2016-08-03 Thread Alban Bedel
On Wed, 3 Aug 2016 09:00:42 +0200 Marek Vasut wrote: > On 08/03/2016 07:32 AM, Alban Bedel wrote: > > Commit 147271209a9d ("net: asix: fix operation without eeprom") > > added a special handling for ASIX 88772B that enable another > > type of header. This break the driver in DM

Re: [U-Boot] [PATCH 1/2] net: fm: fix spi flash probe for using driver model

2016-08-03 Thread Qianyu Gong
Hi York, > -Original Message- > From: york sun > Sent: Wednesday, August 03, 2016 12:08 AM > To: Qianyu Gong ; 'Jagan Teki' > > Cc: u-boot@lists.denx.de; Prabhakar Kushwaha ; > Zhiqiang Hou ;

Re: [U-Boot] [PATCH v2] driver: spi: fsl-qspi: remove compile Warnings

2016-08-03 Thread Yunhui Cui
Thanks a lot! Yunhui > -Original Message- > From: york sun > Sent: Wednesday, August 03, 2016 6:40 AM > To: Yunhui Cui > Cc: u-boot@lists.denx.de; Yunhui Cui > Subject: Re: [PATCH v2] driver: spi: fsl-qspi: remove compile Warnings > > On 07/12/2016 07:57 PM, Yunhui Cui wrote: > > From:

[U-Boot] [PATCH 4/4] eth: asix88179: Add support for the driver model

2016-08-03 Thread Alban Bedel
Signed-off-by: Alban Bedel --- drivers/usb/eth/asix88179.c | 184 1 file changed, 184 insertions(+) diff --git a/drivers/usb/eth/asix88179.c b/drivers/usb/eth/asix88179.c index 45106ce5ef59..cc4ae3c17f16 100644 ---

[U-Boot] [PATCH 1/4] eth: asix88179: Add VID:DID for Cypress GX3 USB Ethernet Adapter

2016-08-03 Thread Alban Bedel
Added support for the Cypress GX3 SuperSpeed to Gigabit Ethernet Bridge Controller (VID_04b4/PID_3610). Signed-off-by: Alban Bedel --- drivers/usb/eth/asix88179.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/eth/asix88179.c

[U-Boot] [PATCH v1 2/4] ARM: dts: vf: Add device tree node for USB on Vybrid

2016-08-03 Thread Sanchayan Maity
Add device tree node for USB peripheral on Vybrid. Signed-off-by: Sanchayan Maity --- arch/arm/dts/vf.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/vf.dtsi b/arch/arm/dts/vf.dtsi index 1530d2f..951d321 100644 ---

Re: [U-Boot] A command to discard saved environments?

2016-08-03 Thread Tom Rini
On Wed, Aug 03, 2016 at 12:49:09PM +0900, Masahiro Yamada wrote: > Hi Fabio, > > > 2016-08-03 12:34 GMT+09:00 Fabio Estevam : > > On Wed, Aug 3, 2016 at 12:31 AM, Masahiro Yamada > > wrote: > >> Hi. > >> > >> > >> I am looking for a command >

[U-Boot] [PATCH v1 4/4] configs: colibri_vf_defconfig: Enable USB driver model for Colibri Vybrid

2016-08-03 Thread Sanchayan Maity
Enable USB driver model for Toradex Colibri Vybrid modules. Signed-off-by: Sanchayan Maity --- configs/colibri_vf_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/colibri_vf_defconfig b/configs/colibri_vf_defconfig index 986cec4..5017c7d 100644 ---

[U-Boot] [PATCH v1 3/4] ARM: dts: vf-colibri: Enable USB device tree node for Colibri Vybrid

2016-08-03 Thread Sanchayan Maity
Enable USB device tree node for Toradex Colibri Vybrid module. Signed-off-by: Sanchayan Maity --- arch/arm/dts/vf-colibri.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/dts/vf-colibri.dtsi b/arch/arm/dts/vf-colibri.dtsi index

[U-Boot] [PATCH v1 1/4] usb: host: ehci-vf: Migrate Vybrid USB to driver model

2016-08-03 Thread Sanchayan Maity
Add driver model support for Vybrid USB driver. Signed-off-by: Sanchayan Maity --- Hello, I am trying to migrate the Vybrid USB driver to driver model. Patches are based on top of uboot master branch. With this implementation, host works perfectly fine on both USB

Re: [U-Boot] [PATCH] mtd: nand: mxs: fix cache alignment for cache lines >32

2016-08-03 Thread Stefan Agner
On 2016-08-03 06:51, Fabio Estevam wrote: > On Tue, Aug 2, 2016 at 3:55 AM, Stefan Agner wrote: >> From: Stefan Agner >> >> Currently the command buffer gets allocated with a size of 32 bytes. >> This causes warning messages on systems with cache lines

Re: [U-Boot] A command to discard saved environments?

2016-08-03 Thread James Chargin
I know my non-volatile copy of the environment is in NOR flash so I use the command protect all off;erase +1 But, of course this is specific to NOR flash. I'm not aware of a way to do this in the general case, independent of NV environment storage media and redundancy. I'd be supportive

Re: [U-Boot] [PATCH v1 1/4] usb: host: ehci-vf: Migrate Vybrid USB to driver model

2016-08-03 Thread Marek Vasut
On 08/03/2016 01:58 PM, Sanchayan Maity wrote: > Add driver model support for Vybrid USB driver. > > Signed-off-by: Sanchayan Maity CCing Lukasz. > --- > Hello, > > I am trying to migrate the Vybrid USB driver to driver model. > Patches are based on top of uboot

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

2016-08-03 Thread Fabio Estevam
On Tue, Aug 2, 2016 at 4:31 AM, Fabien Lahoudere wrote: > #define CONFIG_SYS_I2C > #define CONFIG_SYS_I2C_MXC > -#define CONFIG_SYS_I2C_MXC_I2C1/* enable I2C bus 1 */ > -#define CONFIG_SYS_I2C_MXC_I2C2/* enable I2C bus 2 */ >

Re: [U-Boot] [PATCH] malloc_simple: Add simple malloc free function

2016-08-03 Thread Chin Liang See
On Wed, 2016-08-03 at 15:57 +0200, Marek Vasut wrote: > On 08/03/2016 03:41 PM, Chin Liang See wrote: > > On Wed, 2016-08-03 at 09:53 +0200, Marek Vasut wrote: > > > On 08/03/2016 09:30 AM, Chin Liang See wrote: > > > > Hi Marek, > > > > > > Hi, > > > > > > > On Wed, 2016-08-03 at 08:58 +0200,

Re: [U-Boot] [PATCH] tegra: config: Add 'pci enum' to preboot when PCI is enabled

2016-08-03 Thread Stephen Warren
On 08/03/2016 03:35 AM, Alban Bedel wrote: For simplicity and backward compatibility automatically run 'pci enum' via preboot when PCI is enabled. As preboot is already used for the USB keyboard support this rework how CONFIG_PREBOOT is set to allow combining several commands. For better or

Re: [U-Boot] [PATCH 1/2] mmc: sdhci: remove the unused argument for sdhci_setup_cfg

2016-08-03 Thread Jaehoon Chung
On 08/04/2016 11:40 AM, Simon Glass wrote: > Hi Jaehoon, > > On 3 August 2016 at 20:38, Jaehoon Chung wrote: >> Hi Simon, >> >> On 08/04/2016 11:35 AM, Simon Glass wrote: >>> Hi Jaehoon, >>> >>> On 31 July 2016 at 20:20, Simon Glass wrote: On 26

Re: [U-Boot] [PATCH] rockchip: add fastboot support for rk3036 board

2016-08-03 Thread Simon Glass
On 31 July 2016 at 17:28, Simon Glass wrote: > On 27 July 2016 at 21:42, Ziyuan Xu wrote: >> >> Enable fastboot feature on rk3036, please refer to doc/README.rockchip >> for more detailed usage. >> >> Signed-off-by: Ziyuan Xu >>

Re: [U-Boot] [PATCH v3 1/2] rk3399: add basic soc driver

2016-08-03 Thread Simon Glass
On 31 July 2016 at 21:34, Kever Yang wrote: > This patch add driver for: > - clock driver including set_rate for cpu, mmc, vop, I2C. > - sysreset driver > - grf syscon driver > > Signed-off-by: Kever Yang > Acked-by: Simon Glass

Re: [U-Boot] [PATCH v2] rockchip: add support for rk3288 miniarm board

2016-08-03 Thread Simon Glass
On 31 July 2016 at 18:46, Ziyuan Xu wrote: > From: Xu Ziyuan > > Miniarm is a rockchip rk3288 based development board, which has lots of > interface such as HDMI, USB, micro-SD card, Audio etc. > > Signed-off-by: Ziyuan Xu >

Re: [U-Boot] [PATCH] rockchip: rockchip, sdram-channel 0xff fix remaining dts

2016-08-03 Thread Simon Glass
Hi Ziyuan, On 31 July 2016 at 20:36, Ziyuan Xu wrote: > Hi Simon, > > > > On 2016年08月01日 10:21, Simon Glass wrote: >> >> Hi Ziyuan, >> >> On 31 July 2016 at 20:13, Ziyuan Xu wrote: >>> >>> Hi Simon, >>> >>> >>> On 2016年08月01日 09:51, Simon Glass

Re: [U-Boot] [PATCH] move: rockchip: move clock drivers into a subdirectory

2016-08-03 Thread Simon Glass
On 29 July 2016 at 14:42, Heiko Stuebner wrote: > Am Freitag, 29. Juli 2016, 07:51:14 schrieb Simon Glass: >> On 29 July 2016 at 06:47, Heiko Stuebner wrote: >> > With the number of Rockchip clock drivers increasing, don't clutter up >> > the core drivers/clk

[U-Boot] [PATCH v2 1/3] clock: rk3399: add support for dwmmc 400K

2016-08-03 Thread Kever Yang
MMC core will use 400KHz for card initialize first and then switch to higher frequency like 50MHz, we need to support both 400KHz and about 50MHz for dwmmc controller. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v2: None

Re: [U-Boot] [U-Boot, 1/3] mmc: fsl: reset to normal boot mode when eMMC fast boot

2016-08-03 Thread Jaehoon Chung
Hi Peng, On 04/26/2016 03:54 PM, Peng Fan wrote: > When booting in eMMC fast boot, MMC host does not exit from > boot mode after bootrom loading image. So the first command > 'CMD0' sent in uboot will pull down the CMD line to low and > cause errors. > > This patch cleans the MMC boot register

[U-Boot] rockchip: SecureBoot Support?

2016-08-03 Thread Gregory Ray
Hello, Is SecureBoot from the manufacturers u-boot distribution operational? When I try to sign the loader using the SBC it complains "Sign loader failed!" I did a standard make: CROSS_COMPILE=/Developer/arm-eabi-4.8/bin/arm-eabi- make O=firefly firefly-rk3288_defconfig all Then generated the

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

2016-08-03 Thread Jaehoon Chung
Hi, On 08/04/2016 09:38 AM, Minkyu Kang wrote: > On 21/07/16 21:30, Jaehoon Chung wrote: >> 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

Re: [U-Boot] [PATCH] malloc_simple: Add simple malloc free function

2016-08-03 Thread Simon Glass
Hi, On 2 August 2016 at 21:24, Chin Liang See wrote: > Enable a simple malloc implementation which will minimize > memory usage prior relocation. This is essential as memory > available prior location is internal memory and limited in > size. > > This implementation will stored

Re: [U-Boot] [PATCH] cmd: net: flush cache cacheline aligned

2016-08-03 Thread Simon Glass
Hi Joe, On 3 August 2016 at 17:18, Joe Hershberger wrote: > On Tue, Aug 2, 2016 at 2:20 AM, Stefan Agner wrote: >> From: Stefan Agner >> >> Flush loaded data cacheline aligned. This avoids warnings such as >> CACHE:

Re: [U-Boot] [PATCH] net: e1000: Allow to use e1000 SPI command with DM

2016-08-03 Thread Simon Glass
On 2 August 2016 at 20:42, Yaroslav K. wrote: > Fix compile errors when enabling CONFIG_DM_ETH, > CONFIG_CMD_E1000 and CONFIG_E1000_SPI. > > Signed-off-by: Yaroslav K. > --- > drivers/net/e1000.c | 6 - > drivers/net/e1000_spi.c | 60 >

Re: [U-Boot] [PATCH v2] eth: asix88179: Add support for the driver model

2016-08-03 Thread Simon Glass
On 3 August 2016 at 03:51, Alban Bedel wrote: > Adjust this driver to support driver model for Ethernet. > > Signed-off-by: Alban Bedel > --- > drivers/usb/eth/asix88179.c | 184 > > 1

Re: [U-Boot] [PATCH 1/2] rockchip: add basic partitions support for rk3288

2016-08-03 Thread Simon Glass
On 2 August 2016 at 21:50, Ziyuan Xu wrote: > For compatibility with distro boot, fastboot, and mount the mmc deivce > to PC via usb mass storage feature, GPT partitions are essential. > > You should write the partitions to mmc device prior to use above > feature. > > =>

Re: [U-Boot] [PATCH v2 08/10] arm: dts: imx7: add Ricoh RN5T567 PMIC node

2016-08-03 Thread Simon Glass
On 1 August 2016 at 23:50, Stefan Agner wrote: > From: Stefan Agner > > Add device tree node for Ricoh RN5T567. Currently we do not need > the individual DC/DC converters or LDO's (and they are also not > yet supported by the driver). > > Signed-off-by:

Re: [U-Boot] [PATCH] tegra: config: Add 'pci enum' to preboot when PCI is enabled

2016-08-03 Thread Simon Glass
Hi, On 3 August 2016 at 09:37, Stephen Warren wrote: > On 08/03/2016 03:35 AM, Alban Bedel wrote: >> >> For simplicity and backward compatibility automatically run 'pci enum' >> via preboot when PCI is enabled. As preboot is already used for the >> USB keyboard support

Re: [U-Boot] [RESEND PATCH 1/2] rockchip: add basic partitions support for rk3288

2016-08-03 Thread Simon Glass
On 2 August 2016 at 21:55, Ziyuan Xu wrote: > For compatibility with distro boot, fastboot, and mount the mmc deivce > to PC via usb mass storage feature, GPT partitions are essential. > > You should write the partitions to mmc device prior to use above > feature. > > =>

Re: [U-Boot] [PATCH 2/4] ARM: AM57xx: Disable non-FIT based image loading for HS devices

2016-08-03 Thread Simon Glass
Hi Tom, On 3 August 2016 at 19:48, Tom Rini wrote: > On Wed, Aug 03, 2016 at 07:16:12PM -0600, Simon Glass wrote: >> Hi Andrew, >> >> On 1 August 2016 at 09:30, Andrew F. Davis wrote: >> > Disable support for loading non-FIT images for AM57xx platforms using >>

Re: [U-Boot] [PATCH v3 2/2] mmc: rockchip_sdhci: add clock init

2016-08-03 Thread Simon Glass
On 31 July 2016 at 21:34, Kever Yang wrote: > Initialize the maximum clock with CMU, before setting the rockchip sdhci > host controller. > > Signed-off-by: Kever Yang > Reviewed-by: Jaehoon Chung > --- > > Changes in

Re: [U-Boot] [PATCH] configs: rk3399: add gpt and fs support

2016-08-03 Thread Simon Glass
On 1 August 2016 at 21:03, Ziyuan Xu wrote: > > On 2016年08月02日 10:56, Ziyuan Xu wrote: >> >> Hi kever, >> >> >> On 2016年08月02日 10:29, Kever Yang wrote: >>> >>> To compatible with distro boot, we need to add gpt and fs support, >>> including gpt table and vfat, ext2, ext4

Re: [U-Boot] [RESEND PATCH 2/2] rockchip: add usb mass storage feature support for rk3288

2016-08-03 Thread Simon Glass
On 2 August 2016 at 21:55, Ziyuan Xu wrote: > Enable ums feature for rk3288 boards, so that we can mount the mmc > device to PC. > > Signed-off-by: Ziyuan Xu > --- > > include/configs/rk3288_common.h | 4 > 1 file changed, 4 insertions(+) > >

Re: [U-Boot] [PATCH 1/2] mmc: sdhci: remove the unused argument for sdhci_setup_cfg

2016-08-03 Thread Simon Glass
Hi Jaehoon, On 3 August 2016 at 20:38, Jaehoon Chung wrote: > Hi Simon, > > On 08/04/2016 11:35 AM, Simon Glass wrote: >> Hi Jaehoon, >> >> On 31 July 2016 at 20:20, Simon Glass wrote: >>> On 26 July 2016 at 04:06, Jaehoon Chung

Re: [U-Boot] [PATCH 2/2] mmc: sdhci: remove the unnecessary argumetns for sdhci_setup_cfg

2016-08-03 Thread Jaehoon Chung
Hi Simon, On 08/04/2016 11:36 AM, Simon Glass wrote: > On 31 July 2016 at 20:20, Simon Glass wrote: >> On 26 July 2016 at 04:06, Jaehoon Chung wrote: >>> Some arguments don't need to pass to sdhci_setup_cfg. >>> Generic variable can be used in

Re: [U-Boot] [PATCH] powerpc/86xx: Increase boot map size to 256 MiB

2016-08-03 Thread york sun
On 07/19/2016 03:52 PM, Scott Wood wrote: > This is what Linux maps on classic PPC during boot, and modern kernel > images don't fit within the current 8 MiB uncompressed limit. > > Adjust image load addresses to be above this limit to avoid conflicts. > > Signed-off-by: Scott Wood

Re: [U-Boot] [PATCH 2/4] ARM: AM57xx: Disable non-FIT based image loading for HS devices

2016-08-03 Thread Simon Glass
Hi Andrew, On 1 August 2016 at 09:30, Andrew F. Davis wrote: > Disable support for loading non-FIT images for AM57xx platforms using > the high-security (HS) device variant. > > Signed-off-by: Andrew F. Davis > --- > configs/am57xx_hs_evm_defconfig | 1 + > 1 file

Re: [U-Boot] [PATCH 1/5] pci: tegra: port to standard clock/reset/pwr domain APIs

2016-08-03 Thread Simon Glass
Hi Stephen, On 1 August 2016 at 09:22, Stephen Warren wrote: > On 07/31/2016 07:02 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 27 July 2016 at 15:48, Stephen Warren wrote: >>> >>> From: Stephen Warren >>> >>> Tegra186

Re: [U-Boot] [PATCH] ARM64: zynqmp: Do not enable DM_MMC by default

2016-08-03 Thread Simon Glass
On 1 August 2016 at 01:05, Michal Simek wrote: > The patch: > "dm: mmc: zynq: Convert zynq to use driver model for MMC" > (sha1: 329a449f2c289b4de8f892fca1d9379ce5fd81b8) > added dependency on enabling some MMC options by default. > There are minimal ZynqMP configurations

Re: [U-Boot] [PATCH 1/2] mmc: sdhci: remove the unused argument for sdhci_setup_cfg

2016-08-03 Thread Jaehoon Chung
Hi Simon, On 08/04/2016 11:35 AM, Simon Glass wrote: > Hi Jaehoon, > > On 31 July 2016 at 20:20, Simon Glass wrote: >> On 26 July 2016 at 04:06, Jaehoon Chung wrote: >>> buswidth isn't used anywhere in sdhci_setup_cfg. >>> >>> Signed-off-by: Jaehoon

Re: [U-Boot] [RESEND PATCH 1/2] rockchip: add basic partitions support for rk3288

2016-08-03 Thread Simon Glass
On 3 August 2016 at 20:27, Simon Glass wrote: > On 2 August 2016 at 21:55, Ziyuan Xu wrote: >> For compatibility with distro boot, fastboot, and mount the mmc deivce >> to PC via usb mass storage feature, GPT partitions are essential. >> >> You should

Re: [U-Boot] [RESEND PATCH 2/2] rockchip: add usb mass storage feature support for rk3288

2016-08-03 Thread Simon Glass
On 3 August 2016 at 20:27, Simon Glass wrote: > On 2 August 2016 at 21:55, Ziyuan Xu wrote: >> Enable ums feature for rk3288 boards, so that we can mount the mmc >> device to PC. >> >> Signed-off-by: Ziyuan Xu >> --- >> >>

Re: [U-Boot] [PATCH 1/2] mmc: sdhci: remove the unused argument for sdhci_setup_cfg

2016-08-03 Thread Simon Glass
Hi Jaehoon, On 3 August 2016 at 20:43, Jaehoon Chung wrote: > On 08/04/2016 11:40 AM, Simon Glass wrote: >> Hi Jaehoon, >> >> On 3 August 2016 at 20:38, Jaehoon Chung wrote: >>> Hi Simon, >>> >>> On 08/04/2016 11:35 AM, Simon Glass wrote: Hi

Re: [U-Boot] [PATCH] arm: socfpga: stratix10: Add SOCFPGA Stratix10 base address

2016-08-03 Thread Marek Vasut
On 08/03/2016 05:17 PM, Chin Liang See wrote: > Add base address header file for Stratix10 SoC > > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Ley Foon Tan Applied to the 01-arria10

[U-Boot] [PATCH v2] configs: rk3399: add gpt and fs support

2016-08-03 Thread Kever Yang
To compatible with distro boot, we need to add gpt and fs support, including gpt table and vfat, ext2, ext4 support. Signed-off-by: Kever Yang Reviewed-by: Simon Glass --- Changes in v2: - remove some re-defined MACRO, comments from Ziyuan Xu

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

2016-08-03 Thread york sun
Tom, The following changes since commit ad6a303c578b0087749510d20c1c46ae13f20367: Merge git://git.denx.de/u-boot-fsl-qoriq (2016-08-02 20:45:24 -0400) are available in the git repository at: git://git.denx.de/u-boot-mpc86xx.git for you to fetch changes up to

Re: [U-Boot] [U-Boot,v3] mmc: add mmc partconf read capability

2016-08-03 Thread Jaehoon Chung
Hi Angelo, On 04/15/2016 03:51 AM, Angelo Dureghello wrote: > This patch allows to read back the EXT_CSD[179] partition_config > register, just specifying the dev param: > > U-Boot> mmc partconf 0 > EXT_CSD[179], PARTITION_CONFIG register: > BOOT_ACK: 0 > BOOT_PARTITION_ENABLE: 0 >

Re: [U-Boot] Question on Enabling hypervisor mode in u-boot

2016-08-03 Thread Alexander Graf
> On 02 Aug 2016, at 12:59, Keerthy wrote: > > Hi Alex, > > > On Tuesday 02 August 2016 07:24 AM, Keerthy wrote: >> >> >> On Tuesday 02 August 2016 03:16 AM, Alexander Graf wrote: >>> On 01 Aug 2016, at 11:07, Keerthy wrote: Hi Alexander,

Re: [U-Boot] [PATCH v2] eth: asix88179: Add support for the driver model

2016-08-03 Thread Marek Vasut
On 08/03/2016 11:51 AM, Alban Bedel wrote: > Adjust this driver to support driver model for Ethernet. > > Signed-off-by: Alban Bedel Applied, thanks -- Best regards, Marek Vasut ___ U-Boot mailing list

Re: [U-Boot] [PATCH] malloc_simple: Add simple malloc free function

2016-08-03 Thread Marek Vasut
On 08/03/2016 05:22 PM, Chin Liang See wrote: Hi, [...] >>> It's the fat driver which is utilizing the malloc. >> >> So fat is allocating stuff without freeing it ? I wonder if we should >> either fix fat or use full malloc in SPL on A10 . I am not really >> fond >> of adding more stuff into

Re: [U-Boot] Question on Enabling hypervisor mode in u-boot

2016-08-03 Thread Keerthy
On Thursday 04 August 2016 10:51 AM, Alexander Graf wrote: On 02 Aug 2016, at 12:59, Keerthy wrote: Hi Alex, On Tuesday 02 August 2016 07:24 AM, Keerthy wrote: On Tuesday 02 August 2016 03:16 AM, Alexander Graf wrote: On 01 Aug 2016, at 11:07, Keerthy

[U-Boot] [PATCH v2] arm: cache: always flush cache line size for page table

2016-08-03 Thread Stefan Agner
From: Stefan Agner The page table is maintained by the CPU, hence it is safe to always align cache flush to a whole cache line size. This allows to use mmu_page_table_flush for a single page table, e.g. when configure only small regions through

Re: [U-Boot] A command to discard saved environments?

2016-08-03 Thread Wolfgang Denk
Dear James, In message you wrote: > > > In your case, you could save the "erase" by overwriting the first 4 > > bytes (where the CRC32 checksum is stored) with 0x. Wrong. I meant writing 0x - as you can always write that, setting

Re: [U-Boot] [PATCH 8/9] mmc: tegra: port to standard clock/reset APIs

2016-08-03 Thread Simon Glass
Hi Stephen, On 1 August 2016 at 09:50, Stephen Warren wrote: > On 07/31/2016 08:20 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 27 July 2016 at 15:24, Stephen Warren wrote: >>> >>> From: Stephen Warren >>> >>> Tegra186

Re: [U-Boot] [PATCH 6/7] ARM: tegra: enable SD card on p2771-0000

2016-08-03 Thread Simon Glass
Hi Stephen, On 1 August 2016 at 10:02, Stephen Warren wrote: > On 07/31/2016 07:04 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 29 July 2016 at 13:15, Stephen Warren wrote: >>> >>> From: Stephen Warren >>> >>> Now that

Re: [U-Boot] [PATCH 1/3] clock: rk3399: add support for dwmmc 400K

2016-08-03 Thread Simon Glass
On 1 August 2016 at 20:47, Kever Yang wrote: > MMC core will use 400KHz for card initialize first and then switch to > higher frequency like 50MHz, we need to support both 400KHz and about > 50MHz for dwmmc controller. > > Signed-off-by: Kever Yang

Re: [U-Boot] [PATCH] x86: bayleybay: Add PS/2 keyboard and mouse to ASL file

2016-08-03 Thread Simon Glass
On 1 August 2016 at 21:53, Bin Meng wrote: > Without PS/2 keyboard and mouse in the ASL file, Windows does not > see them. No problem for Linux as it probes keyboard and mouse via > the legacy 8042 I/O port. > > Signed-off-by: Bin Meng > --- > >

Re: [U-Boot] [PATCH 3/7] net/ethoc: add CONFIG_DM_ETH support

2016-08-03 Thread Simon Glass
On 2 August 2016 at 05:31, Max Filippov wrote: > Extract reusable parts from ethoc_init, ethoc_set_mac_address, > ethoc_send and ethoc_receive, move the rest under #ifdef CONFIG_DM_ETH. > Add U_BOOT_DRIVER, eth_ops structure and implement required methods. > > Signed-off-by:

Re: [U-Boot] [PATCH 3/3] config: rk3399: enable dwmmc controller

2016-08-03 Thread Simon Glass
On 1 August 2016 at 21:00, Kever Yang wrote: > Signed-off-by: Kever Yang Commit message please. > --- > > configs/evb-rk3399_defconfig| 1 + > include/configs/rk3399_common.h | 1 + > 2 files changed, 2 insertions(+) Acked-by: Simon

Re: [U-Boot] [PATCH v2 07/10] power: pmic: add Ricoh RN5T567 PMIC support

2016-08-03 Thread Simon Glass
+Stephen as an example of a simple PMIC driver. - Simon On 1 August 2016 at 23:50, Stefan Agner wrote: > From: Stefan Agner > > Add device model enabled PMIC driver for Ricoh RN5T567 PMIC used > on Colibri iMX7. > > Signed-off-by: Stefan Agner

Re: [U-Boot] [PATCH 2/3] dts: rk3399: enable dwmmc for sdcard

2016-08-03 Thread Simon Glass
Hi Kever, On 1 August 2016 at 21:00, Kever Yang wrote: > Signed-off-by: Kever Yang Please add a commit message. > --- > > arch/arm/dts/rk3399-evb.dts | 4 > arch/arm/dts/rk3399.dtsi| 2 +- > 2 files changed, 5 insertions(+), 1

Re: [U-Boot] [PATCH] arm: cache: always flush cache line size for page table

2016-08-03 Thread Stefan Agner
On 2016-08-03 18:22, Simon Glass wrote: > Hi, > > On 3 August 2016 at 10:32, Fabio Estevam wrote: >> On Tue, Aug 2, 2016 at 4:07 AM, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> The page table is maintained by the CPU, hence

Re: [U-Boot] [PATCH 2/2] mmc: sdhci: remove the unnecessary argumetns for sdhci_setup_cfg

2016-08-03 Thread Simon Glass
On 31 July 2016 at 20:20, Simon Glass wrote: > On 26 July 2016 at 04:06, Jaehoon Chung wrote: >> Some arguments don't need to pass to sdhci_setup_cfg. >> Generic variable can be used in sdhci_setup_cfg, and some arguments are >> already included in

Re: [U-Boot] [PATCH 1/2] mmc: sdhci: remove the unused argument for sdhci_setup_cfg

2016-08-03 Thread Simon Glass
Hi Jaehoon, On 31 July 2016 at 20:20, Simon Glass wrote: > On 26 July 2016 at 04:06, Jaehoon Chung wrote: >> buswidth isn't used anywhere in sdhci_setup_cfg. >> >> Signed-off-by: Jaehoon Chung >> --- >> drivers/mmc/msm_sdhci.c

Re: [U-Boot] [PATCH v2] cmd: gpt: fix the wrong size parse for the last partition

2016-08-03 Thread Kever Yang
Hi Michael, Do you think this patch is necessary? Thanks, -Kever On 07/29/2016 11:12 AM, Kever Yang wrote: The calculation of "dev_desc->lba - 34 - 1 - offset" is not correct for size '-', because both fist_usable_lba and last_usable_lba will remain 34 sectors. We can simply use 0 for

Re: [U-Boot] [PATCH v2] cmd: gpt: fix the wrong size parse for the last partition

2016-08-03 Thread Michael Trimarchi
Hi On Aug 4, 2016 05:38, "Kever Yang" wrote: > > Hi Michael, > > Do you think this patch is necessary? > Yes, I have checked it and fix the regression. Today I will confirm on hot correctness but I think too Michael > Thanks, > -Kever > > On 07/29/2016 11:12 AM,

Re: [U-Boot] [PATCH] arm: cache: always flush cache line size for page table

2016-08-03 Thread Simon Glass
Hi, On 3 August 2016 at 10:32, Fabio Estevam wrote: > On Tue, Aug 2, 2016 at 4:07 AM, Stefan Agner wrote: >> From: Stefan Agner >> >> The page table is maintained by the CPU, hence it is safe to always >> align cache flush to a

Re: [U-Boot] [PATCH 2/4] ARM: AM57xx: Disable non-FIT based image loading for HS devices

2016-08-03 Thread Tom Rini
On Wed, Aug 03, 2016 at 07:16:12PM -0600, Simon Glass wrote: > Hi Andrew, > > On 1 August 2016 at 09:30, Andrew F. Davis wrote: > > Disable support for loading non-FIT images for AM57xx platforms using > > the high-security (HS) device variant. > > > > Signed-off-by: Andrew F. Davis

[U-Boot] [PATCH v2 2/3] dts: rk3399: enable dwmmc for sdcard

2016-08-03 Thread Kever Yang
rk3399 sdcard is using dwmmc controller, enable it for sdcard. SCLK_SDMMC is the clock for controller operation clock, move it to the first place. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v2: - add commit message - move the

[U-Boot] [PATCH v2 3/3] config: rk3399: enable dwmmc controller

2016-08-03 Thread Kever Yang
Enable the rockchip dwmmc driver for rk3399 and its evb. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v2: - add commit message configs/evb-rk3399_defconfig| 1 + include/configs/rk3399_common.h | 1 + 2 files changed, 2

[U-Boot] [PATCH v2 0/3] rk3399: enable dwmmc controller for sdcard

2016-08-03 Thread Kever Yang
rk3399 using dwmmc controller for sdcard, let's enable it. this patch set has been test on rk3399 evb. Changes in v2: - add commit message - move the SCLK_SDMMC and its name to the first place - add commit message Kever Yang (3): clock: rk3399: add support for dwmmc 400K dts: rk3399:

Re: [U-Boot] [PATCH] mtd: nand: mxs: fix cache alignment for cache lines >32

2016-08-03 Thread Fabio Estevam
On Wed, Aug 3, 2016 at 1:13 PM, Stefan Agner wrote: > As you noted, this particular case is due to cache flush of the page > table and should be fixed with: > arm: cache: always flush cache line size for page table Yes, just noticed that on a imx7d-sdb I still get these cache

[U-Boot] [PATCH] net: e1000: Allow to use e1000 SPI command with DM

2016-08-03 Thread Yaroslav K.
Fix compile errors when enabling CONFIG_DM_ETH, CONFIG_CMD_E1000 and CONFIG_E1000_SPI. Signed-off-by: Yaroslav K. --- drivers/net/e1000.c | 6 - drivers/net/e1000_spi.c | 60 - 2 files changed, 35 insertions(+), 31

Re: [U-Boot] [PATCH] mtd: nand: mxs: fix cache alignment for cache lines >32

2016-08-03 Thread Tom Rini
On Wed, Aug 03, 2016 at 02:39:47PM -0300, Fabio Estevam wrote: > On Wed, Aug 3, 2016 at 1:13 PM, Stefan Agner wrote: > > > As you noted, this particular case is due to cache flush of the page > > table and should be fixed with: > > arm: cache: always flush cache line size for

Re: [U-Boot] [PATCH] arm: cache: always flush cache line size for page table

2016-08-03 Thread Fabio Estevam
On Tue, Aug 2, 2016 at 4:07 AM, Stefan Agner wrote: > From: Stefan Agner > > The page table is maintained by the CPU, hence it is safe to always > align cache flush to a whole cache line size. This allows to use > mmu_page_table_flush for a single page

[U-Boot] [PATCH] arm: socfpga: stratix10: Add SOCFPGA Stratix10 base address

2016-08-03 Thread Chin Liang See
Add base address header file for Stratix10 SoC Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/base_addr_s10.h | 48 ++

Re: [U-Boot] [PATCH] mtd: nand: mxs: fix cache alignment for cache lines >32

2016-08-03 Thread Fabio Estevam
Hi Tom, On Wed, Aug 3, 2016 at 3:09 PM, Tom Rini wrote: > I feel like we must have done something wrong of late, can you bisect > when these came in? Thanks! This cache warnings start to appear since commit: commit bcc53bf095893fbdae531a9a7b5d4ef4a125a7fc Author: Simon

Re: [U-Boot] [PATCH] net: asix: Fix ASIX 88772B with driver model

2016-08-03 Thread Marcel Ziswiler
On Wed, 2016-08-03 at 15:51 +0200, Marek Vasut wrote: > On 08/03/2016 11:46 AM, Alban Bedel wrote: > > > > On Wed, 3 Aug 2016 09:00:42 +0200 > > Marek Vasut wrote: > > > > > > > > On 08/03/2016 07:32 AM, Alban Bedel wrote: > > > > > > > > Commit 147271209a9d ("net: asix: fix

Re: [U-Boot] [PATCH] mtd: nand: mxs: fix cache alignment for cache lines >32

2016-08-03 Thread Simon Glass
Hi, On 3 August 2016 at 12:29, Fabio Estevam wrote: > Hi Tom, > > On Wed, Aug 3, 2016 at 3:09 PM, Tom Rini wrote: > >> I feel like we must have done something wrong of late, can you bisect >> when these came in? Thanks! > > This cache warnings start to

Re: [U-Boot] [PATCH] mtd: nand: mxs: fix cache alignment for cache lines >32

2016-08-03 Thread Fabio Estevam
Hi Simon, On Wed, Aug 3, 2016 at 3:35 PM, Simon Glass wrote: > Actually I think these are bugs and should be fixed. In this case, > from what I can tell netboot_common() should cache-align the size in > the call to: > > /* flush cache */ > flush_cache(load_addr, size); Do

  1   2   >