Re: [U-Boot] [PATCH V2 01/20] imx: mx7ulp: Add mx7ulp to Kconfig

2017-02-12 Thread Stefano Babic
On 27/12/2016 11:04, Peng Fan wrote: > i.MX7ULP is a new series SoC which has different architecture > from previous i.MX platforms. Create a new cpu folder for it, > and add it to Kconfig. > > Signed-off-by: Peng Fan > Signed-off-by: Ye Li > Cc: Stefano Babic

Re: [U-Boot] [PATCH V2 05/20] imx: mx7ulp: Add soc level initialization codes and functions

2017-02-12 Thread Stefano Babic
Hi Peng, On 27/12/2016 11:04, Peng Fan wrote: > Implement soc level functions to get cpu rev, reset cause, enable cache, > etc. We will disable the wdog and init clocks in s_init at very early u-boot > phase. > > Since the we are seeking the way to get chip id for mx7ulp, the get_cpu_rev > is

Re: [U-Boot] [PATCH V2 08/20] gpio: Add Rapid GPIO2P driver for i.MX7ULP

2017-02-12 Thread Stefano Babic
On 27/12/2016 11:04, Peng Fan wrote: > Add the imx_rgpio2p driver for Rapid GPIO2P controllers on i.MX7ULP. > Have added all ports on RGPIO2P_0 and RGPIO2P_1. > > The configurations CONFIG_IMX_RGPIO2P and CONFIG_DM_GPIO must be set > to y to enable the drivers. > > To use the GPIO function,

Re: [U-Boot] [PATCH V2 06/20] imx: mx7ulp: handle all the lpuarts in get_lpuart_clk

2017-02-12 Thread Stefano Babic
On 27/12/2016 11:04, Peng Fan wrote: > Add handle the lpuarts in get_lpuart_clk. > > Signed-off-by: Peng Fan > Signed-off-by: Ye Li > Cc: Stefano Babic > --- > > V2: > None > > arch/arm/cpu/armv7/mx7ulp/clock.c | 34

Re: [U-Boot] [PATCH V2 07/20] imx: mx7ulp: Implement the clock functions for i2c driver

2017-02-12 Thread Stefano Babic
On 27/12/2016 11:04, Peng Fan wrote: > From: Ye Li > > Implement the i2c clock enable and get function for mx7ulp. These > functions are required by imx_lpi2c driver. > > Signed-off-by: Peng Fan > Signed-off-by: Ye Li > Cc: Stefano Babic

Re: [U-Boot] [PATCH V2 03/20] imx: mx7ulp: add iomux driver to support IOMUXC0 and IOMUXC1

2017-02-12 Thread Stefano Babic
Hi Peng, On 27/12/2016 11:04, Peng Fan wrote: > Add a new driver under ULP directory to support its IOMUXC > controllers. The ULP has two IOMUXC, the IOMUXC0 is used > for M4 domain, while IOMUXC1 is for A7. We set IOMUXC1 as > the default IOMUX in this driver. Any pins in IOMUXC0 needs > to

Re: [U-Boot] [PATCH V2 09/20] mxc_ocotp: Update driver to support OCOTP controller on i.MX7ULP

2017-02-12 Thread Stefano Babic
On 27/12/2016 11:04, Peng Fan wrote: > Update the mxc_ocotp driver to support i.MX7ULP. > The read/write sequence has some changes due to > PDN and OUT_STATUS registers added and TIME register is > removed. Also update the bank size and number. > > Add is_mx7ulp macro in sys_proto.h > >

[U-Boot] [PATCH 1/2] pinctrl: uniphier: support pin configuration

2017-02-12 Thread Masahiro Yamada
Support the following DT properties: "bias-disable" "bias-pull-up" "bias-pull-down" "bias-pull-pin-default" "input-enable" "input-disable" My main motivation is to support pull up/down biasing. For Pro5 and later SoCs, the pupdctrl register number is the same as the pinmux number, so

[U-Boot] [PATCH 2/2] ARM: uniphier: rename second stage loader name

2017-02-12 Thread Masahiro Yamada
For the memory footprint reason, the Boot ROM can not load the ARM Trusted Firmware BL1 directly when Trusted Board Boot is enabled. The second stage loader is Socionext's own firmware, so rename it for clarification. Signed-off-by: Masahiro Yamada ---

Re: [U-Boot] [PATCH 13/13] mips: jz47xx: Add Creator CI20 platform

2017-02-12 Thread Marek Vasut
On 02/12/2017 01:24 PM, Andreas Färber wrote: > Am 12.02.2017 um 12:55 schrieb Marek Vasut: >> On 02/12/2017 12:52 PM, Andreas Färber wrote: >>> CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y leads to this error: >>> >>> LD spl/u-boot-spl >>> mipsel-suse-linux-ld.bfd: u-boot-spl section

Re: [U-Boot] [PATCH 1/6] arm: am57xx: cl-som-am57x: fix XHCI registers base address

2017-02-12 Thread Uri Mashiach
Hi Tom, On 02/09/2017 10:29 PM, Tom Rini wrote: On Thu, Feb 09, 2017 at 09:00:26AM +0200, Uri Mashiach wrote: The following XHCI registers base address are set to OMAP5 values: OMAP_XHCI_BASE, OMAP_OCP1_SCP_BASE, OMAP_OTG_WRAPPER_BASE Captured crash for "usb start" command:

Re: [U-Boot] [PATCH V2 11/20] wdog: Add the watchdog driver for MX7ULP.

2017-02-12 Thread Stefano Babic
On 27/12/2016 11:04, Peng Fan wrote: > From: Ye Li > > This driver implements the HW WATCHDOG functions. Which needs > to set CONFIG_HW_WATCHDOG to use them. This is disabled by default for > mx7ulp. > > Use watchdog for reset cpu. Implement this in the driver. > Need to define

Re: [U-Boot] [PATCH V2 12/20] pinctrl: Add i.MX7ULP pinctrl driver

2017-02-12 Thread Stefano Babic
On 27/12/2016 11:04, Peng Fan wrote: > Add i.MX7ULP pinctrl driver. > Select CONFIG_PINCTRL_IMX7ULP to use this driver. > > Signed-off-by: Peng Fan > Cc: Simon Glass > Cc: Stefano Babic > --- > > V2: > None > >

Re: [U-Boot] [PATCH 2/6] usb: host: xhci-omap: fix double weak board_usb_init functions

2017-02-12 Thread Uri Mashiach
Hi, On 02/09/2017 05:27 PM, Tom Rini wrote: On Thu, Feb 09, 2017 at 02:35:30PM +0100, Marek Vasut wrote: On 02/09/2017 12:36 PM, Uri Mashiach wrote: Hello Marek, Hi! [...] diff --git a/drivers/usb/host/xhci-omap.c b/drivers/usb/host/xhci-omap.c index b881b19..ceee12a 100644 ---

Re: [U-Boot] [PATCH 13/13] mips: jz47xx: Add Creator CI20 platform

2017-02-12 Thread Andreas Färber
Am 12.02.2017 um 13:53 schrieb Marek Vasut: > On 02/12/2017 01:24 PM, Andreas Färber wrote: >> Am 12.02.2017 um 12:55 schrieb Marek Vasut: >>> On 02/12/2017 12:52 PM, Andreas Färber wrote: CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y leads to this error: LD spl/u-boot-spl

Re: [U-Boot] [PATCH 13/13] mips: jz47xx: Add Creator CI20 platform

2017-02-12 Thread Marek Vasut
On 02/12/2017 02:24 PM, Andreas Färber wrote: > Am 12.02.2017 um 13:53 schrieb Marek Vasut: >> On 02/12/2017 01:24 PM, Andreas Färber wrote: >>> Am 12.02.2017 um 12:55 schrieb Marek Vasut: On 02/12/2017 12:52 PM, Andreas Färber wrote: > CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y leads

Re: [U-Boot] [PATCH V2 04/20] imx: mx7ulp: Add clock framework and functions

2017-02-12 Thread Stefano Babic
Hi Peng, On 27/12/2016 11:04, Peng Fan wrote: > Add a clock framework to support SCG1/PCC2/PCC3 for A7 to support get/set > clock source, divider, clock rate and parent source. > Users need to include pcc.h to use the APIs to for peripherals clock. Each > peripheral clock is defined in enum

Re: [U-Boot] [PATCH 1/2] arm: imx6: tqma6: use CONFIG_TQM6x for SOM specific settings

2017-02-12 Thread Stefano Babic
On 03/02/2017 15:20, Markus Niebel wrote: > From: Markus Niebel > > We have a Kconfig name for the module types. Let's Use it. > Some feature selections and configurations are based on the > module. Module selection selects the CPU type. > > Signed-off-by: Markus

Re: [U-Boot] [PATCH 2/2] arm: imx6: tqma6: add support for TQMa6DL variant

2017-02-12 Thread Stefano Babic
On 03/02/2017 15:20, Markus Niebel wrote: > From: Markus Niebel > > This adds support for TQMa6DL using i.MX6DL and 1GiB DRAM > Since The module will use the same devicetree, we patch > the ram size in ft_board_setup. > > Signed-off-by: Markus Niebel

Re: [U-Boot] [PATCH 13/13] mips: jz47xx: Add Creator CI20 platform

2017-02-12 Thread Andreas Färber
Hi Marek, Am 01.12.2016 um 02:06 schrieb Marek Vasut: > From: Paul Burton > > Add support for the Creator CI20 platform based on the JZ4780 SoC. > The DTS file comes from Linux 4.6 as of revision > 78800558d104e003f9ae92e0107f1de39cf9de9f > > So far, there are still a

Re: [U-Boot] [PATCH 06/13] mmc: Add JZ47xx SD/MMC controller driver

2017-02-12 Thread Marek Vasut
On 02/12/2017 03:20 PM, Andreas Färber wrote: > Am 01.12.2016 um 02:06 schrieb Marek Vasut: >> diff --git a/drivers/mmc/jz_mmc.c b/drivers/mmc/jz_mmc.c >> new file mode 100644 >> index 000..95b3367 >> --- /dev/null >> +++ b/drivers/mmc/jz_mmc.c > [...] >> +static void jz_mmc_set_ios(struct mmc

Re: [U-Boot] [PATCH 13/13] mips: jz47xx: Add Creator CI20 platform

2017-02-12 Thread Andreas Färber
Am 12.02.2017 um 12:55 schrieb Marek Vasut: > On 02/12/2017 12:52 PM, Andreas Färber wrote: >> CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y leads to this error: >> >> LD spl/u-boot-spl >> mipsel-suse-linux-ld.bfd: u-boot-spl section `.data' will not fit in >> region `.sram' >>

Re: [U-Boot] [PATCH] tiny-printf: add static to locally used functions

2017-02-12 Thread Andreas Färber
Am 12.02.2017 um 10:08 schrieb Masahiro Yamada: > These two functions are only used in lib/tiny-printf.c . > > Signed-off-by: Masahiro Yamada > --- > > lib/tiny-printf.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Builds okay for ci20 (but does

Re: [U-Boot] [PATCH] am33xx: board: Refactor USB initialization into separate function

2017-02-12 Thread Andreas Färber
Am 06.02.2017 um 23:30 schrieb Alexandru Gagniuc: > diff --git a/arch/arm/mach-omap2/am33xx/board.c > b/arch/arm/mach-omap2/am33xx/board.c > index 190310f..f19e919 100644 > --- a/arch/arm/mach-omap2/am33xx/board.c > +++ b/arch/arm/mach-omap2/am33xx/board.c > @@ -190,11 +190,9 @@ static struct

Re: [U-Boot] [PATCH 13/13] mips: jz47xx: Add Creator CI20 platform

2017-02-12 Thread Andreas Färber
Am 12.02.2017 um 12:52 schrieb Andreas Färber: > Hi Marek, > > Am 01.12.2016 um 02:06 schrieb Marek Vasut: >> From: Paul Burton >> >> Add support for the Creator CI20 platform based on the JZ4780 SoC. >> The DTS file comes from Linux 4.6 as of revision >>

Re: [U-Boot] [PATCH 06/13] mmc: Add JZ47xx SD/MMC controller driver

2017-02-12 Thread Andreas Färber
Am 01.12.2016 um 02:06 schrieb Marek Vasut: > diff --git a/drivers/mmc/jz_mmc.c b/drivers/mmc/jz_mmc.c > new file mode 100644 > index 000..95b3367 > --- /dev/null > +++ b/drivers/mmc/jz_mmc.c [...] > +static void jz_mmc_set_ios(struct mmc *mmc) This needs to return int by now. > +{ > +

Re: [U-Boot] [PATCH V2 02/20] imx: mx7ulp: add registers header file

2017-02-12 Thread Stefano Babic
On 27/12/2016 11:04, Peng Fan wrote: > Add imx-regs.h for i.MX7ULP registers addresses definitions and some > registers structures. > > Signed-off-by: Peng Fan > Signed-off-by: Ye Li > Cc: Stefano Babic > --- > > V2: > None > >

[U-Boot] [PATCH] tiny-printf: add static to locally used functions

2017-02-12 Thread Masahiro Yamada
These two functions are only used in lib/tiny-printf.c . Signed-off-by: Masahiro Yamada --- lib/tiny-printf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tiny-printf.c b/lib/tiny-printf.c index dfa8432..6def8f9 100644 ---

[U-Boot] [PATCH v6 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-12 Thread kostap
From: Konstantin Porotchkin The USB device should linked to VBUS regulator through "vbus-supply" DTS property. This patch adds handling for "vbus-supply" property inside the USB device entry for turning on the VBUS regulator upon the host adapter probe. Signed-off-by:

Re: [U-Boot] [PATCH V2 14/20] serial: lpuart: restructure lpuart driver

2017-02-12 Thread Stefano Babic
On 27/12/2016 11:04, Peng Fan wrote: > Drop CONFIG_LPUART_32B_REG. > Move the register structure to a common file include/fsl_lpuart.h > Define lpuart_serial_platdata structure which includes the reg base and flags. > For 32Bit register access, use lpuart_read32/lpuart_write32 which handles >

Re: [U-Boot] [PATCH V2 16/20] mx7ulp: Add HAB boot support

2017-02-12 Thread Stefano Babic
On 27/12/2016 11:04, Peng Fan wrote: > Add CAAM clock functions, SEC_CONFIG[1] fuse checking, and default CSF > size for HAB support boot on mx7ulp. > > Users need to uncomment the CONFIG_SECURE_BOOT in mx7ulp_evk.h to build > secure uboot. > > Signed-off-by: Peng Fan >

Re: [U-Boot] [PATCH V2 18/20] mmc: fsl_esdhc: support i.MX7ULP

2017-02-12 Thread Stefano Babic
On 27/12/2016 11:04, Peng Fan wrote: > Add compatible property for i.MX7ULP. > Add a weak init_usdhc_clk function, i.MX7ULP use this to init the clock. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Jaehoon Chung > --- > > V2:

Re: [U-Boot] [PATCH 13/13] mips: jz47xx: Add Creator CI20 platform

2017-02-12 Thread Marek Vasut
On 02/12/2017 12:52 PM, Andreas Färber wrote: > Hi Marek, Hi! > Am 01.12.2016 um 02:06 schrieb Marek Vasut: >> From: Paul Burton >> >> Add support for the Creator CI20 platform based on the JZ4780 SoC. >> The DTS file comes from Linux 4.6 as of revision >>

Re: [U-Boot] [PATCH v6 4/6] mvebu: usb: xhci: Add VBUS regulator supply to the host driver

2017-02-12 Thread Marek Vasut
On 02/12/2017 10:10 AM, kos...@marvell.com wrote: > From: Konstantin Porotchkin > > The USB device should linked to VBUS regulator through "vbus-supply" > DTS property. > This patch adds handling for "vbus-supply" property inside the USB > device entry for turning on the VBUS

[U-Boot] [PATCH] ARM: dts: uniphier: drop u-boot, dm-pre-reloc from system-bus pinctrl node

2017-02-12 Thread Masahiro Yamada
Since commit 26b09c022ab6 ("ARM: uniphier: move SBC and Support Card init code to U-Boot proper"), SPL does not need pin-mux settings for the System Bus. Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-ld11-ref.dts | 4

Re: [U-Boot] [PATCH 2/3] flash: complete CONFIG_SYS_NO_FLASH move with renaming

2017-02-12 Thread Tom Rini
On Sat, Feb 11, 2017 at 10:43:54PM +0900, Masahiro Yamada wrote: > We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is > not completed. Finish this work by the tool. > > During this move, let's rename it to CONFIG_MTD_NOR_FLASH. > Actually, we have more instances of "#ifndef

Re: [U-Boot] [PATCH 06/10] PINCTRL: stm32f7: add pin control driver

2017-02-12 Thread Vikas MANOCHA
Thanks Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Saturday, February 11, 2017 12:20 PM > To: Vikas MANOCHA > Cc: U-Boot Mailing List ; Beniamino Galvani >

[U-Boot] [PATCH v3 01/10] serial: stm32f7: add device tree support

2017-02-12 Thread Vikas Manocha
This patch adds device tree support for stm32f7 serial driver & removes serial platform data structure. Signed-off-by: Vikas Manocha Reviewed-by: Simon Glass --- Changed in v3: None Changed in v2: None board/st/stm32f746-disco/stm32f746-disco.c | 10

[U-Boot] [PATCH v3 02/10] clk: stm32f7: add clock driver for stm32f7 family

2017-02-12 Thread Vikas Manocha
add basic clock driver support for stm32f7 to enable clocks required by the peripherals. Signed-off-by: Vikas Manocha Reviewed-by: Simon Glass --- Changed in v3: None Changed in v2: - added blank lines in code like before return and after

[U-Boot] [PATCH v3 05/10] stm32f7: clk: remove usart1 clock enable from board init

2017-02-12 Thread Vikas Manocha
Before clock driver availability it was required to enable usart1 clock for serial init but now with clock driver is taking care of usart1 clock. Signed-off-by: Vikas Manocha --- Changed in v3: None Changed in v2: None board/st/stm32f746-disco/stm32f746-disco.c | 1 -

[U-Boot] [PATCH v3 00/10] stm32f7: add clock and pin control drivers

2017-02-12 Thread Vikas Manocha
This patchset: - adds support for stm32f7 clock driver. - adds support for stm32f7 pin control driver. - adds device tree nodes for stm32f7 serial & clock. - adds stm32f7 pin control device tree sub nodes : - serial usart1 - ethernet

[U-Boot] [PATCH v3 03/10] stm32f7: serial: use clock driver to enable clock

2017-02-12 Thread Vikas Manocha
Signed-off-by: Vikas Manocha Reviewed-by: Simon Glass --- Changed in v3: None Changed in v2: - added blank lines in code like before return and after variable declaration. drivers/serial/serial_stm32x7.c | 18 ++ 1

[U-Boot] [PATCH v3 04/10] ARM: DT: stm32f7: add usart1 & clock device tree nodes

2017-02-12 Thread Vikas Manocha
Also created alias for usart1 and specified oscillator clock for stm32f7 discovery board. Signed-off-by: Vikas Manocha --- Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 5 + arch/arm/dts/stm32f746.dtsi | 27

[U-Boot] [PATCH v2] sunxi: add NanoPi NEO Air defconfig

2017-02-12 Thread Jelle van der Waa
Add support for the NanoPi NEO Air H3 board from friendlyarm.com . This board contains WiFi, Bluetooth, 8GB eMMC storage and 512 MB DDR3 ram. Signed-off-by: Jelle van der Waa --- arch/arm/dts/Makefile| 3 +- arch/arm/dts/sun8i-h3-nanopi-neo-air.dts | 97

Re: [U-Boot] [PATCH 06/13] mmc: Add JZ47xx SD/MMC controller driver

2017-02-12 Thread Andreas Färber
Am 12.02.2017 um 15:29 schrieb Marek Vasut: > On 02/12/2017 03:20 PM, Andreas Färber wrote: >> Am 01.12.2016 um 02:06 schrieb Marek Vasut: >>> diff --git a/drivers/mmc/jz_mmc.c b/drivers/mmc/jz_mmc.c >>> new file mode 100644 >>> index 000..95b3367 >>> --- /dev/null >>> +++

Re: [U-Boot] [PATCH 1/6] arm: am57xx: cl-som-am57x: fix XHCI registers base address

2017-02-12 Thread Tom Rini
On Sun, Feb 12, 2017 at 10:55:27AM +0200, Uri Mashiach wrote: > Hi Tom, > > On 02/09/2017 10:29 PM, Tom Rini wrote: > >On Thu, Feb 09, 2017 at 09:00:26AM +0200, Uri Mashiach wrote: > > > >>The following XHCI registers base address are set to OMAP5 values: > >>OMAP_XHCI_BASE, OMAP_OCP1_SCP_BASE,

Re: [U-Boot] [PATCH 2/3] flash: complete CONFIG_SYS_NO_FLASH move with renaming

2017-02-12 Thread Tom Rini
On Sun, Feb 12, 2017 at 10:44:20AM -0500, Tom Rini wrote: > On Sat, Feb 11, 2017 at 10:43:54PM +0900, Masahiro Yamada wrote: > > > We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is > > not completed. Finish this work by the tool. > > > > During this move, let's rename it to

Re: [U-Boot] [PATCH v2 02/10] clk: stm32f7: add clock driver for stm32f7 family

2017-02-12 Thread Vikas MANOCHA
Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Saturday, February 11, 2017 12:20 PM > To: Vikas MANOCHA > Cc: U-Boot Mailing List ; Albert Aribaud > ;

[U-Boot] [PATCH v3 09/10] ARM: DT: stm32f7: add ethernet pin contol node

2017-02-12 Thread Vikas Manocha
It also removes the ethernet pin configuration done during the board initialization. Signed-off-by: Vikas Manocha --- Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 1 + arch/arm/dts/stm32f746.dtsi| 14 +

[U-Boot] [PATCH v3 06/10] PINCTRL: stm32f7: add pin control driver

2017-02-12 Thread Vikas Manocha
This driver uses the same pin control binding as that of linux, binding document of this patch is copied from linux. One addition done is for GPIO input and output mode configuration which was missing. Signed-off-by: Vikas Manocha Reviewed-by: Simon Glass

[U-Boot] [PATCH v3 07/10] ARM: DT: stm32f7: add pin control device node

2017-02-12 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi index afcd327..f59eca8 100644 ---

[U-Boot] [PATCH v3 10/10] ARM: DT: stm32f7: add qspi pin contol node

2017-02-12 Thread Vikas Manocha
It also removes the qspi pin configuration done during the board initialization. Signed-off-by: Vikas Manocha --- Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 1 + arch/arm/dts/stm32f746.dtsi| 11

[U-Boot] [PATCH v3 08/10] ARM: DT: stm32f7: add pin control node for serial port pins

2017-02-12 Thread Vikas Manocha
And remove the uart pin configuration from board initialization. Signed-off-by: Vikas Manocha --- Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 6 ++ arch/arm/dts/stm32f746.dtsi| 13 +

Re: [U-Boot] [PATCH 3/3] flash: compile common/flash.c iif CONFIG_MTD_NO_FLASH is enabled

2017-02-12 Thread Tom Rini
On Sat, Feb 11, 2017 at 10:43:55PM +0900, Masahiro Yamada wrote: > The whole of common/flash.c is guarded by #if defined() ... #endif. > Move the conditional to common/Makefile. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH 2/3] flash: complete CONFIG_SYS_NO_FLASH move with renaming

2017-02-12 Thread Tom Rini
On Sat, Feb 11, 2017 at 10:43:54PM +0900, Masahiro Yamada wrote: > We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is > not completed. Finish this work by the tool. > > During this move, let's rename it to CONFIG_MTD_NOR_FLASH. > Actually, we have more instances of "#ifndef

Re: [U-Boot] [U-Boot, v3, 8/8] configs: sama5d4: move CONFIG_SYS_NO_FLASH to *defconfig

2017-02-12 Thread Andreas Bießmann
On Tue, Feb 07, 2017 at 04:01:29PM +0800, Wenyou Yang wrote: > Move CONFIG_SYS_NO_FLASH to the configs/sama5d4*_defconfig file. > > Signed-off-by: Wenyou Yang > Reviewed-by: Andreas Bießmann this one will conflict with

Re: [U-Boot] [PATCH] armv7m: Add SysTick timer driver

2017-02-12 Thread Vikas MANOCHA
Hi Phil, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Sunday, February 05, 2017 3:17 PM > To: Phil Edworthy ; Vikas MANOCHA > ; Michael Kurz > > Cc: Albert Aribaud

Re: [U-Boot] [PATCH] armv7m: Add SysTick timer driver

2017-02-12 Thread Vikas MANOCHA
Hi Phil, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Tuesday, February 07, 2017 6:34 AM > To: Tom Rini > Cc: Kamil Lulko ; Vikas MANOCHA > ; Michael Kurz ; >

Re: [U-Boot] [U-Boot, v5, 1/2] gpio: at91_gpio: Remove CPU_HAS_PIO3 macro

2017-02-12 Thread Andreas Bießmann
On Tue, Feb 07, 2017 at 02:07:18PM +0800, Wenyou Yang wrote: > The intention of this patch is the preparation to introduce > the pinctrl driver for AT91 PIO. > > Use "union" to make the PIO3 and PIO2's registers be together > and make their offset aligned. > This patch breaks on at91 devices

Re: [U-Boot] [PATCH v3 6/9] STiH410: Add STi SDHCI driver

2017-02-12 Thread Jaehoon Chung
Hi, On 02/11/2017 12:04 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add SDHCI host controller found on STMicroelectronics SoCs > > On some ST SoCs, i.e. STiH407/STiH410, the MMC devices can live > inside a dedicated flashSS sub-system that provides an

[U-Boot] [PATCH] ARM: uniphier: disable CONFIG_MTD_NOR_FLASH

2017-02-12 Thread Masahiro Yamada
This feature is seldom used these days on UniPhier boards. Signed-off-by: Masahiro Yamada --- configs/uniphier_ld11_defconfig | 1 - configs/uniphier_ld20_defconfig | 1 - configs/uniphier_ld4_sld8_defconfig | 1 - configs/uniphier_pro4_defconfig

Re: [U-Boot] [U-Boot, v2, 7/7] configs: sama5d3_xplained: move CONFIG_SYS_NO_FLASH to defconfig

2017-02-12 Thread Andreas Bießmann
On Tue, Feb 07, 2017 at 04:40:04PM +0800, Wenyou Yang wrote: > Move CONFIG_SYS_NO_FLASH to the configs/sama5d3x_xplained_*_defconfig > files. this one conflicts with e856bdcfb49291d30b19603fc101bea096c48196, just drop it from the series. Andreas > > Signed-off-by: Wenyou Yang

Re: [U-Boot] [U-Boot, v2, 4/4] configs: at91sam9x5ek: move SYS_NO_FLASH to defconfig

2017-02-12 Thread Andreas Bießmann
On Tue, Feb 07, 2017 at 05:11:35PM +0800, Wenyou Yang wrote: > Move CONFIG_SYS_NO_FLASH to the configs/sama5d4*_defconfig file. > this one conflicts with e856bdcfb49291d30b19603fc101bea096c48196, just drop it from the series. Andreas > Signed-off-by: Wenyou Yang >

Re: [U-Boot] [U-Boot, v5, 1/2] gpio: at91_gpio: Remove CPU_HAS_PIO3 macro

2017-02-12 Thread Wenyou.Yang
Hi Andreas, > -Original Message- > From: Andreas Bießmann [mailto:andr...@biessmann.org] > Sent: 2017年2月13日 7:42 > To: Tony Yang - A41535 > Cc: U-Boot Mailing List ; Stephen Warren > > Subject: Re: [U-Boot,v5,1/2]

[U-Boot] [PATCH v2] dm: core: Fix Handling of global_data moving in SPL

2017-02-12 Thread Lokesh Vutla
commit 2f11cd9121658 ("dm: core: Handle global_data moving in SPL") handles relocation of GD in SPL if spl_init() is called before board_init_r(). So, uclass_root.next need not be initialized always and accessing uclass_root.next->prev gives an abort. Update the uclass_root only if it is

[U-Boot] [PATCH v6 2/2] pinctrl: at91: Add pinctrl driver

2017-02-12 Thread Wenyou Yang
AT91 PIO controller is a combined gpio-controller, pin-mux and pin-config module. The peripheral's pins are assigned through per-pin based muxing logic. Each soc will have to describe the SoC limitation and pin configuration via DT. This will allow to do not need to touch the C code when adding

[U-Boot] [PATCH v6 1/2] gpio: at91_gpio: Remove CPU_HAS_PIO3 macro

2017-02-12 Thread Wenyou Yang
The intention of this patch is the preparation to introduce the pinctrl driver for AT91 PIO. Use "union" to make the PIO3 and PIO2's registers be together and make their offset aligned. Signed-off-by: Wenyou Yang --- Changes in v6: - Move PIO_SCDR_DIV define from mach/

[U-Boot] [PATCH v6 0/2] pinctrl: at91: Add pinctrl driver

2017-02-12 Thread Wenyou Yang
The purpose of this patch set is to add the pinctrl driver for AT91 PIO controller. Changes in v6: - Move PIO_SCDR_DIV define from mach/ to mach/at91_pio.h to fix the build error. Changes in v5: - Rebase on the master branch on git://git.denx.de/u-boot-atmel.git commit:

Re: [U-Boot] [PATCH v5 00/11] imx6ul: Add Engicam Is.IoT MX6UL support

2017-02-12 Thread Jagan Teki
Hi Stefano, On Thu, Feb 2, 2017 at 8:17 PM, Jagan Teki wrote: > From: Jagan Teki > > This patch set support Engicam Is.IoT MX6UL board support. > > Changes for v5: > - Update ccgr_init so-that it can enable required clocks > - Add new patch for

Re: [U-Boot] [PATCH v3 00/15] imx6: Engicam i.CoreM6/Is.IoT eMMC boot support

2017-02-12 Thread Jagan Teki
Hi Stefano, On Thu, Feb 2, 2017 at 8:25 PM, Jagan Teki wrote: > From: Jagan Teki > > Changes for v3: > - Update IMX6_BMODE_* shift macros with real number instead of bitops > - %s/IMX6_BMODE_SERIAL/IMX6_BMODE_SERIAL_ROM > - Assign enums with

Re: [U-Boot] [PATCH v3 1/3] sunxi: add basic V3s support

2017-02-12 Thread Maxime Ripard
On Sat, Feb 11, 2017 at 07:11:00PM +0800, Icenowy Zheng wrote: > Basic U-Boot support is now present for V3s. > > Some memory addresses are changed specially for V3s, as the original > address map cannot fit into a so small DRAM. > > As the DRAM controller code needs a big refactor, the SPL

Re: [U-Boot] [PATCH v3 2/3] sunxi: add DTSI file for V3s

2017-02-12 Thread Maxime Ripard
On Sat, Feb 11, 2017 at 07:11:01PM +0800, Icenowy Zheng wrote: > As we have now V3s support in board code, the V3s DTSI file should also > be added. > > Add also some CCU include headers to satisfy the DTSI file. > > Signed-off-by: Icenowy Zheng Acked-by: Maxime Ripard

Re: [U-Boot] [PATCH 0/3] driver: ti_qspi: Use a SYSCON device to map the ctrl_mod_mmap register

2017-02-12 Thread Vignesh R
On Tuesday 07 February 2017 09:15 PM, Jean-Jacques Hiblot wrote: > This series allows the ti_qspi driver to use the same dts description as the > linux kernel. In Linux since 4.6 the ctrl_mod_mmap is described in the DTS as > a > syscon. It used to be the 3rd memory range in "reg". > > The

[U-Boot] [PATCH] libfdt: use CONFIG_IS_ENABLED for OF_LIBFDT

2017-02-12 Thread Vignesh R
Use CONFIG_IS_ENABLED() macro to check whether OF_LIBFDT is enabled, so that code block is compiled irrespective of SPL or U-Boot build depending on CONFIG_SPL_OF_LIBFDT(for SPL) or CONFIG_OF_LIBFDT(for U-Boot). Signed-off-by: Vignesh R --- lib/fdtdec.c | 2 +- 1 file changed,

Re: [U-Boot] [PATCH 1/6] arm64: rk3399: add ddr controller driver

2017-02-12 Thread Kever Yang
Hi Simon, On 02/08/2017 01:10 PM, Simon Glass wrote: +Tom in case you have some thoughts Hi Kever, On 4 February 2017 at 18:45, Kever Yang wrote: Hi Simon, On 01/26/2017 10:23 PM, Simon Glass wrote: Hi Kever, On 18 January 2017 at 05:16, Kever Yang

Re: [U-Boot] [PATCH v2] sunxi: add NanoPi NEO Air defconfig

2017-02-12 Thread Maxime Ripard
On Sun, Feb 12, 2017 at 04:21:40PM +0100, Jelle van der Waa wrote: > Add support for the NanoPi NEO Air H3 board from friendlyarm.com . This > board contains WiFi, Bluetooth, 8GB eMMC storage and 512 MB DDR3 ram. > > Signed-off-by: Jelle van der Waa Acked-by: Maxime Ripard

Re: [U-Boot] [PATCH 2/2] i2c: sandbox: remove code snippet from Kconfig help

2017-02-12 Thread Heiko Schocher
Hello Masahiro, Am 11.02.2017 um 04:39 schrieb Masahiro Yamada: With the Kconfig re-sync with Linux 4.10, characters such as '}', ';' in Kconfig help message cause warnings: $ make defconfig *** Default configuration is based on 'sandbox_defconfig' drivers/i2c/Kconfig:132:warning: ignoring

Re: [U-Boot] [PATCH] libfdt: use CONFIG_IS_ENABLED for OF_LIBFDT

2017-02-12 Thread Masahiro Yamada
2017-02-13 16:34 GMT+09:00 Vignesh R : > Use CONFIG_IS_ENABLED() macro to check whether OF_LIBFDT is enabled, so > that code block is compiled irrespective of SPL or U-Boot build > depending on CONFIG_SPL_OF_LIBFDT(for SPL) or CONFIG_OF_LIBFDT(for > U-Boot). > > Signed-off-by:

Re: [U-Boot] [PATCH v3 3/3] sunxi: add support for Lichee Pi Zero

2017-02-12 Thread Maxime Ripard
Hi, On Sat, Feb 11, 2017 at 07:11:02PM +0800, Icenowy Zheng wrote: > @@ -0,0 +1,13 @@ > +CONFIG_ARM=y > +CONFIG_ARCH_SUNXI=y > +# CONFIG_ARMV7_NONSEC is not set Why? It doesn't have Trustzone? Thanks, Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering

Re: [U-Boot] [PATCH 2/3] drivers: ti_qspi: use syscon to get the address ctrl_mod_mmap register

2017-02-12 Thread Vignesh R
On Tuesday 07 February 2017 09:15 PM, Jean-Jacques Hiblot wrote: > We used to get the address of the optionnal ctrl_mod_mmap register as the > third memory range of the "reg" property. the linux driver moved to use a > syscon instead. In order to keep the DTS as close as possible to that of >

Re: [U-Boot] [RFC PATCH 1/6] sunxi: makes an invisible option for H3-like DRAM controllers

2017-02-12 Thread Maxime Ripard
On Sat, Feb 11, 2017 at 11:08:38PM +0800, Icenowy Zheng wrote: > Allwinner SoCs after H3 (e.g. A64, H5, R40, V3s) uses a H3-like > DesignWare DRAM controller, which do not have official free DRAM > initialization code, but can use modified dram_sun8i_h3.c. > > Add a invisible option for easier