Re: [U-Boot] [PATCH 1/2] Convert CONFIG_BOOTCOUNT_LIMIT to Kconfig

2018-02-09 Thread Alex Kiernan
On Fri, Feb 9, 2018 at 10:50 PM, Lukasz Majewski wrote: > diff --git a/configs/mx53ppd_defconfig b/configs/mx53ppd_defconfig > index 3fbca2a08c..b83cf72022 100644 > --- a/configs/mx53ppd_defconfig > +++ b/configs/mx53ppd_defconfig > @@ -21,6 +21,7 @@ CONFIG_CMD_EXT4_WRITE=y >

Re: [U-Boot] [PATCH v2] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-02-09 Thread Jonathan Gray
On Sat, Feb 10, 2018 at 01:45:16AM +0100, Lukasz Majewski wrote: > Hi Jonathan, > > > On Sat, Feb 03, 2018 at 11:00:35AM -0200, Fabio Estevam wrote: > > > On Sat, Feb 3, 2018 at 5:29 AM, Lukasz Majewski > > > wrote: > > > > The goal of this patch is to clean up the code related

Re: [U-Boot] [PATCH v2] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-02-09 Thread Lukasz Majewski
Hi Jonathan, > On Sat, Feb 03, 2018 at 11:00:35AM -0200, Fabio Estevam wrote: > > On Sat, Feb 3, 2018 at 5:29 AM, Lukasz Majewski > > wrote: > > > The goal of this patch is to clean up the code related to > > > choosing SPL MMC boot mode. > > > > > > The spl_boot_mode() now is

Re: [U-Boot] [PATCH v2] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-02-09 Thread Jonathan Gray
On Sat, Feb 03, 2018 at 11:00:35AM -0200, Fabio Estevam wrote: > On Sat, Feb 3, 2018 at 5:29 AM, Lukasz Majewski wrote: > > The goal of this patch is to clean up the code related to choosing SPL > > MMC boot mode. > > > > The spl_boot_mode() now is called only in

[U-Boot] [PULL] efi v2018.03 patch queue 2018-02-10

2018-02-09 Thread Alexander Graf
Hi Tom, This is my current patch queue for efi against v2018.03. Please pull. Alex The following changes since commit 1811a928c6c7604d6d05a84b4d552a7c31b4994e: Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig (2018-02-08 19:09:03 -0500) are available in the git repository at:

Re: [U-Boot] [PATCH] buildman: support newer gcc versions from kernel.org

2018-02-09 Thread Tom Rini
On Fri, Feb 09, 2018 at 10:53:44PM +0100, Daniel Schwierzeck wrote: > > > On 09.02.2018 22:43, Tom Rini wrote: > > On Fri, Feb 09, 2018 at 10:37:47PM +0100, Daniel Schwierzeck wrote: > >> Add support for gcc versions 7.3.0, 6.4.0 and 4.9.4. > >> > >> Also use a regex for matching the tarball

Re: [U-Boot] [U-Boot,v3,1/2] bcm283x: Add pinctrl driver

2018-02-09 Thread Jonathan Gray
On Sat, Feb 03, 2018 at 12:47:48PM +1100, Jonathan Gray wrote: > On Sun, Jan 28, 2018 at 01:54:25PM -0500, Tom Rini wrote: > > On Tue, Jan 23, 2018 at 06:05:21PM +0100, Alexander Graf wrote: > > > > > The bcm283x family of SoCs have a GPIO controller that also acts as > > > pinctrl controller. >

[U-Boot] [PATCH 2/2] Convert CONFIG_SYS_BOOTCOUNT_SINGLEWORD to Kconfig

2018-02-09 Thread Lukasz Majewski
This converts the following to Kconfig: CONFIG_SYS_BOOTCOUNT_SINGLEWORD Signed-off-by: Lukasz Majewski --- configs/highbank_defconfig | 1 + drivers/bootcount/Kconfig | 6 ++ include/configs/highbank.h | 1 - 3 files changed, 7 insertions(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH v1 1/2] mmc: Fix bug in sd_set_card_speed()

2018-02-09 Thread Jonathan Gray
On Fri, Feb 09, 2018 at 12:09:27PM +0100, Jean-Jacques Hiblot wrote: > After settings the speed of the sd with the switch command, a check is > done to make sure that the new speed has been set. The current check has a > masking error: speed are encoded on 4 bits only. > Fix it by masking the

[U-Boot] [PATCH 1/2] Convert CONFIG_BOOTCOUNT_LIMIT to Kconfig

2018-02-09 Thread Lukasz Majewski
This converts the following to Kconfig: CONFIG_BOOTCOUNT_LIMIT Signed-off-by: Lukasz Majewski --- README | 10 -- configs/am335x_baltos_defconfig | 1 + configs/am335x_boneblack_defconfig | 1 +

Re: [U-Boot] [PATCH v2 1/1] efi_loader: correct efi_disk_register

2018-02-09 Thread Jonathan Gray
On Fri, Feb 09, 2018 at 08:55:47PM +0100, Heinrich Schuchardt wrote: > efi_disk_register should return as status code (efi_status_t). > > Disks with zero blocks should be reported as 'not ready' without throwing > an error. > > This patch solves a problem running OpenBSD on system configured

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

2018-02-09 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 --- Changes in v2: - Correct "mili" to "milli" seconds configs/dh_imx6_defconfig | 1 +

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

2018-02-09 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 --- Changes in v2: - None configs/aristainetos2_defconfig | 1 + configs/aristainetos2b_defconfig

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

2018-02-09 Thread Lukasz Majewski
The CONFIG_HW_WATCHDOG declaration has been converted to Kconfig Signed-off-by: Lukasz Majewski --- Changes in v2: - None configs/axm_defconfig| 1 + configs/calimain_defconfig | 1 + configs/microblaze-generic_defconfig | 1 +

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

2018-02-09 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 v2 3/4] Convert socfpga: select CONFIG_HW_WATCHDOG support for ARCH_SOCFPGA

2018-02-09 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 --- Changes in v2: - None arch/arm/Kconfig

Re: [U-Boot] [PATCH] buildman: support newer gcc versions from kernel.org

2018-02-09 Thread Daniel Schwierzeck
On 09.02.2018 22:43, Tom Rini wrote: > On Fri, Feb 09, 2018 at 10:37:47PM +0100, Daniel Schwierzeck wrote: >> Add support for gcc versions 7.3.0, 6.4.0 and 4.9.4. >> >> Also use a regex for matching the tarball names. Some gcc versions >> use '-ARCH-' instead of '_ARCH-'. >> >> Signed-off-by:

Re: [U-Boot] [PATCH] buildman: support newer gcc versions from kernel.org

2018-02-09 Thread Tom Rini
On Fri, Feb 09, 2018 at 10:37:47PM +0100, Daniel Schwierzeck wrote: > Add support for gcc versions 7.3.0, 6.4.0 and 4.9.4. > > Also use a regex for matching the tarball names. Some gcc versions > use '-ARCH-' instead of '_ARCH-'. > > Signed-off-by: Daniel Schwierzeck

[U-Boot] [PATCH] buildman: support newer gcc versions from kernel.org

2018-02-09 Thread Daniel Schwierzeck
Add support for gcc versions 7.3.0, 6.4.0 and 4.9.4. Also use a regex for matching the tarball names. Some gcc versions use '-ARCH-' instead of '_ARCH-'. Signed-off-by: Daniel Schwierzeck --- tools/buildman/toolchain.py | 6 +++--- 1 file changed, 3

Re: [U-Boot] TCP & Overrrun

2018-02-09 Thread Joe Hershberger
On Thu, Feb 8, 2018 at 8:41 PM, Duncan Hare wrote: > On Thu, 8 Feb 2018 22:15:44 + (UTC) > Duncan Hare wrote: > >> Duncan Hare >> >> 714 931 7952 >> >> >> - Forwarded Message - >> From: Joe Hershberger >> To: Duncan Hare

Re: [U-Boot] [PATCH 2/2] env: Add back default action of get_char in env_get_char()

2018-02-09 Thread Goldschmidt Simon
Maxime, York, I've just sent a patch that removes 'get_char' callback from the env drivers. This should restore the old behaviour we had before supporting multiple environment drivers (for all but eeprom, of course). Simon On 08.02.2018 23:10, Maxime Ripard wrote: On Thu, Feb 08, 2018 at

[U-Boot] [PATCH] env: restore old env_get_char() behaviour

2018-02-09 Thread Goldschmidt Simon
With multiple environments, the 'get_char' callback for env drivers does not really make sense any more because it is only supported by two drivers (eeprom and nvram). To restore single character loading for these drivers, override 'env_get_char_spec'. Signed-off-by: Simon Goldschmidt

[U-Boot] [PATCH v2 1/1] efi_loader: correct efi_disk_register

2018-02-09 Thread Heinrich Schuchardt
efi_disk_register should return as status code (efi_status_t). Disks with zero blocks should be reported as 'not ready' without throwing an error. This patch solves a problem running OpenBSD on system configured with CONFIG_BLK=n (e.g. i.MX6). Reported-by: Jonathan Gray

[U-Boot] [PATCH v2 1/1] efi_loader: add missing runtime services stubs

2018-02-09 Thread Heinrich Schuchardt
Add stubs for UpdateCapsule, QueryCapsuleCapabilities, and QueryVariableInfo. Signed-off-by: Heinrich Schuchardt --- v2 add __efi_runtime --- include/efi_api.h| 28 +--- lib/efi_loader/efi_runtime.c | 29

Re: [U-Boot] [PATCH v2 2/2] efi_loader: rewrite README.efi

2018-02-09 Thread Alexander Graf
On 30.01.18 20:03, Heinrich Schuchardt wrote: > Provide information about > > - usage of the bootefi command > - overview of UEFI > - interaction between U-Boot and EFI drivers > > Signed-off-by: Heinrich Schuchardt > --- > v2 > new file The patch is very hard to

Re: [U-Boot] [PATCH 1/1][for v2018.03] efi_loader: correct efi_disk_register

2018-02-09 Thread Alexander Graf
On 09.02.18 17:39, Heinrich Schuchardt wrote: > efi_disk_register should return as status code (efi_status_t). > > Disks with zero blocks should be reported as 'not ready' without throwing > an error. > > This patch solves a problem running OpenBSD on system configured with > CONFIG_BLK=n

Re: [U-Boot] [PATCH 1/1] efi_loader: add missing runtime services stubs

2018-02-09 Thread Alexander Graf
On 02.02.18 13:56, Heinrich Schuchardt wrote: > Add stubs for UpdateCapsule, QueryCapsuleCapabilities, and > QueryVariableInfo. > > Signed-off-by: Heinrich Schuchardt > --- > include/efi_api.h| 28 +--- > lib/efi_loader/efi_runtime.c |

Re: [U-Boot] [PATCH 10/10] mmc: uniphier-sd: Add Renesas SDR104/HS200 tuning support

2018-02-09 Thread Masahiro Yamada
Jaehoon, 2018-02-01 0:21 GMT+09:00 Marek Vasut : > Add code for PHY tuning required for SDR104/HS200 support on Renesas RCar. > > Signed-off-by: Marek Vasut > Cc: Jaehoon Chung > Cc: Masahiro Yamada

Re: [U-Boot] [U-Boot,v3,1/2] bcm283x: Add pinctrl driver

2018-02-09 Thread Heinrich Schuchardt
On 02/09/2018 05:41 AM, Heinrich Schuchardt wrote: > On 02/09/2018 05:12 AM, Jonathan Gray wrote: >> On Fri, Feb 09, 2018 at 04:43:09AM +0100, Heinrich Schuchardt wrote: >>> On 02/09/2018 12:55 AM, Jonathan Gray wrote: On Thu, Feb 08, 2018 at 03:44:32PM +0100, Heinrich Schuchardt wrote: >

Re: [U-Boot] [PATCH v3 11/18] efi_loader: make efi_disk_create_partitions a global symbol

2018-02-09 Thread Heinrich Schuchardt
On 02/09/2018 10:44 AM, Artturi Alm wrote: > On Fri, Feb 09, 2018 at 05:07:52AM +0100, Heinrich Schuchardt wrote: >> On 02/09/2018 01:15 AM, Jonathan Gray wrote: >>> On Fri, Jan 19, 2018 at 08:24:47PM +0100, Heinrich Schuchardt wrote: Up to now we have been using efi_disk_create_partitions()

[U-Boot] [PATCH 1/1][for v2018.03] efi_loader: correct efi_disk_register

2018-02-09 Thread Heinrich Schuchardt
efi_disk_register should return as status code (efi_status_t). Disks with zero blocks should be reported as 'not ready' without throwing an error. This patch solves a problem running OpenBSD on system configured with CONFIG_BLK=n (e.g. i.MX6). Signed-off-by: Heinrich Schuchardt

Re: [U-Boot] [PATCH v2 4/7] arm: dts: sunxi: update A64 to new EMAC binding

2018-02-09 Thread André Przywara
On 09/02/18 15:58, Samuel Holland wrote: > On 02/08/18 19:30, Andre Przywara wrote: >> The U-Boot driver for the sun8i-emac was using some preliminary DT >> binding. Now since Linux got its own driver in v4.15 and our driver >> can now cope with both bindings, let's convert the DT nodes used for

Re: [U-Boot] [PATCH v4 4/4] dm: video: support increased intensity (bold)

2018-02-09 Thread Simon Glass
On 8 February 2018 at 13:47, Heinrich Schuchardt wrote: > > Support special rendition code 0 - reset attributes. > Support special rendition code 1 - increased intensity (bold). > > Signed-off-by: Heinrich Schuchardt > --- > v4 > Rename priv->fg to

Re: [U-Boot] [PATCH v2 4/7] arm: dts: sunxi: update A64 to new EMAC binding

2018-02-09 Thread Samuel Holland
On 02/08/18 19:30, Andre Przywara wrote: > The U-Boot driver for the sun8i-emac was using some preliminary DT > binding. Now since Linux got its own driver in v4.15 and our driver > can now cope with both bindings, let's convert the DT nodes used for the > Pine64+ board over to the new bindings

[U-Boot] [PATCH] mmc: Fix uninitialised priv member

2018-02-09 Thread Alex Kiernan
When using omap_hsmmc without the device model then the allocation of mmc->priv ends up uninitialised. Signed-off-by: Alex Kiernan --- I've a board (AM335xx based) which boots fine with 2018-01, with 2018-03-rc1 (actually 1811a92) it fails in the MLO: U-Boot SPL

[U-Boot] [PATCH v2 3/5] arch-stm32: Factorize stm32.h for STM32F4 and F7

2018-02-09 Thread patrice.chotard
From: Patrice Chotard For STM32F4 and F7 SoCx family, a specific stm32.h file exists. Some common defines are duplicated or even unused in each of these stm32.h. Factorize all common definition in arch/arm/include/asm/stm32f.h and keep specific definitions in each

[U-Boot] [PATCH v2 4/5] arch-stm32: Remove stm32_periph.h

2018-02-09 Thread patrice.chotard
From: Patrice Chotard Remove arch/arm/include/asm/arch-stm32fx/stm32_periph.h as all defines or enums are no more used. Signed-off-by: Patrice Chotard --- v2: _ none arch/arm/include/asm/arch-stm32f4/stm32_periph.h | 38

[U-Boot] [PATCH v2 5/5] arch-stm32: Clean arch-stm32f7/syscfg.h

2018-02-09 Thread patrice.chotard
From: Patrice Chotard Remove all unused defines Signed-off-by: Patrice Chotard --- v2: _none arch/arm/include/asm/arch-stm32f7/syscfg.h | 9 - 1 file changed, 9 deletions(-) diff --git a/arch/arm/include/asm/arch-stm32f7/syscfg.h

[U-Boot] [PATCH v2 1/5] arch-stm32f4: Remove fmc.h file

2018-02-09 Thread patrice.chotard
From: Patrice Chotard fmc.h file is no more used, remove it. All FMC related defines are declared in drivers/ram/stm32_sdram.c which is common to all STM32 SoCs. Signed-off-by: Patrice Chotard --- v2: _ none

[U-Boot] [PATCH v2 2/5] arch-stm32: Move gpio.h for STM32 SoCs in include/asm/

2018-02-09 Thread patrice.chotard
From: Patrice Chotard Instead to have 3 identical gpio.h for all STM32 SoCs, migrate them in one file in include/asm. Signed-off-by: Patrice Chotard --- v2: _ create arch/arm/include/asm/arch-stm32 directory and move gpio.h in it.

[U-Boot] [PATCH v2 0/5] STM32: Clean unused and factorize .h files in arch-stm32

2018-02-09 Thread patrice.chotard
From: Patrice Chotard Removes unused .h files in arch/arm/include/asm/arch-stm32xx Factorize and clean some .h files to avoid to duplicate defines in separate .h files V2: _ create arch/arm/include/asm/arch-stm32 directory and move gpio.h and stm32f.h in it.

Re: [U-Boot] [PATCH v2 0/7] sunxi: sun8i-emac: Update DT bindings

2018-02-09 Thread Jagan Teki
On Fri, Feb 9, 2018 at 7:00 AM, Andre Przywara wrote: > Compared to the last post, this converts U-Boot's DTs over to use the > new binding, so that the final patch can remove support for the old > binding from U-Boot EMAC driver. > The Linux DTs can be synced in later

Re: [U-Boot] Allwinner H5 builds broken in master

2018-02-09 Thread Jagan Teki
On Fri, Feb 9, 2018 at 5:07 PM, Andre Przywara wrote: > Hi, > > while testing the EMAC DT series yesterday, I realised that the current > HEAD fails to build some H5 boards, due to breaking our infamous size limit: > nanopi_neo_plus2: > u-boot.itb exceeds file size limit:

[U-Boot] Allwinner H5 builds broken in master

2018-02-09 Thread Andre Przywara
Hi, while testing the EMAC DT series yesterday, I realised that the current HEAD fails to build some H5 boards, due to breaking our infamous size limit: nanopi_neo_plus2: u-boot.itb exceeds file size limit: limit: 516096 bytes actual: 516188 bytes excess: 92 bytes orangepi_pc2: u-boot.itb

Re: [U-Boot] [PATCH v2 1/7] sunxi: gpio: add missing compatible strings

2018-02-09 Thread Andre Przywara
Hi, On 09/02/18 11:21, Jagan Teki wrote: > On Fri, Feb 9, 2018 at 7:00 AM, Andre Przywara wrote: >> The sunxi GPIO driver is missing some compatible strings for recent >> SoCs. While most of the sunxi GPIO code seems to not rely on this (and >> so works anyway), the

Re: [U-Boot] [PATCH v2 1/7] sunxi: gpio: add missing compatible strings

2018-02-09 Thread Jagan Teki
On Fri, Feb 9, 2018 at 7:00 AM, Andre Przywara wrote: > The sunxi GPIO driver is missing some compatible strings for recent > SoCs. While most of the sunxi GPIO code seems to not rely on this (and > so works anyway), the sunxi_name_to_gpio() function does and fails at >

[U-Boot] [PATCH v1 1/2] mmc: Fix bug in sd_set_card_speed()

2018-02-09 Thread Jean-Jacques Hiblot
After settings the speed of the sd with the switch command, a check is done to make sure that the new speed has been set. The current check has a masking error: speed are encoded on 4 bits only. Fix it by masking the upper bits. This fixes a problem seen with QEmu emulating a vexpress-a15.

[U-Boot] [PATCH v1 0/2]

2018-02-09 Thread Jean-Jacques Hiblot
This series is about fixing 2 issues: - SD breakage with QEmu / vexpress-a15 - incorrect version identification for MMC above version 4.41 (included) Thanks to Jonathan Gray and eil Eilmsteiner Heribert for reporting them. Jean-Jacques Hiblot (2): mmc: Fix bug in sd_set_card_speed() mmc:

[U-Boot] [PATCH v1 2/2] mmc: fix bug in mmc_startup_v4()

2018-02-09 Thread Jean-Jacques Hiblot
The correspondence between mmc versions as used in u-boot and the version numbers reported in register EXT_CSD_REV is wrong for versions above and including MMC_VERSION_4_41. All those versions were shifted by one: real 4.5 hardware appeared to be MMC_VERSION_5_0. Fix this by adding the missing

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

2018-02-09 Thread Jagan Teki
On Tue, Feb 6, 2018 at 9:19 PM, Maxime Ripard wrote: > 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

Re: [U-Boot] [U-Boot, v2, 2/2] pinctrl-uclass: convert to use live dt

2018-02-09 Thread Philipp Tomsich
> Use live dt interface for pinctrl_select_state_full() > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > drivers/pinctrl/pinctrl-uclass.c | 20 +--- > 1 file changed, 5 insertions(+), 15 deletions(-) > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 4/9] ARM: rockchip: Remove the pinctrl request at rk3288-board-spl

2018-02-09 Thread Philipp Tomsich
> If we use the new pinctrl driver, the pinctrl setup will be done > by device probe. Remove the pinctrl setup at rk3288-board-spl. > > Signed-off-by: David Wu > --- > > arch/arm/mach-rockchip/rk3288-board-spl.c | 79 > --- > 1 file

Re: [U-Boot] [U-Boot, 8/9] pinctrl: rockchip: Clean the unused rockchip pinctrl drivers

2018-02-09 Thread Philipp Tomsich
> If we used the pinctrl-rockchip driver, these code is not needed, > so remove them. > > Signed-off-by: David Wu > --- > > drivers/pinctrl/rockchip/Makefile | 15 - > drivers/pinctrl/rockchip/pinctrl_rk3036.c | 264 - >

Re: [U-Boot] [U-Boot, 9/9] ARM: dts: rk322x: Correct the uart2 default pin configuration

2018-02-09 Thread Philipp Tomsich
> To match the iomux setting of uart2 at SPL, correct the uart2 > default pin configuration, if not changed, the evb-rk3229 can't > output the log message. > > Signed-off-by: David Wu > --- > > arch/arm/dts/rk322x.dtsi | 11 +-- > 1 file changed, 9

Re: [U-Boot] [U-Boot, 7/9] rockchip: defconfig: Clean the unused pinctrl config

2018-02-09 Thread Philipp Tomsich
> If we used the pinctrl-rockchip driver, these config is not needed, > so remove them. > > Signed-off-by: David Wu > --- > > configs/chromebit_mickey_defconfig | 2 -- > configs/chromebook_jerry_defconfig | 2 -- > configs/chromebook_minnie_defconfig | 2 -- >

Re: [U-Boot] [U-Boot, 3/9] ARM: rockchip: Kconfig: Remove the SPL_PINCTRL for rk3188

2018-02-09 Thread Philipp Tomsich
> It seems that pinctrl is not requested for rk3188 SPL, remove it so > that can save more space for SPL image size. > > Signed-off-by: David Wu > --- > > arch/arm/mach-rockchip/Kconfig | 1 - > 1 file changed, 1 deletion(-) > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 4/9] ARM: rockchip: Remove the pinctrl request at rk3288-board-spl

2018-02-09 Thread Philipp Tomsich
> If we use the new pinctrl driver, the pinctrl setup will be done > by device probe. Remove the pinctrl setup at rk3288-board-spl. > > Signed-off-by: David Wu > --- > > arch/arm/mach-rockchip/rk3288-board-spl.c | 79 > --- > 1 file

Re: [U-Boot] [U-Boot, v2, 1/2] core: add uclass_get_device_by_phandle_id() api

2018-02-09 Thread Philipp Tomsich
> Add api for who can not get phandle from a device property. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - use uint instead of int for phandle > - address comment from Philipp > > drivers/core/uclass.c | 26 ++ >

Re: [U-Boot] [U-Boot, 8/9] pinctrl: rockchip: Clean the unused rockchip pinctrl drivers

2018-02-09 Thread Philipp Tomsich
> If we used the pinctrl-rockchip driver, these code is not needed, > so remove them. > > Signed-off-by: David Wu > --- > > drivers/pinctrl/rockchip/Makefile | 15 - > drivers/pinctrl/rockchip/pinctrl_rk3036.c | 264 - >

Re: [U-Boot] pwm-backlight: make power-supply as option

2018-02-09 Thread Philipp Tomsich
> Some pwm backlight may not need 'power-supply', let's make it as option > in pwm-backlight driver. > > Signed-off-by: Kever Yang > --- > > drivers/video/pwm_backlight.c | 24 > 1 file changed, 12 insertions(+), 12 deletions(-) >

Re: [U-Boot] [U-Boot, 7/9] rockchip: defconfig: Clean the unused pinctrl config

2018-02-09 Thread Philipp Tomsich
> If we used the pinctrl-rockchip driver, these config is not needed, > so remove them. > > Signed-off-by: David Wu > --- > > configs/chromebit_mickey_defconfig | 2 -- > configs/chromebook_jerry_defconfig | 2 -- > configs/chromebook_minnie_defconfig | 2 -- >

Re: [U-Boot] [U-Boot, 6/9] pinctrl: rockchip: Add common rockchip pinctrl driver

2018-02-09 Thread Philipp Tomsich
> Use this driver to fit all Rockchip SOCs and to support > the desired pinctrl configuration via DTS. > > Signed-off-by: David Wu > Reviewed-by: Kever Yang > Tested-by: Kever Yang > --- > >

Re: [U-Boot] [U-Boot, 3/9] ARM: rockchip: Kconfig: Remove the SPL_PINCTRL for rk3188

2018-02-09 Thread Philipp Tomsich
> It seems that pinctrl is not requested for rk3188 SPL, remove it so > that can save more space for SPL image size. > > Signed-off-by: David Wu > --- > > arch/arm/mach-rockchip/Kconfig | 1 - > 1 file changed, 1 deletion(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 9/9] ARM: dts: rk322x: Correct the uart2 default pin configuration

2018-02-09 Thread Philipp Tomsich
> To match the iomux setting of uart2 at SPL, correct the uart2 > default pin configuration, if not changed, the evb-rk3229 can't > output the log message. > > Signed-off-by: David Wu > --- > > arch/arm/dts/rk322x.dtsi | 11 +-- > 1 file changed, 9

Re: [U-Boot] [U-Boot, 5/9] rk3288: chrome: defconfig: Disable SPL_OF_PLATDATA for new pinctrl driver

2018-02-09 Thread Philipp Tomsich
> The fdedesc is requested for new pinctrl driver, disable SPL_OF_PLATDATA > to make fdedesc be built in. > > Signed-off-by: David Wu > --- > > configs/chromebit_mickey_defconfig | 2 -- > configs/chromebook_jerry_defconfig | 2 -- >

Re: [U-Boot] [U-Boot, 2/9] ARM: rockchip: rk3188: Remove the pinctrl setup and enable uart at SPL

2018-02-09 Thread Philipp Tomsich
> When the boot ROM sets up MMC we don't need to do it again. Remove the > MMC setup code entirely, but we also need to enable uart for debug message. > > Signed-off-by: David Wu > --- > > arch/arm/mach-rockchip/rk3188-board-spl.c | 42 >

Re: [U-Boot] [U-Boot, 1/9] rockchip: rk3399-evb: defconfig: Disable SPL_OF_PLATDATA for new pinctrl driver

2018-02-09 Thread Philipp Tomsich
> The fdedesc is requested for new pinctrl driver, disable SPL_OF_PLATDATA > to make fdedesc be built in. > > Signed-off-by: David Wu > --- > > configs/evb-rk3399_defconfig | 1 - > 1 file changed, 1 deletion(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [PATCH v2 4/9] mmc: reworked version lookup in mmc_startup_v4

2018-02-09 Thread Jaehoon Chung
On 02/09/2018 07:00 PM, Jean-Jacques Hiblot wrote: > Hi Heribert, > > you're right I messed up with the indexes. Thanks for catching it. > > Next time you find something, please reply to all. It will help the > maintainer, in this case Jaehoon. > > > Jaheoon, > > The problem is that a

Re: [U-Boot] [PATCH v6 00/25] Fix and extend i.MX HAB layer

2018-02-09 Thread Bryan O'Donoghue
On 09/02/18 07:27, Jagan Teki wrote: On Thu, Feb 8, 2018 at 9:47 PM, Bryan O'Donoghue wrote: I'm observing authentication issue while loading U-Boot proper, U-Boot proper now have features like SPL DM and SPL FIT etc U-Boot SPL 2018.03-rc1-00182-gb81f7c9 (Feb

Re: [U-Boot] [PATCH v2 4/9] mmc: reworked version lookup in mmc_startup_v4

2018-02-09 Thread Jean-Jacques Hiblot
Hi Heribert, you're right I messed up with the indexes. Thanks for catching it. Next time you find something, please reply to all. It will help the maintainer, in this case Jaehoon. Jaheoon, The problem is that a version is missing in the table mmc_versions[] and it results in a shift of

Re: [U-Boot] [PATCH 2/5] arch-stm32: Move gpio.h for STM32 SoCs in include/asm/

2018-02-09 Thread Patrice CHOTARD
Hi Vikas On 02/08/2018 11:19 PM, Vikas Manocha wrote: > Hi Patrice, > > On 02/08/2018 05:35 AM, Patrice CHOTARD wrote: >> Hi Vikas >> >> On 02/07/2018 08:28 PM, Vikas Manocha wrote: >>> Hi Patrice, >>> >>> On 02/07/2018 07:50 AM, patrice.chot...@st.com wrote: From: Patrice Chotard

Re: [U-Boot] [PATCH v3 11/18] efi_loader: make efi_disk_create_partitions a global symbol

2018-02-09 Thread Artturi Alm
On Fri, Feb 09, 2018 at 05:07:52AM +0100, Heinrich Schuchardt wrote: > On 02/09/2018 01:15 AM, Jonathan Gray wrote: > > On Fri, Jan 19, 2018 at 08:24:47PM +0100, Heinrich Schuchardt wrote: > > > Up to now we have been using efi_disk_create_partitions() to create > > > partitions for block devices

[U-Boot] [PATCH] armv8: sec_firmware: Remove JR3 from device tree node in all cases

2018-02-09 Thread Ruchika Gupta
JR3 was getting removed from device tree only if random number generation was successful. However, if SEC firmware is present,JR3 should be removed from device tree node irrespective of the random seed generation as SEC firmware reserves it for it's use. Not removing it in case of random number