Re: [U-Boot] [PATCH v2 1/4] dm: spi: add BCM63xx HSSPI driver

2017-06-04 Thread Daniel Schwierzeck
Am 03.06.2017 um 12:16 schrieb Álvaro Fernández Rojas: > This driver is a simplified version of linux/drivers/spi/spi-bcm63xx-hsspi.c > > Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck > --- > v2: Introduce changes suggested by Simon Glass: > - Split bcm63xx_hsspi_xfe

Re: [U-Boot] [PATCH v2 2/4] mips: bmips: add bcm63xx-hsspi driver support for BCM6328

2017-06-04 Thread Daniel Schwierzeck
Am 03.06.2017 um 12:16 schrieb Álvaro Fernández Rojas: > This driver manages the SPI controller present on this SoC. > > Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck > --- > v2: no changes > > arch/mips/dts/brcm,bcm6328.dtsi | 24 > 1 file

Re: [U-Boot] [PATCH v2 3/4] mips: bmips: add bcm63xx-hsspi driver support for BCM63268

2017-06-04 Thread Daniel Schwierzeck
Am 03.06.2017 um 12:16 schrieb Álvaro Fernández Rojas: > This driver manages the high speed SPI controller present on this SoC. > > Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck > --- > v2: no changes > > arch/mips/dts/brcm,bcm63268.dtsi | 21 +

Re: [U-Boot] [PATCH v2 4/4] mips: bmips: enable the SPI flash on the Comtrend AR-5387un

2017-06-04 Thread Daniel Schwierzeck
Am 03.06.2017 um 12:16 schrieb Álvaro Fernández Rojas: > It's a Macronix (mx25l12805d) 16 MB SPI flash. > > Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck > --- > v2: no changes > > arch/mips/dts/comtrend,ar-5387un.dts| 12 > configs/comtrend_ar5387

Re: [U-Boot] [PATCH v3 01/10] drivers: spi: allow limiting reads

2017-06-04 Thread Daniel Schwierzeck
Am 03.06.2017 um 11:57 schrieb Álvaro Fernández Rojas: > For some SPI controllers it's not possible to keep the CS active between > transfers and they are limited to a known number of bytes. > This splits spi_flash reads into different iterations in order to respect > the SPI controller limits. >

Re: [U-Boot] [PATCH v3 02/10] drivers: spi: consider command bytes when sending transfers

2017-06-04 Thread Daniel Schwierzeck
Am 03.06.2017 um 11:57 schrieb Álvaro Fernández Rojas: > Command bytes are part of the written bytes and they should be taken into > account when sending a spi transfer. > > Signed-off-by: Álvaro Fernández Rojas > Reviewed-by: Simon Glass Reviewed-by: Daniel Schwierzeck > --- > v3: Fix bug

Re: [U-Boot] [PATCH v3 03/10] dm: spi: add BCM63xx SPI driver

2017-06-04 Thread Daniel Schwierzeck
Am 03.06.2017 um 11:57 schrieb Álvaro Fernández Rojas: > This driver is a simplified version of linux/drivers/spi/spi-bcm63xx.c > Instead of supporting both HW revisions of the controller in a single build, > support has been split by the selected config to save space. > > Signed-off-by: Álvaro

Re: [U-Boot] [PATCH v3 04/10] mips: bmips: add bcm63xx-spi driver support for BCM6338

2017-06-04 Thread Daniel Schwierzeck
Am 03.06.2017 um 11:57 schrieb Álvaro Fernández Rojas: > This driver manages the SPI controller present on this SoC. > > Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck > --- > v3: rename BCM6338 SPI driver to BCM6348 > v2: add spi alias > > arch/mips/dts/brcm,bcm63

Re: [U-Boot] [PATCH v3 05/10] mips: bmips: add bcm63xx-spi driver support for BCM6348

2017-06-04 Thread Daniel Schwierzeck
Am 03.06.2017 um 11:57 schrieb Álvaro Fernández Rojas: > This driver manages the SPI controller present on this SoC. > > Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck > --- > v3: rename BCM6338 SPI driver to BCM6348 > v2: add spi alias > > arch/mips/dts/brcm,bcm63

Re: [U-Boot] [PATCH v3 06/10] mips: bmips: add bcm63xx-spi driver support for BCM6358

2017-06-04 Thread Daniel Schwierzeck
Am 03.06.2017 um 11:57 schrieb Álvaro Fernández Rojas: > This driver manages the SPI controller present on this SoC. > > Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck > --- > v3: no changes > v2: add spi alias > > arch/mips/dts/brcm,bcm6358.dtsi | 17 +

Re: [U-Boot] [PATCH v3 07/10] mips: bmips: add bcm63xx-spi driver support for BCM3380

2017-06-04 Thread Daniel Schwierzeck
Am 03.06.2017 um 11:57 schrieb Álvaro Fernández Rojas: > This driver manages the SPI controller present on this SoC. > > Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck > --- > v3: no changes > v2: add spi alias > > arch/mips/dts/brcm,bcm3380.dtsi | 17 +

Re: [U-Boot] [PATCH v3 08/10] mips: bmips: add bcm63xx-spi driver support for BCM63268

2017-06-04 Thread Daniel Schwierzeck
Am 03.06.2017 um 11:57 schrieb Álvaro Fernández Rojas: > This driver manages the low speed SPI controller present on this SoC. > > Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck > --- > v3: no changes > v2: add spi alias > > arch/mips/dts/brcm,bcm63268.dtsi | 17 ++

Re: [U-Boot] [PATCH v3 09/10] mips: bmips: enable the SPI flash on the Sagem F@ST1704

2017-06-04 Thread Daniel Schwierzeck
Am 03.06.2017 um 11:57 schrieb Álvaro Fernández Rojas: > It's a Winbond (w25x32) 4 MB SPI flash. > > Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck > --- > v3: rename BCM6338 SPI driver to BCM6348 > v2: remove spi alias > > arch/mips/dts/sagem,f...@st1704.dts |

Re: [U-Boot] [PATCH v3 10/10] mips: bmips: enable the SPI flash on the Netgear CG3100D

2017-06-04 Thread Daniel Schwierzeck
Am 03.06.2017 um 11:57 schrieb Álvaro Fernández Rojas: > It's a Spansion (s25fl064a) 8 MB SPI flash. > > Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck > --- > v3: no changes > v2: remove spi alias > > arch/mips/dts/netgear,cg3100d.dts | 12 > conf

[U-Boot] [PATCH] armv7m: Disable D-cache when booting nommu(ARMv7M) Linux kernel

2017-06-04 Thread Toshifumi NISHINAGA
Disable D-Cache is required when booting nommu Linux kernel. (please see Linux kernel source "arch/arm/kernel/head-nommu.S") U-Boot is enabled D-cache and I-Cache at startup. However, it does not disable D-Cache before booting nommu Linux kernel. Therefore, I call dcache_disable() when the CPU is

Re: [U-Boot] [PATCH 6/7] board: ti: enable support for writing to fat partition

2017-06-04 Thread Tom Rini
On Fri, Jun 02, 2017 at 05:54:04PM +0530, Sekhar Nori wrote: > Enable support for writing to FAT partitions on > TI's boards. > > Signed-off-by: Sekhar Nori > --- > board/ti/common/Kconfig | 1 + > include/configs/am43xx_evm.h | 1 - > include/configs/ti_armv7_common.h | 8 --

Re: [U-Boot] [PATCH RESEND 1/7] fs: fat: add kbuild configuration support

2017-06-04 Thread Tom Rini
On Fri, Jun 02, 2017 at 05:53:59PM +0530, Sekhar Nori wrote: > Add Kconfig symbols for various configurations > supported by FAT filesystem support code. > > CONFIG_SUPPORT_VFAT has been left out since its > force enabled in include/fat.h and probably > should get removed at some point. > > Sign

Re: [U-Boot] [PATCH 2/7] configs: k2*_evm: let each board decide env location

2017-06-04 Thread Tom Rini
On Fri, Jun 02, 2017 at 05:54:00PM +0530, Sekhar Nori wrote: > Not all TI Keystone2 EVMs want environment in NAND flash. > K2G EVM which has an MMC/SD slot, keep environment in a > FAT partition on SD card. > > Since ti_armv7_keystone2.h defines environment is in NAND, > boards which do not follo

Re: [U-Boot] [PATCH 4/7] config_fallbacks: add additional fallbacks for fat filesystem

2017-06-04 Thread Tom Rini
On Fri, Jun 02, 2017 at 05:54:02PM +0530, Sekhar Nori wrote: > Add fallbacks needed to keep all boards building > while they are migrated to use Kconfig symbols > instead of defines in _config.h files for > FAT filesystem. > > These should eventually go away once Kconfig select > or imply stateme

Re: [U-Boot] [PATCH] Kconfig: Migrate FS_FAT / FAT_WRITE

2017-06-04 Thread Tom Rini
On Sat, Jun 03, 2017 at 06:00:04PM -0400, Tom Rini wrote: > Now that these symbols are in Kconfig, migrate all users. Use imply on > a number of platforms that default to having this enabled. As part of > this we must migrate some straglers for CMD_FAT and DOS_PARTITION. > > Signed-off-by: Tom

Re: [U-Boot] [PATCH 3/7] configs: k2g_evm: make sure config fallbacks take effect

2017-06-04 Thread Tom Rini
On Fri, Jun 02, 2017 at 05:54:01PM +0530, Sekhar Nori wrote: > Since config fallbacks contained in include/config_fallbacks.h > come into k2g_evm.h file through ti_armv7_keystone2.h, it should > be the last file included. > > Without this, #define of FAT_WRITE when environment is in FAT > does no

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2017-06-04 Thread Tom Rini
On Fri, Jun 02, 2017 at 05:46:33PM +, york sun wrote: > Tom, > > The following changes since commit 380e86f361e4e2aef83295972863654fde157560: > >Merge git://git.denx.de/u-boot-fsl-qoriq (2017-05-26 11:19:27 -0400) > > are available in the git repository at: > >git://git.denx.de/u-b

Re: [U-Boot] Pull Request: u-boot-sunxi/master

2017-06-04 Thread Tom Rini
On Thu, Jun 01, 2017 at 01:43:17PM +, Jagan Teki wrote: > Hi Tom, > > Please take this PR. > > thanks, > Jagan. > > The following changes since commit 4c78028737c3185f49f5691183aeac3478b5f699: > > mksunxi_fit_atf.sh: Allow for this to complete when bl31.bin is missing > (2017-05-22 20:1

Re: [U-Boot] Pull request: u-boot-net.git master

2017-06-04 Thread Tom Rini
On Fri, Jun 02, 2017 at 02:45:15PM -0500, Joe Hershberger wrote: > Hi Tom, > > The following changes since commit 46bac66b20da6d50e757bdca74703153f233090b: > > sandbox: Move to use live tree (2017-06-01 07:03:17 -0600) > > are available in the git repository at: > > git://git.denx.de/u-boo

[U-Boot] [PATCH v4 0/5] add support for GPT partition name manipulation

2017-06-04 Thread alison
From: Alison Chaiken One way for userspace and the bootloader to exchange information about dynamic image selection is via the storage device partition table, as described at https://source.android.com/devices/tech/ota/ab_updates The scheme described there relies on setting partitions' "boot" f

[U-Boot] [PATCH v4 2/5] rename GPT partitions to detect boot failure

2017-06-04 Thread alison
From: Alison Chaiken This patch provides support in u-boot for renaming GPT partitions. The renaming is accomplished via a new 'gpt flip' command. The concept for the bootloader state machine is the following: -- u-boot renames ‘primary’ partitions as ‘candidate’ and tries to boot them. --

[U-Boot] [PATCH 5/5] cmd gpt: test in sandbox

2017-06-04 Thread alison
From: Alison Chaiken Make minor changes to README.gpt and sandbox_defconfig to support testing of the gpt command's functionality in the sandbox. Signed-off-by: Alison Chaiken --- doc/README.gpt | 10 ++ 1 file changed, 10 insertions(+) diff --git a/doc/README.gpt b/doc/README.gpt ind

[U-Boot] [PATCH v4 3/5] GPT: fix error in partitions string doc

2017-06-04 Thread alison
From: Alison Chaiken The existing partitions-list parsing in cmd/gpt.c passes a value from gpt_default() to set_gpt_info() that README.gpt suggests should begin with 'partitions='. Partition-list strings should in fact begin with 'uuid_disk', as otherwise the call from set_gpt_info() to extract_

[U-Boot] [PATCH 4/5] sandbox: README: fix partition command invocation

2017-06-04 Thread alison
From: Alison Chaiken The instructions for creating a disk image that are presently in README.sandbox fail because sfdisk doesn't know about GPT. Signed-off-by: Alison Chaiken --- board/sandbox/README.sandbox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sandbox/READ

[U-Boot] [PATCH v4 1/5] GPT: read partition table from device into a data structure

2017-06-04 Thread alison
From: Alison Chaiken Make the partition table available for modification by reading it from the user-specified device into a linked list. Provide an accessor function for command-line testing. Changes since v3: Fixed problem with NULL termination of the newly created uuid[] member of the parti

Re: [U-Boot] [PATCH 01/33] mmc: select the available type from host_caps and card_caps

2017-06-04 Thread Ziyuan
hi Jaehoon, On 05/25/2017 09:08 PM, Jaehoon Chung wrote: Hi Ziyuan, On 05/25/2017 05:12 PM, Ziyuan wrote: hi Jaehoon, On 05/16/2017 09:55 AM, Jaehoon Chung wrote: Hi Ziyuan, On 05/16/2017 10:15 AM, Ziyuan wrote: hi Simon & Jaehoon, On 05/16/2017 08:18 AM, Simon Glass wrote: Hi Ziyuan, O

[U-Boot] Please pull u-boot-x86

2017-06-04 Thread Bin Meng
Hi Tom, The following changes since commit 5cafcbab580bac6c7f44ca4a164c422b7e1ecf20: Merge git://git.denx.de/u-boot-net (2017-06-03 18:05:28 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git for you to fetch changes up to d7f7ba36b2edecb16393f8373cca833adb8ea6

Re: [U-Boot] [PATCH 01/33] mmc: select the available type from host_caps and card_caps

2017-06-04 Thread Jaehoon Chung
Hi Ziyuan, On 06/05/2017 09:50 AM, Ziyuan wrote: > hi Jaehoon, > > On 05/25/2017 09:08 PM, Jaehoon Chung wrote: >> Hi Ziyuan, >> >> On 05/25/2017 05:12 PM, Ziyuan wrote: >>> hi Jaehoon, >>> >>> On 05/16/2017 09:55 AM, Jaehoon Chung wrote: Hi Ziyuan, On 05/16/2017 10:15 AM, Ziyuan w

Re: [U-Boot] Please pull u-boot-fdt (take 4)

2017-06-04 Thread Tom Rini
On Fri, Jun 02, 2017 at 05:59:04PM -0600, Simon Glass wrote: > Hi Tom, > > This includes moving the error message to stderr so that buildman picks it up. > > > > The following changes since commit 46bac66b20da6d50e757bdca74703153f233090b: > > sandbox: Move to use live tree (2017-06-01 07:03

Re: [U-Boot] [PATCH v7 3/6] arm: socfpga: Enable FPGA driver on SPL

2017-06-04 Thread Chee, Tien Fong
On Sab, 2017-06-03 at 13:27 +0200, Marek Vasut wrote: > On 05/29/2017 06:00 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > This patch is for enabling the FPGA driver support on SPL. > > > > Signed-off-by: Tien Fong Chee > > --- > >  include/configs/socfpga_common.h |

Re: [U-Boot] [PATCH 2/2] configs: enable the CONFIG_DM_MMC for exynos4 series

2017-06-04 Thread Minkyu Kang
Hi 2017. 5. 30. 10:04에 "Jaehoon Chung" 님이 작성: Enable the CONFIG_DM_MMC for exynos4 series. Signed-off-by: Jaehoon Chung --- configs/odroid_defconfig| 1 + configs/origen_defconfig| 1 + configs/s5pc210_universal_defconfig | 1 + configs/trats2_defconfig| 1

Re: [U-Boot] [PATCH 1/2] ARM: dts: exynos4: change the nodes relevant to mmc/sd

2017-06-04 Thread Minkyu Kang
Hi 2017. 5. 30. 10:05에 "Jaehoon Chung" 님이 작성: Change the nodes relevant to mmc/sd for using DM. compatible are also changed to each SoCs. Signed-off-by: Jaehoon Chung --- arch/arm/dts/exynos4.dtsi | 25 +-- arch/arm/dts/exynos4210-origen.dts | 24 --

Re: [U-Boot] [PATCH 1/2] ARM: dts: exynos5422-odroidxu3: add the LDO's nodes

2017-06-04 Thread Minkyu Kang
Hi 2017. 5. 30. 15:08에 "Jaehoon Chung" 님이 작성: Add the LDO's nodes that taken from Linux Kernel. Signed-off-by: Jaehoon Chung --- arch/arm/dts/exynos5422-odroidxu3.dts | 209 ++ 1 file changed, 209 insertions(+) diff --git a/arch/arm/dts/exynos5422-odroidxu3.dt

Re: [U-Boot] [PATCH 2/2] configs: odroid-xu3: remove the CONFIG_I2C_COMPAT

2017-06-04 Thread Minkyu Kang
Hi 2017. 5. 30. 15:08에 "Jaehoon Chung" 님이 작성: Remove the CONFIG_I2C_COMPAT, instead enable the CONFIG_SYS_I2C_S3C24X0. Signed-off-by: Jaehoon Chung --- configs/odroid-xu3_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/odroid-xu3_defconfig b/configs/odroid

Re: [U-Boot] [PATCH] odroid: remove COMPAT_DM_I2C_COMPAT config

2017-06-04 Thread Minkyu Kang
Hi 2017. 6. 1. 12:35에 "Simon Glass" 님이 작성: On 29 May 2017 at 19:06, Jaehoon Chung wrote: > Remove the COMPAT_DM_I2C_COMPAT config. > > Signed-off-by: Jaehoon Chung > --- > This patch is based on "Enable the CONFIG_DM_MMC for Exynos4 series" > > configs/odroid_defconfig | 2 +- > include/config

Re: [U-Boot] [PATCH v7 3/6] arm: socfpga: Enable FPGA driver on SPL

2017-06-04 Thread Chee, Tien Fong
On Isn, 2017-06-05 at 11:32 +0800, Chee, Tien Fong wrote: > > > > > > On Sab, 2017-06-03 at 13:27 +0200, Marek Vasut wrote: > > > > On 05/29/2017 06:00 AM, tien.fong.c...@intel.com wrote: > > > > > > > > > From: Tien Fong Chee > > > > > > This patch is for enabling the FPGA driver support on

Re: [U-Boot] [PATCH] odroid: remove COMPAT_DM_I2C_COMPAT config

2017-06-04 Thread Jaehoon Chung
Hi Minkyu, On 06/05/2017 01:01 PM, Minkyu Kang wrote: > Hi Sure, I will rebase on your latest. And i will modify the subject about typo. s/COMPAT/CONFIG/ Will send the patch. Best Regards, Jaehoon Chung > > 2017. 6. 1. 12:35에 "Simon Glass" 님이 작성: > > On 29 May 2017 at 19:06, Jaehoon Chung

Re: [U-Boot] [PATCH v2 07/10] usb: dwc2: fix macro error and change default config for rk3328

2017-06-04 Thread rock-chips(daniel.meng)
On 2017/6/3 18:23, Marek Vasut wrote: On 06/01/2017 01:25 PM, Meng Dongyang wrote: Fix macro error of dwc2 driver, add macro definition to config force mode and HNP/SRP capability. Can you please elaborate some more on the purpose of this patch ? It seems wrong, since the driver works on syst

Re: [U-Boot] [PATCH v7 4/6] drivers: Enable FPGA driver build on SPL

2017-06-04 Thread Chee, Tien Fong
On Sab, 2017-06-03 at 13:29 +0200, Marek Vasut wrote: > On 05/29/2017 06:00 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Enable FPGA driver build for SPL because FPGA driver is needed for > > SPL > > to configure and getting DDR up before loading U-boot into DDR and >

[U-Boot] [PATCH v2] Kconfig: Add description for CMD_POWEROFF

2017-06-04 Thread Michal Simek
Add poweroff description to Kconfig to make it selectable via menuconfig. Signed-off-by: Michal Simek Reviewed-by: Simon Glass --- Changes in v2: - Remove default n value which doesn't need to be specified - Add Simon's Reviewed-by: cmd/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 del

Re: [U-Boot] [PATCH] Move CONFIG_SF_DUAL_FLASH to defconfig

2017-06-04 Thread Michal Simek
On 1.6.2017 10:42, Mike Looijmans wrote: > Move the only use of CONFIG_SF_DUAL_FLASH to defconfig. This makes the > associated topic_miamiplus.h header obsolete, so remove that as well. > > Signed-off-by: Mike Looijmans > --- > configs/topic_miamiplus_defconfig | 3 ++- > include/configs/topic_m

Re: [U-Boot] [PATCH v2] ARM: zynq: Add support for the topic-miamilite system-on-module

2017-06-04 Thread Michal Simek
On 1.6.2017 10:49, Mike Looijmans wrote: > The topic-miamilite SoM contains a Zynq xc7z010 SoC, 1GB DDR3L RAM, > 64MB dual-parallel QSPI NOR flash and clock sources. > > Signed-off-by: Mike Looijmans > --- > v2: Move CONFIG_SF_DUAL_FLASH to defconfig > > arch/arm/dts/Makefile

Re: [U-Boot] [PATCH v7 07/10] usb: dwc3: Add dwc3 glue driver support for STi

2017-06-04 Thread Patrice CHOTARD
Hi Marek On 06/03/2017 08:06 AM, Marek Vasut wrote: > On 06/01/2017 02:05 PM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> This patch adds the ST glue logic to manage the DWC3 HC >> on STiH407 SoC family. It configures the internal glue >> logic and syscfg registers. >> >> Part of

[U-Boot] [PATCH] arm64: ls1043ardb: Add distro secure boot support

2017-06-04 Thread Sumit Garg
Enable validation of boot.scr script prior to its execution dependent on "secureboot" flag in environment. Disable fall back option to nor/qspi boot in case of secure boot. Also enable "secureboot=y" flag in environment for ARM based platforms instead of bootcmd. Signed-off-by: Sumit Garg Tested-

Re: [U-Boot] [PATCH v7 04/10] usb: phy: Add STi USB2 PHY

2017-06-04 Thread Patrice CHOTARD
Hi Marek On 06/03/2017 08:08 AM, Marek Vasut wrote: > On 06/01/2017 02:05 PM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> This is the generic phy driver for the picoPHY ports >> used by USB2/1.1 controllers. It is found on STiH407 SoC >> family from STMicroelectronics. >> >> Sign