Re: [U-Boot] [RFC PATCH] net: gem: Add support for more PHYs on MDIO bus

2018-02-06 Thread Michal Simek
On 6.2.2018 22:11, Joe Hershberger wrote: > On Mon, Feb 5, 2018 at 1:17 AM, Michal Simek wrote: >> Hi Joe, >> >> On 2.2.2018 20:35, Joe Hershberger wrote: >>> Hi Michal, >>> >>> On Thu, Feb 1, 2018 at 6:42 AM, Michal Simek >>> wrote: Find

Re: [U-Boot] [PATCH v2] Kconfig: Select networking commands only when NET is enabled

2018-02-06 Thread Michal Simek
Hi Lokesh, On 6.2.2018 13:28, Michal Simek wrote: > There is no reason to unconditially select network commands as distro > defaults without networking enable. > > Signed-off-by: Michal Simek > --- > > Changes in v2: > - Use if NET instead of imply (suggested by Tom) >

Re: [U-Boot] [PATCH v4 2/2] Enable test case with A20-OLinuXino-Lime2

2018-02-06 Thread Jagan Teki
On Wed, Feb 7, 2018 at 12:35 PM, Stefan Mavrodiev wrote: > On 02/07/2018 08:39 AM, Jagan Teki wrote: >> >> On Wed, Feb 7, 2018 at 12:00 PM, Stefan Mavrodiev >> wrote: >>> >>> On 02/06/2018 06:48 PM, Jagan Teki wrote: On Tue, Feb

Re: [U-Boot] [PATCH v3 3/4] dm: video: use constants to refer to colors

2018-02-06 Thread Heinrich Schuchardt
On 02/07/2018 05:38 AM, Simon Glass wrote: Hi Heinrich, On 4 February 2018 at 15:55, Heinrich Schuchardt > wrote: > On 02/04/2018 02:40 PM, Simon Glass wrote: >> Hi Heinrich, >> >> On 29 January 2018 at 00:19, Heinrich Schuchardt

Re: [U-Boot] [PATCH v1 2/4] Convert CONFIG_WATCHDOG_TIMEOUT_MSECS to Kconfig

2018-02-06 Thread Calvin Johnson
Hi, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Lukasz > Majewski > Sent: Wednesday, February 7, 2018 1:30 AM > +config WATCHDOG_TIMEOUT_MSECS > + int "Specify watchdog timeout in mili seconds" s/mili/milli Regards Calvin

Re: [U-Boot] [PATCH v4 2/2] Enable test case with A20-OLinuXino-Lime2

2018-02-06 Thread Jagan Teki
On Wed, Feb 7, 2018 at 12:00 PM, Stefan Mavrodiev wrote: > On 02/06/2018 06:48 PM, Jagan Teki wrote: >> >> On Tue, Feb 6, 2018 at 6:44 PM, Stefan Mavrodiev >> wrote: >>> >>> Driver testing is done with A20-OLinuXino-Lime2. Testing >>> requirements

Re: [U-Boot] [PATCH v4 2/2] efi_selftest: provide a test for block io

2018-02-06 Thread Simon Glass
Hi Heinrich, On 4 February 2018 at 15:35, Heinrich Schuchardt wrote: > On 02/04/2018 01:39 PM, Simon Glass wrote: >> On 21 January 2018 at 11:29, Heinrich Schuchardt wrote: >>> This test checks the driver for block IO devices. >>> A disk image is created

Re: [U-Boot] [PATCH v3 3/4] dm: video: use constants to refer to colors

2018-02-06 Thread Simon Glass
Hi Heinrich, On 4 February 2018 at 15:55, Heinrich Schuchardt wrote: > On 02/04/2018 02:40 PM, Simon Glass wrote: >> Hi Heinrich, >> >> On 29 January 2018 at 00:19, Heinrich Schuchardt wrote: >>> Use constants to refer to colors. >>> Adjust initialization

[U-Boot] [PATCH] PowerPC: phy: enable all phylib drivers when use phylib and tsec enet

2018-02-06 Thread Zhao Qiang
should be included when CONFIG_PHYLIB and CONFIG_TSEC_ENET are defined. Fixes: 3146f0c017 ("Move PHYLIB to Kconfig") Signed-off-by: Zhao Qiang --- arch/powerpc/include/asm/config.h |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git

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

2018-02-06 Thread Tom Rini
On Tue, Feb 06, 2018 at 03:03:55PM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-ubi master > > The following changes since commit a43aebee89acf57b4e22018f401cffc9fef4fd85: > > usb: ulpi: kconfig: Remove meaningless choice default (2018-02-05 20:58:12 > -0500) > >

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

2018-02-06 Thread Tom Rini
On Tue, Feb 06, 2018 at 01:45:49PM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c master > > The following changes since commit a43aebee89acf57b4e22018f401cffc9fef4fd85: > > usb: ulpi: kconfig: Remove meaningless choice default (2018-02-05 20:58:12 > -0500) > >

[U-Boot] [PATCH v1 0/4] Convert Watchdog related defines to Kconfig

2018-02-06 Thread Lukasz Majewski
This patch series converts watchdog related configs: CONFIG_HW_WATCHDOG, CONFIG_IMX_WATCHDOG and CONFIG_WATCHDOG_TIMEOUT_MSECS to Kconfig. This is the first step to move iMX Watchdog driver to DM. Comments and tests are welcome. "Green" travis CI build:

[U-Boot] [PATCH v1 2/4] Convert CONFIG_WATCHDOG_TIMEOUT_MSECS to Kconfig

2018-02-06 Thread Lukasz Majewski
This converts the following to Kconfig: CONFIG_WATCHDOG_TIMEOUT_MSECS The CONFIG_WATCHDOG_TIMEOUT_MSECS default value has been set to 10s. Signed-off-by: Lukasz Majewski --- configs/dh_imx6_defconfig | 1 + configs/mx53ppd_defconfig | 1 +

[U-Boot] [PATCH V2 2/2] Remove config_distro_defaults.h

2018-02-06 Thread Adam Ford
With the contents of config_distro_defaults.h migrated to Kconfig, we can remove this header file completely Signed-off-by: Adam Ford --- include/config_distro_defaults.h| 16 include/configs/am335x_sl50.h | 2 +- include/configs/clearfog.h

Re: [U-Boot] CONFIG_RANDOM_UUID and CONFIG_CMD_UUID unused?

2018-02-06 Thread Tom Rini
On Tue, Feb 06, 2018 at 08:55:26AM -0600, Adam Ford wrote: > config_fallbacks.h both check to see if CONFIG_RANDOM_UUID or > CONFIG_CMD_UUID are defined, but I don't ever see either of these > options defined. > > Can this go away: > > #if (defined(CONFIG_RANDOM_UUID) || \ >

Re: [U-Boot] CONFIG_CMD_KGDB unused?

2018-02-06 Thread Tom Rini
On Tue, Feb 06, 2018 at 08:50:38AM -0600, Adam Ford wrote: > I see lots of places where the check for CONFIG_CMD_KGDB is done, but > I see no place where it is ever defined and I don't see a description > in README. > > Is this still needed? I'm not at all sure it builds nor functions. A patch

[U-Boot] [PATCH 8/8] spi: Migrate CONFIG_CF_SPI to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- configs/M52277EVB_defconfig | 1 + configs/M52277EVB_stmicro_defconfig | 1 + configs/M54418TWR_defconfig | 1 + configs/M54418TWR_nand_mii_defconfig | 1 +

[U-Boot] [PATCH 6/8] spi: Migrate CONFIG_LPC32XX_SSP to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- configs/devkit3250_defconfig | 1 + configs/work_92105_defconfig | 1 + drivers/spi/Kconfig | 5 + include/configs/devkit3250.h | 1 - include/configs/work_92105.h | 1 - scripts/config_whitelist.txt | 1 - 6 files changed, 7

[U-Boot] [PATCH 4/8] spi: Migrate CONFIG_MXC_SPI to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- README| 5 - configs/aristainetos2_defconfig | 1 + configs/aristainetos2b_defconfig | 1 + configs/aristainetos_defconfig| 1 + configs/cgtqmx6eval_defconfig | 1 +

[U-Boot] [PATCH 7/8] spi: Migrate CONFIG_KIRKWOOD_SPI to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- arch/arm/mach-kirkwood/include/mach/config.h | 1 - arch/arm/mach-mvebu/include/mach/config.h| 1 - configs/clearfog_defconfig | 1 + configs/controlcenterdc_defconfig| 1 + configs/d2net_v2_defconfig

[U-Boot] [PATCH 5/8] spi: Migrate CONFIG_MPC8XXX_SPI to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- configs/MPC8349EMDS_defconfig | 1 + configs/ids8313_defconfig | 1 + drivers/spi/Kconfig | 5 + include/configs/MPC8349EMDS.h | 1 - include/configs/ids8313.h | 1 - scripts/config_whitelist.txt | 1 - 6 files

[U-Boot] [PATCH 3/8] spi: Migrate CONFIG_MXS_SPI to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- configs/bg0900_defconfig| 1 + configs/m28evk_defconfig| 1 + configs/mx28evk_auart_console_defconfig | 1 + configs/mx28evk_defconfig | 1 + configs/mx28evk_nand_defconfig | 1 +

[U-Boot] [PATCH 2/8] spi: Migrate CONFIG_SH_QSPI to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- configs/alt_defconfig| 1 + configs/gose_defconfig | 1 + configs/koelsch_defconfig| 1 + configs/lager_defconfig | 1 + configs/porter_defconfig | 1 + configs/silk_defconfig | 1 + configs/stout_defconfig

[U-Boot] [PATCH 0/8] Migrate SPI drivers to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Hi all, This series migrates all the SPI drivers listed in drivers/spi/Makefile to Kconfig. Nothing else besides the usual moveconfig.py has been done, so please let me know if there's something to improve on. Tuomas Tynkkynen (8): spi: Migrate CONFIG_SH_SPI to Kconfig spi: Migrate

[U-Boot] [PATCH 1/8] spi: Migrate CONFIG_SH_SPI to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- README | 5 - configs/sh7752evb_defconfig | 1 + configs/sh7753evb_defconfig | 1 + configs/sh7757lcr_defconfig | 1 + drivers/spi/Kconfig | 6 ++ include/configs/sh7752evb.h | 1 -

Re: [U-Boot] [PATCH] configs: Migrate CONFIG_SYS_TEXT_BASE

2018-02-06 Thread Adam Ford
On Sat, Feb 3, 2018 at 11:10 AM, Tom Rini wrote: > On the NIOS2 and Xtensa architectures, we do not have > CONFIG_SYS_TEXT_BASE set. This is a strict migration of the current > values into the defconfig and removing them from the headers. > > I did not attempt to add more

Re: [U-Boot] [RFC PATCH] net: gem: Add support for more PHYs on MDIO bus

2018-02-06 Thread Joe Hershberger
On Mon, Feb 5, 2018 at 1:17 AM, Michal Simek wrote: > Hi Joe, > > On 2.2.2018 20:35, Joe Hershberger wrote: >> Hi Michal, >> >> On Thu, Feb 1, 2018 at 6:42 AM, Michal Simek wrote: >>> Find out MDIO bus and enable MDIO access to it if this is done

[U-Boot] [PATCH v2 1/1] efi_loader: add missing EFI_RESET_PLATFORM_SPECIFIC

2018-02-06 Thread Heinrich Schuchardt
EFI_RESET_PLATFORM_SPECIFIC is one of the values that can be used for the EFI service ResetSystem. The missing definition is added. The value has to handled in efi_reset_system(). Signed-off-by: Heinrich Schuchardt --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 1 +

Re: [U-Boot] [PATCH v2 2/2] arm: i.MX: Add CMD_NANDBCB Kconfig entry

2018-02-06 Thread Sergey Kubushyn
On Wed, 7 Feb 2018, Jagan Teki wrote: Add Kconfig entry for CMD_NANDBCB, and default y on i.MX6 platform with NAND_MXS defined. Signed-off-by: Jagan Teki --- Changes for v2: - New patch arch/arm/mach-imx/Kconfig | 11 +++ 1 file changed, 11 insertions(+)

[U-Boot] [PATCH v1 3/4] Convert socfpga: select CONFIG_HW_WATCHDOG support for ARCH_SOCFPGA

2018-02-06 Thread Lukasz Majewski
All Socfpga boards from ./include/configs/socfpga_* define CONFIG_HW_WATCHDOG. To ease CONFIG_HW_WATCHDOG conversion to Kconfig select it in config ARCH_SOCFPGA (arch/arm/Kconfig) section. Signed-off-by: Lukasz Majewski --- arch/arm/Kconfig | 1 +

[U-Boot] [PATCH v1 4/4] Convert CONFIG_HW_WATCHDOG to Kconfig

2018-02-06 Thread Lukasz Majewski
The CONFIG_HW_WATCHDOG declaration has been converted to Kconfig Signed-off-by: Lukasz Majewski --- configs/axm_defconfig| 1 + configs/calimain_defconfig | 1 + configs/microblaze-generic_defconfig | 1 + configs/nokia_rx51_defconfig | 1 +

[U-Boot] [PATCH v1 1/4] Convert CONFIG_IMX_WATCHDOG to Kconfig and remove HW_WATCHDOG

2018-02-06 Thread Lukasz Majewski
This converts the following to Kconfig: CONFIG_IMX_WATCHDOG It also removes the CONFIG_HW_WATCHDOG, which is selected by IMX_WATCHDOG. Signed-off-by: Lukasz Majewski --- configs/aristainetos2_defconfig | 1 + configs/aristainetos2b_defconfig | 1 +

[U-Boot] [PATCH v2 2/2] arm: i.MX: Add CMD_NANDBCB Kconfig entry

2018-02-06 Thread Jagan Teki
Add Kconfig entry for CMD_NANDBCB, and default y on i.MX6 platform with NAND_MXS defined. Signed-off-by: Jagan Teki --- Changes for v2: - New patch arch/arm/mach-imx/Kconfig | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/mach-imx/Kconfig

[U-Boot] [PATCH v2 1/2] i.MX6: nand: add nandbcb update command

2018-02-06 Thread Jagan Teki
Writing/updating boot image in nand device is not straight forward in i.MX6 platform and it requires boot control block(BCB) to be configured. It becomes difficult to use uboot 'nand' command to write BCB since it requires platform specific attributes need to be taken care of. It is even

Re: [U-Boot] [PATCH] Kconfig: net: phylib: Phylib should depends on NET

2018-02-06 Thread Joe Hershberger
On Tue, Feb 6, 2018 at 6:23 AM, Michal Simek wrote: > There is no value to enable phylib without networking support. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger

[U-Boot] [PATCH] Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig

2018-02-06 Thread Adam Ford
config_fallbacks.h has some logic that sets HAVE_BLOCK_DEVICE based on a list of enabled options. Moving HAVE_BLOCK_DEIVCE to Kconfig allows us to drastically shrink the logic in config_fallbacks.h Signed-off-by: Adam Ford --- arch/Kconfig | 1 + cmd/Kconfig

Re: [U-Boot] [PATCH] NET: designware: fix clock enable

2018-02-06 Thread Joe Hershberger
On Tue, Feb 6, 2018 at 8:12 AM, Eugeniy Paltsev wrote: > After commit ba1f966725223 "net: designware: add clock support" > we got NET broken on axs101 and axs103 platforms. > > Some clock don't support gating so their clock drivers don't > implement .enable/.disable

[U-Boot] [PATCH] Convert LIB_UUID to Kconfig

2018-02-06 Thread Adam Ford
config_fallback.h has some logic that checks a variety of options and selects LIB_UUID if it hasn't already been selected. This will all LIB_UUID in Kconfig and select this option for the list of options to allow us to remove the logic from fallbacks Signed-off-by: Adam Ford

[U-Boot] [PATCH] arm: sunxi: Move spl spi sunxi code to mach-sunxi

2018-02-06 Thread Jagan Teki
This SUNXI variant SPL SPI code doesn't use either SPI or SPL_FLASG subsystems due to size constraints and also placing this code in drivers/mtd/spi will unnecessary build SPI_FLASH code(if defined) which never required, hence moved to arch area. And also renamed the file according to kconfig

[U-Boot] [PATCH 2/2] configs: Migrate CONFIG_SPL_FRAMEWORK

2018-02-06 Thread Tom Rini
Migrate the option CONFIG_SPL_FRAMEWORK and make this gate most of the current set of options we have in Kconfig. We will need to have some options available for SPL and !SPL_FRAMEWORK so this is important. In a few cases we re-order existing options so that we have less escapes from the

[U-Boot] [PATCH 1/2] configs: Drop unused CONFIG_SPL_MMC_MINIMAL

2018-02-06 Thread Tom Rini
The option CONFIG_SPL_MMC_MINIMAL is unused in code, drop it. Signed-off-by: Tom Rini --- include/configs/P1010RDB.h | 1 - include/configs/P1022DS.h | 1 - include/configs/T102xQDS.h | 1 - include/configs/T102xRDB.h | 1 - include/configs/T104xRDB.h |

Re: [U-Boot] [PATCH] ls1088a: qspi: Enable XIP mode above 16 MB addresses

2018-02-06 Thread York Sun
On 02/06/2018 02:59 AM, Rajat Srivastava wrote: > > >> How do you put the image into it to begin with? Don't tell me you were using >> an >> external tool or a hacked version of older U-Boot. >> > This patch enables data read above 16MB using AHB (on Uboot prompt) and does > not involve our

Re: [U-Boot] [PATCH v2 1/3] mach-stm32: Add set_env_soc_name support

2018-02-06 Thread Vikas Manocha
On 02/06/2018 12:52 AM, Patrick DELAUNAY wrote: > Hi Patrice, > >> From: Patrice CHOTARD >> >> Sure, i will send a v3 >> >> Thanks >> >> Patrice >> > > You can also activate CONFIG_ENV_VARS_UBOOT_CONFIG Great ! Thanks Patrick. Cheers, Vikas > > Then the variables are defined in

Re: [U-Boot] [PATCH] configs: stm32: Enable CONFIG_ENV_VARS_UBOOT_CONFIG

2018-02-06 Thread Vikas Manocha
Hi, On 02/06/2018 01:47 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Enable CONFIG_ENV_VARS_UBOOT_CONFIG for all STM32 boards > It allows to retrieve the SoC name into the "soc" environment > variable. > > Signed-off-by: Christophe Priouzeau

Re: [U-Boot] [PATCH v4 2/2] Enable test case with A20-OLinuXino-Lime2

2018-02-06 Thread Jagan Teki
On Tue, Feb 6, 2018 at 6:44 PM, Stefan Mavrodiev wrote: > Driver testing is done with A20-OLinuXino-Lime2. Testing > requirements are: > - Exposing spi0 alternative pins in the dts file > - Add alias node, enabling driver probing > - Add flash sub-node of spi > - Enable

Re: [U-Boot] [PATCH] Convert CONFIG LIB_HW_RAND to Kconfig

2018-02-06 Thread Lukasz Majewski
On Tue, 6 Feb 2018 10:18:18 -0600 Adam Ford wrote: > config_fallbacks.h had some logic to automatically select > LIB_RAND if RANDOM_UUID or CMD_UUID were set if LIB_HW_RAND wasn't > already selected. By migrating LIB_HW_RAND to Kconfig, we can > remove this check from

[U-Boot] [PATCH] Convert CONFIG LIB_HW_RAND to Kconfig

2018-02-06 Thread Adam Ford
config_fallbacks.h had some logic to automatically select LIB_RAND if RANDOM_UUID or CMD_UUID were set if LIB_HW_RAND wasn't already selected. By migrating LIB_HW_RAND to Kconfig, we can remove this check from config_fallbacks.h and put it into Kconfig Signed-off-by: Adam Ford

Re: [U-Boot] [PATCH 05/11] sunxi: Add PMIC_SUNXI kconfig entry

2018-02-06 Thread Maxime Ripard
On Tue, Feb 06, 2018 at 08:45:22PM +0530, Jagan Teki wrote: > Add simple and meaningful kconfig option for pmic_bus.c > instead of using MACH type on Makefile. > > Signed-off-by: Jagan Teki > --- > arch/arm/mach-sunxi/Kconfig | 6 ++ >

Re: [U-Boot] [PATCH 04/11] sunxi: Add SUNXI_RSB kconfig entry

2018-02-06 Thread Maxime Ripard
Hi, On Tue, Feb 06, 2018 at 08:45:21PM +0530, Jagan Teki wrote: > Add simple and meaningful kconfig option for rsb.c > instead of using MACH type on Makefile. > > Signed-off-by: Jagan Teki > --- > arch/arm/mach-sunxi/Kconfig | 10 ++ >

Re: [U-Boot] [PATCH v4 25/34] configs: bananapi-m64: Enable USB OTG peripheral mode

2018-02-06 Thread Maxime Ripard
On Tue, Feb 06, 2018 at 07:55:55PM +0530, Jagan Teki wrote: > Enable USB_MUSB_GADGET which operate OTG in peripheral mode > > Signed-off-by: Jagan Teki This can be squashed with the previous patch, just like all your patches with one change to the DT and one to the

Re: [U-Boot] [PATCH v3 17/30] sunxi: arm64: Increase u-boot size on MMC environment

2018-02-06 Thread Maxime Ripard
On Tue, Feb 06, 2018 at 03:49:28PM +0530, Jagan Teki wrote: > On Wed, Jan 31, 2018 at 9:25 PM, Maxime Ripard > wrote: > > On Tue, Jan 30, 2018 at 02:29:27PM +0530, Jagan Teki wrote: > >> On Tue, Jan 30, 2018 at 1:54 PM, Maxime Ripard > >>

[U-Boot] [PATCH 09/11] sunxi: Add DRAM_SUN8I_A23 kconfig entry

2018-02-06 Thread Jagan Teki
Add proper and simple kconfig option for dram_sun8i_a23.c instead of using MACH type on Makefile. Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 7 +++ arch/arm/mach-sunxi/Makefile | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 11/11] sunxi: Add DRAM_SUN8I_A83T kconfig entry

2018-02-06 Thread Jagan Teki
Add proper and simple kconfig option for dram_sun8i_a83t.c instead of using MACH type on Makefile. Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 7 +++ arch/arm/mach-sunxi/Makefile | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 04/11] sunxi: Add SUNXI_RSB kconfig entry

2018-02-06 Thread Jagan Teki
Add simple and meaningful kconfig option for rsb.c instead of using MACH type on Makefile. Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 10 ++ arch/arm/mach-sunxi/Makefile | 3 +-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 08/11] sunxi: Add DRAM_SUN9I kconfig entry

2018-02-06 Thread Jagan Teki
Add proper and simple kconfig option for dram_sun9i.c instead of using MACH type on Makefile. Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 7 +++ arch/arm/mach-sunxi/Makefile | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 07/11] sunxi: Add DRAM_SUN4I kconfig entry

2018-02-06 Thread Jagan Teki
Add proper and simple kconfig option for dram_sun4i.c instead of using MACH type on Makefile. Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 9 + arch/arm/mach-sunxi/Makefile | 4 +--- 2 files changed, 10 insertions(+), 3 deletions(-) diff

[U-Boot] [PATCH 05/11] sunxi: Add PMIC_SUNXI kconfig entry

2018-02-06 Thread Jagan Teki
Add simple and meaningful kconfig option for pmic_bus.c instead of using MACH type on Makefile. Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 6 ++ arch/arm/mach-sunxi/Makefile | 7 +-- drivers/power/Kconfig| 5 + 3 files changed,

[U-Boot] [PATCH 10/11] sunxi: Add DRAM_SUN8I_A33 kconfig entry

2018-02-06 Thread Jagan Teki
Add proper and simple kconfig option for dram_sun8i_a33.c instead of using MACH type on Makefile. Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 7 +++ arch/arm/mach-sunxi/Makefile | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH] NET: designware: fix clock enable

2018-02-06 Thread Patrice CHOTARD
Hi Eugeniy On 02/06/2018 03:12 PM, Eugeniy Paltsev wrote: > After commit ba1f966725223 "net: designware: add clock support" > we got NET broken on axs101 and axs103 platforms. > > Some clock don't support gating so their clock drivers don't > implement .enable/.disable callbacks. In such case

[U-Boot] [PATCH 03/11] sunxi: Use MFD_SUN6I_PRCM if used

2018-02-06 Thread Jagan Teki
MFD_SUN6I_PRCM is also used for SUN8I and SUN9I, so select the same on respective MACH types. Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 2 ++ arch/arm/mach-sunxi/Makefile | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 01/11] sunxi: Add MFD_SUN6I_PRCM kconfig entry

2018-02-06 Thread Jagan Teki
Add simple and meaningful kconfig option for prcm.c instead of using MACH type on Makefile. PRCM (Power/Reset/Clock Management) is considered as a Multi-Functional Device, so used the same on Kconfig definition. Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH 02/11] sunxi: Add I2C_SUN6I_P2WI kconfig entry

2018-02-06 Thread Jagan Teki
Add simple and meaningful kconfig option for p2wi.c instead of using MACH type on Makefile. p2wi is an I2C controller, so used the same on kconfig definition. Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 12 arch/arm/mach-sunxi/Makefile

[U-Boot] [PATCH 06/11] sunxi: add DRAM_SUN6I kconfig

2018-02-06 Thread Jagan Teki
Add proper and simple kconfig option for dram_sun6i.c instead of using MACH type on Makefile. Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig | 7 +++ arch/arm/mach-sunxi/Makefile | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 00/11] arm: sunxi: Use proper and meaningful Kconfig entries

2018-02-06 Thread Jagan Teki
Current arch/arm/mach-sunxi/Makefile has improper build options which relies mostly on MACH_ options. This series get rid of those and added proper Kconfig options. All Kconfig entry name are re-used from Linux so-that future dm conversion on these can be meaningful. Jagan Teki (11): sunxi:

[U-Boot] [PATCH 1/2] SPI Flash: add support of sst26wf* flash series

2018-02-06 Thread Eugeniy Paltsev
sst26wf flash series block protection implementation differs from other SST series, so add implementation for sst26wf lock/unlock/is_locked functions. Signed-off-by: Eugeniy Paltsev --- drivers/mtd/spi/spi_flash.c | 188

[U-Boot] [PATCH 2/2] SF: add support for sst26wf016, sst26wf032, sst26wf064

2018-02-06 Thread Eugeniy Paltsev
This commit adds support for the SST sst26wf016, sst26wf032 and sst26wf064 flash IC. Signed-off-by: Eugeniy Paltsev --- drivers/mtd/spi/spi_flash_ids.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/spi/spi_flash_ids.c

[U-Boot] [PATCH 0/2] SF: add support for sst26wf016, sst26wf032, sst26wf064

2018-02-06 Thread Eugeniy Paltsev
Add support for the SST sst26wf016, sst26wf032 and sst26wf064 flash IC: sst26wf*** flash series block protection implementation differs from other SST series, so we add implementation for sst26wf*** lock/unlock/is_locked functions. Add sst26wf016, sst26wf032 and sst26wf064 flash IC info to

Re: [U-Boot] [PATCH v4 09/34] phy: Add Allwinner A64 USB PHY driver

2018-02-06 Thread Marek Vasut
On 02/06/2018 03:25 PM, Jagan Teki wrote: > USB PHY implementation for Allwinner SOC's can be handling > in to single driver with different phy configs. > > This driver handle all Allwinner USB PHY's start from 4I to > 50I(except 9I). Currently added A64 compatibility more will > add in next

Re: [U-Boot] [PATCH v4 18/34] device-tree-bindings: phy: Sync sun4i-usb-phy bindings

2018-02-06 Thread Marek Vasut
On 02/06/2018 03:25 PM, Jagan Teki wrote: > Sync sun4i-usb-phy bindings from Linux, since the > drivers/phy/allwinner/phy-sun4i-usb.c follw similar. Similar or same ? Which version of Linux ? > Signed-off-by: Jagan Teki > --- >

Re: [U-Boot] [PATCH v4 21/34] usb: sunxi: Switch to use generic-phy

2018-02-06 Thread Marek Vasut
On 02/06/2018 03:25 PM, Jagan Teki wrote: > Allwinner USB PHY handling can be done through driver-model > generic-phy so add the generic-phy ops to relevant places > on host and musb sunxi driver and enable them in respective > SOC's. > > Signed-off-by: Jagan Teki >

Re: [U-Boot] [PATCH v4 08/34] musb: sunxi: Add support for H3/H5A64

2018-02-06 Thread Marek Vasut
On 02/06/2018 03:25 PM, Jagan Teki wrote: > Like other Allwinner SoC, the H3/H5/A64 is missing the config register > from the musb hardware block. Use a known working value for it > like other SoC. > > Signed-off-by: Jagan Teki > --- >

Re: [U-Boot] [PATCH v4 04/34] musb: sunxi: Add fifo config

2018-02-06 Thread Marek Vasut
On 02/06/2018 03:25 PM, Jagan Teki wrote: > Unlike other Allwinner SOC's H3/H5/V3s OTG support 4 endpoints > with relevant fifo configs, rest all have 5 endpoints. > So add the fifo configs and defer them based on udevice_id compatible. > > Signed-off-by: Jagan Teki >

Re: [U-Boot] [PATCH v4 06/34] musb: sunxi: Add OTG device clkgate and reset for H3/H5

2018-02-06 Thread Marek Vasut
On 02/06/2018 03:25 PM, Jagan Teki wrote: > Enable OTG device clkgate and reset for H3/H5 > > Signed-off-by: Jagan Teki > Suggested-by: Jun Nie > --- > Note: > Since the driver is dm-driver, we even add SOC changes based on > compatible or

Re: [U-Boot] [PATCH v4 03/34] musb: sunxi: Use simple way to fill musb_hdrc pdata

2018-02-06 Thread Marek Vasut
On 02/06/2018 03:25 PM, Jagan Teki wrote: > Filling musb_hdrc pdata using structure will unnecessary > add extra ifdefs, so fill them inside probe call for > better code understanding and get rid ifdefs using > devicetree compatible. > > Signed-off-by: Jagan Teki >

Re: [U-Boot] [PATCH v4 01/34] usb: sunxi: Simplify ccm reg base code

2018-02-06 Thread Marek Vasut
On 02/06/2018 03:25 PM, Jagan Teki wrote: > Move struct sunxi_ccm_reg pointer to private structure > so-that accessing ccm reg base become more proper way > and avoid local initialization in each function. > > Signed-off-by: Jagan Teki > --- >

Re: [U-Boot] [PATCH V3] Convert CONFIG_APBH_DMA et al to Kconfig

2018-02-06 Thread stefan
On 06.02.2018 15:34, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_APBH_DMA >CONFIG_APBH_DMA_BURST >CONFIG_APBH_DMA_BURST8 > > Signed-off-by: Adam Ford Thanks, that looks good to me! Reviewed-by: Stefan Agner --

[U-Boot] CONFIG_RANDOM_UUID and CONFIG_CMD_UUID unused?

2018-02-06 Thread Adam Ford
config_fallbacks.h both check to see if CONFIG_RANDOM_UUID or CONFIG_CMD_UUID are defined, but I don't ever see either of these options defined. Can this go away: #if (defined(CONFIG_RANDOM_UUID) || \ defined(CONFIG_CMD_UUID)) && \ (!defined(CONFIG_LIB_RAND) && \ !defined(CONFIG_LIB_HW_RAND))

[U-Boot] Unused CONFIG_SYS_MAXARGS?

2018-02-06 Thread Adam Ford
I am curious to know if CONFIG_SYS_MAXARGS actually does something. I see it defined in many places, I see it #undef'd and I see it used #ifndef, but I don't see any actual source use it. Can this be removed or I am missing something? adam ___ U-Boot

[U-Boot] CONFIG_CMD_KGDB unused?

2018-02-06 Thread Adam Ford
I see lots of places where the check for CONFIG_CMD_KGDB is done, but I see no place where it is ever defined and I don't see a description in README. Is this still needed? adam ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH v4 32/34] configs: orangepi-pc2: Enable USB OTG peripheral mode

2018-02-06 Thread Jagan Teki
Enable USB_MUSB_GADGET which operate OTG in peripheral mode Signed-off-by: Jagan Teki --- configs/orangepi_pc2_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/orangepi_pc2_defconfig b/configs/orangepi_pc2_defconfig index e5fea42..9db7655 100644

[U-Boot] [PATCH V3] Convert CONFIG_APBH_DMA et al to Kconfig

2018-02-06 Thread Adam Ford
This converts the following to Kconfig: CONFIG_APBH_DMA CONFIG_APBH_DMA_BURST CONFIG_APBH_DMA_BURST8 Signed-off-by: Adam Ford --- V3: Rebased on "arm: imx: convert MX23/28 and MXS NAND to Kconfig" Make APBH_DMA depend on NAND_MXS since it appears to be the only

[U-Boot] [PATCH v4 17/34] phy: sun4i-usb: Add A23 USB PHY config

2018-02-06 Thread Jagan Teki
Allwinner A23 has 2 USB PHY's and 0x04 has phy ctrl offset. Signed-off-by: Jagan Teki --- drivers/phy/allwinner/phy-sun4i-usb.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drivers/phy/allwinner/phy-sun4i-usb.c

[U-Boot] [PATCH v4 19/34] board: sunxi: Use generic-phy for board_usb_cable_connected

2018-02-06 Thread Jagan Teki
Allwinner PHY USB code is now part of generic-phy framework, so use it in board_usb_cable_connected. Signed-off-by: Jagan Teki --- board/sunxi/board.c | 33 - 1 file changed, 32 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v4 29/34] configs: bananapi-m2-plus: Enable USB OTG peripheral mode

2018-02-06 Thread Jagan Teki
Enable USB_MUSB_GADGET which operate OTG in peripheral mode Signed-off-by: Jagan Teki --- configs/Sinovoip_BPI_M2_Plus_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/Sinovoip_BPI_M2_Plus_defconfig b/configs/Sinovoip_BPI_M2_Plus_defconfig index

[U-Boot] [PATCH v4 23/34] sunxi: h3: Sync OTG and HCI nodes from Linux DT

2018-02-06 Thread Jagan Teki
From: Jun Nie Allwinner H3 have a dual-routed USB PHY0 -- routed to either OHCI/EHCI or MUSB controller. Signed-off-by: Jun Nie Reviewed-by: Jagan Teki --- arch/arm/dts/sun8i-h3.dtsi | 32 1 file

[U-Boot] [PATCH v4 20/34] phy: sun4i-usb: Add a sunxi specific function for setting squelch-detect

2018-02-06 Thread Jagan Teki
The sunxi otg phy has a bug where it wrongly detects a high speed squelch when reset on the root port gets de-asserted with a lo-speed device. The workaround for this is to disable squelch detect before de-asserting reset, and re-enabling it after the reset de-assert is done. Add a sunxi specific

[U-Boot] [PATCH v4 16/34] phy: sun4i-usb: Add A33 USB PHY config

2018-02-06 Thread Jagan Teki
Allwinner A33 has 2 USB PHY's and 0x10 has phy ctrl offset. Signed-off-by: Jagan Teki --- drivers/phy/allwinner/phy-sun4i-usb.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c

[U-Boot] [PATCH v4 14/34] phy: sun4i-usb: Add A10/A13/A20 PHY config

2018-02-06 Thread Jagan Teki
Add PHY configs for Allwinner A10/A13/A20 which are SUN4I. Signed-off-by: Jagan Teki --- drivers/phy/allwinner/phy-sun4i-usb.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c

[U-Boot] [PATCH v4 34/34] configs: orangepi-prime: Enable USB OTG peripheral mode

2018-02-06 Thread Jagan Teki
Enable USB_MUSB_GADGET which operate OTG in peripheral mode Signed-off-by: Jagan Teki --- configs/orangepi_prime_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/orangepi_prime_defconfig b/configs/orangepi_prime_defconfig index 3d87374..a2e8f2e

[U-Boot] [PATCH v4 13/34] phy: sun4i-usb: Add A83T USB PHY config

2018-02-06 Thread Jagan Teki
Unlike, other Allwinner SUN4I Phy supporting SOC, A83T has 2 USB PHY's and second one is HSIC. So phy control need to configure to handle these HSIC and SIDDQ requirement. Signed-off-by: Jagan Teki --- drivers/phy/allwinner/phy-sun4i-usb.c | 85

[U-Boot] [PATCH v4 27/34] arm64: allwinner: a64: bananapi-m64: Sync usb host nodes from Linux

2018-02-06 Thread Jagan Teki
Sync bananapi-m64 usb host nodes from Linux. Signed-off-by: Jagan Teki --- arch/arm/dts/sun50i-a64-bananapi-m64.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/dts/sun50i-a64-bananapi-m64.dts

[U-Boot] [PATCH v4 24/34] arm64: allwinner: a64: bananapi-m64: Sync usb_otg node from Linux

2018-02-06 Thread Jagan Teki
Sync bananapi-m64 usb_otg node from Linux. Signed-off-by: Jagan Teki --- arch/arm/dts/sun50i-a64-bananapi-m64.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/dts/sun50i-a64-bananapi-m64.dts b/arch/arm/dts/sun50i-a64-bananapi-m64.dts

[U-Boot] [PATCH v4 33/34] arm64: allwinner: h5: orangepi-prime: Sync usb otg nodes from Linux

2018-02-06 Thread Jagan Teki
orangepi-prime has usb otg routed host with either EHCI0/OHCI0 sync the same from Linux. Signed-off-by: Jagan Teki --- arch/arm/dts/sun50i-h5-orangepi-prime.dts | 13 + 1 file changed, 13 insertions(+) diff --git

[U-Boot] [PATCH v4 22/34] sunxi: Drop legacy usb_phy.c

2018-02-06 Thread Jagan Teki
Allwinner PHY USB code is now part of generic-phy framework, so drop existing legacy handling like arch/arm/mach-sunxi.c and related code areas. Signed-off-by: Jagan Teki --- arch/arm/include/asm/arch-sunxi/usb_phy.h | 21 -- arch/arm/mach-sunxi/Makefile

[U-Boot] [PATCH v4 25/34] configs: bananapi-m64: Enable USB OTG peripheral mode

2018-02-06 Thread Jagan Teki
Enable USB_MUSB_GADGET which operate OTG in peripheral mode Signed-off-by: Jagan Teki --- configs/bananapi_m64_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/bananapi_m64_defconfig b/configs/bananapi_m64_defconfig index 461567f..11397ae 100644

[U-Boot] [PATCH v4 11/34] phy: sun4i-usb: Add H3/H5 PHY config

2018-02-06 Thread Jagan Teki
H3/H5 has 4 USB PHY, rest are similar to A64. Signed-off-by: Jagan Teki --- drivers/phy/allwinner/phy-sun4i-usb.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drivers/phy/allwinner/phy-sun4i-usb.c index

[U-Boot] [PATCH v4 15/34] phy: sun4i-usb: Add A31 PHY config

2018-02-06 Thread Jagan Teki
Allwinner A31 has 3 USB PHY's and rest similar to A10. Signed-off-by: Jagan Teki --- drivers/phy/allwinner/phy-sun4i-usb.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drivers/phy/allwinner/phy-sun4i-usb.c

[U-Boot] [PATCH v4 26/34] ARM: dts: sun8i: a83t: Sync usbphy node from Linux

2018-02-06 Thread Jagan Teki
Sync sun8i-a83t usbphy node details from Linux. Signed-off-by: Jagan Teki --- arch/arm/dts/sun8i-a83t.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/sun8i-a83t.dtsi b/arch/arm/dts/sun8i-a83t.dtsi index bab6c18..2953e0f

[U-Boot] [PATCH v4 18/34] device-tree-bindings: phy: Sync sun4i-usb-phy bindings

2018-02-06 Thread Jagan Teki
Sync sun4i-usb-phy bindings from Linux, since the drivers/phy/allwinner/phy-sun4i-usb.c follw similar. Signed-off-by: Jagan Teki --- doc/device-tree-bindings/phy/sun4i-usb-phy.txt | 65 ++ 1 file changed, 65 insertions(+) create mode 100644

[U-Boot] [PATCH v4 31/34] arm64: allwinner: h5: orangepi-pc2: Sync usb otg nodes from Linux

2018-02-06 Thread Jagan Teki
orangepi-pc2 has usb otg routed host with either EHCI0/OHCI0 sync the same from Linux. Signed-off-by: Jagan Teki --- arch/arm/dts/sun50i-h5-orangepi-pc2.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/sun50i-h5-orangepi-pc2.dts

  1   2   >