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

2018-02-02 Thread Heinrich Schuchardt
Add stubs for UpdateCapsule, QueryCapsuleCapabilities, and QueryVariableInfo. Signed-off-by: Heinrich Schuchardt --- include/efi_api.h| 28 +--- lib/efi_loader/efi_runtime.c | 29 + 2 files changed, 54

[U-Boot] [PATCH v2 2/3] sunxi: Add A20-SOM204-EVB board

2018-02-02 Thread Stefan Mavrodiev
This is new System-On-Module platform with universal dimm socket for easy insertation. The EVB board is designed to be universal with future modules. Base features of A20-SOM204 board includes: * 1GB DDR3 RAM * AXP209 PMU * KSZ9031 Gigabit PHY * AT24C16 EEPROM

Re: [U-Boot] [U-Boot,1/1] rockchip: gpio: remove dead code

2018-02-02 Thread Philipp Tomsich
> In the following statements > if (a) return a; if (a) return c; > the second return can never be executed. > > Identified by cppcheck. > > Signed-off-by: Heinrich Schuchardt > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich

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

2018-02-02 Thread Heinrich Schuchardt
A constant needed for ResetSystem is added. Signed-off-by: Heinrich Schuchardt --- include/efi_api.h| 3 ++- lib/efi_loader/efi_runtime.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/efi_api.h b/include/efi_api.h index

Re: [U-Boot] [PATCH] configs: am335x_evm: Disable ISO and EFI partitions in SPL

2018-02-02 Thread Lokesh Vutla
On Friday 02 February 2018 06:05 PM, Faiz Abbas wrote: > ISO and EFI partition configs in SPL are selected by default. > However, they are not being used. > > Therefore, remove ISO and EFI partition support in SPL. > > Signed-off-by: Faiz Abbas Can you do a savedefconfig

Re: [U-Boot] [PATCH 3/3] sunxi: Add A20-SOM204-EVB-eMMC board

2018-02-02 Thread Maxime Ripard
On Fri, Feb 02, 2018 at 03:12:47PM +0200, Stefan Mavrodiev wrote: > On 02/02/2018 02:54 PM, Maxime Ripard wrote: > > On Fri, Feb 02, 2018 at 11:37:03AM +0200, Stefan Mavrodiev wrote: > > > A20-SOM204 board has option with onboard 16GB eMMC. The chip is wired > > > to MMC2 slot. > > > > > > This

Re: [U-Boot] [PATCH] spl: fit: move fdt_record_loadable out of ARCH_FIXUP_FDT_MEMORY guard

2018-02-02 Thread Michal Simek
On 2.2.2018 12:01, Philipp Tomsich wrote: > The fdt_record_loadable()-function was wedged between other functions > that were guarded by ARCH_FIXUP_FDT_MEMORY. This could lead to linker > errors on some configurations. > > With this change, fdt_record_loadable() is moved out of the >

Re: [U-Boot] [U-Boot, 1/4] Kconfig: usb: Sort USB_FUNCTION_* entries

2018-02-02 Thread Tom Rini
On Mon, Jan 29, 2018 at 07:21:39PM +0100, Lukasz Majewski wrote: > Lets provide alphabetical order for USB_FUNCTION_* entries of > USB_GADGET_DOWNLOAD > > Signed-off-by: Lukasz Majewski Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 1/1] efi_loader: fix building crt0 on arm

2018-02-02 Thread Andre Przywara
Hi Heinrich, On 31/01/18 18:45, Heinrich Schuchardt wrote: > Before the patch an undefined constant EFI_SUBSYSTEM was used in the > crt0 code. The current version of binutils does not swallow the error. Ah, indeed it was the switch to binutils 2.30 in my case that made the difference, not the

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

2018-02-02 Thread Rajat Srivastava
Currently in LS1088A, XIP mode in QSPI works up to 16 MB addresses. This patch enables QSPI support in XIP mode for addresses above 16 MB as well. Signed-off-by: Rajat Srivastava --- configs/ls1088aqds_qspi_SECURE_BOOT_defconfig | 1 + configs/ls1088aqds_qspi_defconfig

[U-Boot] [PATCH] MAINTAINERS: Update email address for Maxime Ripard

2018-02-02 Thread Maxime Ripard
Free Electrons is no more and is now known as Bootlin, change my email address accordingly. Signed-off-by: Maxime Ripard --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 0aecc18a6c6e..be941c1e9967

Re: [U-Boot] [U-Boot, 4/4] usb: ums: Kconfig: Select USB_FUNCTION_MASS_STORAGE when enabling 'ums' command

2018-02-02 Thread Tom Rini
On Mon, Jan 29, 2018 at 07:28:02PM +0100, Lukasz Majewski wrote: > The CONFIG_USB_FUNCTION_MASS_STORAGE must be selected when one enables > support for ums command. > > Signed-off-by: Lukasz Majewski > Reviewed-by: Jaehoon Chung Applied to u-boot/master,

Re: [U-Boot] Kconfig: usb: rockchip: Remove not needed *_defconfig USB/gadget entries

2018-02-02 Thread Tom Rini
On Mon, Jan 29, 2018 at 07:33:32PM +0100, Lukasz Majewski wrote: > After moving some USB gadget configs (USB_FUNCTIONS_*) to Kconfig it > turned out that following *_defconfig entries for RockChip are not > needed. > > Signed-off-by: Lukasz Majewski Applied to u-boot/master,

Re: [U-Boot] [U-Boot, 2/4] Kconfig: gadget: Move CONFIG_USB_FUNCTION_THOR to Kconfig

2018-02-02 Thread Tom Rini
On Mon, Jan 29, 2018 at 07:30:18PM +0100, Lukasz Majewski wrote: > This commit moves USB_FUNCTION_THOR config to Kconfig. > > Signed-off-by: Lukasz Majewski > Acked-by: Michal Simek > Reviewed-by: Jaehoon Chung Applied to

Re: [U-Boot] [U-Boot, 3/4] Kconfig: gadget: Move CONFIG_USB_FUNCTION_MASS_STORAGE to Kconfig

2018-02-02 Thread Tom Rini
On Mon, Jan 29, 2018 at 07:25:54PM +0100, Lukasz Majewski wrote: > This commit moves USB_FUNCTION_MASS_STORAGE config to Kconfig. > > Signed-off-by: Lukasz Majewski > Reviewed-by: Jaehoon Chung Applied to u-boot/master, thanks! -- Tom signature.asc

[U-Boot] [PATCH v2 3/3] sunxi: Add A20-SOM204-EVB-eMMC board

2018-02-02 Thread Stefan Mavrodiev
A20-SOM204 board has option with onboard 16GB eMMC. The chip is wired to MMC2 slot. This patch adds defconfig and dts files for this board. The dts is same with mainline kernel. Signed-off-by: Stefan Mavrodiev Acked-by: Maxime Ripard ---

Re: [U-Boot] [U-Boot, v4, 07/11] spl: add support to booting with OP-TEE

2018-02-02 Thread Dr. Philipp Tomsich
> On 25 Jan 2018, at 11:09, Bryan O'Donoghue wrote: > > On 18/01/18 11:21, Bryan O'Donoghue wrote: >> On 18/01/18 01:31, Kever Yang wrote: >>> I don't think we can reuse IH_TYPE_TEE, it use a optee.img type create by >>> mkimage and it seem use more then one cpu. >>

Re: [U-Boot] [PATCH] Build system: Don't check for CONFIG_SYS_TEXT_BASE being set

2018-02-02 Thread Masahiro Yamada
2018-02-01 0:21 GMT+09:00 Alexey Brodkin : > Hi Masahiro-san, > > On Thu, 2018-02-01 at 00:18 +0900, Masahiro Yamada wrote: >> 2018-01-31 1:28 GMT+09:00 Alexey Brodkin : >> > Hi MAsahiro-san, Tom, >> > >> > On Wed, 2018-01-31 at 01:23

[U-Boot] [PATCH] configs: am335x_evm: Disable ISO and EFI partitions in SPL

2018-02-02 Thread Faiz Abbas
ISO and EFI partition configs in SPL are selected by default. However, they are not being used. Therefore, remove ISO and EFI partition support in SPL. Signed-off-by: Faiz Abbas --- configs/am335x_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [U-Boot] [PATCH 1/1] mmc: sunxi: support cd-inverted

2018-02-02 Thread Maxime Ripard
On Thu, Feb 01, 2018 at 11:39:19PM +0100, Heinrich Schuchardt wrote: > With CONFIG_DM_MMC the BananaPi does not detect SD cards. > > The sunxi device trees use the cd-inverted property to indicate that > the card detect is inverted. > > This property is documented in Linux kernel

Re: [U-Boot] [PATCH] MAINTAINERS: Update email address for Maxime Ripard

2018-02-02 Thread Tom Rini
On Fri, Feb 02, 2018 at 01:59:06PM +0100, Maxime Ripard wrote: > Free Electrons is no more and is now known as Bootlin, change my email > address accordingly. > > Signed-off-by: Maxime Ripard You'll want to update board/sunxi/MAINTAINERS too as well, v2 please?

[U-Boot] [PATCH] usb: dwc2: Fix logic for setup of GUSBCFG->ULPI_UTMI_Sel bit

2018-02-02 Thread Alexey Brodkin
According to the databook "ULPI_UTMI_Sel" bit (#4) in GUSBCFG register selects between ULPI and UTMI+ interfaces such that: 0 - stands for UTMI+ interface 1 - stands for ULPI interface Currently implemented logic in the driver is incorrect because CONFIG_DWC2_PHY_TYPE is not a "bool" but

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

2018-02-02 Thread York Sun
On 02/02/2018 04:07 AM, Rajat Srivastava wrote: > Currently in LS1088A, XIP mode in QSPI works up to 16 MB > addresses. This patch enables QSPI support in XIP mode for > addresses above 16 MB as well. Can you write to QSPI above 16MB address? York ___

Re: [U-Boot] [U-Boot, v4, 07/11] spl: add support to booting with OP-TEE

2018-02-02 Thread Bryan O'Donoghue
On 02/02/18 15:02, Dr. Philipp Tomsich wrote: Where do we stand on this: can we reuse IH_TYPE_TEE, will be use IH_TYPE_OPTEE or will there be a new IH_TYPE_OPTEE_SPL? I think because you aren't doing anything different with the image type you can reuse IH_TYPE_TEE This +#if

Re: [U-Boot] [U-Boot, v4, 07/11] spl: add support to booting with OP-TEE

2018-02-02 Thread Dr. Philipp Tomsich
Bryan, > On 2 Feb 2018, at 16:37, Bryan O'Donoghue wrote: > > > > On 02/02/18 15:02, Dr. Philipp Tomsich wrote: >> Where do we stand on this: can we reuse IH_TYPE_TEE, will be use >> IH_TYPE_OPTEE or will there be a new IH_TYPE_OPTEE_SPL? > > I think because you

Re: [U-Boot] [PATCH 0/8] Add get_cpu_id for STM32 SoCs

2018-02-02 Thread Vikas Manocha
Hi Patrice, On 02/02/2018 12:22 AM, Patrice CHOTARD wrote: > +Christophe Priouzeau who is the requester/developper of this feature > > > On 01/31/2018 07:22 PM, Vikas Manocha wrote: >> Hi Patrice, >> >> On 01/31/2018 08:08 AM, patrice.chot...@st.com wrote: >>> From: Patrice Chotard

Re: [U-Boot] [RFC PATCH] Allow providing default environment from file

2018-02-02 Thread Rasmus Villemoes
On 2018-01-24 10:55, Rasmus Villemoes wrote: > It is sometimes useful to be able to define the entire default > environment in an external file. This implements a Kconfig option for > allowing that. ping ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH v2] MAINTAINERS: Update email address for Maxime Ripard

2018-02-02 Thread Maxime Ripard
Free Electrons is no more and is now known as Bootlin, change my email address accordingly. Signed-off-by: Maxime Ripard --- MAINTAINERS | 2 +- board/sunxi/MAINTAINERS | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MAINTAINERS

Re: [U-Boot] [PATCH v3 12/15] env: Allow to build multiple environments in Kconfig

2018-02-02 Thread Maxime Ripard
On Thu, Feb 01, 2018 at 11:06:14AM +0100, Simon Goldschmidt wrote: > On 23.01.2018 21:17, Maxime Ripard wrote: > > Now that we have everything in place in the code, let's allow to build > > multiple environments backend through Kconfig. > > > > Reviewed-by: Andre Przywara

Re: [U-Boot] [PATCH] cmd: nvedit: env_get_f must check for env_get_char error codes

2018-02-02 Thread York Sun
On 02/02/2018 10:51 AM, Maxime Ripard wrote: >>> Simon, >>> >>> This patch looks correct. But it doesn't fix NOR flash. Do you have plan >>> to add .get_char function to other drivers? Without that function, we >>> cannot get env variables before relocation. >> >> Ehrm, sorry  I don't plan

[U-Boot] [PATCH v2 6/6] mtd: nand: mxs_nand: add minimal ECC support

2018-02-02 Thread Stefan Agner
From: Stefan Agner Add support for minimum ECC strength supported by the NAND chip. This aligns with the behavior when using the fsl,use-minimum-ecc device tree property in Linux. Signed-off-by: Stefan Agner --- Changes in v2: None

[U-Boot] [PATCH v2 3/6] mtd: nand: mxs_nand: allow to enable BBT support

2018-02-02 Thread Stefan Agner
From: Stefan Agner Add config option which allows to enable on flash bad block table support. This has the same effect as when using the device tree property "nand-on-flash-bbt" in Linux. Signed-off-by: Stefan Agner --- Changes in v2: None

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

2018-02-02 Thread Maxime Ripard
Hi, On Thu, Feb 01, 2018 at 09:53:22AM +, Andre Przywara wrote: > > ie, removing only nodes marked as such that are not referenced > > anywhere in your tree (typically pinctrl nodes). It should totally be > > usable from Linux, since the usable part of the DT will remain > > untouched. > > >

[U-Boot] [PATCH 1/1] efi_loader: do_bootefi_exec should always return an EFI status code

2018-02-02 Thread Heinrich Schuchardt
The return type of do_bootefi_exec() is efi_status_t. So in case of an error we should always return an EFI status code. Signed-off-by: Heinrich Schuchardt --- cmd/bootefi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/bootefi.c b/cmd/bootefi.c

Re: [U-Boot] UDP packet sender

2018-02-02 Thread Joe Hershberger
On Tue, Jan 23, 2018 at 8:02 AM, Gaëtan Carlier wrote: > Joe, > On 01/23/2018 01:54 AM, Joe Hershberger wrote: >> On Mon, Jan 22, 2018 at 5:28 PM, Gaëtan Carlier wrote: >>> Hi Joe, >>> >>> On 01/22/2018 11:46 PM, Joe Hershberger wrote: Hi Gaëtan,

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

2018-02-02 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] [PATCH] MAINTAINERS: Update email address for Maxime Ripard

2018-02-02 Thread Maxime Ripard
On Fri, Feb 02, 2018 at 09:30:20AM -0500, Tom Rini wrote: > On Fri, Feb 02, 2018 at 01:59:06PM +0100, Maxime Ripard wrote: > > > Free Electrons is no more and is now known as Bootlin, change my email > > address accordingly. > > > > Signed-off-by: Maxime Ripard > >

[U-Boot] [PATCH 1/1] efi_loader: check initialization of EFI subsystem is successful

2018-02-02 Thread Heinrich Schuchardt
Up to now errors in the initialization of the EFI subsystems was not checked. If any initialization fails, leave the bootefi command. We do not retry initialization because this would require to undo all prior initalization steps. Suggested-by: Simon Glass Signed-off-by:

[U-Boot] [PATCH v2 4/6] mtd: nand: mxs_nand: use structure for BCH geometry

2018-02-02 Thread Stefan Agner
From: Stefan Agner Calculate BCH geometry at start and store the information in a structure. This avoids recalculation on every page access and allows to calculate ECC relevant information in one place. This patch does not change ECC layout or driver behavior in any

[U-Boot] [PATCH v2 2/6] mtd: nand: mxs_nand: use self init

2018-02-02 Thread Stefan Agner
From: Stefan Agner Instead of completing initialization via scan_bbt callback use NAND self init to initialize the GPMI (MXS) NAND controller. Suggested-by: Scott Wood Signed-off-by: Stefan Agner --- Changes in v2: None

[U-Boot] [PATCH v2 5/6] mtd: nand: mxs_nand: report correct ECC parameters

2018-02-02 Thread Stefan Agner
From: Stefan Agner Report correct ECC parameters back to the stack. Do not report bytes as we have it not immeaditly available and the Linux version also does not report it. It seems to have no aversive effect. Signed-off-by: Stefan Agner ---

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

2018-02-02 Thread David Wu
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 changed, 79 deletions(-)

Re: [U-Boot] [PATCH v2 1/3] Move CONFIG_PHY_ADDR to Kconfig

2018-02-02 Thread Calvin Johnson
Hi, > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Stefan > Mavrodiev > Sent: Friday, February 2, 2018 7:24 PM > diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index > 95b7534..c934aed 100644 > --- a/drivers/net/phy/Kconfig > +++ b/drivers/net/phy/Kconfig >

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

2018-02-02 Thread David Wu
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(-) diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig

[U-Boot] [PATCH 0/9] Add common pinctrl driver support for rockchip

2018-02-02 Thread David Wu
The common pinctrl driver for rockchip Socs, it depends the PINCTRL_FULL config. If use it, the default pinctrl setup from DTS could be configured at device probe. David Wu (9): rockchip: rk3399-evb: defconfig: Disable SPL_OF_PLATDATA for new pinctrl driver ARM: rockchip: rk3188: Remove

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

2018-02-02 Thread David Wu
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 +++ 1 file

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

2018-02-02 Thread David Wu
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(-) diff --git a/arch/arm/mach-rockchip/Kconfig

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

2018-02-02 Thread David Wu
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 insertions(+), 2 deletions(-)

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

2018-02-02 Thread Lukasz Majewski
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 spl_mmc_load_image() function, which is only compiled in if CONFIG_SPL_MMC_SUPPORT is enabled. To achieve the goal, all per mach/arch implementations eligible for

Re: [U-Boot] [PATCH] cmd: nvedit: env_get_f must check for env_get_char error codes

2018-02-02 Thread Maxime Ripard
Hi Simon, On Thu, Feb 01, 2018 at 10:16:46AM +0100, Simon Goldschmidt wrote: > On 01.02.2018 00:00, York Sun wrote: > > On 01/30/2018 10:57 PM, Simon Goldschmidt wrote: > > > env_get_f calls env_get_char to load single characters from the > > > environment. However, the return value of

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

2018-02-02 Thread Joe Hershberger
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 via > different controller. > > Signed-off-by: Michal Simek > --- > > Hi Joe, > > this is the code I have hacked a

[U-Boot] Minnowmax Turbot not supported

2018-02-02 Thread vnktux
Hi all, I have just received from ADI Engineering a MinnowBoard Turbot Quad-core (Baytrail E3845). I wanted to compile bare metal U-Boot according to the README.x86 in the doc folder. Unfortunately the board doesn't boot and doesn't print any informations on the serial port. I know that also

[U-Boot] [PATCH v2 1/6] Convert CONFIG_NAND_MXS to Kconfig

2018-02-02 Thread Stefan Agner
From: Stefan Agner This converts CONFIG_NAND_MXS to Kconfig. Signed-off-by: Stefan Agner --- Changes in v2: - Extend the patchset with "Convert CONFIG_NAND_MXS to Kconfig" patch configs/apx4devkit_defconfig| 3 ++-

[U-Boot] [PATCH v2 0/6] mtd: nand: mxs_nand: improve ECC support

2018-02-02 Thread Stefan Agner
From: Stefan Agner This patchset reworks the drivers ECC calculation to align more with the Linux driver gpmi-nand.c. It aims to implements minimal ECC support as supported by the NAND chip. The first three patches are of preparational nature, I hope that especially

Re: [U-Boot] [PATCH v2 1/3] Move CONFIG_PHY_ADDR to Kconfig

2018-02-02 Thread Calvin Johnson
> Hi, > > > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Stefan > > Mavrodiev > > Sent: Friday, February 2, 2018 7:24 PM > > > > > diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index > > 95b7534..c934aed 100644 > > --- a/drivers/net/phy/Kconfig > > +++

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

2018-02-02 Thread David Wu
Use this driver to fit all Rockchip SOCs and to support the desired pinctrl configuration via DTS. Signed-off-by: David Wu --- drivers/pinctrl/Kconfig| 98 +- drivers/pinctrl/Makefile |2 +- drivers/pinctrl/pinctrl-rockchip.c | 2440

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

2018-02-02 Thread David Wu
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 -- configs/evb-px5_defconfig

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

2018-02-02 Thread David Wu
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 -- configs/chromebook_minnie_defconfig | 2 -- 3 files

Re: [U-Boot] [PATCH] dm: serial: Initialize serial console only when it wasn't already configured

2018-02-02 Thread Lukasz Majewski
Dear All, > It may happen that the MXC serial IP block is performing some ongoing > transmission (started at e.g. board_init()) when the "initr_serial" is > called. > > As a result the serial port IP block is reset, so transmitted data is > corrupted: > > I2C: ready > DRAM: 1 GiB >

Re: [U-Boot] [PATCH 1/3] Move CONFIG_PHY_ADDR to Kconfig

2018-02-02 Thread Maxime Ripard
Hi, On Fri, Feb 02, 2018 at 11:34:04AM +0200, Stefan Mavrodiev wrote: > CONFIG_PHY_ADDR is used for old-style configuration. This makes > impossible changing the PHY address, if multiple boards share a same > config header file (for example include/configs/sunxi-common.h). > > Moving this to

Re: [U-Boot] [PATCH 2/3] sunxi: Add A20-SOM204-EVB board

2018-02-02 Thread Maxime Ripard
On Fri, Feb 02, 2018 at 11:36:46AM +0200, Stefan Mavrodiev wrote: > This is new System-On-Module platform with universal dimm socket for > easy insertation. The EVB board is designed to be universal with > future modules. Product page is located here [1]. > > Base features of A20-SOM204 board

[U-Boot] [PATCH v2 1/3] Move CONFIG_PHY_ADDR to Kconfig

2018-02-02 Thread Stefan Mavrodiev
CONFIG_PHY_ADDR is used for old-style configuration. This makes impossible changing the PHY address, if multiple boards share a same config header file (for example include/configs/sunxi-common.h). Moving this to Kconfig helps overcoming this issue. It's defined as entry inside PHYLIB section.

Re: [U-Boot] [PATCH 3/3] sunxi: Add A20-SOM204-EVB-eMMC board

2018-02-02 Thread Maxime Ripard
On Fri, Feb 02, 2018 at 11:37:03AM +0200, Stefan Mavrodiev wrote: > A20-SOM204 board has option with onboard 16GB eMMC. The chip is wired > to MMC2 slot. > > This patch adds defconfig and dts files for this board. The dts is same > with mainline kernel. > > Signed-off-by: Stefan Mavrodiev

Re: [U-Boot] [PATCH 3/3] sunxi: Add A20-SOM204-EVB-eMMC board

2018-02-02 Thread Stefan Mavrodiev
On 02/02/2018 02:54 PM, Maxime Ripard wrote: On Fri, Feb 02, 2018 at 11:37:03AM +0200, Stefan Mavrodiev wrote: A20-SOM204 board has option with onboard 16GB eMMC. The chip is wired to MMC2 slot. This patch adds defconfig and dts files for this board. The dts is same with mainline kernel.

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

2018-02-02 Thread Jonathan Gray
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. > > > > This patch introduces a new pinctrl driver that can actually

[U-Boot] [PATCH 1/3] Move CONFIG_PHY_ADDR to Kconfig

2018-02-02 Thread Stefan Mavrodiev
CONFIG_PHY_ADDR is used for old-style configuration. This makes impossible changing the PHY address, if multiple boards share a same config header file (for example include/configs/sunxi-common.h). Moving this to Kconfig helps overcoming this issue. It's defined as entry inside PHYLIB section.

Re: [U-Boot] [U-Boot, v2, 01/12] riscv: cpu: Add nx25 to support RISC-V

2018-02-02 Thread 陳建志
> Actually I have checked with checkpatch.pl and cleaned most before > sending patchs. > But it seem still left some, I will keep fixing them. > > Thanks for Tom and Wolfgang's help. > > Rick > > 2018-01-15 21:52 GMT+08:00 Tom Rini : >> On Tue, Dec 26, 2017 at 01:55:48PM

Re: [U-Boot] [PATCH 0/8] Add get_cpu_id for STM32 SoCs

2018-02-02 Thread Patrice CHOTARD
+Christophe Priouzeau who is the requester/developper of this feature On 01/31/2018 07:22 PM, Vikas Manocha wrote: > Hi Patrice, > > On 01/31/2018 08:08 AM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> This series allows to get the cpu id of STM32 SoCs

Re: [U-Boot] [PATCH 6/8] board: stm32f469-discovery: Add set_env_soc_name() in board_late_init()

2018-02-02 Thread Patrice CHOTARD
Hi Vikas On 01/31/2018 07:32 PM, Vikas Manocha wrote: > Hi, > > On 01/31/2018 08:09 AM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> Add set_env_soc_name() call in board_late_init() to set environment >> variable "soc_name" with the name of current STM32

Re: [U-Boot] FEC Clock

2018-02-02 Thread Mehmet Ali İPİN
Dear Estevam/Michael, Thank you very much for your helps/interest. By trying and error, with these lines of codes, not optimized but now I could generate 125 MHZ clock on the GPIO_16 pin, By using enable_fec_anatop_clock(0,ENET_125MHZ) ; This clock is applied to the ENET_REF_CLK input of i.mx6,

[U-Boot] [PATCH 3/3] sunxi: Add A20-SOM204-EVB-eMMC board

2018-02-02 Thread Stefan Mavrodiev
A20-SOM204 board has option with onboard 16GB eMMC. The chip is wired to MMC2 slot. This patch adds defconfig and dts files for this board. The dts is same with mainline kernel. Signed-off-by: Stefan Mavrodiev --- arch/arm/dts/Makefile | 1 +

[U-Boot] [PATCH] env: mmc/fat/ext4: make sure that the MMC sub-system is initialized before using it

2018-02-02 Thread Faiz Abbas
When booting from a non-MMC device, the MMC sub-system may not be initialized when the environment is first accessed. We need to make sure that the MMC sub-system is ready in even a non-MMC boot case. Therefore, initialize mmc during .init() of environment. Signed-off-by: Faiz Abbas

[U-Boot] [PATCH 2/3] sunxi: Add A20-SOM204-EVB board

2018-02-02 Thread Stefan Mavrodiev
This is new System-On-Module platform with universal dimm socket for easy insertation. The EVB board is designed to be universal with future modules. Product page is located here [1]. Base features of A20-SOM204 board includes: * 1GB DDR3 RAM * AXP209 PMU * KSZ9031 Gigabit

Re: [U-Boot] [PATCH 2/3] sunxi: Add A20-SOM204-EVB board

2018-02-02 Thread Jagan Teki
On Fri, Feb 2, 2018 at 3:06 PM, Stefan Mavrodiev wrote: > This is new System-On-Module platform with universal dimm socket for > easy insertation. The EVB board is designed to be universal with > future modules. Product page is located here [1]. > > Base features of A20-SOM204

[U-Boot] [PATCH] spl: fit: move fdt_record_loadable out of ARCH_FIXUP_FDT_MEMORY guard

2018-02-02 Thread Philipp Tomsich
The fdt_record_loadable()-function was wedged between other functions that were guarded by ARCH_FIXUP_FDT_MEMORY. This could lead to linker errors on some configurations. With this change, fdt_record_loadable() is moved out of the ARCH_FIXUP_FDT_MEMORY guard (plus I tried to retain alphabetical

Re: [U-Boot] [PATCH 06/15] spl: fit: implement recording of loadables into /fit-images

2018-02-02 Thread Dr. Philipp Tomsich
> On 1 Feb 2018, at 08:51, Michal Simek wrote: > > On 18.1.2018 14:17, Dr. Philipp Tomsich wrote: >> Michal, >> >>> On 18 Jan 2018, at 13:56, Michal Simek wrote: >>> >>> Hi Philipp, >>> >>> >>> 2017-09-13 21:29 GMT+02:00 Philipp Tomsich >>>