[U-Boot] [PATCH] kbuild: update DTC warning settings for bus and node/property name checks

2017-05-15 Thread Masahiro Yamada
Recent commits of DTC introduced new warnings checking PCI and simple buses, unit address formatting, and stricter node and property name checking. Disable the new DTC warnings by default. As before, warnings are enabled with W=*. The strict node and property name checks are a bit subjective, so

Re: [U-Boot] [PATCH 2/5] x86: baytrail: Add fsp-header verification for secure boot fsp

2017-05-15 Thread Anatolij Gustschin
Hi Simon, On Sun, 14 May 2017 21:03:27 -0600 Simon Glass s...@chromium.org wrote: ... > > @@ -119,6 +119,13 @@ void fsp_init(u32 stack_top, u32 boot_mode, void > > *nvs_buf) > > /* No valid FSP info header was found */ > > panic("Invalid FSP header"); > > }

Re: [U-Boot] [PATCH v5 12/14] usb: extend generic OHCI with clock, reset and phy

2017-05-15 Thread Patrice CHOTARD
Hi Simon On 05/14/2017 11:13 AM, Simon Glass wrote: > On 10 May 2017 at 10:09, wrote: >> From: Patrice Chotard >> >> Make this driver more generic as echi-generic >> >> Signed-off-by: Patrice Chotard >> --- >> >> v5: _ add clock, reset and generic phy support >> >> drivers/usb/host/ohci-gen

Re: [U-Boot] [PATCH 3/5] x86: baytrail: secureboot: Add functions for verification of u-boot

2017-05-15 Thread Anatolij Gustschin
Hi Simon, On Sun, 14 May 2017 21:03:34 -0600 Simon Glass s...@chromium.org wrote: ... > > Introduce functions that check the integrity of u-boot by utilising the > > hashes stored in the oem-data block. > > U-Boot yes, will fix it. ... > > +/** > > + * This function compares a hash which gets

Re: [U-Boot] [PATCH v2 05/71] dm: Add a function to create a 'live' device tree

2017-05-15 Thread Lothar Waßmann
Hi, On Sun, 14 May 2017 21:03:23 -0600 Simon Glass wrote: > Hi Lothar, > > On 11 May 2017 at 08:59, Lothar Waßmann wrote: > > Hi, > > > > On Wed, 10 May 2017 08:20:44 -0600 Simon Glass wrote: > >> This function converts the flat device tree into a hierarchical one with > >> C structures and poin

Re: [U-Boot] [PATCH v2 2/5] usb: host: add error path and remove callback in ehci-generic

2017-05-15 Thread Patrice CHOTARD
Hi Marek On 05/12/2017 10:50 PM, Marek Vasut wrote: > On 05/12/2017 07:27 PM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> Add error path to disable enabled clocks and to assert >> deasserted resets >> Populate the remove callback >> >> Signed-off-by: Patrice Chotard >> --- >> v2

Re: [U-Boot] [PATCH v2 3/5] usb: host: extend generic EHCI driver with PHY

2017-05-15 Thread Patrice CHOTARD
Hi Marek On 05/12/2017 10:50 PM, Marek Vasut wrote: > On 05/12/2017 07:27 PM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> Add support of generic PHY framework >> >> Signed-off-by: Patrice Chotard >> --- >> >> v2: _ split previous path 1, add generic PHY framework >> >> drivers

Re: [U-Boot] [PATCH v2 4/5] usb: host: replace printf() by error() in ehci-generic

2017-05-15 Thread Patrice CHOTARD
Hi Marek On 05/12/2017 10:51 PM, Marek Vasut wrote: > On 05/12/2017 07:27 PM, patrice.chot...@st.com wrote: >> From: Patrice Chotard > > Commit message does not explain WHY this change is needed. In fact ... > commit message is missing altogether ... Yes, my bad i forget it, i will add it in the

Re: [U-Boot] [PATCH v2 2/5] usb: host: add error path and remove callback in ehci-generic

2017-05-15 Thread Patrice CHOTARD
Hi Simon On 05/15/2017 05:03 AM, Simon Glass wrote: > Hi Patrice, > > On 12 May 2017 at 11:27, wrote: >> From: Patrice Chotard >> >> Add error path to disable enabled clocks and to assert >> deasserted resets >> Populate the remove callback >> >> Signed-off-by: Patrice Chotard >> --- >> v2:

Re: [U-Boot] [PATCH v2 3/5] usb: host: extend generic EHCI driver with PHY

2017-05-15 Thread Patrice CHOTARD
Hi Simon On 05/15/2017 05:03 AM, Simon Glass wrote: > Hi Patrice, > > On 12 May 2017 at 11:27, wrote: >> From: Patrice Chotard >> >> Add support of generic PHY framework >> >> Signed-off-by: Patrice Chotard >> --- >> >> v2: _ split previous path 1, add generic PHY framework >> >> drivers/

Re: [U-Boot] [PATCH] block: sata: ceva: drop extraneous netdev.h include

2017-05-15 Thread Michal Simek
On 14.5.2017 22:47, Peter Robinson wrote: > Drop include of netdev.h as it's a SATA driver not a network driver. > > Signed-off-by: Peter Robinson > --- > drivers/block/sata_ceva.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/block/sata_ceva.c b/drivers/block/sata_ceva.c > in

[U-Boot] [PATCH] cmd: usb: check usb_stor_curr_dev in usb dev with no parameter

2017-05-15 Thread Patrick Delaunay
If 'usb start' does not find devices, the command 'usb dev' without parameter will lead to error= USB device -1: data abort A check on usb_stor_curr_dev avoid the issue Signed-off-by: Patrick Delaunay --- cmd/usb.c | 4 1 file changed, 4 insertions(+) diff --git a/cmd/usb.c b/cmd/usb.c in

Re: [U-Boot] [PATCH v5 03/14] mmc: sti_sdhci: Use reset framework

2017-05-15 Thread Patrice CHOTARD
Hi Simon On 05/15/2017 05:02 AM, Simon Glass wrote: > Hi Patrice, > > On 10 May 2017 at 10:09, wrote: >> From: Patrice Chotard >> >> Signed-off-by: Patrice Chotard >> Reviewed-by: Jaehoon Chung >> --- >> >> v5: _ none >> v4: _ none >> v3: _ none >> v2: _ none >> >> >> drivers

Re: [U-Boot] [PATCH v5 06/14] usb: dwc3: Add dwc3 glue driver support for STi

2017-05-15 Thread Patrice CHOTARD
Hi Simon On 05/15/2017 05:02 AM, Simon Glass wrote: > Hi Patrice, > > On 10 May 2017 at 10:09, 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 thi

Re: [U-Boot] [PATCH v5 09/14] STiH410-B2260: enable USB Host Networking

2017-05-15 Thread Patrice CHOTARD
Hi Simon On 05/15/2017 05:03 AM, Simon Glass wrote: > On 10 May 2017 at 10:09, wrote: > > It's a good idea to always have a commit message. Will fix it > >> From: Patrice Chotard >> >> Signed-off-by: Patrice Chotard >> --- >> >> v5: _ none >> v4: _ none >> v3: _ none >> v2: _

[U-Boot] Please pull from u-boot-i2c

2017-05-15 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c.git master The following changes since commit 22f3368e71321db1e0e15dfbf54b052367890ec7: Merge branch 'master' of git://git.denx.de/u-boot-mips (2017-05-13 16:45:35 -0400) are available in the git repository at: git://git.denx.de/u-boot-i2c.git maste

[U-Boot] [PATCH v2 0/7] Add basic support for Rockchip RK3368 SOC

2017-05-15 Thread Andy Yan
The RK3368 is an octa-core Cortex-A53 SoC from Rockchip. This adds basic support to chain-load U-Boot from Rockchip's miniloader. Changes in v2: - fix typo in subject - remove CRU base definition in cru head file - Drop extra blank lines - remove GRF base definition in cru head file - remove u

[U-Boot] [PATCH v2 1/7] rockchip: rk3368: Add clock driver

2017-05-15 Thread Andy Yan
Add driver to setup the various PLLs and peripheral clocks on the RK3368. Signed-off-by: Andy Yan --- Changes in v2: - fix typo in subject - remove CRU base definition in cru head file - Drop extra blank lines arch/arm/include/asm/arch-rockchip/cru_rk3368.h | 124 ++ drivers/clk/roc

[U-Boot] [PATCH v2 2/7] rockchip: rk3368: Add pinctrl driver

2017-05-15 Thread Andy Yan
Add driver to support iomux setup for the most commonly used peripherals on rk3368. Signed-off-by: Andy Yan --- Changes in v2: - remove GRF base definition in cru head file - remove unused function arch/arm/include/asm/arch-rockchip/grf_rk3368.h | 440 drivers/pinctrl/

[U-Boot] [PATCH v2 3/7] rockchip: rk3368: Add core start-up code for RK3368

2017-05-15 Thread Andy Yan
From: Andreas Färber The RK3368 is an octa-core Cortex-A53 SoC from Rockchip. This adds basic support to chain-load U-Boot from Rockchip's miniloader. Signed-off-by: Andreas Färber Signed-off-by: Andy Yan Reviewed-by: Simon Glass --- Changes in v2: - remove directly reference of GRF and CRU

[U-Boot] (no subject)

2017-05-15 Thread Andy Yan
:wq :q :q From: Andy Yan Date: Thu, 9 Mar 2017 19:30:53 +0800 Subject: [PATCH v2 4/7] rockchip: rk3368: Add sysreset driver Add sysreset driver to reset rk3368 SOC. Signed-off-by: Andy Yan Reviewed-by: Simon Glass --- Changes in v2: - slect soft reset source before reset

[U-Boot] [PATCH v2 5/7] rockchip: rk3368: add Sheep board

2017-05-15 Thread Andy Yan
Sheep board is designed by Rockchip as a EVB for rk3368. Currently it is able to boot a linux kernel and system to console with the miniloader run as fist level loader. Reviewed-by: Simon Glass Signed-off-by: Andy Yan --- Changes in v2: - add a README to describe how to boot the board arch/ar

[U-Boot] [PATCH v2 6/7] rockchip: rk3368: Add initial support for RK3368 based GeekBox

2017-05-15 Thread Andy Yan
From: Andreas Färber The GeekBox is a TV box from GeekBuying, based on an MXM3 module. The module can be used with base boards such as the GeekBox Landingship. This adds basic support to chain-load U-Boot from Rockchip's miniloader. Signed-off-by: Andreas Färber Signed-off-by: Andy Yan --- Ch

[U-Boot] [PATCH v2 7/7] rockchip: rk3368: Add PX5 Evaluation board

2017-05-15 Thread Andy Yan
PX5 EVB is designed by Rockchip for automotive field with integrated CVBS (TP2825) / MIPI DSI / CSI / LVDS HDMI video input/output interface, audio codec ES8396, WIFI / BT (on RTL8723BS), Gsensor BMA250E and light&proximity sensor STK3410. Signed-off-by: Andy Yan Reviewed-by: Simon Glass --- Ch

[U-Boot] [PATCH v2 4/7] rockchip: rk3368: Add sysreset driver

2017-05-15 Thread Andy Yan
Add sysreset driver to reset rk3368 SOC. Signed-off-by: Andy Yan Reviewed-by: Simon Glass --- Changes in v2: - slect soft reset source before reset drivers/sysreset/Makefile | 1 + drivers/sysreset/sysreset_rk3368.c | 62 ++ 2 files changed, 63 i

Re: [U-Boot] [PATCH 05/22] mmc: introduces mmc modes.

2017-05-15 Thread Jean-Jacques Hiblot
Hi Simon, On 15/05/2017 05:28, Simon Glass wrote: On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: Subject: drop the period at the end Also I think 'mmc: Introduce MMC modes' is better (imperative tense) no functionnal changes. In order to add the support for the high speed SD and MMC mo

Re: [U-Boot] [PATCH 09/22] mmc: refactor SD startup to make it easier to support new modes

2017-05-15 Thread Jean-Jacques Hiblot
On 15/05/2017 05:28, Simon Glass wrote: On 12 May 2017 at 12:16, Jean-Jacques Hiblot wrote: The SDcard startup process currently handles only 2 modes. To make it easier to add support for more modes, let's make the process more generic and use a list of the modes to try. The major functional

[U-Boot] [PATCH v3 1/4] arm: socfpga: Remove unused passing parameter of socfpga_bridges_reset

2017-05-15 Thread tien . fong . chee
From: Tien Fong Chee Remove parameter from socfpga_bridges_reset(), and keeping this function for single purpose which is just triggering reset on bridges. socfpga_reset_deasserte_bridges_handoff() can be called for releasing reset on any bridges based on the bridge setting defined in fdt. Signe

[U-Boot] [PATCH v3 3/4] arm: socfpga: Move FPGA manager driver to FPGA driver

2017-05-15 Thread tien . fong . chee
From: Tien Fong Chee Move FPGA manager driver which is Gen5 specific code from arch/arm/ into FPGA driver at driver/fpga/. No functional change. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/Makefile | 1 - arch/arm/mach-socfpga/fpga_manager.c | 78

[U-Boot] [PATCH v3 0/4] Add Intel Arria 10 SoC FPGA driver

2017-05-15 Thread tien . fong . chee
From: Tien Fong Chee This is the 3rd version of patchset to adds support for Intel Arria 10 SoC FPGA driver. This version mainly resolved comments from Marek in [v2].This series is working on top of u-boot-socfpga-next branch http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=shortlog;h=refs/heads

[U-Boot] [PATCH v3 2/4] arm: socfpga: Restructure FPGA driver in the preparation to support A10.

2017-05-15 Thread tien . fong . chee
From: Tien Fong Chee Move FPGA driver which is Gen5 specific code into Gen5 driver file and keeping common FPGA drivi er intact. All the changes are still keeping in driver/fpga/ and no functional change. Subsequent patch would move FPGA manager driver from arch/arm into driver/fpga/ . Signed-of

[U-Boot] [PATCH v3 4/4] arm: socfpga: Add FPGA driver support for Arria 10

2017-05-15 Thread tien . fong . chee
From: Tien Fong Chee Add FPGA driver support for Arria 10. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/include/mach/fpga_manager.h | 2 + .../include/mach/fpga_manager_arria10.h| 100 + drivers/fpga/Makefile | 1 + drivers/fpga/socf

[U-Boot] [PATCH 02/47] Kconfig: Drop CONFIG_CMD_DS4510_INFO

2017-05-15 Thread Simon Glass
This option is only used in one driver and two boards. It does not seem worth having the ability to remove this part of the support. Drop the option. Signed-off-by: Simon Glass --- README| 1 - drivers/misc/ds4510.c | 8 include/configs/xpedite517x.h |

[U-Boot] [PATCH 00/47] Kconfig: Convert commands (D to L) to Kconfig

2017-05-15 Thread Simon Glass
This series moves more commands to Kconfig. There are two points of note: - A patch is included to drop the whole digital thermometer and thermostat (DTT) subsystem. It has been replaced with UCLASS_THERMAL and boards should be using that instead. - Also included is a patch to drop three

[U-Boot] [PATCH 03/47] Kconfig: Drop CONFIG_CMD_DS4510_MEM

2017-05-15 Thread Simon Glass
This option is only used in one driver and is not enabled by any board. It does not seem worth having the ability to remove this part of the support. Drop the option. Signed-off-by: Simon Glass --- README | 1 - drivers/misc/ds4510.c| 10 -- scripts/confi

[U-Boot] [PATCH 04/47] Kconfig: Drop CONFIG_CMD_DS4510_RST

2017-05-15 Thread Simon Glass
This option is only used in one driver and is not enabled by any board. It does not seem worth having the ability to remove this part of the support. Drop the option. Signed-off-by: Simon Glass --- README | 1 - drivers/misc/ds4510.c| 6 -- scripts/config_whit

[U-Boot] [PATCH 01/47] configs: Re-sync

2017-05-15 Thread Simon Glass
Run moveconfig.py -s to get defconfig files back in sync. Signed-off-by: Simon Glass --- configs/Sinovoip_BPI_M2_Plus_defconfig | 1 - configs/am335x_baltos_defconfig | 4 +- configs/am335x_evm_defconfig | 1 - configs/am335x_hs_evm_defconfig

[U-Boot] [PATCH 06/47] Convert CONFIG_DS4510 to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_DS4510 Signed-off-by: Simon Glass --- README| 1 - configs/xpedite517x_defconfig | 1 + configs/xpedite537x_defconfig | 1 + drivers/misc/Kconfig | 8 include/configs/xpedite517x.h | 1 - include/configs

[U-Boot] [PATCH 13/47] Convert CONFIG_CMD_EECONFIG to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_EECONFIG Signed-off-by: Simon Glass --- board/gateworks/gw_ventana/Kconfig | 5 + configs/gwventana_emmc_defconfig | 1 + configs/gwventana_gw5904_defconfig | 1 + configs/gwventana_nand_defconfig | 1 + include/configs/gw_ventana.h

[U-Boot] [PATCH 05/47] Kconfig: Drop CONFIG_CMD_DS4510

2017-05-15 Thread Simon Glass
This option enables a command in the driver. But the functions defined by the driver are not called anywhere else in U-Boot. So it does not seem useful to have this driver without its commands. Drop this option, move the header file out of the common include/ directory and make all the function st

[U-Boot] [PATCH 09/47] Drop digital thermometer and thermostat (DTT) drivers

2017-05-15 Thread Simon Glass
This subsystem is quite old. It has been replaced with a driver-model version (UCLASS_THERMAL). Boards are free to convert to that if required, but here is a removal patch that could be applied in the meantime. Signed-off-by: Simon Glass --- README | 6 -- board/gd

[U-Boot] [PATCH 12/47] Convert CONFIG_CMD_ECCTEST to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_ECCTEST Signed-off-by: Simon Glass --- arch/powerpc/cpu/ppc4xx/Kconfig | 6 ++ configs/katmai_defconfig| 1 + configs/t3corp_defconfig| 1 + include/configs/katmai.h| 1 - include/configs/t3corp.h| 1 - sc

[U-Boot] [PATCH 07/47] Kconfig: Drop CONFIG_SYS_I2C_DTT_ADDR

2017-05-15 Thread Simon Glass
This option is only defined to a non-default value by canyonlands, which needs conversion to driver model (where the I2C address would be defined by the device tree). Drop this option. Signed-off-by: Simon Glass --- README| 6 -- drivers/hwmon/ds1775.c| 2 +-

[U-Boot] [PATCH 08/47] Drop three-wire serial (TWS) support

2017-05-15 Thread Simon Glass
This subsystem has not been converted to driver model, there is only one driver and only one board that uses it. Drop it and its CONFIG option. Also drop the rtc4543 RTC driver since it uses TWS. Signed-off-by: Simon Glass --- configs/inka4x0_defconfig| 1 - drivers/Makefile

[U-Boot] [PATCH 10/47] Kconfig: Drop CONFIG_SYS_I2C_DS1621_ADDR

2017-05-15 Thread Simon Glass
Now that dtt is gone, this is not used. Drop it. Signed-off-by: Simon Glass --- include/configs/xpedite517x.h | 12 include/configs/xpedite537x.h | 11 --- scripts/config_whitelist.txt | 1 - 3 files changed, 24 deletions(-) diff --git a/include/configs/xpedite517x.h b/i

[U-Boot] [PATCH 15/47] Convert CONFIG_CMD_ENTERRCM to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_ENTERRCM Signed-off-by: Simon Glass --- arch/arm/mach-tegra/Kconfig| 16 include/configs/tegra-common.h | 2 -- scripts/config_whitelist.txt | 1 - 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/arch

[U-Boot] [PATCH 20/47] Convert CONFIG_CMD_ESBC_VALIDATE to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_ESBC_VALIDATE Signed-off-by: Simon Glass --- arch/arm/include/asm/fsl_secure_boot.h | 1 - arch/powerpc/include/asm/fsl_secure_boot.h | 1 - board/freescale/common/Kconfig | 8 con

[U-Boot] [PATCH 19/47] Convert CONFIG_CMD_ERRATA to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_ERRATA Signed-off-by: Simon Glass --- arch/powerpc/cpu/mpc85xx/Kconfig | 8 configs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig | 1 + configs/controlcenterd_TRAILBLAZER_defconfig | 1 + include/configs/

[U-Boot] [PATCH 11/47] Kconfig: Drop CONFIG_SYS_I2C_DS4510_ADDR

2017-05-15 Thread Simon Glass
This is only used by one board and always set to 0x51. Drop this option. Signed-off-by: Simon Glass --- drivers/misc/ds4510.c | 7 +-- include/configs/xpedite517x.h | 3 --- include/configs/xpedite537x.h | 3 --- scripts/config_whitelist.txt | 1 - 4 files changed, 1 insertion(+),

[U-Boot] [PATCH 17/47] Convert CONFIG_CMD_ENV_CALLBACK to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_ENV_CALLBACK Signed-off-by: Simon Glass --- README | 1 - cmd/Kconfig | 8 configs/sandbox_defconfig | 1 + configs/sandbox_noblk_defconfig | 1 + configs/sandbox_spl_defconfig |

[U-Boot] [PATCH 23/47] Kconfig: Drop CONFIG_CMD_FDT_MAX_DUMP

2017-05-15 Thread Simon Glass
This option is not used by any board. Drop it. Signed-off-by: Simon Glass --- cmd/fdt.c| 8 +++- scripts/config_whitelist.txt | 1 - 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/cmd/fdt.c b/cmd/fdt.c index 95dd673b95..a21415dab4 100644 --- a/cmd/fdt.c +

[U-Boot] [PATCH 18/47] Convert CONFIG_CMD_ENV_FLAGS to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_ENV_FLAGS Signed-off-by: Simon Glass --- README | 1 - cmd/Kconfig | 8 configs/ids8313_defconfig | 1 + configs/sandbox_defconfig | 1 + configs/sandbox_noblk_defconfig | 1 +

[U-Boot] [PATCH 16/47] Convert CONFIG_CMD_ENV to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_ENV Signed-off-by: Simon Glass --- include/configs/ap_sh4a_4a.h| 1 - include/configs/calimain.h | 1 - include/configs/clearfog.h | 1 - include/configs/colibri_pxa270.h| 1 - include/configs/controlcenterdc.h

[U-Boot] [PATCH 28/47] Convert CONFIG_CMD_GSC to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_GSC Signed-off-by: Simon Glass --- board/gateworks/gw_ventana/Kconfig | 8 configs/gwventana_emmc_defconfig | 1 + configs/gwventana_gw5904_defconfig | 1 + configs/gwventana_nand_defconfig | 1 + include/configs/gw_ventana.h

[U-Boot] [PATCH 22/47] Convert CONFIG_CMD_FDC to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_FDC Signed-off-by: Simon Glass --- README | 1 - cmd/Kconfig | 5 + configs/PIP405_defconfig | 1 + include/config_cmd_all.h | 1 - include/configs/PIP405.h | 1 - scripts/config_whiteli

[U-Boot] [PATCH 27/47] Convert CONFIG_CMD_GETTIME to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_GETTIME Signed-off-by: Simon Glass --- README | 1 - cmd/Kconfig | 8 configs/bayleybay_defconfig | 1 + config

[U-Boot] [PATCH 24/47] Convert CONFIG_CMD_FPGAD to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_FPGAD Signed-off-by: Simon Glass --- cmd/Kconfig | 8 configs/hrcon_defconfig | 1 + configs/hrcon_dh_defconfig | 1 + configs/iocon_defconfig | 1 + configs/strider_con_defconfig| 1

[U-Boot] [PATCH 25/47] Convert CONFIG_CMD_FPGA_LOADBP et al to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_FPGA_LOADBP CONFIG_CMD_FPGA_LOADFS CONFIG_CMD_FPGA_LOADMK CONFIG_CMD_FPGA_LOADP Signed-off-by: Simon Glass --- README | 13 - arch/Kconfig | 1 + cmd/Kconfig

[U-Boot] [PATCH 26/47] Convert CONFIG_CMD_FUSE to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_FUSE Signed-off-by: Simon Glass --- README | 1 - arch/arm/cpu/armv7/mx6/Kconfig | 1 + arch/arm/cpu/armv7/mx7/Kconfig | 2 ++ cmd/Kconfig | 8 configs/colibri_vf_de

[U-Boot] [PATCH 34/47] Kconfig: Add a CONFIG_IDE option

2017-05-15 Thread Simon Glass
At present IDE support is controlled by CONFIG_CMD_IDE. Add a separate CONFIG_IDE option so that IDE support can be enabled without requiring the 'ide' command. Update existing users and move the ide driver into drivers/block since it should not be in common/. Signed-off-by: Simon Glass --- RE

[U-Boot] [PATCH 21/47] Convert CONFIG_CMD_ETHSW to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_ETHSW Also enable it for sandbox to increase build coverage. Signed-off-by: Simon Glass --- cmd/Kconfig | 8 configs/T1040D4RDB_NAND_defconfig| 1 + configs/T1040D4RDB_SDCARD_defconfig | 1

[U-Boot] [PATCH 40/47] Convert CONFIG_CMD_IOTRACE to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_IOTRACE Signed-off-by: Simon Glass --- arch/Kconfig | 1 + cmd/Kconfig | 34 ++ include/configs/sandbox.h| 1 - scripts/config_whitelist.txt | 1 - 4 files changed, 35 i

[U-Boot] [PATCH 35/47] Convert CONFIG_CMD_IMMAP to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_IMMAP Also move this command out of the cmd/ directory since it is PowerPC-specific. Signed-off-by: Simon Glass --- README | 1 - arch/powerpc/Kconfig| 2 ++ arch/powerpc/lib/Kconfig|

[U-Boot] [PATCH 31/47] Convert CONFIG_CMD_HD44760 to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_HD44760 Also drop CONFIG_CMD_HD44780 which appears to be a typo. Signed-off-by: Simon Glass --- board/work-microwave/work_92105/Kconfig | 5 + board/work-microwave/work_92105/work_92105_display.c | 2 +- configs/work_92105_

[U-Boot] [PATCH 29/47] Convert CONFIG_CMD_HASH to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_HASH Signed-off-by: Simon Glass --- README| 6 -- arch/Kconfig | 1 + arch/arm/Kconfig | 1 + arch/arm/cpu/armv7/ls102xa/Kconfig| 1 + arch

[U-Boot] [PATCH 33/47] Convert CONFIG_CMD_IDE to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_IDE Signed-off-by: Simon Glass --- README | 1 - cmd/Kconfig | 8 configs/CPCI4052_defconfig | 1 + configs/M5253DEMO_defconfig | 1 + configs

[U-Boot] [PATCH 39/47] Convert CONFIG_CMD_IOLOOP to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_IOLOOP Signed-off-by: Simon Glass --- board/gdsys/mpc8308/Kconfig | 5 + configs/hrcon_defconfig | 1 + configs/hrcon_dh_defconfig | 1 + configs/strider_con_defconfig| 1 + configs/strider_con_dp_defconfig | 1 +

[U-Boot] [PATCH 43/47] Convert CONFIG_CMD_IRQ to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_IRQ Signed-off-by: Simon Glass --- README| 1 - arch/Kconfig | 1 + arch/powerpc/cpu/mpc85xx/Kconfig | 18 ++ cmd

[U-Boot] [PATCH 41/47] Convert CONFIG_CMD_JFFS2 to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_JFFS2 Signed-off-by: Simon Glass --- README | 1 - cmd/Kconfig | 8 configs/M52277EVB_defconfig | 1 + configs/M52277EVB_stmicro_defcon

[U-Boot] [PATCH 30/47] Kconfig: Add CONFIG_HASH to enable hashing API

2017-05-15 Thread Simon Glass
At present CONFIG_CMD_HASH enables the 'hash' command which also brings in the hashing API. Some boards may wish to enable the API without the command. Add a separate CONFIG to permit this. Signed-off-by: Simon Glass --- cmd/Kconfig | 2 ++ common/Kconfig | 12 common/Makefil

[U-Boot] [PATCH 32/47] Convert CONFIG_CMD_HDMIDETECT to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_HDMIDETECT Signed-off-by: Simon Glass --- README | 5 - arch/arm/imx-common/Kconfig | 6 ++ configs/apalis_imx6_defconfig | 1 + configs/apalis_imx6_nospl_com_defconfig | 1 + co

[U-Boot] [PATCH 38/47] Convert CONFIG_CMD_IO to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_IO Signed-off-by: Simon Glass --- README | 1 - arch/Kconfig | 2 ++ cmd/Kconfig | 8 include/config_cmd_all.h | 1 - include/configs/sandbox.h| 1 - include/configs/x86

[U-Boot] [PATCHv6 06/28] net: sunxi: Restore sunxi_[eg]mac behavior

2017-05-15 Thread Olliver Schinagl
Commit 4d43d065db326 ("sunxi: Move SUNXI_GMAC to Kconfig") renamed SUNXI_[EG]MAC but did not update include/configs/sunxi-common.h where based on these two symbols other config symbols where being set, such as CONFIG_PHY_REALTEK for SUNXI_GMAC boards and the CONFIG_PHY_ADDR being set to a safe defa

[U-Boot] [PATCH 36/47] Kconfig: Drop CONFIG_CMD_IMXOTP

2017-05-15 Thread Simon Glass
This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass --- include/configs/ot1200.h | 1 - scripts/config_whitelist.txt | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h index cc1fdcfe51..2b8df14206 100644 --- a/include/

[U-Boot] [PATCH 37/47] Kconfig: Drop CONFIG_CMD_IMX_FUSE

2017-05-15 Thread Simon Glass
This option is not used in U-Boot. Drop it. Signed-off-by: Simon Glass --- include/configs/apf27.h | 1 - scripts/config_whitelist.txt | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/apf27.h b/include/configs/apf27.h index 3450751054..073f3b4fef 100644 --- a/include/co

[U-Boot] [PATCHv6 04/28] net: sunxi simplify defconfig

2017-05-15 Thread Olliver Schinagl
We currently have a few dependencies explicitly set in the sunxi defconfigs. Things such as, RGMII, DESIGNWARE_ETH in combination with SUN7I_GMAC. When selecting SUN7I_GMAC we already imply DESIGNWARE_ETH for example. This patch puts this logic into the Kconfig thus simplifying the defconfigs. For

[U-Boot] [PATCHv6 16/28] fdt: fixup_eth: Remove code duplication with a function

2017-05-15 Thread Olliver Schinagl
In fdt_support.c we use a loop to parse the mac address string from the fdt blob, net.h has a function for this however, so lets use it. Also, rename the variable from tmp to something more descriptive. Signed-off-by: Olliver Schinagl --- common/fdt_support.c | 15 +-- 1 file change

[U-Boot] [PATCHv6 17/28] fdt: fixup_eth: improve error catching/reduce identation

2017-05-15 Thread Olliver Schinagl
Currently when checking for an error in ethernet aliases in the fdt, we only check for the error case -1. It is safer to ignore anything < 0. By rearranging logic a bit we can now also reduce identation. Signed-off-by: Olliver Schinagl --- common/fdt_support.c | 20 ++-- 1 file

[U-Boot] [PATCH 44/47] Convert CONFIG_CMD_KGDB to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_KGDB Signed-off-by: Simon Glass --- README | 1 - cmd/Kconfig | 9 + include/config_cmd_all.h | 1 - scripts/config_whitelist.txt | 1 - 4 files changed, 9 insertions(+), 3 deletions(-) dif

[U-Boot] [PATCHv6 22/28] net: sun4i_mac: Add read_rom_hwaddr hook

2017-05-15 Thread Olliver Schinagl
With this patch sun4i_mac can now get the MAC address from the board in a predetermined board specific manner. Signed-off-by: Olliver Schinagl --- drivers/net/Makefile| 2 +- drivers/net/sun4i_mac.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/Makefile b

Re: [U-Boot] [PATCH] ARMv8/sec_firmware : Update chosen/kaslr-seed

2017-05-15 Thread Poonam Aggrwal
-Original Message- From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Ruchika Gupta Sent: Saturday, May 13, 2017 5:37 AM To: u-boot@lists.denx.de; sun.y...@nxp.com; Prabhakar Kushwaha Cc: Ruchika Gupta Subject: [U-Boot] [PATCH] ARMv8/sec_firmware : Update chosen/kaslr-seed

Re: [U-Boot] [PATCHv6 04/28] net: sunxi simplify defconfig

2017-05-15 Thread Maxime Ripard
On Mon, May 15, 2017 at 10:02:20AM +0200, Olliver Schinagl wrote: > We currently have a few dependencies explicitly set in the sunxi > defconfigs. Things such as, RGMII, DESIGNWARE_ETH in combination with > SUN7I_GMAC. When selecting SUN7I_GMAC we already imply DESIGNWARE_ETH > for example. > > Th

[U-Boot] [PATCHv6 27/28] net: sun8i: fix whitespace

2017-05-15 Thread Olliver Schinagl
Fix a few whitespaces errors in the sun8i driver. Signed-off-by: Olliver Schinagl --- drivers/net/Kconfig | 8 drivers/net/sun8i_emac.c | 12 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 782348f872..d

[U-Boot] [PATCH 42/47] fs: Kconfig: Add a separate option for FS_JFFS2

2017-05-15 Thread Simon Glass
Rather than using CMD_JFFS2 for both the filesystem and its command, we should have a separate option for each. This allows us to enable JFFS2 support without the command, if desired, which reduces U-Boot's size slightly. Signed-off-by: Simon Glass --- cmd/Kconfig | 1 + cmd/cramfs.c |

[U-Boot] [PATCHv6 23/28] net: sun7i_mac: Make the sun7i a dw driver subclass

2017-05-15 Thread Olliver Schinagl
This patch removes the old sunxi_gmac glue layer and turns it into a proper sub-class driver. Signed-off-by: Olliver Schinagl --- arch/arm/mach-sunxi/board.c | 1 - board/sunxi/Makefile | 1 - drivers/net/Makefile | 1 + driv

[U-Boot] [PATCHv6 00/28] Retrieve MAC address from EEPROM

2017-05-15 Thread Olliver Schinagl
This patch-series introduces methods to retrieve the MAC address from an onboard EEPROM. The series does a few small cleanups at the start, as either I ran into them while doing this series and fixed them along the way or actually depended on them. A manufacturer wants to produce boards and may ev

[U-Boot] [PATCH 45/47] Kconfig: Drop CONFIG_CMD_LOADY

2017-05-15 Thread Simon Glass
This is not used in U-Boot. Drop it. Signed-off-by: Simon Glass --- include/configs/vct.h| 1 - scripts/config_whitelist.txt | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/vct.h b/include/configs/vct.h index c8dbfa02c5..1491eb7a05 100644 --- a/include/configs/vct.h

[U-Boot] [PATCHv6 03/28] net: core: Add PHY_GIGE as a Kconfig symbol

2017-05-15 Thread Olliver Schinagl
Add the CONFIG_PHY_GIGE option as a hidden Kconfig symbol so that we can select it from the menu as a dependency. Signed-off-by: Olliver Schinagl --- drivers/net/Kconfig| 4 include/configs/sunxi-common.h | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drive

[U-Boot] [PATCHv6 09/28] net: core: Sanitize get/set operations for enetaddr

2017-05-15 Thread Olliver Schinagl
In the current net stack, we have a few functions to get and set the "ethaddr" and "ethNaddr" environment variables, which use magic values to get and set these environment variables. Remove the magicness of the buffer by defining it proper and also check the input for its length. Additionally use

[U-Boot] [PATCH 47/47] Convert CONFIG_CMD_LZMADEC to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_LZMADEC Signed-off-by: Simon Glass --- arch/Kconfig | 1 + cmd/Kconfig | 11 +++ cmd/Makefile | 2 -- include/configs/sandbox.h| 2 -- scripts/config_whitelist.txt | 1 - 5 fil

Re: [U-Boot] [PATCH 0/4] mmc: deprecate CONFIG_GENERIC_MMC finally

2017-05-15 Thread Jaehoon Chung
On 05/09/2017 08:31 PM, Masahiro Yamada wrote: > Masahiro Yamada (4): > sandbox_noblk_defconfig: disable CONFIG_GENERIC_MMC > blanche_defconfig: enable CONFIG_MMC > mmc: replace CONFIG_GENERIC_MMC with CONFIG_MMC > mmc: descend into drivers/mmc only when CONFIG_MMC is enabled Applied to u-

Re: [U-Boot] [EXT] Re: USB2.0 device timeout issue.

2017-05-15 Thread Wilson Ding
+ Nadav -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: 2017年5月15日 11:03 To: Terry Zhou Cc: u-boot@lists.denx.de; Wilson Ding ; Stefan Roese ; Marek Vasut Subject: [EXT] Re: USB2.0 device timeout issue. External Email --

[U-Boot] [PATCHv6 02/28] sun7i: Add support for Olimex A20-OLinuXino-LIME2-eMMC

2017-05-15 Thread Olliver Schinagl
This patch adds support for the Olimex OLinuXino Lime2 with eMMC flash storage. https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2-eMMC/ It is a assembly variant of the regular Lime2 but featuring eMMC for storage. Signed-off-by: Olliver Schinagl --- board/sunxi/MAINTAINERS

[U-Boot] [PATCHv6 05/28] net: sunxi: Re-add RTL8211X_PHY_FORCE_MASTER

2017-05-15 Thread Olliver Schinagl
Commit 8728c97eff5bd9 (" configs: Re-sync") potentially broke the lime2 as it removed the RTL8211X_PHY_FORCE_MASTER flag. Re-add this flag. Signed-off-by: Olliver Schinagl --- configs/A20-OLinuXino-Lime2_defconfig | 1 + configs/A20-Olimex-SOM-EVB_defconfig | 1 + 2 files changed, 2 insertions

[U-Boot] [PATCHv6 15/28] net: core: Check return value of read_rom_hwaddr

2017-05-15 Thread Olliver Schinagl
Currently, we silently ignore the return value of netops->read_rom_hwaddr(). This naturally is bad and we should check if the code ran successfully. Signed-off-by: Olliver Schinagl --- net/eth-uclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/eth-uclass.c b/net

[U-Boot] [PATCHv6 19/28] net: sunxi_emac: Write HW address via net_ops hook

2017-05-15 Thread Olliver Schinagl
Expose the write_hwaddr net_ops hook to write the Ethernet address. Signed-off-by: Olliver Schinagl --- drivers/net/sunxi_emac.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c index 99339db4bf..0dc37de242 100644 --- a/drivers

[U-Boot] [PATCHv6 13/28] net: core: print the source of the MAC address

2017-05-15 Thread Olliver Schinagl
With many potential places where a MAC address can be read from, the user may not know where the MAC address originated from. Print the MAC source after initializing the Ethernet device. Signed-off-by: Olliver Schinagl --- include/net.h| 14 ++ net/eth-uclass.c | 18 +

[U-Boot] [PATCH 5/6] moveconfig: Support building a simple config database

2017-05-15 Thread Simon Glass
Add a -b option which scans all the defconfigs and builds a database of all the CONFIG options used by each. This is useful for querying later. At present this only works with the separate -b option, which does not move any configs. It would be possible to adjust the script to build the database a

Re: [U-Boot] [PATCHv6 25/28] net: sun7i_mac: Add read_rom_hwaddr hook

2017-05-15 Thread Maxime Ripard
On Mon, May 15, 2017 at 10:02:41AM +0200, Olliver Schinagl wrote: > With this patch sun7i_mac can now get the MAC address from the board in > a predetermined board specific manner. > > Signed-off-by: Olliver Schinagl > --- > drivers/net/Makefile| 2 +- > drivers/net/sun7i_mac.c | 2 ++ > 2 f

[U-Boot] [PATCH 46/47] Convert CONFIG_LZMA to Kconfig

2017-05-15 Thread Simon Glass
This converts the following to Kconfig: CONFIG_LZMA Signed-off-by: Simon Glass --- README | 23 --- arch/Kconfig | 1 + configs/ap121_defconfig | 1 + configs/ap143_defconfig | 1 + configs/guruplug_defcon

  1   2   3   4   >