Re: [U-Boot] [PATCH v3 3/3] spl: dfu: reduce spl-dfu MLO size

2017-05-13 Thread Tom Rini
On Fri, May 12, 2017 at 08:44:31AM +, B, Ravi wrote: > Hi Tom > > Sorry for late response, some how missed this mail. > > >> > >> obj-$(CONFIG_USB_FUNCTION_DFU) += dfu.o > >> +ifndef CONFIG_SPL_BUILD > >> obj-$(CONFIG_DFU_MMC) += dfu_mmc.o > >> +endif > >> +obj-$(CONFIG_SPL_DFU_MMC) += df

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

2017-05-13 Thread Tom Rini
On Fri, May 12, 2017 at 11:08:03PM +0200, Daniel Schwierzeck wrote: > Hi Tom, > > please pull some follow-up fixes for Broadcom MIPS and some minor updates for > MIPS Boston board. > > Travis CI: https://travis-ci.org/danielschwierzeck/u-boot/builds/231519583 > > > The following changes since

[U-Boot] [PATCH] sandbox: Fix comparison of unsigned enum expression warning

2017-05-13 Thread Tom Rini
In os_dirent_get_typename() we are checking that type falls within the known values of the enum os_dirent_t. With clang-3.8 testing this value as being >= 0 results in a warning as it will always be true. This assumes of course that we are only given valid data. Given that we want to sanity chec

Re: [U-Boot] [PATCH] usb: ehci: Add Renesas RCar M3/H3 EHCI support

2017-05-13 Thread Nobuhiro Iwamatsu
Hi! 2017-05-13 22:56 GMT+09:00 Marek Vasut : > From: Hiroyuki Yokoyama > > Add a USB controller driver for the EHCI block in R8A7795/R8A7796 SoC. > This is a stopgap measure until we have proper DT support, clock and > reset framework in place, at which point we can switch to ehci-generic. > > Si

Re: [U-Boot] [PATCH 5/5] mmc: sh_sdhi: Add SDHI support

2017-05-13 Thread Nobuhiro Iwamatsu
Hi, 2017-05-13 22:51 GMT+09:00 Marek Vasut : > From: Kouei Abe > > R-Car Gen3 series have four SD card interfaces (SDHI0 to SDHI3), > two of which can also be used as MMC interfaces (SDHI2 and SDHI3). > This adds High-speed mode SD clock frequency between 25MHz and 50MHz, > 8bit/4bit bus width, h

Re: [U-Boot] [PATCH 18/23] ARM: rmobile: salvator-x: Add DVFS and PMIC support

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > Add support for rebooting the board using the ROHM BD9571MWV I2C PMIC, > but keep the CPU reboot option as a fallback. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > board/rene

Re: [U-Boot] [PATCH 23/23] ARM: rmobile: salvator-x: Add R8A7796 support

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > Add minor ifdeffery and default board config for the Salvator-XS board > with R8A7796 M3 SoC. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > board/renesas/salvator-x/MAINTAINER

Re: [U-Boot] [PATCH 3/5] mmc: sh_sdhi: Add 64-bit access to sd_buf support

2017-05-13 Thread Nobuhiro Iwamatsu
Hi! 2017-05-13 22:51 GMT+09:00 Marek Vasut : > From: Kouei Abe > > Renesas SDHI SD/MMC driver has 16-bit width bus access to SD_BUF. > This adds 64-bit width bus access to SD_BUF. > > Signed-off-by: Kouei Abe > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > Cc: Jaehoon Chung Reviewed-by: No

Re: [U-Boot] [PATCH 1/5] mmc: sh_sdhi: Fix Kconfig entry

2017-05-13 Thread Nobuhiro Iwamatsu
Hi! 2017-05-13 22:51 GMT+09:00 Marek Vasut : > The Kconfig entry depends on RMOBILE, but this was renamed > to ARCH_RMOBILE in commit 1cc95f6e1b38 (ARM: Rmobile: Rename > CONFIG_RMOBILE to CONFIG_ARCH_RMOBILE) . Fix this omission. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobu

Re: [U-Boot] [PATCH 4/5] mmc: sh_sdhi: Add MMC version 5.0 support

2017-05-13 Thread Nobuhiro Iwamatsu
Hi, 2017-05-13 22:51 GMT+09:00 Marek Vasut : > From: Kouei Abe > > Renesas SDHI SD/MMC driver did not support MMC version 5.0 devices. > This adds MMC version 5.0 device support. > > Signed-off-by: Kouei Abe > Signed-off-by: Hiroyuki Yokoyama > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyam

Re: [U-Boot] [PATCH 22/23] ARM: rmobile: salvator-x: Rename the defconfig to match the SoC

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > Rename the salvator-x_defconfig to r8a7795_salvator-x_defconfig in > preparation for the r8a7796 support on salvator-x board. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > boa

Re: [U-Boot] [PATCH 2/5] mmc: sh_sdhi: Set SD_INFOx interrupt mask before command starting

2017-05-13 Thread Nobuhiro Iwamatsu
Hi, 2017-05-13 22:51 GMT+09:00 Marek Vasut : > From: Kouei Abe > > When setting interrupt mask after command starting, an unintended > interrupt status sometimes occurs. > > Signed-off-by: Kouei Abe > Signed-off-by: Hiroyuki Yokoyama > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > Cc: Jaeho

Re: [U-Boot] [PATCH 11/23] ARM: rmobile: salvator-x: Use BIT() macro in board file

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > Cosmetic change, replace (1 << (n)) with BIT(n) . > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > board/renesas/salvator-x/salvator-x.c | 8 > 1 file changed, 4 inserti

Re: [U-Boot] [PATCH 17/23] ARM: rmobile: salvator-x: Add RAVB ethernet support

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > Add support for the AVB ethernet on the Salvator-X board. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > board/renesas/salvator-x/salvator-x.c | 46 > +

Re: [U-Boot] [PATCH 16/23] ARM: rmobile: salvator-x: Add SD support

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > Add support for the SD card slots on the Salvator-X board. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > board/renesas/salvator-x/salvator-x.c | 89 >

Re: [U-Boot] [PATCH 19/23] ARM: rmobile: salvator-x: Add USB support

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > Add support for the EHCI USB. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > board/renesas/salvator-x/salvator-x.c | 12 > configs/salvator-x_defconfig |

Re: [U-Boot] [PATCH 21/23] ARM: rmobile: salvator-x: Enable SCIF2 clock

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > There are two UARTs on the board, so enable the clock for the > second one as well. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > include/configs/salvator-x.h | 2 ++ > 1 file

Re: [U-Boot] [PATCH 14/23] ARM: rmobile: salvator-x: Zap redefined DECLARE_GLOBAL_DATA_PTR

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > The macro is used twice in the salvator-x board file, drop one. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > board/renesas/salvator-x/salvator-x.c | 1 - > 1 file changed, 1

Re: [U-Boot] [PATCH 20/23] ARM: rmobile: salvator-x: Count all DRAM in all slots

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > Instead of counting only the DRAM in the first slot, count > all the DRAM in all slots and report it accordingly. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > board/renesas/s

Re: [U-Boot] [PATCH 12/23] ARM: rmobile: salvator-x: Move OF_LIBFDT and CMD_FDT to board config

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > Move these two Kconfig symbols to the salvator-x_defconfig. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > configs/salvator-x_defconfig | 2 ++ > include/configs/rcar-gen

Re: [U-Boot] [PATCH 13/23] ARM: rmobile: salvator-x: Set default device tree

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > Set default device tree file in the salvator-x_defconfig > and use it in the environment. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > configs/salvator-x_defconfig | 1

Re: [U-Boot] [PATCH 15/23] ARM: rmobile: salvator-x: Adjust UART clock

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > The UART uses internal SCIF clock except on R8A7795 H3 WS1.0 . > Use the internal clock and ignore the early version of the chip. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- >

Re: [U-Boot] [PATCH 09/23] ARM: rmobile: Add R8A7796 support

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > Add Kconfig entry for the R8A7796 RCar M3 SoC. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > arch/arm/mach-rmobile/Kconfig.64 | 3 +++ > arch/arm/mach-rmobile/Mak

Re: [U-Boot] [PATCH 07/23] ARM: rmobile: Add R8A7796 into the CPU table

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > Add entry for the R8A7796 RCar M3 SoC into the CPU info table. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > arch/arm/mach-rmobile/cpu_info.c | 1 + > 1 file changed, 1 insert

Re: [U-Boot] [PATCH 10/23] ARM: rmobile: Allow R8A7796 Salvator-X configuration

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > The Salvator-X can have both H3 and M3 CPU on it, drop the > select R8A7795 to allow both configurations. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > arch/arm/mach-rmobile/K

Re: [U-Boot] [PATCH 05/23] ARM: rmobile: Make the Gen3 SoC configurable

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > Allow selecting the Gen3 SoC in preparation for RCar M3 . > No functional change. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > arch/arm/mach-rmobile/Kconfig.64 | 7 ++- >

Re: [U-Boot] [PATCH 06/23] ARM: rmobile: Add R8A7795 into the CPU table

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > Add entry for the R8A7795 RCar H3 SoC into the CPU info table. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > arch/arm/mach-rmobile/cpu_info.c | 1 + > 1 file changed, 1 insert

Re: [U-Boot] [PATCH 08/23] ARM: rmobile: Handle R8A7796 r1.1 in the PRR code

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > The R8A7796 r1.1 reports itself as r2.0 , add quirk into the > PRR code to fix this report. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > arch/arm/mach-rmobile/cpu_info-rcar.c

Re: [U-Boot] [PATCH 04/23] ARM: rmobile: Update link address to match latest BL2

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > Update the CONFIG_SYS_TEXT_BASE to match BL2 Rev.1.0.9 and newer, > which loads the U-Boot to 0x5000 . > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > include/configs/rcar-g

Re: [U-Boot] [PATCH 03/23] ARM: rmobile: Zap RCAR_GEN3_EXTRAM_BOOT

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:57 GMT+09:00 Marek Vasut : > This Kconfig option is not used on any board, so drop it. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > arch/arm/mach-rmobile/Kconfig.64 | 5 - > 1 file changed, 5 deletio

Re: [U-Boot] [PATCH] serial: sh: Add r8a7796 support

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:55 GMT+09:00 Marek Vasut : > From: Hiroyuki Yokoyama > > Signed-off-by: Hiroyuki Yokoyama > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > --- > drivers/serial/serial_sh.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --gi

Re: [U-Boot] [PATCH] net: ravb: Add Renesas Ethernet RAVB driver

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:54 GMT+09:00 Marek Vasut : > Add driver for the Renesas Ethernet AVB block found in RCar H3/M3. > > Signed-off-by: Marek Vasut > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > Cc: Tom Rini > Cc: Joe Hershberger > Based on work of: > Hiroyuki Y

Re: [U-Boot] [PATCH] gpio: rcar_gen3: Fix GPIO read support

2017-05-13 Thread Nobuhiro Iwamatsu
Applied to rmobile branch, thanks! 2017-05-13 22:48 GMT+09:00 Marek Vasut : > From: Kouei Abe > > This patch fixes to read the GPIO status after confirming the > INOUT setting. > > Signed-off-by: Kouei Abe > Signed-off-by: Hiroyuki Yokoyama > Cc: Hiroyuki Yokoyama > Cc: Nobuhiro Iwamatsu > Cc

[U-Boot] [PATCH] regulator: pwm: Fix handling of missing init voltage

2017-05-13 Thread Mark Kettenis
Since priv->init_voltage is an unsigned integer it can never be negative. So the current code fails to detect a missing 'regulator-init-microvolt' property and instead misconfigures the PWM device. Fix this by making the relevant members of 'struct pwm_regulator_info' signed integers. Signed-off

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

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

Re: [U-Boot] [PATCH v3 08/12] i2c: Finish dropping use of CONFIG_I2C_HARD

2017-05-13 Thread Tom Rini
On Fri, May 12, 2017 at 09:09:56PM -0600, Simon Glass wrote: > Drop use of this long-deprecated option. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.

Re: [U-Boot] [PATCH v3 07/12] i2c: omap: Modify code to work without CONFIG_I2C_HARD

2017-05-13 Thread Tom Rini
On Fri, May 12, 2017 at 09:09:55PM -0600, Simon Glass wrote: > Drop use of this long-deprecated option. > > Signed-off-by: Simon Glass > Suggested-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-B

Re: [U-Boot] [linux-sunxi] Re: [PATCH 3/3] sunxi: video: Add H3/H5 TV out driver

2017-05-13 Thread Chen-Yu Tsai
On Sat, May 13, 2017 at 11:02 PM, wrote: > 在 2017-05-13 00:06,Maxime Ripard 写道: >> >> Hi Jernej, >> >> The patch content looks fine, but there's a few things that would need >> to be addressed. >> >> On Wed, May 10, 2017 at 06:46:30PM +0200, Jernej Skrabec wrote: >>> >>> This commit adds support

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

2017-05-13 Thread Tom Rini
On Sat, May 13, 2017 at 12:51:43PM +0200, Marek Vasut wrote: > On 05/13/2017 04:33 AM, Tom Rini wrote: > > Follow the exiting logic for the i.MX options when migrating this > > option. > > > > Cc: Marek Vasut > > Signed-off-by: Tom Rini > > Reviewed-by: Marek Vasut > > Any reason why you only

Re: [U-Boot] [linux-sunxi] Re: [PATCH 3/3] sunxi: video: Add H3/H5 TV out driver

2017-05-13 Thread icenowy
在 2017-05-13 00:06,Maxime Ripard 写道: Hi Jernej, The patch content looks fine, but there's a few things that would need to be addressed. On Wed, May 10, 2017 at 06:46:30PM +0200, Jernej Skrabec wrote: This commit adds support for TV (composite) output. Signed-off-by: Jernej Skrabec --- arch

[U-Boot] [PATCH 20/23] ARM: rmobile: salvator-x: Count all DRAM in all slots

2017-05-13 Thread Marek Vasut
Instead of counting only the DRAM in the first slot, count all the DRAM in all slots and report it accordingly. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- board/renesas/salvator-x/salvator-x.c | 30 +- 1 file changed, 29 insertions(+)

[U-Boot] [PATCH 19/23] ARM: rmobile: salvator-x: Add USB support

2017-05-13 Thread Marek Vasut
Add support for the EHCI USB. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- board/renesas/salvator-x/salvator-x.c | 12 configs/salvator-x_defconfig | 6 ++ include/configs/salvator-x.h | 7 +++ 3 files changed, 25 insertion

[U-Boot] [PATCH 14/23] ARM: rmobile: salvator-x: Zap redefined DECLARE_GLOBAL_DATA_PTR

2017-05-13 Thread Marek Vasut
The macro is used twice in the salvator-x board file, drop one. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- board/renesas/salvator-x/salvator-x.c | 1 - 1 file changed, 1 deletion(-) diff --git a/board/renesas/salvator-x/salvator-x.c b/board/renesas/salvator-x/

[U-Boot] [PATCH 08/23] ARM: rmobile: Handle R8A7796 r1.1 in the PRR code

2017-05-13 Thread Marek Vasut
The R8A7796 r1.1 reports itself as r2.0 , add quirk into the PRR code to fix this report. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/cpu_info-rcar.c | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/ar

[U-Boot] [PATCH 18/23] ARM: rmobile: salvator-x: Add DVFS and PMIC support

2017-05-13 Thread Marek Vasut
Add support for rebooting the board using the ROHM BD9571MWV I2C PMIC, but keep the CPU reboot option as a fallback. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- board/renesas/salvator-x/salvator-x.c | 9 + include/configs/salvator-x.h | 12 +

[U-Boot] [PATCH 13/23] ARM: rmobile: salvator-x: Set default device tree

2017-05-13 Thread Marek Vasut
Set default device tree file in the salvator-x_defconfig and use it in the environment. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- configs/salvator-x_defconfig | 1 + include/configs/rcar-gen3-common.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-

[U-Boot] [PATCH 09/23] ARM: rmobile: Add R8A7796 support

2017-05-13 Thread Marek Vasut
Add Kconfig entry for the R8A7796 RCar M3 SoC. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/Kconfig.64 | 3 +++ arch/arm/mach-rmobile/Makefile | 1 + arch/arm/mach-rmobile/include/mach/r8a7796.h | 39 ++

[U-Boot] [PATCH 17/23] ARM: rmobile: salvator-x: Add RAVB ethernet support

2017-05-13 Thread Marek Vasut
Add support for the AVB ethernet on the Salvator-X board. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- board/renesas/salvator-x/salvator-x.c | 46 +++ configs/salvator-x_defconfig | 7 ++ include/configs/salvator-x.h

[U-Boot] [PATCH 23/23] ARM: rmobile: salvator-x: Add R8A7796 support

2017-05-13 Thread Marek Vasut
Add minor ifdeffery and default board config for the Salvator-XS board with R8A7796 M3 SoC. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- board/renesas/salvator-x/MAINTAINERS | 1 + board/renesas/salvator-x/salvator-x.c | 28 ++-- configs/

[U-Boot] [PATCH 11/23] ARM: rmobile: salvator-x: Use BIT() macro in board file

2017-05-13 Thread Marek Vasut
Cosmetic change, replace (1 << (n)) with BIT(n) . Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- board/renesas/salvator-x/salvator-x.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/board/renesas/salvator-x/salvator-x.c b/board/renesas/

[U-Boot] [PATCH 21/23] ARM: rmobile: salvator-x: Enable SCIF2 clock

2017-05-13 Thread Marek Vasut
There are two UARTs on the board, so enable the clock for the second one as well. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- include/configs/salvator-x.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/salvator-x.h b/include/configs/salvato

[U-Boot] [PATCH 07/23] ARM: rmobile: Add R8A7796 into the CPU table

2017-05-13 Thread Marek Vasut
Add entry for the R8A7796 RCar M3 SoC into the CPU info table. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/cpu_info.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rmobile/cpu_info.c b/arch/arm/mach-rmobile/cpu_info.c ind

[U-Boot] [PATCH 22/23] ARM: rmobile: salvator-x: Rename the defconfig to match the SoC

2017-05-13 Thread Marek Vasut
Rename the salvator-x_defconfig to r8a7795_salvator-x_defconfig in preparation for the r8a7796 support on salvator-x board. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- board/renesas/salvator-x/MAINTAINERS | 2 +- configs/{salvator-x_defc

[U-Boot] [PATCH 16/23] ARM: rmobile: salvator-x: Add SD support

2017-05-13 Thread Marek Vasut
Add support for the SD card slots on the Salvator-X board. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- board/renesas/salvator-x/salvator-x.c | 89 ++- configs/salvator-x_defconfig | 8 ++-- include/configs/salvator-x.h

[U-Boot] [PATCH 12/23] ARM: rmobile: salvator-x: Move OF_LIBFDT and CMD_FDT to board config

2017-05-13 Thread Marek Vasut
Move these two Kconfig symbols to the salvator-x_defconfig. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- configs/salvator-x_defconfig | 2 ++ include/configs/rcar-gen3-common.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/sa

[U-Boot] [PATCH 10/23] ARM: rmobile: Allow R8A7796 Salvator-X configuration

2017-05-13 Thread Marek Vasut
The Salvator-X can have both H3 and M3 CPU on it, drop the select R8A7795 to allow both configurations. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/Kconfig.64 | 3 +-- configs/salvator-x_defconfig | 1 + 2 files changed, 2 insertions(+),

[U-Boot] [PATCH 04/23] ARM: rmobile: Update link address to match latest BL2

2017-05-13 Thread Marek Vasut
Update the CONFIG_SYS_TEXT_BASE to match BL2 Rev.1.0.9 and newer, which loads the U-Boot to 0x5000 . Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- include/configs/rcar-gen3-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/con

[U-Boot] [PATCH 15/23] ARM: rmobile: salvator-x: Adjust UART clock

2017-05-13 Thread Marek Vasut
The UART uses internal SCIF clock except on R8A7795 H3 WS1.0 . Use the internal clock and ignore the early version of the chip. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- board/renesas/salvator-x/salvator-x.c | 4 ++-- include/configs/salvator-x.h | 5 +

[U-Boot] [PATCH 05/23] ARM: rmobile: Make the Gen3 SoC configurable

2017-05-13 Thread Marek Vasut
Allow selecting the Gen3 SoC in preparation for RCar M3 . No functional change. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/Kconfig.64 | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-rmobile/Kconfig.64

[U-Boot] [PATCH 06/23] ARM: rmobile: Add R8A7795 into the CPU table

2017-05-13 Thread Marek Vasut
Add entry for the R8A7795 RCar H3 SoC into the CPU info table. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/cpu_info.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rmobile/cpu_info.c b/arch/arm/mach-rmobile/cpu_info.c ind

[U-Boot] [PATCH 03/23] ARM: rmobile: Zap RCAR_GEN3_EXTRAM_BOOT

2017-05-13 Thread Marek Vasut
This Kconfig option is not used on any board, so drop it. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/Kconfig.64 | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/mach-rmobile/Kconfig.64 b/arch/arm/mach-rmobile/Kconfig.64 inde

[U-Boot] [PATCH 01/23] ARM: rmobile: Update R8A7795 PFC and GPIO tables

2017-05-13 Thread Marek Vasut
Sync the PFC and GPIO tables with the latest 3.5.3 release from Renesas . This adds ES2.0 support. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/include/mach/r8a7795-gpio.h | 182 +-- arch/arm/mach-rmobile/pfc-r8a7795.c | 1465 +

[U-Boot] [PATCH] usb: ehci: Add Renesas RCar M3/H3 EHCI support

2017-05-13 Thread Marek Vasut
From: Hiroyuki Yokoyama Add a USB controller driver for the EHCI block in R8A7795/R8A7796 SoC. This is a stopgap measure until we have proper DT support, clock and reset framework in place, at which point we can switch to ehci-generic. Signed-off-by: Hiroyuki Yokoyama Signed-off-by: Marek Vasut

[U-Boot] [PATCH] serial: sh: Add r8a7796 support

2017-05-13 Thread Marek Vasut
From: Hiroyuki Yokoyama Signed-off-by: Hiroyuki Yokoyama Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu --- drivers/serial/serial_sh.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/serial/serial_sh.h b/drivers/serial/serial_sh.h index 348f544d0a..4d27122243 100644

[U-Boot] [PATCH] net: ravb: Add Renesas Ethernet RAVB driver

2017-05-13 Thread Marek Vasut
Add driver for the Renesas Ethernet AVB block found in RCar H3/M3. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu Cc: Tom Rini Cc: Joe Hershberger Based on work of: Hiroyuki Yokoyama Takeshi Kihara Kazuya Mizuguchi --- drivers/net/Kconfig | 8 + drivers/net/Make

[U-Boot] [PATCH 5/5] mmc: sh_sdhi: Add SDHI support

2017-05-13 Thread Marek Vasut
From: Kouei Abe R-Car Gen3 series have four SD card interfaces (SDHI0 to SDHI3), two of which can also be used as MMC interfaces (SDHI2 and SDHI3). This adds High-speed mode SD clock frequency between 25MHz and 50MHz, 8bit/4bit bus width, high capacity and low voltage device support. Signed-off-

[U-Boot] [PATCH 4/5] mmc: sh_sdhi: Add MMC version 5.0 support

2017-05-13 Thread Marek Vasut
From: Kouei Abe Renesas SDHI SD/MMC driver did not support MMC version 5.0 devices. This adds MMC version 5.0 device support. Signed-off-by: Kouei Abe Signed-off-by: Hiroyuki Yokoyama Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu Cc: Jaehoon Chung --- arch/arm/mac

[U-Boot] [PATCH 3/5] mmc: sh_sdhi: Add 64-bit access to sd_buf support

2017-05-13 Thread Marek Vasut
From: Kouei Abe Renesas SDHI SD/MMC driver has 16-bit width bus access to SD_BUF. This adds 64-bit width bus access to SD_BUF. Signed-off-by: Kouei Abe Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu Cc: Jaehoon Chung --- arch/arm/mach-rmobile/include/mach/sh_sdhi.h | 8 +++-- drivers/mmc/sh_s

[U-Boot] [PATCH 2/5] mmc: sh_sdhi: Set SD_INFOx interrupt mask before command starting

2017-05-13 Thread Marek Vasut
From: Kouei Abe When setting interrupt mask after command starting, an unintended interrupt status sometimes occurs. Signed-off-by: Kouei Abe Signed-off-by: Hiroyuki Yokoyama Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu Cc: Jaehoon Chung --- drivers/mmc/sh_sdhi.c | 4 ++-- 1 file changed, 2

[U-Boot] [PATCH 1/5] mmc: sh_sdhi: Fix Kconfig entry

2017-05-13 Thread Marek Vasut
The Kconfig entry depends on RMOBILE, but this was renamed to ARCH_RMOBILE in commit 1cc95f6e1b38 (ARM: Rmobile: Rename CONFIG_RMOBILE to CONFIG_ARCH_RMOBILE) . Fix this omission. Signed-off-by: Marek Vasut Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu Cc: Jaehoon Chung --- drivers/mmc/Kconfig

[U-Boot] [PATCH] gpio: rcar_gen3: Fix GPIO read support

2017-05-13 Thread Marek Vasut
From: Kouei Abe This patch fixes to read the GPIO status after confirming the INOUT setting. Signed-off-by: Kouei Abe Signed-off-by: Hiroyuki Yokoyama Cc: Hiroyuki Yokoyama Cc: Nobuhiro Iwamatsu Cc: Tom Rini --- drivers/gpio/sh_pfc.c | 17 +++-- 1 file changed, 11 insertions(+)

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

2017-05-13 Thread Adam Ford
Enable TI_COMMON_CMD_OPTIONS and remove similar options from the defconfig. Updated with savedefconfig CMD_USB isn't enabled yet. I have some testing to do with musb. Signed-off-by: Adam Ford diff --git a/board/logicpd/omap3som/Kconfig b/board/logicpd/omap3som/Kconfig index 03d272a..68d40dc 10

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

2017-05-13 Thread Adam Ford
Now that CMD_POWEROFF can turn off the twl4030, let's imply that just incase someone wants to disable it. Signed-off-by: Adam Ford --- drivers/power/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index a7d56e6..d8c107e 100644 --- a/driv

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

2017-05-13 Thread Marek Vasut
On 05/13/2017 04:33 AM, Tom Rini wrote: > Follow the exiting logic for the i.MX options when migrating this > option. > > Cc: Marek Vasut > Signed-off-by: Tom Rini Reviewed-by: Marek Vasut Any reason why you only converted the OMAP and iMX6 stuff and not the rest, like MXC, MXS etc. ? -- Be

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

2017-05-13 Thread Marek Vasut
On 05/13/2017 04:33 AM, Tom Rini wrote: > Migrate the rest of the users of CONFIG_USB_EHCI_HCD over to Kconfig. > For a few SoCs, imply or default y this if USB is enabled. In some > cases we had not already migrated to CONFIG_USB so do that as well. > > Cc: Marek Vasut > Signed-off-by: Tom Rini

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

2017-05-13 Thread Marek Vasut
On 05/13/2017 04:33 AM, Tom Rini wrote: > The following options are migrated over fully now: > - USB_EHCI_ATMEL > - USB_EHCI_MARVELL > - USB_EHCI_MX6 > - USB_EHCI_MX7 > - USB_EHCI_MSM > - USB_EHCI_ZYNQ > - USB_EHCI_GENERIC > > This also requires fixing the depends on USB_EHCI_MARVELL as it's used

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

2017-05-13 Thread Marek Vasut
On 05/13/2017 04:33 AM, Tom Rini wrote: > In order to be able to migrate the various SoC EHCI CONFIG options we > first need to finish the switch from CONFIG_USB_EHCI to > CONFIG_USB_EHCI_HCD. > > Cc: Marek Vasut > Signed-off-by: Tom Rini Reviewed-by: Marek Vasut -- Best regards, Marek Vasut

Re: [U-Boot] [PATCH 3/3] marvell: armada385: Add the Turris Omnia board

2017-05-13 Thread Andreas Färber
Hi Marek, Thanks for working on this. Am 12.05.2017 um 16:10 schrieb Marek Behún: > The Turris Omnia is a open-source router created by CZ.NIC. > > The code is based on the Marvell/db-88f6820-gp by Stefan Roese > with modifications from Tomas Hlavacek in the CZ.NIC turris-omnia-uboot > repositor

Re: [U-Boot] Machine ID

2017-05-13 Thread Chris Packham
On Fri, May 12, 2017 at 9:53 PM, Vic wrote: > Hi All. > > I'm having difficulty with getting a board booting Linux from U-boot. This > is an existing unit, so I don't get much choice over changing versions of > kernel of U-boot. > > bdinfo gives me the machine ID I expect, but when I try to boot m