Re: [U-Boot] [PATCH] ARM: zynq: Extend picozed board support

2016-10-17 Thread Michal Simek
On 17.10.2016 23:28, Moritz Fischer wrote: > Hi Oscar, > > On Mon, Oct 17, 2016 at 5:33 PM, Oscar Gomez Fuente > wrote: >> Ok Michal, >> >> Then you're suggesting change the zynq-picozed.dts file to: > > If you're planning to include this into others, make it a .dtsi file. > >> >> diff --git a/

Re: [U-Boot] [PATCH] spi: kirkwood_spi: implement mvebu_spi_set_mode()

2016-10-17 Thread Stefan Roese
On 14.10.2016 05:19, Chris Packham wrote: Set the appropriate bits in the interface config register based on the SPI_ mode flags. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] [PATCH] common: env: add kconfig entry for env storage

2016-10-17 Thread Heiko Schocher
Hello Tom, Am 18.10.2016 um 00:55 schrieb Tom Rini: On Mon, Oct 17, 2016 at 04:17:06PM -0600, Simon Glass wrote: Hi Peng, On 8 October 2016 at 03:06, Peng Fan wrote: Add Kconfig entry for ENV storage Signed-off-by: Peng Fan Cc: Simon Glass Cc: Heiko Schocher Cc: Tom Rini Cc: Masahiro Ya

Re: [U-Boot] i2c: mxc: refactor i2c driver and support dm

2016-10-17 Thread Peng Fan
Hi Jagan, On Mon, Oct 17, 2016 at 04:47:11PM +0530, Jagan Teki wrote: >Hi Peng/all, > >Observed an issue while setting the bus on mxc_i2c driver >addr = dev_get_addr(bus); is getting failed to get invalid address. > >Commit details: >"i2c: mxc: refactor i2c driver and support dm" >(sha1: 71204e95ce

Re: [U-Boot] [ANN] U-Boot v2016.11-rc2 released

2016-10-17 Thread Heiko Schocher
Hello Tom, Am 18.10.2016 um 02:15 schrieb Tom Rini: Hey all, It's release day and v2016.11-rc2 is out. I've tried to clean up my queue a bit, but I think there's still a few things I have outstanding. And I know I need to get some changes from Alexander for EFI stuff that I've already promised

Re: [U-Boot] [PATCH v3 04/12] arm: socfpga: clkmgr: Separate the Clock Manager for Stratix 10

2016-10-17 Thread Marek Vasut
On 10/18/2016 05:22 AM, Chin Liang See wrote: > On Sen, 2016-10-17 at 18:14 +0200, Marek Vasut wrote: >> On 10/17/2016 05:59 PM, Chin Liang See wrote: >>> >>> On Sen, 2016-10-17 at 17:39 +0200, Marek Vasut wrote: On 10/17/2016 05:28 PM, Chin Liang See wrote: > > > On Sen, 2016

Re: [U-Boot] [PATCH v3 1/8] x86: Add implementations of setjmp() and longjmp()

2016-10-17 Thread Bin Meng
On Tue, Oct 18, 2016 at 11:02 AM, Bin Meng wrote: > On Tue, Oct 18, 2016 at 10:29 AM, Simon Glass wrote: >> Bring in these functions from Linux v4.4. They will be needed for EFI loader >> support. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v3: >> - Add a parameter to longjmp() >> -

Re: [U-Boot] [PATCH v3 1/8] x86: Add implementations of setjmp() and longjmp()

2016-10-17 Thread Bin Meng
On Tue, Oct 18, 2016 at 10:29 AM, Simon Glass wrote: > Bring in these functions from Linux v4.4. They will be needed for EFI loader > support. > > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Add a parameter to longjmp() > - Drop unused header files > > Changes in v2: > - Drop irreleva

Re: [U-Boot] [PATCH v3 4/8] x86: Tidy up selection of building the EFI stub

2016-10-17 Thread Bin Meng
On Tue, Oct 18, 2016 at 10:29 AM, Simon Glass wrote: > At present we use a CONFIG option in efi.h to determine whether we are > building the EFI stub or not. This means that the same header cannot be > used for EFI_LOADER support. The CONFIG option will be enabled for the > whole build, even when

Re: [U-Boot] [PATCH v3 7/8] x86: efi: Add a hello world test program

2016-10-17 Thread Bin Meng
On Tue, Oct 18, 2016 at 10:29 AM, Simon Glass wrote: > It is useful to have a basic sanity check for EFI loader support. Add a > 'bootefi hello' command which loads HelloWord.efi and runs it under U-Boot. > > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Include a link to the program in

Re: [U-Boot] [PATCH v6 01/10] x86: Move table csum into separate header

2016-10-17 Thread Bin Meng
On Fri, Aug 19, 2016 at 7:23 AM, Alexander Graf wrote: > We need the checksum function without all the other table functionality > soon, so let's split it out into its own header file. > > Signed-off-by: Alexander Graf > Reviewed-by: Bin Meng > Reviewed-by: Simon Glass > --- > arch/x86/include

Re: [U-Boot] qemu-x86 issues

2016-10-17 Thread Bin Meng
Hi Tom, On Sat, Oct 15, 2016 at 7:32 AM, Tom Rini wrote: > Hey guys, > > After making Stephen's scripts work with qemu today, I've started > testing out what platforms I can test out via qemu. I've found two > problems with qemu-x86. First, there's a real problem with the network. > I run qemu

[U-Boot] [PATCH v3 8/8] x86: Enable EFI loader support

2016-10-17 Thread Simon Glass
Enable this so that EFI applications (notably grub) can be run under U-Boot on x86 platforms. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v3: None Changes in v2: - Remove EFI support from README.x86 TODO list configs/efi-x86_defconfig | 1 + doc/README.x86| 1 -

[U-Boot] [PATCH v3 7/8] x86: efi: Add a hello world test program

2016-10-17 Thread Simon Glass
It is useful to have a basic sanity check for EFI loader support. Add a 'bootefi hello' command which loads HelloWord.efi and runs it under U-Boot. Signed-off-by: Simon Glass --- Changes in v3: - Include a link to the program instead of adding it to the tree Changes in v2: None arch/x86/lib/M

[U-Boot] [PATCH v3 6/8] x86: efi: Add EFI loader support for x86

2016-10-17 Thread Simon Glass
Add the required pieces to support the EFI loader on x86. Since U-Boot only builds for 32-bit on x86, only a 32-bit EFI application is supported. If a 64-bit kernel must be booted, U-Boot supports this directly using FIT (see doc/uImage.FIT/kernel.its). U-Boot can act as a payload for both 32-bit

[U-Boot] [PATCH v3 5/8] arm: efi: Add a hello world test program

2016-10-17 Thread Simon Glass
It is useful to have a basic sanity check for EFI loader support. Add a 'bootefi hello' command which loads HelloWord.efi and runs it under U-Boot. Signed-off-by: Simon Glass --- Changes in v3: - Include a link to the program instead of adding it to the tree - Fix several typos - Align backslash

[U-Boot] [PATCH v3 4/8] x86: Tidy up selection of building the EFI stub

2016-10-17 Thread Simon Glass
At present we use a CONFIG option in efi.h to determine whether we are building the EFI stub or not. This means that the same header cannot be used for EFI_LOADER support. The CONFIG option will be enabled for the whole build, even when not building the stub. Use a different define instead, set up

[U-Boot] [PATCH v3 3/8] efi: Fix missing EFIAPI specifiers

2016-10-17 Thread Simon Glass
These are missing in some functions. Add them to keep things consistent. Signed-off-by: Simon Glass Reviewed-by: Bin Meng Reviewed-by: Alexander Graf --- Changes in v3: None Changes in v2: None cmd/bootefi.c | 7 +-- include/efi_loader.h | 2 +- lib/efi_loader/

[U-Boot] [PATCH v3 2/8] efi: Use asmlinkage for EFIAPI

2016-10-17 Thread Simon Glass
This is required for x86 and is also correct for ARM (since it is empty). Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v3: None Changes in v2: - Move efi.h changes to a new patch arch/avr32/include/asm/linkage.h | 0 arch/m68k/include/asm/linkage.h | 0 arch/micr

[U-Boot] [PATCH v3 1/8] x86: Add implementations of setjmp() and longjmp()

2016-10-17 Thread Simon Glass
Bring in these functions from Linux v4.4. They will be needed for EFI loader support. Signed-off-by: Simon Glass --- Changes in v3: - Add a parameter to longjmp() - Drop unused header files Changes in v2: - Drop irrelevant comment - Add a comment about .size - Drop unnecessary .text directive -

[U-Boot] [PATCH v4 29/29] Convert CONFIG_SYS_STDIO_DEREGISTER to Kconfig

2016-10-17 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_STDIO_DEREGISTER This option should never be enabled in SPL, so use CONFIG_IS_ENABLED(SYS_STDIO_DEREGISTER) when checking the option. Signed-off-by: Simon Glass --- Changes in v4: - Rebase to master Changes in v3: None Changes in v2: - Make

[U-Boot] [PATCH v4 28/29] Convert CONFIG_USB_KEYBOARD to Kconfig

2016-10-17 Thread Simon Glass
This converts the following to Kconfig: CONFIG_USB_KEYBOARD Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Add new patch to convert CONFIG_USB_KEYBOARD to Kconfig configs/Cyrus_P5020_defconfig | 1 + configs/Cyrus_P5040_defc

[U-Boot] [PATCH v4 23/29] Convert CONFIG_LCD to Kconfig

2016-10-17 Thread Simon Glass
This converts the following to Kconfig: CONFIG_LCD Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None configs/TQM823L_LCD_defconfig | 3 ++- configs/TTTech_defconfig | 3 ++- configs/at91sam9

[U-Boot] [PATCH v4 26/29] Convert CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE to Kconfig

2016-10-17 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None README | 3 --- common/Kconfig | 9 +

[U-Boot] [PATCH v4 24/29] Convert CONFIG_CONSOLE_SCROLL_LINES to Kconfig

2016-10-17 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CONSOLE_SCROLL_LINES Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None README | 6 -- configs/bayleybay_defconfig

[U-Boot] [PATCH v4 25/29] Convert CONFIG_SYS_CONSOLE_ENV_OVERWRITE to Kconfig

2016-10-17 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_CONSOLE_ENV_OVERWRITE Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None README | 3 --- common/Kconfig | 9 + co

[U-Boot] [PATCH v4 27/29] Convert CONFIG_SYS_CONSOLE_INFO_QUIET to Kconfig

2016-10-17 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_CONSOLE_INFO_QUIET Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Make CONFIG_SYS_CONSOLE_INFO_QUIET the default if !CONFIG_MUX README | 3 --- common

[U-Boot] [PATCH v4 16/29] Convert CONFIG_VGA_AS_SINGLE_DEVICE to Kconfig

2016-10-17 Thread Simon Glass
This converts the following to Kconfig: CONFIG_VGA_AS_SINGLE_DEVICE Once we migrate to driver model for video, we should be able to drop this option. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None configs/Chuwi_V7_CW0825_defconfig

[U-Boot] [PATCH v4 22/29] video: Drop CONFIG_CONSOLE_INFO_QUIET

2016-10-17 Thread Simon Glass
This is not used in U-Boot. Drop it. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None include/configs/edminiv2.h | 1 - include/configs/km/km_arm.h| 1 - include/configs/mv-common.h| 1 - include/configs/m

[U-Boot] [PATCH v4 21/29] video: Move video_get_info_str() prototype to a header file

2016-10-17 Thread Simon Glass
This should be defined in a header file so that arguments are checked. Move it to video.h. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None board/liebherr/lwmon5/lwmon5.c | 1 + board/mosaixtech/icon/icon.c | 1 + board/mpl/c

[U-Boot] [PATCH v4 20/29] Convert CONFIG_CONSOLE_EXTRA_INFO to Kconfig

2016-10-17 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CONSOLE_EXTRA_INFO Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None configs/MIP405T_defconfig| 1 + configs/MIP405_defconfig | 1 + configs/MiniFAP_defco

[U-Boot] [PATCH v4 18/29] Convert CONFIG_VIDEO_SW_CURSOR to Kconfig

2016-10-17 Thread Simon Glass
This converts the following to Kconfig: CONFIG_VIDEO_SW_CURSOR Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/video/Kconfig | 10 ++ drivers/video/cfb_console.c | 6 -- include/configs/

[U-Boot] [PATCH v4 19/29] video: Drop CONFIG_VIDEO_SW_CURSOR

2016-10-17 Thread Simon Glass
Since all boards enable this, we may as well drop the option. This is a separate patch from the previous one, so it can be skipped if someone identifies a need. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None README

[U-Boot] [PATCH v4 13/29] video: Drop the imx25lcdc driver

2016-10-17 Thread Simon Glass
This is not used anywhere in U-Boot. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/video/Makefile| 1 - drivers/video/imx25lcdc.c | 121 -- 2 files changed, 122 deletio

[U-Boot] [PATCH v4 15/29] video: Drop the sed13806 driver

2016-10-17 Thread Simon Glass
This is not used in U-Boot. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None README | 5 - drivers/video/Makefile | 1 - drivers/video/cfb_console.c | 9 -- drivers/video/sed13806.c | 286 --

[U-Boot] [PATCH v4 17/29] video: Drop CONFIG_VIDEO_HW_CURSOR

2016-10-17 Thread Simon Glass
This is not used in U-Boot. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/video/cfb_console.c | 33 +- drivers/video/ct69000.c | 79 include/video_fb.h

[U-Boot] [PATCH v4 11/29] Convert CONFIG_SYS_CONSOLE_BG_COL et al to Kconfig

2016-10-17 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_CONSOLE_BG_COL CONFIG_SYS_CONSOLE_FG_COL Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None README | 5 --- configs/pxm2_defconfig | 2 + config

[U-Boot] [PATCH v4 14/29] video: Drop the s3c-fb driver

2016-10-17 Thread Simon Glass
This is not used in U-Boot. Signed-off-by: Simon Glass Acked-by: Minkyu Kang Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/video/Makefile | 1 - drivers/video/cfb_console.c | 2 +- drivers/video/s3c-fb.c | 172

[U-Boot] [PATCH v4 07/29] Convert CONFIG_VIDEO to Kconfig

2016-10-17 Thread Simon Glass
This converts the following to Kconfig: CONFIG_VIDEO Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None README | 5 - configs/MIP405T_defconfig |

[U-Boot] [PATCH v4 12/29] video: Drop the smiLynxEM driver

2016-10-17 Thread Simon Glass
This is not used in U-Boot anymore. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None README | 6 - drivers/video/Makefile | 1 - drivers/video/cfb_console.c | 13 - drivers/video/smiLynxEM.c|

[U-Boot] [PATCH v4 09/29] Convert CONFIG_CFB_CONSOLE_ANSI to Kconfig

2016-10-17 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CFB_CONSOLE_ANSI Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None README | 4 configs/T1042D4RDB_NAND_defconfig | 1 + co

[U-Boot] [PATCH v4 08/29] Convert CONFIG_CFB_CONSOLE to Kconfig

2016-10-17 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CFB_CONSOLE Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: - Change CONFIG_CFB_CONSOLE to default y if CONFIG_VIDEO Changes in v2: None README| 39 - configs/eb

[U-Boot] [PATCH v4 06/29] config: Drop CONFIG_CONSOLE_DEV

2016-10-17 Thread Simon Glass
This is not really a config. Rename it to avoid confusion. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None include/configs/advantech_dms-ba16.h | 4 ++-- include/configs/aristainetos-common.h | 2 +- include/configs/aristaineto

[U-Boot] [PATCH v4 10/29] Convert CONFIG_VIDEO_CT69000 to Kconfig

2016-10-17 Thread Simon Glass
This converts the following to Kconfig: CONFIG_VIDEO_CT69000 Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None README | 23 --- configs/MIP405T_defconfig| 1 + configs/MIP405_defco

[U-Boot] [PATCH v4 03/29] Convert CONSOLE_PRE_CONSOLE_BUFFER options to Kconfig

2016-10-17 Thread Simon Glass
Move these option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Change CONFIG_PRE_CON_BUF_SZ default to 4096 - Change CONFIG_PRE_CON_BUF_SZ to 'int' type - Drop the depend clause on the CONFIG_PRE_CON_BUF_SZ default

[U-Boot] [PATCH v4 02/29] Convert SILENT_CONSOLE options to Kconfig

2016-10-17 Thread Simon Glass
Move these option to Kconfig and tidy up existing uses. The Power PC boards don't have a suitable common element: the common header files don't appear to line up with the Kconfig files as far as I can tell. This results in a lot of defconfig changes. Signed-off-by: Simon Glass --- Changes in v4

[U-Boot] [PATCH v4 01/29] Remove some merge markers

2016-10-17 Thread Simon Glass
These two files have patch merge markers in them, within comments or strings. Remove then, so that a search for merge markers does not show up matches in these files. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/net/a

[U-Boot] [PATCH v4 05/29] config: Drop CONFIG_CONSOLE

2016-10-17 Thread Simon Glass
This is not really a config. Rename it to avoid confusion. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v4: None Changes in v3: None Changes in v2: None include/configs/MPC8349ITX.h | 6 +++--- scripts/config_whitelist.txt | 1 - 2 files changed, 3 insertions(+), 4 deletion

[U-Boot] [PATCH v4 00/29] Kconfig: Move console options to Kconfig

2016-10-17 Thread Simon Glass
This series moves a number of console-related CONFIG options to Kconfig. Those that are not currently used are removed. A few unused video drivers are also removed and there are a few minor adjustments to improve the code. But mostly this follows the output of the moveconfig tool. It is build-tes

Re: [U-Boot] [U-Boot, RFC] arm: Enable CONFIG_USE_ARCH_MEMSET/MEMCPY globally

2016-10-17 Thread Tom Rini
On Tue, Feb 03, 2015 at 03:21:53PM -0500, Tom Rini wrote: > - Move the obj- lines for memset.S/memcpy.S to outside of an SPL check > so that SPL can use them as well. > - Make sure memset() / memcpy() end up in a text.fn section for garbage > collection in SPL. > - Update examples/api/Makefile

Re: [U-Boot] [PATCH 3/6] arm: efi: Add a hello world test program

2016-10-17 Thread Simon Glass
Hi Leif, On 26 September 2016 at 19:53, Leif Lindholm wrote: > > On Mon, Sep 26, 2016 at 08:09:40AM -0600, Simon Glass wrote: >> >> >> If so, can we just remove this for arm64? >> >> > >> >> > Actually I was hoping that Alexander might have a suitable arm64 >> >> > HelloWorld.efi lying around. Wh

Re: [U-Boot] [PATCH] sandboxfs: Fix resource leak

2016-10-17 Thread Simon Glass
On 17 October 2016 at 19:09, Tom Rini wrote: > Now that we free resources in sandbox_fs_ls Coverity is letting us know > that in some cases we might leak. So in case of error we should still > let os_dirent_free free anything that was allocated. > > Fixes: 86167089b71c ("sandbox/fs: Free memory a

Re: [U-Boot] [PATCH 00/82] x86: Add initial support for 64-bit U-Boot

2016-10-17 Thread Bin Meng
Hi Simon, On Tue, Oct 18, 2016 at 6:17 AM, Simon Glass wrote: > Hi Bin, > > On 10 October 2016 at 23:36, Bin Meng wrote: >> Hi Simon, >> >> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote: >>> At present U-Boot runs entirely in 32-bit mode on x86, except for the >>> initial switch from 16-b

[U-Boot] [PATCH] sandboxfs: Fix resource leak

2016-10-17 Thread Tom Rini
Now that we free resources in sandbox_fs_ls Coverity is letting us know that in some cases we might leak. So in case of error we should still let os_dirent_free free anything that was allocated. Fixes: 86167089b71c ("sandbox/fs: Free memory allocated by os_dirent_ls") Reported-by: Coverity (CID:

[U-Boot] [ANN] U-Boot v2016.11-rc2 released

2016-10-17 Thread Tom Rini
Hey all, It's release day and v2016.11-rc2 is out. I've tried to clean up my queue a bit, but I think there's still a few things I have outstanding. And I know I need to get some changes from Alexander for EFI stuff that I've already promised can come in. But we should also be moving towards rel

Re: [U-Boot] Please pull u-boot-mpc85xx master

2016-10-17 Thread Tom Rini
On Sat, Oct 15, 2016 at 05:02:03PM +, york sun wrote: > Tom, > > The following changes since commit 44afdc4a12b9f6f48338e7975e4f08cfe90dba74: > >Merge branch 'master' of git://git.denx.de/u-boot-net (2016-10-13 > 13:38:49 -0400) > > are available in the git repository at: > >git:/

[U-Boot] [PATCH] test/py: ensure a log section exists for skipped tests

2016-10-17 Thread Stephen Warren
From: Stephen Warren In pytest 3, runtestprotocol() may not call pytest_runtest_setup() if the test is skipped. That call is required to create a section for the test in the log file. If this is skipped, the call to log.end_section() at the tail of pytest_runtest_protocol() will throw an exceptio

Re: [U-Boot] [PATCH] test/py: Fix exception, do not parametrize with empty set

2016-10-17 Thread Stephen Warren
On 10/16/2016 12:17 PM, Stefan Brüns wrote: If the parameter set is empty, the pytest setup fails: --- call: --- This aborts pytest_runtest_makereport and later leads to an exception during the report generation, as the call to log.start_section(...) is never executed: --- Exception: Bl

Re: [U-Boot] [PATCH] common: env: add kconfig entry for env storage

2016-10-17 Thread Tom Rini
On Mon, Oct 17, 2016 at 04:17:06PM -0600, Simon Glass wrote: > Hi Peng, > > On 8 October 2016 at 03:06, Peng Fan wrote: > > Add Kconfig entry for ENV storage > > > > Signed-off-by: Peng Fan > > Cc: Simon Glass > > Cc: Heiko Schocher > > Cc: Tom Rini > > Cc: Masahiro Yamada > > Cc: Stefan Roe

Re: [U-Boot] [PATCH] test/py: Fix exception, do not parametrize with empty set

2016-10-17 Thread Stephen Warren
On 10/17/2016 04:01 PM, Stephen Warren wrote: On 10/17/2016 01:18 PM, Brüns, Stefan wrote: On Montag, 17. Oktober 2016 12:11:26 CEST Stephen Warren wrote: On 10/16/2016 12:17 PM, Stefan Brüns wrote: If the parameter set is empty, the pytest setup fails: --- call: --- This aborts pytest

Re: [U-Boot] [PATCH] libfdt: Sync overlay with upstream

2016-10-17 Thread Simon Glass
On 17 October 2016 at 14:50, Maxime Ripard wrote: > Now that the overlay code has been merge upstream, update our copy to > what's been merged, since a significant number of issues have been fixed > during the merge process. > > Signed-off-by: Maxime Ripard > --- > include/libfdt.h | 2

Re: [U-Boot] [PATCH 1/2] libfdt: fix fdt_stringlist_count()

2016-10-17 Thread Simon Glass
On 17 October 2016 at 00:24, Masahiro Yamada wrote: > If fdt_getprop() fails, negative error code should be returned. > > Signed-off-by: Masahiro Yamada > --- > > lib/libfdt/fdt_ro.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Simon Glass _

Re: [U-Boot] [PATCH] Fix codying style broken by recent libfdt sync

2016-10-17 Thread Simon Glass
On 17 October 2016 at 05:43, Masahiro Yamada wrote: > Commit b02e4044ff8e ("libfdt: Bring in upstream stringlist > functions") broke codying style in some places especially > by inserting an extra whitespace before fdt_stringlist_count(). > > Signed-off-by: Masahiro Yamada > --- > > arch/arm/mac

Re: [U-Boot] [PATCH v2] tpm: tpm_tis_lpc: Add support for AT97SC3204

2016-10-17 Thread Simon Glass
On 17 October 2016 at 08:24, George McCollister wrote: > The Atmel AT97SC3204 is also TIS compliant. > Modify the tpm_tis_lpc driver to check for the vid/did used by the > Atmel AT97SC3204 and report an appropriate description. > > Signed-off-by: George McCollister > --- > > Changes in v2: > - Re

Re: [U-Boot] [PATCH 2/2] libfdt: fix fdt_stringlist_search()

2016-10-17 Thread Simon Glass
On 17 October 2016 at 00:24, Masahiro Yamada wrote: > If fdt_getprop() fails, negative error code should be returned. > > Signed-off-by: Masahiro Yamada > --- > > lib/libfdt/fdt_ro.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Simon Glass _

Re: [U-Boot] [PATCH] cmd/tpm_test: Fix misleading code indentation

2016-10-17 Thread Simon Glass
On 16 October 2016 at 09:13, Stefan Brüns wrote: > GCC 6.2 reasonably complains about the current code: > > ../cmd/tpm_test.c: In function ‘do_tpmtest’: > ../cmd/tpm_test.c:540:3: warning: this ‘for’ clause does not guard... > [-Wmisleading-indentation] >for (i = 0; i < argc; i++) >^~~ >

Re: [U-Boot] [PATCH 00/82] x86: Add initial support for 64-bit U-Boot

2016-10-17 Thread Simon Glass
Hi Bin, On 10 October 2016 at 23:36, Bin Meng wrote: > Hi Simon, > > On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote: >> At present U-Boot runs entirely in 32-bit mode on x86, except for the >> initial switch from 16-bit mode. On 64-bit machines it is possible to run >> in 64-bit mode. This

Re: [U-Boot] [PATCH v5 2/5] net: fec_mxc: Convert into driver model

2016-10-17 Thread Simon Glass
Hi Jagan, On 12 October 2016 at 10:16, Jagan Teki wrote: > Hi Simon, > > On Wed, Oct 12, 2016 at 2:28 AM, Simon Glass wrote: >> Hi Jagan, >> >> On 9 October 2016 at 08:51, Jagan Teki wrote: >>> >>> Hi Simon, >>> >>> On Thu, Oct 6, 2016 at 4:25 PM, Jagan Teki wrote: >>> > From: Jagan Teki >>>

Re: [U-Boot] [PATCH] common: env: add kconfig entry for env storage

2016-10-17 Thread Simon Glass
Hi Peng, On 8 October 2016 at 03:06, Peng Fan wrote: > Add Kconfig entry for ENV storage > > Signed-off-by: Peng Fan > Cc: Simon Glass > Cc: Heiko Schocher > Cc: Tom Rini > Cc: Masahiro Yamada > Cc: Stefan Roese > Cc: Siva Durga Prasad Paladugu > Cc: Francois Retief > --- > common/Kconfi

Re: [U-Boot] [PATCH] efi_loader: Rename EFI_RUNTIME_{TEXT, DATA} to __efi_runtime{, _data}

2016-10-17 Thread Simon Glass
On 14 October 2016 at 05:45, Alexander Graf wrote: > Compiler attributes are more commonly __foo style tags rather than big > upper case eye sores like EFI_RUNTIME_TEXT. > > Simon Glass felt quite strongly about this, so this patch converts our > existing defines over to more eye friendly ones. >

Re: [U-Boot] [PATCH 33/82] x86: dts: Mark serial as needed before relocation

2016-10-17 Thread Simon Glass
Hi Bin, On 10 October 2016 at 21:16, Bin Meng wrote: > Hi Simon, > > On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote: >> We almost always need the serial port before relocation, so mark it as such. >> This will ensure that it appears in the device tree for SPL, if used. >> >> Signed-off-by:

Re: [U-Boot] [PATCH 05/82] console: Don't enable CONFIG-CONSOLE_MUX, etc. in SPL

2016-10-17 Thread Simon Glass
Hi Bin, On 10 October 2016 at 21:15, Bin Meng wrote: > Hi Simon, > > Typo of CONFIG-CONSOLE_MUX in the commit title. > > On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote: >> CONFIG_CONSOLE_MUX and CONFIG_SYS_CONSOLE_IS_IN_ENV are not applicable >> for SPL. Update the console code to use CONFI

Re: [U-Boot] [PATCH] test/py: Fix exception, do not parametrize with empty set

2016-10-17 Thread Stephen Warren
On 10/17/2016 01:18 PM, Brüns, Stefan wrote: On Montag, 17. Oktober 2016 12:11:26 CEST Stephen Warren wrote: On 10/16/2016 12:17 PM, Stefan Brüns wrote: If the parameter set is empty, the pytest setup fails: --- call: --- This aborts pytest_runtest_makereport and later leads to an excep

[U-Boot] [PATCH 1/2] armv8: add hooks for all cache-wide operations

2016-10-17 Thread Stephen Warren
From: Stephen Warren SoC-specific logic may be required for all forms of cache-wide operations; invalidate and flush of both dcache and icache (note that only 3 of the 4 possible combinations make sense, since the icache never contains dirty lines). This patch adds an optional hook for all implem

[U-Boot] [PATCH 2/2] ARM: tegra186: call secure monitor for all cache-wide ops

2016-10-17 Thread Stephen Warren
From: Stephen Warren An SMC call is required for all cache-wide operations on Tegra186. This patch implements the two missing hooks now that U-Boot supports them, and fixes the mapping of "hook name" to SMC call code. Signed-off-by: Stephen Warren --- arch/arm/mach-tegra/tegra186/cache.c | 23

Re: [U-Boot] [PATCH] ARM: zynq: Extend picozed board support

2016-10-17 Thread Moritz Fischer
Hi Oscar, On Mon, Oct 17, 2016 at 5:33 PM, Oscar Gomez Fuente wrote: > Ok Michal, > > Then you're suggesting change the zynq-picozed.dts file to: If you're planning to include this into others, make it a .dtsi file. > > diff --git a/arch/arm/dts/zynq-picozed.dts b/arch/arm/dts/zynq-picozed.dts

Re: [U-Boot] [Resend RFC PATCH 1/2] armv8: Fix dcache disable function

2016-10-17 Thread Stephen Warren
On 10/14/2016 02:17 PM, York Sun wrote: Current code turns off d-cache first, then flush all levels of cache. This results data loss. As soon as d-cache is off, the dirty cache is discarded according to the test on LS2080A. This issue was not seen as long as external L3 cache was flushed to push

[U-Boot] [PATCH] libfdt: Sync overlay with upstream

2016-10-17 Thread Maxime Ripard
Now that the overlay code has been merge upstream, update our copy to what's been merged, since a significant number of issues have been fixed during the merge process. Signed-off-by: Maxime Ripard --- include/libfdt.h | 24 -- lib/libfdt/fdt_overlay.c | 199 ++

Re: [U-Boot] [PATCH v5 1/7] ls2080: Exit dpaa only right before exiting U-Boot

2016-10-17 Thread Prabhakar Kushwaha
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Monday, October 17, 2016 12:28 PM > To: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Cc: york sun > Subject: Re: [PATCH v5 1/7] ls2080: Exit dpaa only right before exiting U-Boot > > Hi Prabhakara, > > On 17.10

Re: [U-Boot] [PATCH] test/py: Fix exception, do not parametrize with empty set

2016-10-17 Thread Brüns , Stefan
On Montag, 17. Oktober 2016 12:11:26 CEST Stephen Warren wrote: > On 10/16/2016 12:17 PM, Stefan Brüns wrote: > > If the parameter set is empty, the pytest setup fails: > > --- > > > > call: > ['env__dfu_config'], function test_dfu at [...]test_dfu.py:107> > > > > --- > > > > This abort

Re: [U-Boot] [PATCH 2/2] net: add driver for Synopsys Ethernet QoS device

2016-10-17 Thread Stephen Warren
On 10/13/2016 05:46 PM, Joe Hershberger wrote: On Fri, Oct 14, 2016 at 1:35 AM, Stephen Warren wrote: On 10/11/2016 04:48 PM, Joe Hershberger wrote: On Tue, Oct 4, 2016 at 12:13 AM, Stephen Warren wrote: On 09/23/2016 03:49 PM, Joe Hershberger wrote: Hi Stephen, Thanks for sending this

Re: [U-Boot] [PATCH] power: twl6030: fix code refactoring

2016-10-17 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:03:23PM +0300, Nicolae Rosia wrote: > Hi, > > On Sat, Oct 15, 2016 at 8:48 PM, Tom Rini wrote: > > I'll take this and do you want to do a follow up to make the file > > checkpatch clean? Thanks! > Either way works for me, I can do the follow up to make the file > check

Re: [U-Boot] [PATCH] test/py: Fix exception, do not parametrize with empty set

2016-10-17 Thread Stephen Warren
On 10/16/2016 12:17 PM, Stefan Brüns wrote: If the parameter set is empty, the pytest setup fails: --- call: --- This aborts pytest_runtest_makereport and later leads to an exception during the report generation, as the call to log.start_section(...) is never executed: --- Exception: Bl

Re: [U-Boot] [PATCH] power: twl6030: fix code refactoring

2016-10-17 Thread Nicolae Rosia
Hi, On Sat, Oct 15, 2016 at 8:48 PM, Tom Rini wrote: > I'll take this and do you want to do a follow up to make the file > checkpatch clean? Thanks! Either way works for me, I can do the follow up to make the file checkpatch clean. Thanks, Nicolae ___

Re: [U-Boot] [PATCH v3 05/12] arm: socfpga: fpgamgr: Disable FPGA Manager for Stratix 10

2016-10-17 Thread Chin Liang See
On Sen, 2016-10-17 at 15:42 +0200, Marek Vasut wrote: > On 10/17/2016 03:35 PM, See, Chin Liang wrote: > > > > On Min, 2016-10-16 at 17:34 +0200, Marek Vasut wrote: > > > > > > On 10/13/2016 10:33 AM, Chin Liang See wrote: > > > > > > > > > > > > Disable the FPGA Manager for Stratix 10 SoC as w

Re: [U-Boot] [PATCH] arm: psci: save and restore registers from r4 to r12

2016-10-17 Thread Chen-Yu Tsai
On Fri, Oct 14, 2016 at 8:14 AM, Chenhui Zhao wrote: > On Thu, Oct 13, 2016 at 5:52 PM, Chen-Yu Tsai wrote: >> On Sat, Oct 8, 2016 at 7:08 PM, Chenhui Zhao wrote: >>> Save and restore core registers from r4 to r12 so that PSCI code won't >>> break their value. >>> >>> Signed-off-by: Chenhui Zhao

Re: [U-Boot] [PATCH v3 04/12] arm: socfpga: clkmgr: Separate the Clock Manager for Stratix 10

2016-10-17 Thread Marek Vasut
On 10/17/2016 05:59 PM, Chin Liang See wrote: > On Sen, 2016-10-17 at 17:39 +0200, Marek Vasut wrote: >> On 10/17/2016 05:28 PM, Chin Liang See wrote: >>> >>> On Sen, 2016-10-17 at 17:20 +0200, Marek Vasut wrote: On 10/17/2016 05:07 PM, Chin Liang See wrote: > > > On Sen, 2016

Re: [U-Boot] [PATCH v3 09/12] arm: socfpga: stratix10: Add board directory for Stratix 10 socdk

2016-10-17 Thread Chin Liang See
On Min, 2016-10-16 at 17:39 +0200, Marek Vasut wrote: > On 10/13/2016 10:33 AM, Chin Liang See wrote: > > > > Add board folder > directory > Will fix this. > > > > for Stratix 10 SoC development kit > > > > Signed-off-by: Chin Liang See > > Cc: Marek Vasut > > Cc: Dinh Nguyen > > Cc: Ley F

Re: [U-Boot] [PATCH v3 04/12] arm: socfpga: clkmgr: Separate the Clock Manager for Stratix 10

2016-10-17 Thread Chin Liang See
On Sen, 2016-10-17 at 17:39 +0200, Marek Vasut wrote: > On 10/17/2016 05:28 PM, Chin Liang See wrote: > > > > On Sen, 2016-10-17 at 17:20 +0200, Marek Vasut wrote: > > > > > > On 10/17/2016 05:07 PM, Chin Liang See wrote: > > > > > > > > > > > > On Sen, 2016-10-17 at 15:42 +0200, Marek Vasut wr

Re: [U-Boot] [PATCH v3 11/12] arm: socfpga: Add SPL support for Stratix 10 SoC

2016-10-17 Thread Chin Liang See
On Min, 2016-10-16 at 17:41 +0200, Marek Vasut wrote: > On 10/13/2016 10:33 AM, Chin Liang See wrote: > > > > Add SPL support for Stratix 10 SoC development kit > > > > Signed-off-by: Chin Liang See > > Cc: Marek Vasut > > Cc: Dinh Nguyen > > Cc: Ley Foon Tan > > Cc: Tien Fong Chee > > --- >

Re: [U-Boot] [PATCH v3 05/12] arm: socfpga: fpgamgr: Disable FPGA Manager for Stratix 10

2016-10-17 Thread Marek Vasut
On 10/17/2016 05:30 PM, Chin Liang See wrote: > On Sen, 2016-10-17 at 17:20 +0200, Marek Vasut wrote: >> On 10/17/2016 05:14 PM, Chin Liang See wrote: >>> >>> On Sen, 2016-10-17 at 15:42 +0200, Marek Vasut wrote: On 10/17/2016 03:35 PM, See, Chin Liang wrote: > > > On Min, 201

Re: [U-Boot] [PATCH v3 05/12] arm: socfpga: fpgamgr: Disable FPGA Manager for Stratix 10

2016-10-17 Thread Chin Liang See
On Sen, 2016-10-17 at 17:20 +0200, Marek Vasut wrote: > On 10/17/2016 05:14 PM, Chin Liang See wrote: > > > > On Sen, 2016-10-17 at 15:42 +0200, Marek Vasut wrote: > > > > > > On 10/17/2016 03:35 PM, See, Chin Liang wrote: > > > > > > > > > > > > On Min, 2016-10-16 at 17:34 +0200, Marek Vasut w

Re: [U-Boot] [PATCH v3 09/12] arm: socfpga: stratix10: Add board directory for Stratix 10 socdk

2016-10-17 Thread Marek Vasut
On 10/17/2016 05:32 PM, Chin Liang See wrote: > On Min, 2016-10-16 at 17:39 +0200, Marek Vasut wrote: >> On 10/13/2016 10:33 AM, Chin Liang See wrote: >>> >>> Add board folder >> directory >> > > Will fix this. > >>> >>> for Stratix 10 SoC development kit >>> >>> Signed-off-by: Chin Liang See >>

Re: [U-Boot] [PATCH v3 11/12] arm: socfpga: Add SPL support for Stratix 10 SoC

2016-10-17 Thread Marek Vasut
On 10/17/2016 05:34 PM, Chin Liang See wrote: > On Min, 2016-10-16 at 17:41 +0200, Marek Vasut wrote: >> On 10/13/2016 10:33 AM, Chin Liang See wrote: >>> >>> Add SPL support for Stratix 10 SoC development kit >>> >>> Signed-off-by: Chin Liang See >>> Cc: Marek Vasut >>> Cc: Dinh Nguyen >>> Cc:

Re: [U-Boot] [PATCH v3 04/12] arm: socfpga: clkmgr: Separate the Clock Manager for Stratix 10

2016-10-17 Thread Marek Vasut
On 10/17/2016 05:28 PM, Chin Liang See wrote: > On Sen, 2016-10-17 at 17:20 +0200, Marek Vasut wrote: >> On 10/17/2016 05:07 PM, Chin Liang See wrote: >>> >>> On Sen, 2016-10-17 at 15:42 +0200, Marek Vasut wrote: On 10/17/2016 03:32 PM, See, Chin Liang wrote: > > > On Min, 201

Re: [U-Boot] [PATCH v3 01/12] arm: socfpga: stratix10: Add SOCFPGA Stratix10 base address

2016-10-17 Thread Chin Liang See
On Sen, 2016-10-17 at 15:40 +0200, Marek Vasut wrote: > On 10/17/2016 03:26 PM, See, Chin Liang wrote: > > > > On Min, 2016-10-16 at 17:31 +0200, Marek Vasut wrote: > > > > > > On 10/13/2016 10:32 AM, Chin Liang See wrote: > > > > > > > > > > > > Add base address header file for Stratix10 SoC >

Re: [U-Boot] [PATCH] ARM: zynq: Extend picozed board support

2016-10-17 Thread Oscar Gomez Fuente
Ok Michal, Then you're suggesting change the zynq-picozed.dts file to: diff --git a/arch/arm/dts/zynq-picozed.dts b/arch/arm/dts/zynq-picozed.dts index 3408df8..d8ed298 100644 --- a/arch/arm/dts/zynq-picozed.dts +++ b/arch/arm/dts/zynq-picozed.dts @@ -14,6 +14,8 @@ aliases {

Re: [U-Boot] [PATCH v3 04/12] arm: socfpga: clkmgr: Separate the Clock Manager for Stratix 10

2016-10-17 Thread Chin Liang See
On Sen, 2016-10-17 at 17:20 +0200, Marek Vasut wrote: > On 10/17/2016 05:07 PM, Chin Liang See wrote: > > > > On Sen, 2016-10-17 at 15:42 +0200, Marek Vasut wrote: > > > > > > On 10/17/2016 03:32 PM, See, Chin Liang wrote: > > > > > > > > > > > > On Min, 2016-10-16 at 17:33 +0200, Marek Vasut w

Re: [U-Boot] [PATCH 3/3] mx6: synchronize SPL to u-boot offset

2016-10-17 Thread Max Krummenacher
2016-10-17 14:45 GMT+02:00 Marek Vasut : > On 10/17/2016 02:28 PM, Max Krummenacher wrote: >> Hi Marek >> >> #if defined(CONFIG_SPL_MMC_SUPPORT) >> #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR138 /* >> offset 69KB */ >> +#define CONFIG_SPL_PAD_TO 0x11000 /*

Re: [U-Boot] [PATCH v3 07/12] arm: socfpga: sysmgr: Disable System Manager for Stratix 10

2016-10-17 Thread Chin Liang See
On Min, 2016-10-16 at 17:38 +0200, Marek Vasut wrote: > On 10/13/2016 10:33 AM, Chin Liang See wrote: > > > > Disable the System Manager for Stratix 10 SoC as we are not > > using this for SOCVP > So I wonder, shouldn't we introduce some bool Kconfig entry, > something > like CONFIG_SOCFPGA_HAS_SY

  1   2   >