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

2017-05-15 Thread Chris Packham
On 15/05/2017 11:47 PM, "Simon Glass" wrote: 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 possib

Re: [U-Boot] [PATCH 2/2] mx6cuboxi: Add support for sata

2017-05-15 Thread Jonathan Gray
On Mon, May 15, 2017 at 06:24:46PM +0100, Peter Robinson wrote: > The Cubox-i and Hummingboard series of devices have an option of > SATA on board, and depending on how the fuses are blown even the > option to boot SPL from SATA. So enable support for it so it can > be used to boot the OS from if p

[U-Boot] [PATCH] ARM: uniphier: move kernel physical base to 0x82080000

2017-05-15 Thread Masahiro Yamada
Reserve enough space below the kernel base. The assumed address map is: 8000 - 80ff : for IPP 8100 - 81ff : for ARM secure 8200 - : for Linux Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

Re: [U-Boot] [PATCH 6/6] moveconfig: Support looking for implied CONFIG options

2017-05-15 Thread Heiko Schocher
Hello Simon, Am 15.05.2017 um 13:47 schrieb Simon Glass: Some CONFIG options can be implied by others and this can help to reduce the size of the defconfig files. For example, CONFIG_X86 implies CONFIG_CMD_IRQ, so we can put 'imply CMD_IRQ' under 'config X86' and all x86 boards will have that op

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

2017-05-15 Thread Heiko Schocher
Hello Simon, Am 15.05.2017 um 12:57 schrieb 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 --- script

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

2017-05-15 Thread Heiko Schocher
Hello Simon, Am 15.05.2017 um 12:57 schrieb 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,

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

2017-05-15 Thread Heiko Schocher
Hello Simon, Am 15.05.2017 um 12:57 schrieb 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

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

2017-05-15 Thread Heiko Schocher
Hello Simon, Am 15.05.2017 um 12:57 schrieb 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

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

2017-05-15 Thread Heiko Schocher
Hello Simon, Am 15.05.2017 um 12:57 schrieb 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 o

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

2017-05-15 Thread Heiko Schocher
Hello Simon, Am 15.05.2017 um 12:57 schrieb 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 |

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

2017-05-15 Thread Heiko Schocher
Hello Simon, Am 15.05.2017 um 12:57 schrieb 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 -

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

2017-05-15 Thread Heiko Schocher
Hello Simon, Am 15.05.2017 um 12:57 schrieb 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 -

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

2017-05-15 Thread Heiko Schocher
Hello Simon, Am 15.05.2017 um 12:57 schrieb 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/d

Re: [U-Boot] [PATCH] at91_udc.c: Fix unused variable warning

2017-05-15 Thread Heiko Schocher
Hello Tom, Marek, Am 19.04.2017 um 04:23 schrieb Tom Rini: With gcc-6 and later we see warnings that at91sam9263_udc_caps and at91rm9200_udc_caps are unused. Fixes: 620197670a69 ("usb: gadget: at91_udc: add at91_udc into U-Boot") Cc: Lukasz Majewski Cc: Marek Vasut Signed-off-by: Tom Rini --

[U-Boot] [PATCH 1/1] net: core: avoid possible NULL pointer dereference

2017-05-15 Thread Heinrich Schuchardt
Checking if dev is NULL after dereferencing it does not make sense. Signed-off-by: Heinrich Schuchardt --- net/eth-uclass.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/eth-uclass.c b/net/eth-uclass.c index c3cc3152a2..b659961a5d 100644 --- a/net/eth-uclass.c +++ b/n

Re: [U-Boot] [PATCH 2/3] armv8: layerscape: Adjust memory mapping for Flash/SD card on LS1043A

2017-05-15 Thread Alison Wang
On 04/27/2017 01:08 AM, Alison Wang wrote: > This patch is to adjust the memory mapping for FLash/SD card on > LS1043AQDS and LS1043ARDB, such as PPA firmware load address, FMAN > firmware load address, QE firmware load address, U-Boot start address > on serial flash and environment address. > >

[U-Boot] [PATCH v2 1/3] arm: ls1021a: Adjust memory mapping for Flash/SD card on LS1021AQDS/TWR

2017-05-15 Thread Alison Wang
This patch is to adjust the memory mapping for FLash/SD card on LS1021AQDS and LS1021ATWR, such as U-Boot start address on serial Flash, QE firmware load address and environment address. Signed-off-by: Alison Wang --- Changes: - None include/configs/ls1021aqds.h | 10 +- include/configs

[U-Boot] [PATCH v3 3/3] armv8: layerscape: Adjust memory mapping for Flash/SD card on LS1046A

2017-05-15 Thread Alison Wang
This patch is to adjust the memory mapping for FLash/SD card on LS1046AQDS and LS1046ARDB, such as FMAN firmware load address, U-Boot start address on serial flash and environment address. Signed-off-by: Alison Wang --- Changes: - Update the comments and README. board/freescale/ls1046ardb/READM

[U-Boot] [PATCH v2 2/3] armv8: layerscape: Adjust memory mapping for Flash/SD card on LS1043A

2017-05-15 Thread Alison Wang
This patch is to adjust the memory mapping for FLash/SD card on LS1043AQDS and LS1043ARDB, such as PPA firmware load address, FMAN firmware load address, QE firmware load address, U-Boot start address on serial flash and environment address. Signed-off-by: Alison Wang --- Changes: - Update the co

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

2017-05-15 Thread Ziyuan
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, On 15 May 2017 at 00:06, Ziyuan Xu wrote: The original implementation select HS timing by default, add availa

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

2017-05-15 Thread Jaehoon Chung
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, >> >> On 15 May 2017 at 00:06, Ziyuan Xu wrote: >>> The original implementation select HS timing by default, add available >>> type selection for higher speed mode

[U-Boot] [PATCH v4] QE: add QE support on SD boot

2017-05-15 Thread Zhao Qiang
modify u_qe_init to upload QE firmware from SD card when it is SD boot Signed-off-by: Zhao Qiang --- Changes for v2: - fix issue of memory leak Changes for v3: - add CONFIG_SYS_QE_FMAN_FW_IN_NOR to ls1021a Changes for v4: - rebase due to memory-mapping conflict drivers/q

Re: [U-Boot] [PATCH v4 00/20] SPL: extend FIT loading support

2017-05-15 Thread Kever Yang
I though I have add review and test tags for the first 5 patches, anyway, I will add again. Not sure if some patches for sunxi still need to wait, can we merge patches for SPL/FIT first? Thanks, - Kever On 04/26/2017 08:32 AM, Andre Przywara wrote: Another round of smaller fixes for the SPL

Re: [U-Boot] [PATCH v4 05/20] SPL: FIT: allow loading multiple images

2017-05-15 Thread Kever Yang
On 04/26/2017 08:32 AM, Andre Przywara wrote: So far we were not using the FIT image format to its full potential: The SPL FIT loader was just loading the first image from the /images node plus one of the listed DTBs. Now with the refactored loader code it's easy to load an arbitrary number of

Re: [U-Boot] [PATCH v4 04/20] SPL: FIT: factor out spl_load_fit_image()

2017-05-15 Thread Kever Yang
On 04/26/2017 08:32 AM, Andre Przywara wrote: At the moment we load two images from a FIT image: the actual U-Boot image and the .dtb file. Both times we have very similar code, that deals with alignment requirements the media we load from imposes upon us. Factor out this code into a new functi

Re: [U-Boot] [PATCH v4 02/20] SPL: FIT: rework U-Boot image loading

2017-05-15 Thread Kever Yang
On 04/26/2017 08:32 AM, Andre Przywara wrote: Currently the SPL FIT loader always looks only for the first image in the /images node a FIT tree, which it loads and later executes. Generalize this by looking for a "firmware" property in the matched configuration subnode, or, if that does not ex

Re: [U-Boot] [PATCH v4 03/20] SPL: FIT: improve error handling

2017-05-15 Thread Kever Yang
On 04/26/2017 08:32 AM, Andre Przywara wrote: At the moment we ignore any errors due to missing FIT properties, instead go ahead and calculate our addresses with the -1 return value. Fix this and bail out if any of the mandatory properties are missing. Signed-off-by: Andre Przywara Reviewed-b

Re: [U-Boot] [PATCH v4 01/20] SPL: FIT: refactor FDT loading

2017-05-15 Thread Kever Yang
On 04/26/2017 08:32 AM, Andre Przywara wrote: Currently the SPL FIT loader uses the spl_fit_select_fdt() function to find the offset to the right DTB within the FIT image. For this it iterates over all subnodes of the /configuration node in the FIT tree and compares all "description" strings th

Re: [U-Boot] [PATCH] rockchip: doc: update latest info to document

2017-05-15 Thread Kever Yang
On 05/16/2017 02:51 AM, Heiko Stübner wrote: Hi Kever, Am Montag, 15. Mai 2017, 21:18:00 CEST schrieb Kever Yang: - Add some rk3399 and rk3328 boards; - use rkdeveloptool instead of rkflashtool; - use opensource.rock-chips.com instead of wikidot; - other update. Signed-off-by: Kever Yang --

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

2017-05-15 Thread Ziyuan
hi Simon & Jaehoon, On 05/16/2017 08:18 AM, Simon Glass wrote: Hi Ziyuan, On 15 May 2017 at 00:06, Ziyuan Xu wrote: The original implementation select HS timing by default, add available type selection for higher speed mode compatibility, such as hs200, hs400, hs400es. By the way, we assume

Re: [U-Boot] [PATCH v3] QE: add QE support on SD boot

2017-05-15 Thread Qiang Zhao
On 05/16/2017 1:26 AM, York Sun wrote: > -Original Message- > From: york sun > Sent: Tuesday, May 16, 2017 1:26 AM > To: Qiang Zhao ; Alison Wang > Cc: Mingkai Hu ; Xiaobo Xie ; u- > b...@lists.denx.de > Subject: Re: [PATCH v3] QE: add QE support on SD boot > > On 05/08/2017 11:32 PM, Zh

Re: [U-Boot] [PATCH 14/47] Convert CONFIG_CMD_EEPROM et al to Kconfig

2017-05-15 Thread Tom Rini
On Mon, May 15, 2017 at 06:18:13PM -0600, Simon Glass wrote: > Hi Tom, > > On 15 May 2017 at 12:04, Tom Rini wrote: > > On Mon, May 15, 2017 at 04:57:29AM -0600, Simon Glass wrote: > > > >> This converts the following to Kconfig: > >>CONFIG_CMD_EEPROM > >>CONFIG_CMD_EEPROM_LAYOUT > >>

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

2017-05-15 Thread Andy Yan
Hi: On 2017年05月15日 21:23, Andreas Färber wrote: Am 15.05.2017 um 11:54 schrieb 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-Boo

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

2017-05-15 Thread Tom Rini
On Mon, May 15, 2017 at 06:18:16PM -0600, Simon Glass wrote: > Hi Tom, > > On 15 May 2017 at 12:04, Tom Rini wrote: > > On Mon, May 15, 2017 at 04:57:47AM -0600, Simon Glass wrote: > > > >> This converts the following to Kconfig: > >>CONFIG_CMD_HDMIDETECT > >> > >> Signed-off-by: Simon Glass

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

2017-05-15 Thread Tom Rini
On Mon, May 15, 2017 at 06:18:19PM -0600, Simon Glass wrote: > Hi Tom, > > On 15 May 2017 at 12:04, Tom Rini wrote: > > On Mon, May 15, 2017 at 04:57:48AM -0600, Simon Glass wrote: > > > >> This converts the following to Kconfig: > >>CONFIG_CMD_IDE > >> > >> Signed-off-by: Simon Glass > >> -

Re: [U-Boot] [PATCH v1 7/9] armv8: fsl-layerscape: Enable secure boot valiation for SPL boot

2017-05-15 Thread Tom Rini
On Mon, May 15, 2017 at 09:16:07AM -0700, York Sun wrote: > Enable validation of PPA image for SPL boot. > > Signed-off-by: York Sun [snip] > +#include Looking at the contents of this file here, can you please do a follow-up to move pretty much most of this content to include/environment/fsl/c

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

2017-05-15 Thread Simon Glass
Hi Ziyuan, On 15 May 2017 at 00:06, Ziyuan Xu wrote: > The original implementation select HS timing by default, add available > type selection for higher speed mode compatibility, such as hs200, > hs400, hs400es. > > By the way, we assume that card run at 1.8V or 1.2V I/O when its timing > is ddr

Re: [U-Boot] [PATCH v2 3/6] dm: ram: bmips: split bcm6358_get_ram_size

2017-05-15 Thread Simon Glass
On 15 May 2017 at 11:13, Álvaro Fernández Rojas wrote: > This is done in order to reuse ram size calculation for BCM6338/BCM6348 > > Signed-off-by: Álvaro Fernández Rojas > --- > v2: no changes. > > drivers/ram/bmips_ram.c | 23 +-- > 1 file changed, 13 insertions(+), 10 del

Re: [U-Boot] [PATCH 1/6] dm: cpu: bmips: rename cpu_desc specific functions

2017-05-15 Thread Simon Glass
On 12 May 2017 at 17:23, Álvaro Fernández Rojas wrote: > Use a generic name for cpu_desc functions instead of using a specific SoC one. > > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/cpu/bmips_cpu.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) Reviewed-by: Simon

Re: [U-Boot] [PATCH 4/6] dm: cpu: bmips: add BCM6338/BCM6348 support

2017-05-15 Thread Simon Glass
On 12 May 2017 at 17:23, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/ram/bmips_ram.c | 31 +++ > 1 file changed, 31 insertions(+) > Reviewed-by: Simon Glass ___ U-Boot mailing list

Re: [U-Boot] [PATCH v3 2/2] doc: document u-boot, mmc-env-offset and u-boot, mmc-env-offset-redund

2017-05-15 Thread Simon Glass
On 10 May 2017 at 06:44, Philipp Tomsich wrote: > Adding documentation on the new config properties: >'u-boot,mmc-env-offset' - overrides CONFIG_ENV_OFFSET >'u-boot,mmc-env-offset-redundant' >- overrides CONFIG_ENV_OFFSET_REDUND > > Signed-off-by: Ph

Re: [U-Boot] [PATCH 7/8] mips: bmips: add wdt-reboot driver support for BCM6328

2017-05-15 Thread Simon Glass
On 12 May 2017 at 17:19, Álvaro Fernández Rojas wrote: > This driver allows rebooting the SoC by calling wdt_expire_now op. > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/dts/brcm,bcm6328.dtsi | 5 + > 1 file changed, 5 insertions(+) > Reviewed-by: Simon Glass

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

2017-05-15 Thread Simon Glass
Hi Tom, On 15 May 2017 at 12:04, Tom Rini wrote: > On Mon, May 15, 2017 at 04:57:48AM -0600, Simon Glass wrote: > >> This converts the following to Kconfig: >>CONFIG_CMD_IDE >> >> Signed-off-by: Simon Glass >> --- >> >> README | 1 - >> cmd/Kconfig

Re: [U-Boot] [PATCH 3/8] mips: bmips: add bcm6345-wdt driver support for BCM6328

2017-05-15 Thread Simon Glass
On 12 May 2017 at 17:19, Álvaro Fernández Rojas wrote: > This driver controls the watchdog present on this SoC. > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/dts/brcm,bcm6328.dtsi | 6 ++ > 1 file changed, 6 insertions(+) > Reviewed-by: Simon Glass ___

Re: [U-Boot] [PATCH 6/8] mips: bmips: add wdt-reboot driver support for BCM6358

2017-05-15 Thread Simon Glass
On 12 May 2017 at 17:19, Álvaro Fernández Rojas wrote: > This driver allows rebooting the SoC by calling wdt_expire_now op. > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/dts/brcm,bcm6358.dtsi | 5 + > 1 file changed, 5 insertions(+) > Reviewed-by: Simon Glass

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

2017-05-15 Thread Simon Glass
Hi Tom, On 15 May 2017 at 10:59, Tom Rini wrote: > On Mon, May 15, 2017 at 04:57:24AM -0600, Simon Glass wrote: > >> 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 th

Re: [U-Boot] [PATCH 2/8] mips: bmips: add bcm6345-wdt driver support for BCM6358

2017-05-15 Thread Simon Glass
On 12 May 2017 at 17:19, Álvaro Fernández Rojas wrote: > This driver controls the watchdog present on this SoC. > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/dts/brcm,bcm6358.dtsi | 6 ++ > 1 file changed, 6 insertions(+) > Reviewed-by: Simon Glass ___

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

2017-05-15 Thread Simon Glass
Hi Lothar, On 15 May 2017 at 01:34, Lothar Waßmann wrote: > 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 f

Re: [U-Boot] [PATCH v2 2/6] dm: cpu: bmips: add BCM6348 support

2017-05-15 Thread Simon Glass
On 15 May 2017 at 11:13, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > v2: no changes. > > drivers/cpu/bmips_cpu.c | 34 ++ > 1 file changed, 34 insertions(+) Reviewed-by: Simon Glass _

Re: [U-Boot] [PATCH v2 5/6] MIPS: add support for Broadcom MIPS BCM6348 SoC family

2017-05-15 Thread Simon Glass
On 15 May 2017 at 11:13, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > v2: remove comtrend ct-5361 Kconfig > > arch/mips/dts/brcm,bcm6348.dtsi | 127 > ++ > arch/mips/mach-bmips/Kconfig | 12 +++ > arch/mips/ma

Re: [U-Boot] [PATCH 4/8] mips: bmips: add bcm6345-wdt driver support for BCM63268

2017-05-15 Thread Simon Glass
On 12 May 2017 at 17:19, Álvaro Fernández Rojas wrote: > This driver controls the watchdog present on this SoC. > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/dts/brcm,bcm63268.dtsi | 6 ++ > 1 file changed, 6 insertions(+) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 14/47] Convert CONFIG_CMD_EEPROM et al to Kconfig

2017-05-15 Thread Simon Glass
Hi Tom, On 15 May 2017 at 12:04, Tom Rini wrote: > On Mon, May 15, 2017 at 04:57:29AM -0600, Simon Glass wrote: > >> This converts the following to Kconfig: >>CONFIG_CMD_EEPROM >>CONFIG_CMD_EEPROM_LAYOUT >>CONFIG_EEPROM_LAYOUT_HELP_STRING >> >> Signed-off-by: Simon Glass > [snip] >>

Re: [U-Boot] [PATCH v2 6/6] MIPS: add BMIPS Comtrend CT-5361 board

2017-05-15 Thread Simon Glass
On 15 May 2017 at 11:13, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas > --- > v2: add comtrend ct-5361 Kconfig > > arch/mips/dts/Makefile| 1 + > arch/mips/dts/comtrend,ct-5361.dts| 49 ++ > arch/mips/mach-bmips/Kconfig

Re: [U-Boot] Fwd: arch/x86/cpu/x86_64/built-in.o: In function `checkcpu': (.text.checkcpu+0x0): multiple definition of `checkcpu' arch/x86/cpu/efi/built-in.o:(.text.checkcpu+0x0): first defined here

2017-05-15 Thread Simon Glass
Hi, On 11 May 2017 at 01:39, Jeroen Roovers wrote: > On 11 May 2017 at 06:31, Bin Meng wrote: >> +Simon >> >> On Wed, May 10, 2017 at 6:15 PM, Jeroen Roovers wrote: >>> Trying to compile an x86_64 u-boot with EFI support: >>> >>> arch/x86/cpu/x86_64/built-in.o: In function `checkcpu': >>> (.tex

Re: [U-Boot] [PATCH 8/8] mips: bmips: add wdt-reboot driver support for BCM63268

2017-05-15 Thread Simon Glass
On 12 May 2017 at 17:19, Álvaro Fernández Rojas wrote: > This driver allows rebooting the SoC by calling wdt_expire_now op. > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/dts/brcm,bcm63268.dtsi | 5 + > 1 file changed, 5 insertions(+) > Reviewed-by: Simon Glass ___

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

2017-05-15 Thread Simon Glass
Hi Tom, On 15 May 2017 at 12:04, Tom Rini wrote: > On Mon, May 15, 2017 at 04:57:47AM -0600, Simon Glass wrote: > >> This converts the following to Kconfig: >>CONFIG_CMD_HDMIDETECT >> >> Signed-off-by: Simon Glass > [snip] >> +config CMD_HDMIDETECT >> + bool "Support the 'hdmidet' comman

Re: [U-Boot] [PATCH 5/8] dm: sysreset: add watchdog-reboot driver

2017-05-15 Thread Simon Glass
On 12 May 2017 at 17:19, Álvaro Fernández Rojas wrote: > Add a new sysreset driver that uses the recently added watchdog support. > It performs a full SoC reset by calling wdt_expire_now op. > > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/sysreset/Kconfig | 6 > drive

Re: [U-Boot] [PATCH 1/8] dm: watchdog: add BCM6345 watchdog driver

2017-05-15 Thread Simon Glass
On 12 May 2017 at 17:19, Álvaro Fernández Rojas wrote: > This driver is a simplified version of linux/drivers/watchdog/bcm63xx_wdt.c > > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/watchdog/Kconfig | 8 +++ > drivers/watchdog/Makefile | 1 + > drivers/watchdog/bcm6345_wd

Re: [U-Boot] i.MX6: u-boot,dm-pre-reloc block U-Boot

2017-05-15 Thread Simon Glass
Hi, On 13 May 2017 at 10:15, Jagan Teki wrote: > Hi All, > > On Thu, May 11, 2017 at 1:40 PM, Jagan Teki wrote: >> On Thu, May 11, 2017 at 7:39 AM, Lokesh Vutla wrote: >>> >>> >>> On 5/11/2017 12:52 AM, Jagan Teki wrote: Hi Lokesh, On Tue, May 9, 2017 at 10:03 PM, Jagan Teki >>

Re: [U-Boot] [PATCHv4 2/2] lib: move hash CONFIG options to Kconfig

2017-05-15 Thread Simon Glass
On 15 May 2017 at 10:17, Tom Rini wrote: > Commit 94e3c8c4fd7b ("crypto/fsl - Add progressive hashing support > using hardware acceleration.") created entries for CONFIG_SHA1, > CONFIG_SHA256, CONFIG_SHA_HW_ACCEL, and CONFIG_SHA_PROG_HW_ACCEL. > However, no defconfig has migrated to it. Complete

Re: [U-Boot] [PATCHv4 1/2] FIT: Rename FIT_DISABLE_SHA256 to FIT_ENABLE_SHA256_SUPPORT

2017-05-15 Thread Simon Glass
On 15 May 2017 at 10:17, Tom Rini wrote: > We rename CONFIG_FIT_DISABLE_SHA256 to CONFIG_FIT_ENABLE_SHA256_SUPPORT which > is enabled by default and now a positive option. Convert the handful of > boards > that were disabling it before to save space. > > Cc: Dirk Eibach > Cc: Lukasz Dalek > Si

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

2017-05-15 Thread Simon Glass
On 15 May 2017 at 01:07, Masahiro Yamada wrote: > 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 stri

Re: [U-Boot] [U-Boot, 15/17] Kconfig: USB: Migrate CONFIG_USB_EHCI_HCD users to Kconfig

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:28PM -0400, Tom Rini wrote: > Migrate the rest of the users of CONFIG_USB_EHCI_HCD over to Kconfig. > For a few SoCs, imply or default y this if USB is enabled. In some > cases we had not already migrated to CONFIG_USB so do that as well. > > Cc: Marek Vasut > Sign

Re: [U-Boot] [U-Boot, 16/17] Kconfig: USB: Migrate existing USB_EHCI_xxx options

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:29PM -0400, Tom Rini wrote: > The following options are migrated over fully now: > - USB_EHCI_ATMEL > - USB_EHCI_MARVELL > - USB_EHCI_MX6 > - USB_EHCI_MX7 > - USB_EHCI_MSM > - USB_EHCI_ZYNQ > - USB_EHCI_GENERIC > > This also requires fixing the depends on USB_EHCI_MA

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

2017-05-15 Thread Tom Rini
On Mon, May 15, 2017 at 04:07:33PM +0900, Masahiro Yamada wrote: > 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 wi

Re: [U-Boot] [U-Boot, 14/17] Kconfig: USB: Migrate CONFIG_USB_EHCI to CONFIG_USB_EHCI_HCD

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:27PM -0400, Tom Rini wrote: > In order to be able to migrate the various SoC EHCI CONFIG options we > first need to finish the switch from CONFIG_USB_EHCI to > CONFIG_USB_EHCI_HCD. > > Cc: Marek Vasut > Signed-off-by: Tom Rini > Reviewed-by: Marek Vasut Applied t

Re: [U-Boot] [U-Boot,08/17] gpio: Move OMAP_GPIO to Kconfig

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:21PM -0400, Tom Rini wrote: > This driver is used often enough such that we want to have this enabled > by default on any ARCH_OMAP2PLUS board, and this only compiles on > ARCH_OMAP2PLUS due to required defines, so mark that as the depends. > > Signed-off-by: Tom Rin

Re: [U-Boot] power: twl4030: Add imply CMD_POWEROFF when TWL4030 is enabled

2017-05-15 Thread Tom Rini
On Sat, May 13, 2017 at 07:02:24AM -0500, Adam Ford wrote: > Now that CMD_POWEROFF can turn off the twl4030, let's imply that > just incase someone wants to disable it. > > Signed-off-by: Adam Ford > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, 17/17] Kconfig: OMAP: USB: Migrate CONFIG_USB_EHCI_OMAP to Kconfig

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:30PM -0400, Tom Rini wrote: > Follow the exiting logic for the i.MX options when migrating this > option. > > Cc: Marek Vasut > Signed-off-by: Tom Rini > Reviewed-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital sign

Re: [U-Boot] [U-Boot, 13/17] whitelist: Drop more unused OMAP symbols

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:26PM -0400, Tom Rini wrote: > The symbol CONFIG_OMAP3_LOGIC_USE_NEW_PRODUCT_ID was recently dropped > from usage and CONFIG_OMAP3_MICRON_DDR is unused in code. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digit

Re: [U-Boot] [U-Boot, 11/17] watchdog: Migrate OMAP_WATCHDOG to Kconfig

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:24PM -0400, Tom Rini wrote: > Move this entry to Kconfig. As it is a hardware watchdog, select > HW_WATCHDOG. While we could default to enabling this for all platforms, > it is currently only enabled by default on AM33XX, so keep that logic > today. > > Cc: Roger M

Re: [U-Boot] [U-Boot, 09/17] omap3: Migrate CONFIG_OMAP3_GPIO_X to Kconfig

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:22PM -0400, Tom Rini wrote: > The symbols CONFIG_OMAP3_GPIO_X control if we enable the clocks for a > given GPIO bank in U-Boot. select the required banks for each target. > In some cases we need to also migrate from CONFIG_USB_EHCI (deprecated, > in include/configs/

Re: [U-Boot] [U-Boot,03/17] TI: Drop 'CONFIG_OMAP'

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:16PM -0400, Tom Rini wrote: > In the two cases in the code where we use CONFIG_OMAP as a useful test > currently we can make use of CONFIG_ARCH_OMAP2PLUS instead. With that > changed we can drop all defines of CONFIG_OMAP. While in here, > CONFIG_OMAP3430 is only de

Re: [U-Boot] [U-Boot, 04/17] omap5: Migrate CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC to Kconfig

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:17PM -0400, Tom Rini wrote: > While in theory this value could be used in places outside of "omap5" > (such as OMAP4), we only make use of it today in OMAP5, so place the > Kconfig entry there. Given that Kconfig lets us provide a default, we > drop CONFIG_DEFAULT_OM

Re: [U-Boot] [U-Boot,12/17] omap: Drop CONFIG_OMAP_VC_I2C_HS_MCODE

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:25PM -0400, Tom Rini wrote: > The symbol CONFIG_OMAP_VC_I2C_HS_MCODE always uses the default value. > Restructure the comment and code such that if a need arises later to use > another value we can address this then. > > Signed-off-by: Tom Rini Applied to u-boot/ma

Re: [U-Boot] omap3: omap3_logic: switch to using TI_COMMON_CMD_OPTION

2017-05-15 Thread Tom Rini
On Sat, May 13, 2017 at 08:14:37AM -0500, Adam Ford wrote: > Enable TI_COMMON_CMD_OPTIONS and remove similar options > from the defconfig. Updated with savedefconfig > > CMD_USB isn't enabled yet. I have some testing to do with > musb. > > Signed-off-by: Adam Ford > Reviewed-by: Tom Rini > >

Re: [U-Boot] [U-Boot, 10/17] omap: spi: Drop CONFIG_OMAP3_SPI_D0_D1_SWAPPED support

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:23PM -0400, Tom Rini wrote: > This particular quirk is not enabled in any config files today. It does > however exist and is handled correctly in device trees and via > CONFIG_DM_SPI. So we drop the symbol now and add a comment to indicate > that any (new) boards th

Re: [U-Boot] [U-Boot, 06/17] omap4: Drop redundant CONFIG_OMAP4430 symbol

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:19PM -0400, Tom Rini wrote: > While there are a few different OMAP4 SoCs, today we always set > CONFIG_OMAP4430 and CONFIG_OMAP44XX. Convert the few test of > CONFIG_OMAP4430 to CONFIG_OMAP44XX. > > Cc: Marek Vasut > Cc: Paul Kocialkowski > Signed-off-by: Tom Rini

Re: [U-Boot] [U-Boot,01/17] arch/arm/cpu/arm926ejs/omap: Remove

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:14PM -0400, Tom Rini wrote: > This code has been unused since the removal of the "omap2" platforms, > remove. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot,v4] spl: add support to booting with ATF

2017-05-15 Thread Tom Rini
On Fri, May 05, 2017 at 11:47:45AM +0800, Kever Yang wrote: > ATF(ARM Trusted Firmware) is used by ARM arch64 SoCs, find more infomation > about ATF at: https://github.com/ARM-software/arm-trusted-firmware > > SPL is considered as BL2 in ATF terminology, it needs to load other parts > of ATF bina

Re: [U-Boot] [U-Boot, 05/17] omap3: Drop CONFIG_OMAP3_EVM, switch to CONFIG_TARGET_OMAP3_EVM when needed

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:18PM -0400, Tom Rini wrote: > We make use of CONFIG_OMAP3_EVM today to know when to do a specific > tweak in MUSB. This can be tested on via CONFIG_TARGET_OMAP3_EVM > instead, so switch there so we can drop the now unused symbol > CONFIG_OMAP3_EVM. In investigating

Re: [U-Boot] [U-Boot, 07/17] omap3: Drop unused CONFIG_OMAP3_xxx board defines

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:20PM -0400, Tom Rini wrote: > We no longer have a need for a per-board CONFIG_OMAP3_xxx define (we > have CONFIG_TARGET_xxx when this is required), so drop these unused > references. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature

Re: [U-Boot] davinci: omapl138_lcdk: drop custom prompt string

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 03:44:40PM +0530, Sekhar Nori wrote: > Drop custom command prompt string in favor > of default used by U-Boot. This helps in > easier automation setup across boards. > > Signed-off-by: Sekhar Nori Applied to u-boot/master, thanks! -- Tom signature.asc Description: Di

Re: [U-Boot] [U-Boot, 02/17] omap24xx_i2c.c: Drop references to CONFIG_OMAP243X

2017-05-15 Thread Tom Rini
On Fri, May 12, 2017 at 10:33:15PM -0400, Tom Rini wrote: > We have nothing defining CONFIG_OMAP243X since we dropped the omap243x > platforms, drop these tests. > > Signed-off-by: Tom Rini > Acked-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digit

Re: [U-Boot] board_f: skip timer_init() on Coldfire archs

2017-05-15 Thread Tom Rini
On Wed, May 10, 2017 at 11:58:06PM +0200, Angelo Dureghello wrote: > Coldfire arch is not happy with timer_init since interrupt handlers > are still not set at that stage, and the boot hangs silently. > > Signed-off-by: Angelo Dureghello Applied to u-boot/master, thanks! -- Tom signature.as

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

2017-05-15 Thread Tom Rini
On Mon, May 15, 2017 at 11:45:00AM +0200, Heiko Schocher wrote: > 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) >

Re: [U-Boot] armv8: minor fix to comment for enabling SMPEN bit

2017-05-15 Thread Tom Rini
On Wed, Apr 26, 2017 at 11:36:03PM -0500, Dinh Nguyen wrote: > The SMPEN bit is located in the cpuectlr_el1 register and not the > cpuactlr_el1 register. Adjust the comment accordingly and also fix > a spelling error. > > Signed-off-by: Dinh Nguyen > CC: Mingkai Hu > CC: Gong Qianyu > CC: Mate

Re: [U-Boot] [PATCH v3 1/2] env_mmc: configure environment offsets via device tree

2017-05-15 Thread Dr. Philipp Tomsich
Hi Jaehoon, I haven’t been able to reproduce this on any our configs, but I believe to have caught the issue: testing the OF_CONTROL using defined(CONFIG_OF_CONTROL) gives a false positive in the SPL build, as the SPL infrastructure does not undefine it … yet, lib/Makefile uses CONFIG_$(SPL_)OF_

[U-Boot] [PATCH v4 2/2] doc: document u-boot, mmc-env-offset and u-boot, mmc-env-offset-redund

2017-05-15 Thread Philipp Tomsich
Adding documentation on the new config properties: 'u-boot,mmc-env-offset' - overrides CONFIG_ENV_OFFSET 'u-boot,mmc-env-offset-redundant' - overrides CONFIG_ENV_OFFSET_REDUND Signed-off-by: Philipp Tomsich --- Changes in v4: None Changes in v3: None

[U-Boot] [PATCH v4 1/2] env_mmc: configure environment offsets via device tree

2017-05-15 Thread Philipp Tomsich
This introduces the ability to override the environment offets from the device tree by setting the following nodes in '/config': 'u-boot,mmc-env-offset' - overrides CONFIG_ENV_OFFSET 'u-boot,mmc-env-offset-redundant' - overrides CONFIG_ENV_OFFSET_REDU

[U-Boot] Please pull u-boot-video/master

2017-05-15 Thread Anatolij Gustschin
Hi Tom, 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-video.git master for you to fetch changes up to 940aed8f

Re: [U-Boot] [PATCH v2] test: py: Add cmd_echo dependency

2017-05-15 Thread Stephen Warren
On 05/15/2017 06:29 AM, Michal Simek wrote: There is missing dependency on echo command. Mark tests which requires echo. Reviewed-by: Stephen Warren It'd be good to update test_hush_if_test.py too though, even if separately. ___ U-Boot mailing list

Re: [U-Boot] Bug in emmc subsystem

2017-05-15 Thread Jaehoon Chung
Hi Arno, On 05/02/2017 05:05 PM, Arno Steffens wrote: > Some news here. With help of Diego I found, that GP partition can be > addressed: > This works with > Zynq> mmc dev 0 4 > MMC: block number 0x1 exceeds max(0x0) > switch to partitions #4, OK > mmc0(part 4) is current device > > (0 is the u

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

2017-05-15 Thread Rob Herring
On Fri, May 12, 2017 at 7:35 AM, Tom Rini wrote: > On Fri, May 12, 2017 at 10:16:52AM +0200, Jorge Ramirez wrote: >> On 05/12/2017 12:32 AM, Tom Rini wrote: >> >>u I am a bit lost at this point, could we recap please? >> >Sure. >> > >> >>let's see: I need to use the pl01x uart on an aarch64 pl

[U-Boot] [GIT PULL V2] Please pull u-boot-mmc master

2017-05-15 Thread Jaehoon Chung
Dear Tom, Could you pull these patches into u-boot/master? (I have tested the buildman.) 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:

Re: [U-Boot] [PATCH v3 1/2] env_mmc: configure environment offsets via device tree

2017-05-15 Thread Jaehoon Chung
Hi Philipp, On 05/10/2017 09:44 PM, Philipp Tomsich wrote: > This introduces the ability to override the environment offets from the > device tree by setting the following nodes in '/config': > 'u-boot,mmc-env-offset' - overrides CONFIG_ENV_OFFSET > 'u-boot,mmc-env-offset-redundant' >

[U-Boot] [PATCH 3/3] MIPS: add BMIPS Sagem F@ST1704 board

2017-05-15 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/Makefile | 1 + arch/mips/dts/sagem,f...@st1704.dts | 50 arch/mips/mach-bmips/Kconfig | 6 arch/mips/mach-bmips/include/ioremap.h | 3 +- board/sagem/f@st1704/Kconfig

[U-Boot] [PATCH 2/3] MIPS: add support for Broadcom MIPS BCM6338 SoC family

2017-05-15 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6338.dtsi | 118 ++ arch/mips/mach-bmips/Kconfig | 12 +++ include/configs/bmips_bcm6338.h | 30 include/dt-bindings/clock/bcm6338-clock.h | 19 + include/d

[U-Boot] [PATCH 1/3] dm: cpu: bmips: add BCM6338 support

2017-05-15 Thread Álvaro Fernández Rojas
BCM6338 has a fixed CPU frequency of 240 MHz. Signed-off-by: Álvaro Fernández Rojas --- drivers/cpu/bmips_cpu.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/cpu/bmips_cpu.c b/drivers/cpu/bmips_cpu.c index 4f412fa..07a873a 100644 --- a/drivers/cpu/bmips_cpu.c +++ b/

[U-Boot] [PATCH 0/3] mips: bmips: add BCM6338 SoC support

2017-05-15 Thread Álvaro Fernández Rojas
BCM6338 is one of the first BCM63xx SoCs and prior to BCM6348/BCM6358, which means that it also needs ioremap "hacks". Álvaro Fernández Rojas (3): dm: cpu: bmips: add BCM6338 support MIPS: add support for Broadcom MIPS BCM6338 SoC family MIPS: add BMIPS Sagem F@ST1704 board arch/mips/dts/M

  1   2   3   4   >