Re: [U-Boot] [PATCH 2/7] arm: socfpga: Convert FPGA configuration to Kconfig method.

2017-05-08 Thread Chee, Tien Fong
On Isn, 2017-05-08 at 11:57 +0200, Marek Vasut wrote: > On 05/08/2017 05:02 AM, Chee, Tien Fong wrote: > > > > On Jum, 2017-05-05 at 13:11 +0200, Marek Vasut wrote: > > > > > > On 05/05/2017 12:26 PM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee

[U-Boot] [PATCH] mmc: sdhci-cadence: import updates from Linux 4.12

2017-05-08 Thread Masahiro Yamada
This driver is a counterpart of drivers/mmc/host/sdhci-cadence.c from Linux. Some updates for v4.12-rc1 can be imported to U-Boot. - Fix value of SDHCI_CDNS_HRS04_RDATA_SHIFT - Add polling for ACK bit to be sure that data are written to the PHY register - Retrieve PHY values from DT

Re: [U-Boot] [PATCH 4/5 v2] x86: bootm: Add dm_remove_devices_flags() call to bootm_announce_and_cleanup()

2017-05-08 Thread Bin Meng
On Mon, Apr 24, 2017 at 3:48 PM, Stefan Roese wrote: > This patch adds a call to dm_remove_devices_flags() to > bootm_announce_and_cleanup() so that drivers that have one of the removal > flags set (e.g. DM_FLAG_ACTIVE_DMA_REMOVE) in their driver struct, may > do some last-stage

Re: [U-Boot] [PATCH 3/5 v2] dm: core: Add DM_FLAG_OS_PREPARE flag

2017-05-08 Thread Bin Meng
On Mon, Apr 24, 2017 at 3:48 PM, Stefan Roese wrote: > This new flag can be added to DM device drivers, which need to do some > final configuration before U-Boot exits and the OS (e.g. Linux) is > started. The remove functions of those drivers will get called at > this stage to do

Re: [U-Boot] [PATCH 5/5 v2] spi: ich: Configure SPI BIOS parameters for Linux upon U-Boot exit

2017-05-08 Thread Bin Meng
On Mon, Apr 24, 2017 at 3:48 PM, Stefan Roese wrote: > This patch adds a remove function to the Intel ICH SPI driver, that will > be called upon U-Boot exit, directly before the OS (Linux) is started. > This function takes care of configuring the BIOS registers in the SPI >

Re: [U-Boot] [PATCH 2/5 v2] serial: serial-uclass: Use force parameter in stdio_deregister_dev()

2017-05-08 Thread Bin Meng
On Sat, Apr 29, 2017 at 8:26 AM, Simon Glass wrote: > On 24 April 2017 at 01:48, Stefan Roese wrote: >> On my x86 platform I've noticed, that calling dm_uninit() or the new >> function dm_remove_devices_flags() does not remove the desired device at >> all.

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

2017-05-08 Thread Chee, Tien Fong
On Isn, 2017-05-08 at 11:52 +0200, Marek Vasut wrote: > On 05/08/2017 06:17 AM, Chee, Tien Fong wrote: > > > > On Jum, 2017-05-05 at 13:09 +0200, Marek Vasut wrote: > > > > > > On 05/05/2017 12:26 PM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee

Re: [U-Boot] [PATCH 3/7] arm: socfpga: Restructure FPGA driver in the preparation to support A10.

2017-05-08 Thread Chee, Tien Fong
On Isn, 2017-05-08 at 12:16 +0200, Marek Vasut wrote: > On 05/08/2017 06:39 AM, Chee, Tien Fong wrote: > > > > On Jum, 2017-05-05 at 13:13 +0200, Marek Vasut wrote: > > > > > > On 05/05/2017 12:26 PM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee

Re: [U-Boot] [PATCH 1/5 v2] dm: device_remove: Don't return in device_chld_remove() upon error

2017-05-08 Thread Simon Glass
Hi Stefan, On 8 May 2017 at 01:35, Stefan Roese wrote: > Hi Simon, > > On 04.05.2017 18:50, Simon Glass wrote: > > > > ... the current implementation to exit the loop over all children > upon error and not remove the remaining children is wrong IMO. All > devices

Re: [U-Boot] [PATCH 02/17] rk3036: Fix unused variable warning

2017-05-08 Thread Simon Glass
On 8 May 2017 at 20:14, Tom Rini wrote: > > The variable grf is only referenced if EARLY_DEBUG is defined so move the > declaration to be under the existing guard. > > Cc: Simon Glass > Signed-off-by: Tom Rini > --- >

Re: [U-Boot] [PATCH V3 1/4] usb: rockchip: add the rockusb gadget

2017-05-08 Thread Eddie Cai
2017-05-09 0:38 GMT+08:00 Simon Glass : > Hi Eddie, > > On 2 May 2017 at 02:47, Eddie Cai wrote: >> >> Hi Simon >> >> 2017-04-30 11:49 GMT+08:00 Simon Glass : >> > Hi Eddie, >> > >> > On 28 April 2017 at 18:41, Eddie Cai

Re: [U-Boot] [PATCH 06/17] mx6ul_14x14_evk: Fix unused variable warning

2017-05-08 Thread Peng Fan
On Mon, May 08, 2017 at 10:14:24PM -0400, Tom Rini wrote: >The variable usdhc1_pads is only referenced during SPL builds, add a guard. > >Cc: Stefano Babic >Cc: Peng Fan >Signed-off-by: Tom Rini Reviewed-by: Peng Fan

Re: [U-Boot] [PATCH 05/17] mx6slevk: Fix unused variable warning

2017-05-08 Thread Peng Fan
On Mon, May 08, 2017 at 10:14:23PM -0400, Tom Rini wrote: >The variable usdhc1_pads is only referenced during SPL builds, add a >guard. > >Cc: Fabio Estevam >Cc: Peng Fan >Cc: Stefano Babic >Signed-off-by: Tom Rini

[U-Boot] [PATCH V2 2/2] asm-generic: global_data: change timebase_l/h to unsigned int

2017-05-08 Thread Peng Fan
Change type of timebase_l/h to unsigned int. From lib/time.c: ((uint64_t)gd->timebase_h << 32) | gd->timebase_l; This piece code is based on that timebase_h and timebase_l are 32bits width, so change the type to unsigned int. Signed-off-by: Peng Fan Cc: Eddie Cai

[U-Boot] [PATCH V2 1/2] arm: change tbu/l type to unsigned int

2017-05-08 Thread Peng Fan
Change tbu/l type to unsigned int. From the timer file for arm, "(((unsigned long long)gd->arch.tbu) << 32) | gd->arch.tbl;" is used, This piece code is based on tbu/tbl is 32bits, so change the type to unsigned int. Signed-off-by: Peng Fan Cc: Simon Glass

Re: [U-Boot] [PATCH] pci: avoid memory leak

2017-05-08 Thread Bin Meng
On Tue, May 9, 2017 at 2:40 AM, Heinrich Schuchardt wrote: > strdup uses malloc to allocate memory for str. > If we cannot bind to the generic driver we should release > the memory. > > The problem was indicated by clang scan-build. > > Signed-off-by: Heinrich Schuchardt

[U-Boot] [PATCH 10/17] apalis_imx6: Fix unused variable warning

2017-05-08 Thread Tom Rini
The variable vga_pads is never referenced, drop. Cc: Max Krummenacher Signed-off-by: Tom Rini --- board/toradex/apalis_imx6/apalis_imx6.c | 47 - 1 file changed, 47 deletions(-) diff --git

[U-Boot] [PATCH 17/17] m5253demo: Fix static variable in non-static inline function warning

2017-05-08 Thread Tom Rini
The function 'spin_wheel' is declared as inline, but not static and thus we see warnings that 'w' and 'p' are declared static in a non-static inline function. Correct this by marking spin_wheel as static inline. Cc: TsiChung Liew Signed-off-by: Tom Rini

[U-Boot] [PATCH 14/17] net: phy: mv88e61xx: Fix uninitialized variable warning

2017-05-08 Thread Tom Rini
The variable 'res' may be unused uninitialized if our call to mv88e61xx_port_read (register read) fails and we goto the error handling section. In this case we set 'res' to -EIO to indicate why we failed. Cc: Joe Hershberger Cc: Chris Packham

[U-Boot] [PATCH 04/17] cgtqmx6eval: Fix unused variable warning

2017-05-08 Thread Tom Rini
The variable usdhc2_pads is only referenced during SPL builds, add a guard. Cc: Otavio Salvador Signed-off-by: Tom Rini --- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH 03/17] ot1200: Fix unused variable warning

2017-05-08 Thread Tom Rini
The variable pwm_pad is never referenced, drop. Cc: Christian Gmeiner Signed-off-by: Tom Rini --- board/bachmann/ot1200/ot1200.c | 4 1 file changed, 4 deletions(-) diff --git a/board/bachmann/ot1200/ot1200.c

[U-Boot] [PATCH 07/17] gw_ventana: Fix unused variable warnings

2017-05-08 Thread Tom Rini
The variable nfc_pads is only referenced when CONFIG_CMD_NAND is set, move the existing guard and drop a now redundant comment. The variable gwproto_gpio_pads is never referenced, remove it. Cc: Tim Harvey Signed-off-by: Tom Rini ---

[U-Boot] [PATCH 08/17] gdsys: P1022: Fix unused variable warnings

2017-05-08 Thread Tom Rini
The variables prg_stage2_prepare, prg_stage2_success and prg_stage_fail are only referenced when CCDM_SECOND_STAGE is set, move these to be by the existing guard. Cc: Dirk Eibach Signed-off-by: Tom Rini --- board/gdsys/p1022/controlcenterd-id.c | 49

[U-Boot] [PATCH 09/17] pcm058: Fix unused variable warnings

2017-05-08 Thread Tom Rini
The variable nfc_pads is only referenced when CONFIG_CMD_NAND is set, add a gaurd. The variable gpio_pads is never referenced, drop it. The variable usdhc4_pads are only referenced when we do not have CONFIG_CMD_NAND set and we are not doing an SPL build, modify the existing guard. Cc: Stefano

[U-Boot] [PATCH 12/17] video: ld9040: Fix unused variable warnings

2017-05-08 Thread Tom Rini
The variables SEQ_SWRESET, SEQ_ELVSS_ON, SEQ_TEMP_SWIRE, SEQ_APON and SEQ_SLPIN are unreferenced, drop. Cc: Anatolij Gustschin Signed-off-by: Tom Rini --- drivers/video/ld9040.c | 16 1 file changed, 16 deletions(-) diff --git

[U-Boot] [PATCH 16/17] common: Only build cli_readline.o for CMDLINE on non-SPL

2017-05-08 Thread Tom Rini
With gcc-6 and later we may get a warning such as: .../common/cli_readline.c:20:21: warning: ‘tab_seq’ defined but not used [-Wunused-const-variable=] static const char tab_seq[] = ""; /* used to expand TABs */ ^~~ .../common/cli_readline.c:19:19: warning:

[U-Boot] [PATCH 13/17] net: eepro100: Fix unused variable warning

2017-05-08 Thread Tom Rini
The variable i82557_config_cmd is never referenced, drop. Cc: Joe Hershberger Signed-off-by: Tom Rini --- drivers/net/eepro100.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/net/eepro100.c b/drivers/net/eepro100.c index

[U-Boot] [PATCH 06/17] mx6ul_14x14_evk: Fix unused variable warning

2017-05-08 Thread Tom Rini
The variable usdhc1_pads is only referenced during SPL builds, add a guard. Cc: Stefano Babic Cc: Peng Fan Signed-off-by: Tom Rini --- board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH 15/17] net: uli526x: Fix unknown storage size error

2017-05-08 Thread Tom Rini
The variable netdev_ethtool_ops is not referenced, drop it. However with gcc-6 or later we fail to even compile as we do not have the required struct definition in U-Boot. Cc: Joe Hershberger Signed-off-by: Tom Rini --- drivers/net/uli526x.c | 1 -

[U-Boot] [PATCH 11/17] colibri_imx7: Fix unused variable warning

2017-05-08 Thread Tom Rini
The variable usdhc3_emmc_pads is never referenced, drop. Cc: Stefan Agner Signed-off-by: Tom Rini --- board/toradex/colibri_imx7/colibri_imx7.c | 16 1 file changed, 16 deletions(-) diff --git

[U-Boot] [PATCH 05/17] mx6slevk: Fix unused variable warning

2017-05-08 Thread Tom Rini
The variable usdhc1_pads is only referenced during SPL builds, add a guard. Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic Signed-off-by: Tom Rini --- board/freescale/mx6slevk/mx6slevk.c | 2 ++ 1 file changed, 2

[U-Boot] [PATCH 02/17] rk3036: Fix unused variable warning

2017-05-08 Thread Tom Rini
The variable grf is only referenced if EARLY_DEBUG is defined so move the declaration to be under the existing guard. Cc: Simon Glass Signed-off-by: Tom Rini --- arch/arm/mach-rockchip/rk3036-board-spl.c | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH 01/17] socrates: Fix a misleading indentation warning

2017-05-08 Thread Tom Rini
With gcc-6 and later we see a warning about the fact that we have a construct of "if (test);\n\tstatement". Upon reviewing the code, the intention here is as the compiler suggests, we only want to execute the indented statement if the test was true. Cc: Sergei Poselenov

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

2017-05-08 Thread Tom Rini
On Mon, May 08, 2017 at 09:42:04PM +0530, Jagan Teki wrote: > Hi Tom, > > Please take this PR. > > thanks! > Jagan. > > The following changes since commit e8f86a026125ff2b2d6bd6eac73d2542852aab84: > > sunxi: fix the default value of CONS_INDEX on non-A23/A33 SUN8I (2017-04-25 > 11:44:21

Re: [U-Boot] Pull request: u-boot-spi/next

2017-05-08 Thread Tom Rini
On Mon, May 08, 2017 at 09:46:41PM +0530, Jagan Teki wrote: > Hi Tom, > > Please take this PR. > > thanks! > Jagan. > > The following changes since commit ac6991fb5fc1a694b29f4ebd5e07baebf818d7cc: > > zynq: spi: Honour the activation / deactivation delay (2017-05-03 11:03:04 > +0530) > >

Re: [U-Boot] [PATCHv4 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-08 Thread Tom Rini
On Mon, May 08, 2017 at 08:36:28PM +0200, Jorge Ramirez wrote: > On 05/08/2017 07:29 PM, Tom Rini wrote: > >On Mon, May 08, 2017 at 06:36:43PM +0200, Jorge Ramirez-Ortiz wrote: > > > >>This port adds support for: > >> 1) Serial > >> 2) eMMC > >> 3) USB > >[snip] > >>

Re: [U-Boot] Patchset v3 Poplar 96Boards EE

2017-05-08 Thread Tom Rini
On Mon, May 08, 2017 at 10:56:53AM -0500, Alex Elder wrote: > On 05/08/2017 10:20 AM, Tom Rini wrote: > > On Mon, May 08, 2017 at 05:15:56PM +0200, Jorge Ramirez-Ortiz wrote: > > > >> [PATCHv3 1/5] ARM64: dts: hi3798cv200-poplar: add device tree bindings > >> [PATCHv3 2/5] ARM64: dts: poplar: add

[U-Boot] sunxi: support NanoPi Neo2

2017-05-08 Thread Patrick Wildt
Hi, this diff adds basic support for the NanoPi Neo2. It's based on the old NanoPi Neo support and the recent commit of the OrangePi PC2 support. I'm not sure it's 100% correct, but it seems to be a good start to me and makes the machine boot. Tested with Andre's SPL FIT patchset. Patrick

Re: [U-Boot] Patchset v3 Poplar 96Boards EE

2017-05-08 Thread Alex Elder
On 05/08/2017 10:20 AM, Tom Rini wrote: > On Mon, May 08, 2017 at 05:15:56PM +0200, Jorge Ramirez-Ortiz wrote: > >> [PATCHv3 1/5] ARM64: dts: hi3798cv200-poplar: add device tree bindings >> [PATCHv3 2/5] ARM64: dts: poplar: add usb-ehci node >> [PATCHv3 3/5] ARM64: dts: poplar: add clock

Re: [U-Boot] [U-Boot,v4,3/3] rtc: Add DM support to ds1307

2017-05-08 Thread Tom Rini
On Sat, Apr 29, 2017 at 03:20:29PM +1200, Chris Packham wrote: > Add an implementation of the ds1307 driver that uses the driver model > i2c APIs. > > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH] pico-imx7d: Add initial support

2017-05-08 Thread Jagan Teki
Though the code look good and similar approach of existing boards, I'm little concern of continue the same legacy and w/o trying new feature like fdt. We've few i.MX boards which uses fdt support please refer the same. I'm commenting below what all the code can removed ans use it with dts. > >

Re: [U-Boot] [U-Boot, 2/6] configs: am335x: Enable TI_COMMON_CMD_OPTIONS

2017-05-08 Thread Tom Rini
On Thu, Apr 27, 2017 at 03:43:59PM +0530, Lokesh Vutla wrote: > Enable TI_COMMON_CMD_OPTIONS on all am335x platforms. > Also sync with savedefconfig. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 6/6] configs: ks2: Enable TI_COMMON_CMD_OPTIONS

2017-05-08 Thread Tom Rini
On Thu, Apr 27, 2017 at 03:44:03PM +0530, Lokesh Vutla wrote: > Enable TI_COMMON_CMD_OPTIONS on all keystone2 platforms. > Also sync with savedefconfig. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 1/6] board: ti: Define Kconfig symbol for common cmd options

2017-05-08 Thread Tom Rini
On Thu, Apr 27, 2017 at 03:43:58PM +0530, Lokesh Vutla wrote: > Instead of defining command options in every defconfig, > define a common Kconfig symbol that consolidates all command > options that are supported by any TI platform. Also use imply > keyword so that that specific option can be

Re: [U-Boot] [U-Boot, v2, 3/7] mtd: nand: Consolidate nand spl loaders implementation

2017-05-08 Thread Tom Rini
On Sun, Apr 16, 2017 at 03:31:59PM +0200, Ladislav Michl wrote: > nand_spl_load_image implementation was copied over into three > different drivers and now with nand_spl_read_block used for > ubispl situation gets even worse. For now use least intrusive > solution and #include the same

Re: [U-Boot] [U-Boot, v4, 13/18] stm32f7: enable board info read from device tree

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:03:02PM -0700, Vikas Manocha wrote: > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v1, 09/15] aspeed: Enable Pinctrl Driver in AST2500 EVB

2017-05-08 Thread Tom Rini
On Mon, Apr 17, 2017 at 12:00:28PM -0700, max...@google.com wrote: > Enable Pinctrl Driver in AST2500 Eval Board's defconfig > > Signed-off-by: Maxim Sloyko > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, v1, 13/15] aspeed: Add support for Clocks needed by MACs

2017-05-08 Thread Tom Rini
On Mon, Apr 17, 2017 at 12:00:32PM -0700, max...@google.com wrote: > Add support for clocks needed by MACs to ast2500 clock driver. > The clocks are D2-PLL, which is used by both MACs and PCLK_MAC1 and > PCLK_MAC2 for MAC1 and MAC2 respectively. > > The rate of D2-PLL is hardcoded to 250MHz --

Re: [U-Boot] [U-Boot, v4, 07/18] stm32f7: sdram: use sdram device tree node to configure sdram controller

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:02:56PM -0700, Vikas Manocha wrote: > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v4, 14/18] stm32f7: sdram: correct sdram configuration as per micron sdram

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:03:03PM -0700, Vikas Manocha wrote: > Actually the sdram memory on stm32f746 discovery board is micron part > MT48LC_4M32_B2B5_6A. This patch does the modification required in the > device tree node & driver for the same. > > Also we are passing here all the timing

Re: [U-Boot] [U-Boot, v1, 06/15] aspeed: Device Tree configuration for Reset Driver

2017-05-08 Thread Tom Rini
On Mon, Apr 17, 2017 at 12:00:25PM -0700, max...@google.com wrote: > Add Reset Driver configuration to ast2500 SoC Device Tree and bindings > for various reset signals > > Signed-off-by: Maxim Sloyko > Reviewed-by: Simon Glass Applied to u-boot/master,

Re: [U-Boot] [U-Boot, v4, 11/18] stm32f746: to switch on user LED1 & read user button

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:03:00PM -0700, Vikas Manocha wrote: > All discovery boards have one user button & one user LED. Here we are > just reading the button status & switching ON the user LED. > > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO

[U-Boot] [PATCH] common: env: remove superfluous assignment

2017-05-08 Thread Heinrich Schuchardt
The value assigned to variable 'value' is never used. The problem was indicated by clang scan-build. Signed-off-by: Heinrich Schuchardt --- cmd/nvedit.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/nvedit.c b/cmd/nvedit.c index 9ca5cb58a7..8f4e6bbe62 100644 ---

Re: [U-Boot] [U-Boot,v1,12/15] aspeed: Enable I2C in EVB defconfig

2017-05-08 Thread Tom Rini
On Mon, Apr 17, 2017 at 12:00:31PM -0700, max...@google.com wrote: > Enable I2C driver in ast2500 Eval Board defconfig. > Also enable i2c command. > > Signed-off-by: Maxim Sloyko > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v1, 14/15] aspeed: Refactor SCU to use consistent mask & shift

2017-05-08 Thread Tom Rini
On Mon, Apr 17, 2017 at 12:00:33PM -0700, max...@google.com wrote: > Refactor SCU header to use consistent Mask & Shift values. > Now, consistently, to read value from SCU register, mask needs > to be applied before shift. > > Signed-off-by: Maxim Sloyko > Reviewed-by: Simon

Re: [U-Boot] [U-Boot, v4, 08/18] dm: gpio: Add driver for stm32f7 gpio controller

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:02:57PM -0700, Vikas Manocha wrote: > This patch adds gpio driver supporting driver model for stm32f7 gpio. > > Signed-off-by: Vikas Manocha > Reviewed-by: Simon Glass > cc: Christophe KERELLO

Re: [U-Boot] [U-Boot, v4, 18/18] stm32f7: remove not needed configuration from board config

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:03:07PM -0700, Vikas Manocha wrote: > This patch removes: > - CONFIG_CMD_MEM: enabled by default > - CONFIG_DESIGNWARE_ETH : not being used anywhere. > > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO

Re: [U-Boot] [U-Boot, v4, 15/18] stm32f7: increase the max no of pin configuration to 70

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:03:04PM -0700, Vikas Manocha wrote: > The number of pins to be configured could be more than 50 e.g. in case > of sdram controller, there are about 56 pins (32 data lines, 12 address > & some control signals). > > Signed-off-by: Vikas Manocha >

Re: [U-Boot] [U-Boot,v1,01/15] aspeed: Update ast2500 Device Tree

2017-05-08 Thread Tom Rini
On Mon, Apr 17, 2017 at 12:00:20PM -0700, max...@google.com wrote: > Pull in the Device Tree for ast2500 from the mainline Linux kernel. > The file is copied from > https://raw.githubusercontent.com/torvalds/linux/34ea5c9d/arch/arm/boot/dts/aspeed-g5.dtsi > > Signed-off-by: Maxim Sloyko

Re: [U-Boot] [U-Boot,v1,05/15] aspeed: Reset Driver

2017-05-08 Thread Tom Rini
On Mon, Apr 17, 2017 at 12:00:24PM -0700, max...@google.com wrote: > Add Reset Driver for ast2500 SoC. This driver uses Watchdog Timer to > perform resets and thus depends on it. The actual Watchdog device used > needs to be configured in Device Tree using "aspeed,wdt" property, which > must be

Re: [U-Boot] [U-Boot,v1,08/15] aspeed: AST2500 Pinctrl Driver

2017-05-08 Thread Tom Rini
On Mon, Apr 17, 2017 at 12:00:27PM -0700, max...@google.com wrote: > This driver uses Generic Pinctrl framework and is compatible with > the Linux driver for ast2500: it uses the same device tree > configuration. > > Not all pins are supported by the driver at the moment, so it actually >

Re: [U-Boot] [U-Boot, 4/6] configs: am57xx: Enable TI_COMMON_CMD_OPTIONS

2017-05-08 Thread Tom Rini
On Thu, Apr 27, 2017 at 03:44:01PM +0530, Lokesh Vutla wrote: > Enable TI_COMMON_CMD_OPTIONS on all am57xx platforms. > Also sync with savedefconfig > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,v1,11/15] aspeed: Add I2C Driver

2017-05-08 Thread Tom Rini
On Mon, Apr 17, 2017 at 12:00:30PM -0700, max...@google.com wrote: > Add Device Model based I2C driver for ast2500/ast2400 SoCs. > The driver is very limited, it only supports master mode and > synchronous byte-by-byte reads/writes, no DMA or Pool Buffers. > > Signed-off-by: Maxim Sloyko

Re: [U-Boot] [U-Boot, v4, 06/18] stm32f7: use clock driver to enable sdram controller clock

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:02:55PM -0700, Vikas Manocha wrote: > This patch also removes the sdram/fmc clock enable from board specific > code. > > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v3, 2/4] tools: moveconfig: cleanup whitelist entries

2017-05-08 Thread Tom Rini
On Tue, May 02, 2017 at 09:30:47PM +1200, Chris Packham wrote: > After moving to KConfig and removing from all headers options should be > removed from config_whitelist.txt so the build starts complaining if > someone adds them back. > > Acked-by: Masahiro Yamada

Re: [U-Boot] [U-Boot, 5/6] configs: dra7xx: Enable TI_COMMON_CMD_OPTIONS

2017-05-08 Thread Tom Rini
On Thu, Apr 27, 2017 at 03:44:02PM +0530, Lokesh Vutla wrote: > Enable TI_COMMON_CMD_OPTIONS on all dra7xx platforms. > Also sync with savedefconfig. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 2/2] ARM: keystone2: Add support for getting external clock dynamically

2017-05-08 Thread Tom Rini
On Wed, May 03, 2017 at 04:58:26PM +0530, Lokesh Vutla wrote: > One some keystone2 platforms like K2G ICE, there is an option > to switch between 24MHz or 25MHz as sysclk. But the existing > driver assumes it is always 24MHz. Add support for getting > all reference clocks dynamically by reading

Re: [U-Boot] [U-Boot, v1, 04/15] aspeed: Make SCU lock/unlock functions part of SCU API

2017-05-08 Thread Tom Rini
On Mon, Apr 17, 2017 at 12:00:23PM -0700, max...@google.com wrote: > Make functions for locking and unlocking SCU part of SCU API. > Many drivers need to modify settings in SCU and thus need to unlock it > first. This change makes it possible. > > Signed-off-by: Maxim Sloyko

Re: [U-Boot] [U-Boot, v1, 10/15] aspeed: Add P-Bus clock in ast2500 clock driver

2017-05-08 Thread Tom Rini
On Mon, Apr 17, 2017 at 12:00:29PM -0700, max...@google.com wrote: > Add P-Bus Clock support to ast2500 clock driver. > This is the clock used by I2C devices. > > Signed-off-by: Maxim Sloyko > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot,v3,4/4] README: remove CONFIG_CMD_DATE

2017-05-08 Thread Tom Rini
On Tue, May 02, 2017 at 09:30:49PM +1200, Chris Packham wrote: > CONFIG_CMD_DATE was recently moved to Kconfig. Remove the now duplicate > description of the option. > > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass Applied to

Re: [U-Boot] [U-Boot,v1,02/15] dm: Simple Watchdog uclass

2017-05-08 Thread Tom Rini
On Mon, Apr 17, 2017 at 12:00:21PM -0700, max...@google.com wrote: > This is a simple uclass for Watchdog Timers. It has four operations: > start, restart, reset, stop. Drivers must implement start, restart and > stop operations, while implementing reset is optional: It's default > implementation

Re: [U-Boot] [U-Boot, v4, 09/18] ARM: DT: stm32f7: add gpio device tree nodes

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:02:58PM -0700, Vikas Manocha wrote: > Also created alias for gpios for stm32f7 discovery board. Based on these > aliases, it would be possible to get gpio devices by sequence. > > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO

Re: [U-Boot] [U-Boot, v3, 3/4] tools: moveconfig: cleanup README entires

2017-05-08 Thread Tom Rini
On Tue, May 02, 2017 at 09:30:48PM +1200, Chris Packham wrote: > The Kconfig description replaces the description in the README file so > as options are migrated they can be removed from the README. > > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass

Re: [U-Boot] Add ARM errata workaround 852421 and 852423 for Cortex-A17

2017-05-08 Thread Tom Rini
On Wed, Apr 26, 2017 at 04:18:01PM -0500, Nisal Menuka wrote: > ARM errata 852421 and 852423 applies to r1p0, r1p1 and r1p2 > revisions of Cortex-A17 processors. These workarounds > exist in Linux kernel and I thought it would be better > to add them in to U-Boot. > > Signed-off-by: Nisal Menuka

Re: [U-Boot] [U-Boot, 3/6] configs: am43xx: Enable TI_COMMON_CMD_OPTIONS

2017-05-08 Thread Tom Rini
On Thu, Apr 27, 2017 at 03:44:00PM +0530, Lokesh Vutla wrote: > Enable TI_COMMON_CMD_OPTIONS on all am43xx platforms. > Also sync with savedefconfig. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v4, 16/18] stm32f7: move board specific pin muxing to dts

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:03:05PM -0700, Vikas Manocha wrote: > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,5/7] igep003x: UBIize

2017-05-08 Thread Tom Rini
On Sat, Apr 01, 2017 at 05:17:57PM +0200, Ladislav Michl wrote: > Convert IGEP board to use UBI volumes for U-Boot, its environment and > kernel. With exception of first four sectors read by SoC BootROM whole > NAND is UBI managed. > > Signed-off-by: Ladislav Michl >

Re: [U-Boot] [U-Boot, v2] ARM: DT: STM32F746: add u-boot, dm-pre-reloc property to sub nodes

2017-05-08 Thread Tom Rini
On Wed, Apr 12, 2017 at 02:16:36PM -0700, Vikas Manocha wrote: > This patch is required for correct SPL device tree creation by fdtgrep > as fdtgrep looks for u-boot,dm-pre-reloc property of the node to include > it in the spl device tree. > > Not adding it in these subnodes ignores the pin

Re: [U-Boot] [U-Boot, v4, 04/18] ARM: DT: stm32f7: add sdram pin contol node

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:02:53PM -0700, Vikas Manocha wrote: > Also added DT binding doc for stm32 fmc(flexible memory controller). > > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v1, 07/15] aspeed: Refactor AST2500 RAM Driver and Sysreset Driver

2017-05-08 Thread Tom Rini
On Mon, Apr 17, 2017 at 12:00:26PM -0700, max...@google.com wrote: > This change switches all existing users of ast2500 Watchdog to Driver > Model based Watchdog driver. > > To perform system reset Sysreset Driver uses first Watchdog device found > via uclass_first_device call. Since the system

Re: [U-Boot] [U-Boot, v3, 1/4] tools: moveconfig: extract helper function for user confirmation

2017-05-08 Thread Tom Rini
On Tue, May 02, 2017 at 09:30:46PM +1200, Chris Packham wrote: > Avoid repetitive code dealing with asking the user for confirmation. > > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v4, 12/18] stm32f7: stm32f746-disco: read memory info from device tree

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:03:01PM -0700, Vikas Manocha wrote: > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v4, 10/18] stm32f7: use stm32f7 gpio driver supporting driver model

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:02:59PM -0700, Vikas Manocha wrote: > With this gpio driver supporting DM, there is no need to enable clocks > for different gpios (for pin muxing) in the board specific code. > > Need to increase the allocatable area required before relocation from 0x400 to > 0xC00

Re: [U-Boot] [U-Boot, 1/2] ARM: k2g: Add support for dynamic programming of PLL based on SYSCLK

2017-05-08 Thread Tom Rini
On Wed, May 03, 2017 at 04:58:25PM +0530, Lokesh Vutla wrote: > K2G supports various sysclk frequencies which can be > determined using sysboot pins. PLLs should be configured > based on this sysclock frequency. Add PLL configurations > for all supported sysclk frequencies. > > Signed-off-by:

Re: [U-Boot] [U-Boot, v1, 15/15] aspeed: Cleanup ast2500-u-boot.dtsi Device Tree

2017-05-08 Thread Tom Rini
On Mon, Apr 17, 2017 at 12:00:34PM -0700, max...@google.com wrote: > Remove unnecessary apb and ahb nodes and just override necessary > nodes/values. > > Signed-off-by: Maxim Sloyko > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 6/7] igep003x: Add support for IGEP SMARC AM335x

2017-05-08 Thread Tom Rini
On Sat, Apr 01, 2017 at 05:18:40PM +0200, Ladislav Michl wrote: > From: Pau Pajuelo > > The IGEP SMARC AM335x is an industrial processor module with > following highlights: > > o AM3352 TI processor (Up to AM3359) > o Cortex-A8 ARM CPU > o SMARC form factor module >

Re: [U-Boot] [U-Boot,1/7] ARM: am33xx: fix typo in spl.h

2017-05-08 Thread Tom Rini
On Sat, Apr 01, 2017 at 05:14:28PM +0200, Ladislav Michl wrote: > Signed-off-by: Ladislav Michl > Tested-by: Pau Pajuelo Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,v1,03/15] aspeed: Watchdog Timer Driver

2017-05-08 Thread Tom Rini
On Mon, Apr 17, 2017 at 12:00:22PM -0700, max...@google.com wrote: > This driver supports ast2500 and ast2400 SoCs. > Only ast2500 supports reset_mask and thus the option of resettting > individual peripherals using WDT. > > Signed-off-by: Maxim Sloyko > Reviewed-by: Simon

Re: [U-Boot] [U-Boot, v4, 02/18] stm32f7: sdram: move sdram driver code to ram drivers area

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:02:51PM -0700, Vikas Manocha wrote: > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v4, 03/18] stm32f7: dm: add driver model support for sdram

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:02:52PM -0700, Vikas Manocha wrote: > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] spl: make image arg or fdt blob address reconfigurable

2017-05-08 Thread Tom Rini
On Fri, Apr 07, 2017 at 03:38:13PM -0700, Vikas Manocha wrote: > At present fdt blob or argument address being passed to kernel is fixed at > compile time using macro CONFIG_SYS_SPL_ARGS_ADDR. FDT blob from > different media like nand, nor flash are copied to the address pointed > by the macro. >

Re: [U-Boot] [U-Boot, v4, 01/18] stm32f7: use clock driver to enable qspi controller clock

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:02:50PM -0700, Vikas Manocha wrote: > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v4, 17/18] stm32f7: add support for stm32f769 disco board

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:03:06PM -0700, Vikas Manocha wrote: > This board support stm32f7 family device stm32f769-I with 2MB internal Flash & > 512KB RAM. > STM32F769 lines offer the performance of the Cortex-M7 core (with double > precision floating point unit) running up to 216 MHz. > > To

Re: [U-Boot] [U-Boot,4/7] igep0033: Rename to igep003x

2017-05-08 Thread Tom Rini
On Sat, Apr 01, 2017 at 05:17:16PM +0200, Ladislav Michl wrote: > Rename igep0033 to igep003x as IGEP SMARC AM335x module (igep0034) > can use the same source files. > > Signed-off-by: Ladislav Michl > Tested-by: Pau Pajuelo Applied to u-boot/master,

Re: [U-Boot] [U-Boot,2/7] ARM: am33xx: define BOOT_DEVICE_ONENAND

2017-05-08 Thread Tom Rini
On Sat, Apr 01, 2017 at 05:15:04PM +0200, Ladislav Michl wrote: > am33xx does not support OneNAND, but we need this define anyway > to let UBI SPL code compile. > > Signed-off-by: Ladislav Michl > Tested-by: Pau Pajuelo Applied to u-boot/master,

Re: [U-Boot] [U-Boot,7/7] igep003x: Add netboot support

2017-05-08 Thread Tom Rini
On Sat, Apr 01, 2017 at 05:19:43PM +0200, Ladislav Michl wrote: > From: Pau Pajuelo > > netboot allows to boot an external image using TFTP and NFS protocols > > Signed-off-by: Pau Pajuelo > Signed-off-by: Ladislav Michl >

Re: [U-Boot] [U-Boot, v4, 05/18] stm32f7: use driver model for sdram initialization

2017-05-08 Thread Tom Rini
On Mon, Apr 10, 2017 at 03:02:54PM -0700, Vikas Manocha wrote: > As driver model takes care of pin control configuraion, this patch also > removes the sdram/fmc pin configuration. > > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO

Re: [U-Boot] [U-Boot, v4, 5/7] arm: am57xx: cl-som-am57x: fix USB scan

2017-05-08 Thread Tom Rini
On Thu, Feb 23, 2017 at 03:39:39PM +0200, Uri Mashiach wrote: > USB bus scan attempt: Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, v4, 6/7] arm: am57xx: cl-som-am57x: enable USB storage

2017-05-08 Thread Tom Rini
On Thu, Feb 23, 2017 at 03:39:40PM +0200, Uri Mashiach wrote: > Add CONFIG_USB_STORAGE to the defconfig file. > > Signed-off-by: Uri Mashiach > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, v4, 7/7] arm: am57xx: cl-som-am57x: enable USB commands

2017-05-08 Thread Tom Rini
On Thu, Feb 23, 2017 at 03:39:41PM +0200, Uri Mashiach wrote: > Add CONFIG_CMD_USB to the defconfig file. > > Signed-off-by: Uri Mashiach > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

  1   2   >