Re: [U-Boot] U-boot 2017.07 not working on Raspberry Pi

2017-08-20 Thread Heiko Schocher
Hello Tom, Am 03.08.2017 um 19:42 schrieb Tom Rini: On Thu, Aug 03, 2017 at 09:42:13AM -0600, Stephen Warren wrote: On 08/03/2017 07:45 AM, Simon Glass wrote: ... I'm not sure if we have a Raspberry Pi in a test farm anywhere. I should be able to look next week if no one can figure these out b

Re: [U-Boot] [PATCH] rockchip: rk3288: update the mmc number for fastboot

2017-08-20 Thread Kever Yang
Hi Philipp, On 08/17/2017 04:27 PM, Dr. Philipp Tomsich wrote: On 17 Aug 2017, at 09:51, Kever Yang wrote: Hi Philipp, On 07/27/2017 09:09 PM, Dr. Philipp Tomsich wrote: On 27 Jul 2017, at 15:04, Kever Yang wrote: Philipp, On 07/27/2017 08:16 PM, Dr. Philipp Tomsich wrote: Kever, On

Re: [U-Boot] U-boot 2017.07 not working on Raspberry Pi

2017-08-20 Thread Simon Glass
Hi Paul, On 3 August 2017 at 11:42, Tom Rini wrote: > On Thu, Aug 03, 2017 at 09:42:13AM -0600, Stephen Warren wrote: >> On 08/03/2017 07:45 AM, Simon Glass wrote: >> ... >> >I'm not sure if we have a Raspberry Pi in a test farm anywhere. I >> >should be able to look next week if no one can figur

[U-Boot] [PATCH 2/2] net: nfs: Correct type of rpc_t->u.reply->data

2017-08-20 Thread Tom Rini
In rpc_t we declare data to be a uint8_t of size 2048, for a final size of 2048. We also however declare the reply part of the union to have a uint32_t data field of NFS_READ_SIZE (1024) for a final size of 4096+24=4120 and an overrun. Expand the comment above the struct to note that if NFS_READ_

[U-Boot] [PATCH 1/2] net: nfs: Drop CONFIG_NFS_READ_SIZE

2017-08-20 Thread Tom Rini
In the general case, CONFIG_NFS_READ_SIZE is unchanged from the default of 1024. There are in fact no in-tree users that increase this size. Adjust the comment to reflect what could be done in the future in conjunction with CONFIG_IP_DEFRAG. Cc: Joe Hershberger Signed-off-by: Tom Rini --- net/

[U-Boot] [PATCH] fs: ext4: Fix journal overrun issue reported by Coverity

2017-08-20 Thread Tom Rini
While &p_jdb[fs->blksz] is a valid expression (it points *one* char sized element past the end of the array, e.g. &p_jdb[fs->blksz + 1] is invalid (according to the C standard (C99/C11)). Changing this to tag = (struct ext3_journal_block_tag *)(p_jdb + ofs); Cc: Stefan Brüns Suggested-by: Stefan

[U-Boot] [PATCH] mtdparts: Fix final outstanding issue reported by Coverity

2017-08-20 Thread Tom Rini
As part of fixing the previously reported issues, it was missed that in the case of mtdparts_init() we need to make sure that tmp_ep is long enough to contain PARTITION_MAXLEN and a NULL termination. Then, to be sure the buffer is NULL terminated, zero the entire buffer rather than just ensuring t

Re: [U-Boot] common/board_f.c: remove CONFIG_SYS_GENERIC_GLOBAL_DATA

2017-08-20 Thread Tom Rini
On Tue, Aug 15, 2017 at 11:11:02PM +0200, Thomas Petazzoni wrote: > CONFIG_SYS_GENERIC_GLOBAL_DATA is no longer used by any board or > platform, so support for it can be dropped. > > Signed-off-by: Thomas Petazzoni > Reviewed-by: Vladimir Zapolskiy > Reviewed-by: Simon Glass Applied to u-boot

Re: [U-Boot] [U-Boot,v1] env: Sort selection of default choices

2017-08-20 Thread Tom Rini
On Fri, Aug 18, 2017 at 01:14:47PM +0300, Andy Shevchenko wrote: > It would be easier to catch out which platform is using which default. > > Signed-off-by: Andy Shevchenko Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] cmd/read.c: Fix checking blk_dread return value

2017-08-20 Thread Tom Rini
On Mon, Aug 14, 2017 at 08:58:50PM -0400, Tom Rini wrote: > The function blk_dread will return -ENOSYS on failure or on success the > number of blocks read, which must be the number asked to read (otherwise > it failed somewhere). Correct this check. > > Reported-by: Coverity (CID: 166335) > Cc:

Re: [U-Boot] [U-Boot, 3/3] env: Replace all open-coded gd->env_valid values with ENV_ flags

2017-08-20 Thread Tom Rini
On Sun, Aug 20, 2017 at 04:45:15AM -0600, Simon Glass wrote: > Some of these were missed in the conversion. > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U

Re: [U-Boot] arm, at91: fix taurus board

2017-08-20 Thread Tom Rini
On Wed, Aug 16, 2017 at 09:47:45AM +0200, Heiko Schocher wrote: > since commit: b529993e0222 "spl: add hierarchical defaults for SPL_LDSCRIPT" > > taurus board stopped working. Use the ldscript from > arch/arm/cpu/u-boot-spl.lds (as before this patch) fixed it. > > Signed-off-by: Heiko Schocher

Re: [U-Boot] [U-Boot,2/3] env: Allow env_load() to detect errors

2017-08-20 Thread Tom Rini
On Sun, Aug 20, 2017 at 04:45:14AM -0600, Simon Glass wrote: > Now that we have errors available in the environment driver's load() > method, check the return valid. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] fs/fat: Correct blk_dread() return value check

2017-08-20 Thread Tom Rini
On Mon, Aug 14, 2017 at 09:02:08PM -0400, Tom Rini wrote: > The function blk_dread will return -ENOSYS on failure or on success the > number of blocks read, which must be the number asked to read (otherwise > it failed somewhere). Correct this check. > > Signed-off-by: Tom Rini Applied to u-bo

Re: [U-Boot] [U-Boot, PATCHv3] env: Correct case of no sub-init function

2017-08-20 Thread Tom Rini
On Sun, Aug 20, 2017 at 11:41:40AM -0400, Tom Rini wrote: > With the change to the environment code to remove the common init stage > of pointing to the default environment and setting it as valid, combined > with the change to switch gd->env_valid from 0/1/2 to an enum we now > must set env_valid

Re: [U-Boot] ARM: hisilicon: hikey: Fix eMMC with latest ATF & U-Boot

2017-08-20 Thread Tom Rini
On Tue, Aug 15, 2017 at 05:18:16PM +0100, Peter Griffin wrote: > ATF can leave the MMC IP in a state where U-Boot mmc driver > can't enumerate the eMMC. > > This patch provides a mmc0_reset_clk() function like we > already so do sd card controller which resets the IP > when entering U-Boot. > >

Re: [U-Boot] Fix 'notes' typos

2017-08-20 Thread Tom Rini
On Fri, Aug 18, 2017 at 05:58:51PM +0200, Anatolij Gustschin wrote: > s/notes/nodes > > Signed-off-by: Anatolij Gustschin Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] spl: spl_mmc.c Correct blk_dread() return value check

2017-08-20 Thread Tom Rini
On Mon, Aug 14, 2017 at 09:01:30PM -0400, Tom Rini wrote: > The function blk_dread will return -ENOSYS on failure or on success the > number of blocks read, which must be the number asked to read (otherwise > it failed somewhere). Correct this check. > > Signed-off-by: Tom Rini Applied to u-bo

Re: [U-Boot] mtdparts: Fix various issues reported by Coverity

2017-08-20 Thread Tom Rini
On Mon, Aug 14, 2017 at 08:42:27PM -0400, Tom Rini wrote: > Now that sandbox is building cmd/mtdparts.c Coverity has looked at the > code and found a number of issues. In index_partitions() it is possible > that part will be NULL, so re-work the checks and debug statements to > take this into acc

Re: [U-Boot] [U-Boot, v2] hash: Compile only hardware or software versions of SHA algorithms

2017-08-20 Thread Tom Rini
On Mon, Aug 14, 2017 at 04:38:07PM -0400, Tom Rini wrote: > Commit 089df18bfe9d ("lib: move hash CONFIG options to Kconfig") moved > CONFIG_SHA1, CONFIG_SHA256, CONFIG_SHA_HW_ACCEL, and > CONFIG_SHA_PROG_HW_ACCEL config options to Kconfig. So in the case of > SPL, CONFIG_SPL_HASH_SUPPORT enables C

Re: [U-Boot] [U-Boot, v3] Makefile: honor PYTHON configuration properly

2017-08-20 Thread Tom Rini
On Mon, Aug 14, 2017 at 08:59:11AM +0200, Clément Bœsch wrote: > On some systems `python` is `python3` (for instance, Archlinux). The > `PYTHON` variable can be used to point to `python2` to have a successful > build. > > The use of `PYTHON` is currently limited in the Makefile and needs to be >

[U-Boot] U-Boot causes ethernet packet loss under Linux

2017-08-20 Thread Urs Schulz
Hey there, I have several issues with the newer U-Boot versions on my Banana Pi. I recently decided to upgrade some of my Banana Pis to the latest U-Boot, the last version I had there was 2015.04. Unfortunately the upgrade to 2017.05 caused weird packet-losses on the ethernet interface in Linux (

[U-Boot] [RFC PATCH 4/4] usb: net: migrate USB Ethernet adapters to Kconfig

2017-08-20 Thread Chris Packham
This migrates ASIX, ASIX88179, MCS7830, RTL8152 and SMSC95XX to Kconfig. Update defconfigs. Signed-off-by: Chris Packham --- configs/arndale_defconfig | 4 +++ configs/bayleybay_defconfig| 2 ++ configs/beaver_defconfig

[U-Boot] [RFC PATCH 3/4] usb: net: migrate CONFIG_USB_HOST_ETHER to Kconfig

2017-08-20 Thread Chris Packham
CONFIG_USB_HOST_ETHER is the framework that the drivers are dependent on USB_HOST_ETHER. Use this as a menu and move the existing LAN75XX and LAN78XX options under new menu. Finally update the defconfigs that need CONFIG_USB_HOST_ETHER. Signed-off-by: Chris Packham --- configs/apalis_imx6_defco

[U-Boot] [RFC PATCH 0/4] usb: net: Migrate USB Ethernet to Kconfig

2017-08-20 Thread Chris Packham
I ran into a few problems running moveconfig.py mainly due to boards that include a common .h file. I'm not confident I've captured all the defconfigs that need CONFIG_USB_HOST_ETHER or one of the specific drivers. Is there a more fool-proof way of catching these cases? Needless to say this probabl

Re: [U-Boot] [PATCH] spl: stm32: make falcon mode activation configurable

2017-08-20 Thread Tom Rini
On Sun, Aug 20, 2017 at 11:05:37AM -0700, Vikas Manocha wrote: > With this change, it will be possible to de-select falcon mode & spl > will only boot U-Boot. > > Signed-off-by: Vikas Manocha > Suggested-by: Bo Shen Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

[U-Boot] [PATCH] spl: stm32: make falcon mode activation configurable

2017-08-20 Thread Vikas Manocha
With this change, it will be possible to de-select falcon mode & spl will only boot U-Boot. Signed-off-by: Vikas Manocha Suggested-by: Bo Shen --- arch/arm/mach-stm32/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-stm32/Kc

[U-Boot] [PATCH] spl: fix usage of $(SPL_TPL_) for some files

2017-08-20 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- common/spl/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/spl/Makefile b/common/spl/Makefile index 112b3e6..fde0d09 100644 --- a/common/spl/Makefile +++ b/common/spl/Makefile @@ -12,9 +12,9 @@ ifdef CONFIG_SPL_BUILD obj-

Re: [U-Boot] [PATCH 4/5] mmc: uniphier-sd: Add support for quirks

2017-08-20 Thread Masahiro Yamada
2017-08-21 0:11 GMT+09:00 Marek Vasut : > Check if the OF match has any associated data and if so, use those > data as the controller quirks, otherwise fallback to the old method > of reading the controller version register to figure out the quirks. > This allows us to supply controller quirks on c

Re: [U-Boot] [PATCH 5/5] mmc: uniphier-sd: Add support for R8A7795 and R7A7796

2017-08-20 Thread Masahiro Yamada
2017-08-21 0:11 GMT+09:00 Marek Vasut : > Add OF match entries and quirks for Renesas RCar Gen3 controllers > into the driver. The IP this driver handles is in fact Matsushita > one and in used both in Socionext and Renesas chips. > > Signed-off-by: Marek Vasut > Cc: Masahiro Yamada > Cc: Jaehoon

Re: [U-Boot] [PATCH V3 3/5] mmc: uniphier-sd: Add support for 64bit FIFO

2017-08-20 Thread Masahiro Yamada
2017-08-21 0:11 GMT+09:00 Marek Vasut : > The Renesas RCar Gen3 contains the same controller, originally > Matsushita. This patch adds support for handling of the 64bit > FIFO on this controller. > > Signed-off-by: Marek Vasut > Cc: Masahiro Yamada > Cc: Jaehoon Chung > --- > V2: - Use unsigned

Re: [U-Boot] [PATCH 2/5] mmc: uniphier-sd: Add support for 64bit controller

2017-08-20 Thread Masahiro Yamada
2017-08-21 0:11 GMT+09:00 Marek Vasut : > The Renesas RCar Gen3 contains the same controller, originally > Matsushita, yet the register addresses are shifted by 1 to the > left. The whole controller is also 64bit, including the data > FIFOs and RSP registers. This patch adds support for handling >

Re: [U-Boot] [PATCH V3 1/5] mmc: uniphier-sd: Factor out register IO

2017-08-20 Thread Masahiro Yamada
2017-08-21 0:11 GMT+09:00 Marek Vasut : > This patch prepares the driver to support controller(s) with registers > at locations shifted by constant. Pull out the readl()/writel() from > the driver into separate functions, where the adjustment of the register > offset can be easily contained. > > Si

[U-Boot] [PATCHv3] env: Correct case of no sub-init function

2017-08-20 Thread Tom Rini
With the change to the environment code to remove the common init stage of pointing to the default environment and setting it as valid, combined with the change to switch gd->env_valid from 0/1/2 to an enum we now must set env_valid to one of the enum values rather than an int. And in this case, n

[U-Boot] [PATCH] mtd: cfi: staticize functions

2017-08-20 Thread Marek Vasut
Staticize a few functions and variables which are no longer exposed. Signed-off-by: Marek Vasut Cc: Stefan Roese --- drivers/mtd/cfi_flash.c | 8 include/flash.h | 5 - include/mtd/cfi_flash.h | 2 -- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/drivers/m

[U-Boot] [PATCH 08/12] ARM: rmobile: Remove Serial SH probing from ULCB board

2017-08-20 Thread Marek Vasut
Drop the Serial SH bit from the board since UART now probes from DT instead. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- board/renesas/ulcb/ulcb.c | 12 1 file changed, 12 deletions(-) diff --git a/board/renesas/ulcb/ulcb.c b/board/renesas/ulcb/ulcb.c index e249bd27d4..6b

[U-Boot] [PATCH 01/12] clk: rmobile: Split R8A7795 and R8A7796 core clock tables

2017-08-20 Thread Marek Vasut
The R8A7795 and R8A7796 tables use different constants to identify clock in DT, so split the tables and use the correct constants on R8A7795. This fixes UART clock misconfiguration on R8A7795. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- drivers/clk/renesas/clk-rcar-gen3.c | 129 +++

[U-Boot] [PATCH 12/12] ARM: rmobile: Enable MMC and USB DM on ULCB

2017-08-20 Thread Marek Vasut
Enable the MMC and USB DM on the board since it's the modern method and now supported by the drivers. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a7795_ulcb_defconfig | 2 ++ configs/r8a7796_ulcb_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/r8a7795

[U-Boot] [PATCH 02/12] ARM: rmobile: Add u-boot, dm-pre-reloc to clock nodes on Gen3

2017-08-20 Thread Marek Vasut
We need the clock available very early, add the u-boot,dm-pre-reloc DT property on those nodes, so they come up very in the process. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a7795.dtsi | 4 arch/arm/dts/r8a7796.dtsi | 4 2 files changed, 8 insertions(+) dif

[U-Boot] [PATCH 05/12] ARM: rmobile: Remove RAVB probing from Salvator-X board

2017-08-20 Thread Marek Vasut
Drop the RAVB bit from the board since RAVB now probes from DT instead. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- board/renesas/salvator-x/salvator-x.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/board/renesas/salvator-x/salvator-x.c b/board/renesas/salvator-x/sa

[U-Boot] [PATCH 04/12] ARM: rmobile: Enable HUSH parser

2017-08-20 Thread Marek Vasut
The HUSH parser was disabled somewhere along the way, reenable it. Signed-off-by: Marek Vasut Cc: Alexandru Gagniuc Cc: Joe Hershberger --- configs/r8a7795_salvator-x_defconfig | 1 + configs/r8a7795_ulcb_defconfig | 1 + configs/r8a7796_salvator-x_defconfig | 1 + configs/r8a7796_ulcb_d

[U-Boot] [PATCH 07/12] ARM: rmobile: Remove Serial SH probing from Salvator-X board

2017-08-20 Thread Marek Vasut
Drop the Serial SH bit from the board since UART now probes from DT instead. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- board/renesas/salvator-x/salvator-x.c | 12 1 file changed, 12 deletions(-) diff --git a/board/renesas/salvator-x/salvator-x.c b/board/renesas/salvato

[U-Boot] [PATCH 03/12] ARM: rmobile: Enable KSZ90X1 PHY on Salvator-X

2017-08-20 Thread Marek Vasut
Commit da3b9e7fd6a1 (Move PHY_MICREL and PHY_MICREL_KSZ90X1 to Kconfig) broke ethernet support on R8A779x Salvator-X boards by disabling the KSZ90x1 PHY in Kconfig. Reenable it. Signed-off-by: Marek Vasut Cc: Alexandru Gagniuc Cc: Joe Hershberger --- configs/r8a7795_salvator-x_defconfig | 1 +

[U-Boot] [PATCH 09/12] ARM: rmobile: Remove SH SDHI probing from Salvator-X board

2017-08-20 Thread Marek Vasut
Drop the SH SDHI bit from the board since SD now probes from DT instead. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- board/renesas/salvator-x/salvator-x.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/board/renesas/salvator-x/salvator-x.c b/board

[U-Boot] [PATCH 06/12] ARM: rmobile: Remove RAVB probing from ULCB board

2017-08-20 Thread Marek Vasut
Drop the RAVB bit from the board since RAVB now probes from DT instead. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- board/renesas/ulcb/ulcb.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/board/renesas/ulcb/ulcb.c b/board/renesas/ulcb/ulcb.c index 4005ec8ad5..e249bd27

[U-Boot] [PATCH 10/12] ARM: rmobile: Remove SH SDHI probing from ULCB board

2017-08-20 Thread Marek Vasut
Drop the SH SDHI bit from the board since SD now probes from DT instead. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- board/renesas/ulcb/ulcb.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/board/renesas/ulcb/ulcb.c b/board/renesas/ulcb/ulcb.c index 6b

[U-Boot] [PATCH 11/12] ARM: rmobile: Enable MMC and USB DM on Salvator-X

2017-08-20 Thread Marek Vasut
Enable the MMC and USB DM on the board since it's the modern method and now supported by the drivers. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a7795_salvator-x_defconfig | 2 ++ configs/r8a7796_salvator-x_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/con

[U-Boot] [PATCH 4/5] mmc: uniphier-sd: Add support for quirks

2017-08-20 Thread Marek Vasut
Check if the OF match has any associated data and if so, use those data as the controller quirks, otherwise fallback to the old method of reading the controller version register to figure out the quirks. This allows us to supply controller quirks on controllers which ie. do not have version registe

[U-Boot] [PATCH 5/5] mmc: uniphier-sd: Add support for R8A7795 and R7A7796

2017-08-20 Thread Marek Vasut
Add OF match entries and quirks for Renesas RCar Gen3 controllers into the driver. The IP this driver handles is in fact Matsushita one and in used both in Socionext and Renesas chips. Signed-off-by: Marek Vasut Cc: Masahiro Yamada Cc: Jaehoon Chung --- drivers/mmc/Kconfig | 7 --- d

[U-Boot] [PATCH 2/5] mmc: uniphier-sd: Add support for 64bit controller

2017-08-20 Thread Marek Vasut
The Renesas RCar Gen3 contains the same controller, originally Matsushita, yet the register addresses are shifted by 1 to the left. The whole controller is also 64bit, including the data FIFOs and RSP registers. This patch adds support for handling the register IO by shifting the register offset by

[U-Boot] [PATCH V3 3/5] mmc: uniphier-sd: Add support for 64bit FIFO

2017-08-20 Thread Marek Vasut
The Renesas RCar Gen3 contains the same controller, originally Matsushita. This patch adds support for handling of the 64bit FIFO on this controller. Signed-off-by: Marek Vasut Cc: Masahiro Yamada Cc: Jaehoon Chung --- V2: - Use unsigned int for the reg argument of IO accessors - Rework the

[U-Boot] [PATCH V3 1/5] mmc: uniphier-sd: Factor out register IO

2017-08-20 Thread Marek Vasut
This patch prepares the driver to support controller(s) with registers at locations shifted by constant. Pull out the readl()/writel() from the driver into separate functions, where the adjustment of the register offset can be easily contained. Signed-off-by: Marek Vasut Cc: Masahiro Yamada Cc:

Re: [U-Boot] [PATCHv2] env: Correct case of no sub-init function

2017-08-20 Thread Marek Vasut
On 08/20/2017 04:27 PM, Tom Rini wrote: > With the change to the environment code to remove the common init stage > of pointing to the default environment and setting it as valid, combined > with the change to switch gd->env_valid from 0/1/2 to an enum we now > must set env_valid to one of the enum

[U-Boot] [PATCHv2] env: Correct case of no sub-init function

2017-08-20 Thread Tom Rini
With the change to the environment code to remove the common init stage of pointing to the default environment and setting it as valid, combined with the change to switch gd->env_valid from 0/1/2 to an enum we now must set env_valid to one of the enum values rather than an int. And in this case, n

Re: [U-Boot] [PATCH 1/5] mmc: uniphier-sd: Factor out register IO

2017-08-20 Thread Masahiro Yamada
Hi Marek, 2017-08-17 20:56 GMT+09:00 Marek Vasut : > On 08/17/2017 09:01 AM, Masahiro Yamada wrote: >> 2017-08-17 15:39 GMT+09:00 Jaehoon Chung : >>> On 08/13/2017 01:55 AM, Marek Vasut wrote: On 08/10/2017 09:49 AM, Masahiro Yamada wrote: > Hi. > > > 2017-08-07 17:30 GMT+09:

[U-Boot] [GIT PULL] u-boot-uniphier/master

2017-08-20 Thread Masahiro Yamada
Hi Tom, Please pull some more UniPhier SoC changes. - Fix unmet direct dependencies warning - Remove old sLD3 SoC support - Update reset data - Add dr_mode DT property to avoid warning The following changes since commit 2629a21e209d91cdb778f43612235ed1f3029488: Merge git://git.denx.de/u-

Re: [U-Boot] [PATCH 1/5] ARM: uniphier: remove sLD3 SoC support

2017-08-20 Thread Masahiro Yamada
2017-08-13 9:01 GMT+09:00 Masahiro Yamada : > This SoC is too old. It is difficult to maintain any longer. > > Signed-off-by: Masahiro Yamada > --- Series, applied to u-boot-uniphier. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/l

[U-Boot] [PATCH 1/2] arm: mvebu: fix boot from UART on ClearFog Base

2017-08-20 Thread Baruch Siach
The ClearFog Base boot from UART when setting the DIP switches to 01001. Unfortunately, the SPL code sometimes fails to detect the UART boot method at run-time. Add an alternative SAR UART boot value to fix this. Signed-off-by: Baruch Siach --- arch/arm/mach-mvebu/include/mach/soc.h | 1 + arch/

[U-Boot] [PATCH 2/2] arm: mvebu: clearfog: document boot from UART

2017-08-20 Thread Baruch Siach
Signed-off-by: Baruch Siach --- board/solidrun/clearfog/README | 20 1 file changed, 20 insertions(+) diff --git a/board/solidrun/clearfog/README b/board/solidrun/clearfog/README index 2cfa5bfc8637..ef1e3bf42666 100644 --- a/board/solidrun/clearfog/README +++ b/board/solidru

[U-Boot] [PATCH] x86: tangier: kconfig: Guard tangier-specific options

2017-08-20 Thread Bin Meng
These options should not be exposed to other platforms. Signed-off-by: Bin Meng --- arch/x86/cpu/tangier/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/x86/cpu/tangier/Kconfig b/arch/x86/cpu/tangier/Kconfig index 86a3340..2469b1e 100644 --- a/arch/x86/cpu/tangier/Kconfig +

[U-Boot] [PATCH] x86: bayleybay: Adjust VGA rom address

2017-08-20 Thread Bin Meng
Adjust VGA rom address to 0xfffb so that u-boot.rom image can be built again. Signed-off-by: Bin Meng --- configs/bayleybay_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/bayleybay_defconfig b/configs/bayleybay_defconfig index b17113f..f85ff94 100644 -

Re: [U-Boot] [PATCH] env: Correct case of no sub-init function

2017-08-20 Thread Simon Glass
On 19 August 2017 at 20:27, Tom Rini wrote: > > With the change to the environment code to remove the common init stage > of pointing to the default environment and setting it as valid, combined > with the change to switch gd->env_valid from 0/1/2 to an enum we now > must set env_valid to one of t

[U-Boot] [PATCH 2/3] env: Allow env_load() to detect errors

2017-08-20 Thread Simon Glass
Now that we have errors available in the environment driver's load() method, check the return valid. Signed-off-by: Simon Glass --- env/env.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env/env.c b/env/env.c index 8671f13f8d..1255d57f48 100644 --- a/env/env.c +++ b/env/e

[U-Boot] [PATCH 3/3] env: Replace all open-coded gd->env_valid values with ENV_ flags

2017-08-20 Thread Simon Glass
Some of these were missed in the conversion. Signed-off-by: Simon Glass --- env/common.c | 20 ++-- env/eeprom.c | 6 +++--- env/env.c| 2 +- env/flash.c | 4 ++-- env/nand.c | 2 +- env/nvram.c | 2 +- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a

[U-Boot] [PATCH 1/3] env: Fix up invalid environment in env_init()

2017-08-20 Thread Simon Glass
This should be set to valid, not invalid. Otherwise the environment will not load after relocation. Signed-off-by: Simon Glass --- env/env.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env/env.c b/env/env.c index 2b8b9611cf..8671f13f8d 100644 --- a/env/env.c +++ b/env/en

[U-Boot] [RFC PATCH 2/4] Kconfig: drop CONFIG_USB_ETHER_RNDIS

2017-08-20 Thread Chris Packham
This is not a valid option. Drop it. Signed-off-by: Chris Packham --- include/configs/cl-som-am57x.h | 1 - include/configs/cm_t54.h | 1 - include/configs/omap3_beagle.h | 1 - include/configs/omap3_evm.h| 1 - include/configs/omap3_logic.h | 1 - include/configs/tao3530.h | 1

[U-Boot] [RFC PATCH 1/4] Kconfig: drop CONFIG_USB_ETHER_DM9601

2017-08-20 Thread Chris Packham
This is not a valid option. Drop it. Signed-off-by: Chris Packham --- include/configs/dragonboard410c.h | 1 - scripts/config_whitelist.txt | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h index 26103583ab00..5c88bf

Re: [U-Boot] [PATCH 1/1] lcd: avoid possible NULL dereference - Please update MAINTAINERS

2017-08-20 Thread Heinrich Schuchardt
On 08/19/2017 08:51 PM, Anatolij Gustschin wrote: > Hi, > > On Sun, 30 Jul 2017 21:59:23 +0200 > Heinrich Schuchardt xypron.g...@gmx.de wrote: > >> Do not dereference bmp before the check if it is NULL. >> >> The problem was indicated by cppcheck. >> >> Signed-off-by: Heinrich Schuchardt >> ---