[U-Boot] [PATCH v10] dm: at91: Add driver model support for the spi driver

2016-09-18 Thread Wenyou Yang
Add driver model support while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass Acked-by: Stephen Warren --- Changes in v10: - Add Acked-by tag.

Re: [U-Boot] [PATCH v2 01/17] imx: iomux-v3: Fix build error with snvs base

2016-09-18 Thread Peng Fan
Hi Jagan, On Sat, Sep 17, 2016 at 02:18:33AM +0530, Jagan Teki wrote: >snvs base is added only for i.MX6ULL but the code is >added for common, so firing build error while compiling >other i.MX6 SOC's > >Issue observed with the below patch >"imx: mx6ull: Update memory map address" >(sha1: e8eac1b5b3

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-18 Thread Stefano Babic
Hi Peng, On 18/09/2016 08:50, Peng Fan wrote: > Hi, > > On Sat, Sep 10, 2016 at 04:40:47PM -0700, Eric Nelson wrote: >> Hi Tom, >> >> On 09/06/2016 07:15 AM, Tom Rini wrote: >>> On Tue, Sep 06, 2016 at 07:00:56AM -0700, Eric Nelson wrote: On 09/06/2016 06:40 AM, Tom Rini wrote: > On Fri,

[U-Boot] [PATCH v1] ARM: at91/dt: sama5d2: Fix the warning from dtc

2016-09-18 Thread Wenyou Yang
Fix the warning from dtc like, ---8< Warning (unit_address_vs_reg): Node /ahb/apb/pmc@f0014000/periph64ck/sdmmc0_hclk has a reg or ranges property, but no unit name --->8 Signed-off-by: Wenyou Yang --- arch/arm/dts/sama5d2.dtsi | 140 +++--- 1 f

[U-Boot] [PATCH v1] ARM: dts: Makefile: Use board to decide to compile dts

2016-09-18 Thread Wenyou Yang
To avoid to compile all AT91 SoCs' board dts files, use the board to decide to build its corresponding dts, instead of CONFIG_AT91FAMILY. Signed-off-by: Wenyou Yang --- arch/arm/dts/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/Makefile b/arch

[U-Boot] [PATCH] imx-common: enlarge mux width to 4

2016-09-18 Thread van . freenix
From: Peng Fan For i.MX6, the mux width is 4, not 3. So enlarge the width. IOMUX_CONFIG_LPSR is changed from 0x8 to 0x20 to not use bit 3 of mux. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/include/asm/imx-common/iomux-v3.h | 15 +++ 1 file changed, 7 insertions(+), 8 d

[U-Boot] [PATCH] imx: imx6ul: disable POR_B internal pull up

2016-09-18 Thread van . freenix
From: Peng Fan >From TO1.1, SNVS adds internal pull up control for POR_B, the register filed is GPBIT[1:0], after system boot up, it can be set to 2b'01 to disable internal pull up. It can save about 30uA power in SNVS mode. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/cpu/armv7/mx6

Re: [U-Boot] [PATCH] Revert "image-fit: switch ENOLINK to ENOENT"

2016-09-18 Thread Marek Vasut
On 09/17/2016 05:42 AM, Jonathan Gray wrote: > On Fri, Sep 16, 2016 at 10:21:43PM +0100, Paul Burton wrote: >> Commit bac17b78dace ("image-fit: switch ENOLINK to ENOENT") changed >> fit_get_node_from_config to return -ENOENT when a property doesn't >> exist, but didn't change any of its callers whi

[U-Boot] [PATCH] Repair image-fit: switch ENOLINK to ENOENT

2016-09-18 Thread Marek Vasut
This patch broke booting of any fitImage-wrapped kernel images due to replacement of ENOLINK with ENOENT without checking where the ENOLINK return value is being tested for. Adjust the tests as well to repair the breakage. Signed-off-by: Marek Vasut Cc: Jonathan Gray Cc: Paul Burton Cc: Tom Rin

Re: [U-Boot] [PATCH 05/15] usb: xhci: Add Marvell MVEBU xHCI support

2016-09-18 Thread Marek Vasut
On 09/16/2016 03:09 PM, Stefan Roese wrote: > This patch adds DM based support for the xHCI USB 3.0 controller > integrated in the Armada 3700 SoC. It may be extended to be used > by other MVEBU SoCs as well. > > Signed-off-by: Stefan Roese > Cc: Nadav Haklai > Cc: Kostya Porotchkin > Cc: Wilso

Re: [U-Boot] [PATCH 06/15] usb: ehci: ehci-marvell.c: Add Armada 3700 support (ARMv8)

2016-09-18 Thread Marek Vasut
On 09/16/2016 03:09 PM, Stefan Roese wrote: > This patch adds DM based support for the Armada 3700 EHCI controller. > The address windows don't need to get configured in this case. The > difference here is detected via DT compatible property at runtime. > > With this support and the DM xHCI driver

Re: [U-Boot] [PATCH 1/2] usb: fsl: Rename fdt_fixup_dr_usb

2016-09-18 Thread Marek Vasut
On 09/16/2016 01:42 PM, Sriram Dash wrote: > The function fdt_fixup_dr_usb is specific to fsl/nxp. So, > make the function name explicit and rename fdt_fixup_dr_usb > into fsl_fdt_fixup_dr_usb. > > Signed-off-by: Sriram Dash > --- > board/Arcturus/ucp1020/ucp1020.c| 2 +- > board/fre

[U-Boot] [PATCH] test/py/tests/test_vboot.py: Add check that we boot the image

2016-09-18 Thread Tom Rini
Make sure that when we're telling bootm to boot an image, and we expect the image to boot we get the output from sandbox that we attempted to run Linux and that U-Boot completed its job. Cc: Simon Glass Cc: Stephen Warren Signed-off-by: Tom Rini --- test/py/tests/test_vboot.py | 16 ++-

[U-Boot] [PATCH] sunxi: musb: Re-init musb controller on repeated probe calls

2016-09-18 Thread Hans de Goede
With sunxi-musb musb_lowlevel_init() can fail when a charger; or no cable is plugged into the otg port. To avoid leaking the struct musb allocated by musb_init_controller() on repeated musb_usb_probe() calls, we were caching its result. But musb_init_controller() does more, such as calling sunxi_m

[U-Boot] Please pull u-boot-sunxi master

2016-09-18 Thread Hans de Goede
Hi Tom, Here is the first sunxi pull-req for v2016.11. This consists of a couple of small bug-fixes / defconfig improvements + 1 new board. The following changes since commit 8cbb389bb3da80cbf8911f8386cbff92c6a78afe: Prepare v2016.09 (2016-09-12 10:05:51 -0400) are available in the git repo

Re: [U-Boot] [PATCH] sunxi: musb: Re-init musb controller on repeated probe calls

2016-09-18 Thread Ian Campbell
On Sun, 2016-09-18 at 16:53 +0200, Hans de Goede wrote: > With sunxi-musb musb_lowlevel_init() can fail when a charger; or no > cable > is plugged into the otg port. > > To avoid leaking the struct musb allocated by musb_init_controller() > on repeated musb_usb_probe() calls, we were caching its r

Re: [U-Boot] [PATCH 00/15] ARM: uniphier: more updates for UniPhier SoC family for v2016.11-rc1

2016-09-18 Thread Masahiro Yamada
2016-09-17 3:32 GMT+09:00 Masahiro Yamada : > > - Add pinctrl driver for sLD3 SoC > - Do away with legacy pin-mux code > - refactoring of clock/PLL init code > - Add PLL init code for LD20 SoC > - Improvement of DRAM init code for LD20 SoC > - Misc cleanups > > > > Masahiro Yamada (15): > p

[U-Boot] pull request: u-boot-uniphier/master (2nd round)

2016-09-18 Thread Masahiro Yamada
Hi Tom, Here is the revised version of my pull request for the v2016.11 development cycle. The following UniPhier updates are included: - DM migration * remove legacy xHCI driver * convert MMC driver to CONFIG_BLOCK - Pinctrl driver improvements * New pin-group * Macr

Re: [U-Boot] [PATCH] sunxi: musb: Re-init musb controller on repeated probe calls

2016-09-18 Thread Hans de Goede
Hi, On 18-09-16 17:00, Ian Campbell wrote: On Sun, 2016-09-18 at 16:53 +0200, Hans de Goede wrote: With sunxi-musb musb_lowlevel_init() can fail when a charger; or no cable is plugged into the otg port. To avoid leaking the struct musb allocated by musb_init_controller() on repeated musb_usb_p

Re: [U-Boot] [PATCH v3 00/45] Kconfig: Move CONFIG_SPL_..._SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:18PM -0600, Simon Glass wrote: > This series moves all the CONFIG_SPL_..._SUPPORT options to Kconfig and > fixes up existing boards to continue to build. > > It also adds a few small but useful features to moveconfig. > > There is existing work going on in this area

Re: [U-Boot] Please pull from u-boot-i2c

2016-09-18 Thread Tom Rini
On Tue, Sep 13, 2016 at 08:36:52AM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c.git master > > The following changes since commit 8cbb389bb3da80cbf8911f8386cbff92c6a78afe: > > Prepare v2016.09 (2016-09-12 10:05:51 -0400) > > are available in the git repository at

Re: [U-Boot] [U-Boot, v3, 02/45] moveconfig: Add an option to skip prompts

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:20PM -0600, Simon Glass wrote: > At present it is not easy to use moveconfig from a script since it asks > for user input a few times. Add a -y option to skip this and assume that > 'y' was entered. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, v3, 01/45] Correct defconfigs using savedefconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:19PM -0600, Simon Glass wrote: > Update the defconfig files to match their canonical form, as produced by > 'make safedefconfig'. > > This is the result of running 'tools/moveconfig.py -s' on the tree. > > Signed-off-by: Simon Glass Applied to u-boot/master, thank

Re: [U-Boot] [U-Boot,v3,06/45] Drop CONFIG_SPL_RAM_SUPPORT

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:24PM -0600, Simon Glass wrote: > This option does not exist in U-Boot. Drop it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing l

Re: [U-Boot] [U-Boot, v3, 04/45] Kconfig: Move SPL settings into their own file

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:22PM -0600, Simon Glass wrote: > Move the SPL settings into common/spl where most of the SPL code is kept. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v3, 03/45] moveconfig: Add an option to commit changes

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:21PM -0600, Simon Glass wrote: > The moveconfig tool is quite clever and generally produces results that > are suitable for sending as a patch without further work. The main required > step is to add the changes to a commit. > > Add an option to do this automatically

Re: [U-Boot] [U-Boot, v3, 05/45] arm: fsl: Adjust ordering of #ifndef CONFIG_SPL_BUILD

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:23PM -0600, Simon Glass wrote: > The secure boot header files incorrectly define SPL options only if > CONFIG_SPL_BUILD is defined. This means that the options are only enabled > in an SPL build, and not with a normal 'make xxx_defconfig'. This means > that moveconfig

Re: [U-Boot] [U-Boot, v3, 07/45] Use separate options for TPL support

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:25PM -0600, Simon Glass wrote: > At present TPL uses the same options as SPL support. In a few cases the board > config enables or disables the SPL options depending on whether > CONFIG_TPL_BUILD is defined. > > With the move to Kconfig, options are determined for th

Re: [U-Boot] [U-Boot, v4, 08/45] Kconfig: spl: Add SPL support options to Kconfig

2016-09-18 Thread Tom Rini
On Tue, Sep 13, 2016 at 07:05:23AM -0600, Simon Glass wrote: > There are a lot of SPL options in U-Boot to enable various features and > drivers. Currently these do not use Kconfig. Add them to Kconfig along > with suitable help, and drop them from the README. > > Signed-off-by: Simon Glass App

Re: [U-Boot] [U-Boot, v3, 09/45] Kconfig: tpl: Add some TPL support options to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:27PM -0600, Simon Glass wrote: > Some of the SPL options have TPL equivalents. Add these to Kconfig so that > we can convert these options over to work from Kconfig. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Descripti

Re: [U-Boot] [U-Boot, v3, 10/45] Move existing use of CONFIG_SPL_DM to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:28PM -0600, Simon Glass wrote: > A few boards define this in a header file which is incorrect. It means that > Kconfig options that rely on this cannot be used. Move it. > > Note that quite a few boards defined this options but do not appear to > actually use SPL: >

Re: [U-Boot] [U-Boot, v3, 13/45] Convert CONFIG_SPL_CRYPTO_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:31PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 11/45] Move existing use of CONFIG_SPL_RSA to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:29PM -0600, Simon Glass wrote: > A few boards define this in a header file which is incorrect. It means that > Kconfig options that rely on this cannot be used. Move it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Descr

Re: [U-Boot] [U-Boot, v3, 12/45] spear: Use upper case for CONFIG options

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:30PM -0600, Simon Glass wrote: > There are a few options which use lower case. We should use upper case for > all CONFIG options. > > Signed-off-by: Simon Glass After adding in: diff --git a/include/configs/spear3xx_evb.h b/include/configs/spear3xx_evb.h index 5ce

Re: [U-Boot] [U-Boot, v3, 14/45] Convert CONFIG_SPL_HASH_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:32PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 15/45] Convert CONFIG_SPL_DMA_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:33PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 16/45] Convert CONFIG_SPL_DRIVERS_MISC_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:34PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 19/45] Convert CONFIG_SPL_EXT_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:37PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 18/45] Convert CONFIG_SPL_ETH_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:36PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 17/45] Convert CONFIG_SPL_ENV_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:35PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 20/45] Convert CONFIG_SPL_FAT_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:38PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 22/45] Convert CONFIG_SPL_I2C_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:40PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 21/45] Convert CONFIG_SPL_GPIO_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:39PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 23/45] Convert CONFIG_SPL_LIBCOMMON_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:41PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 24/45] Convert CONFIG_SPL_LIBDISK_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:42PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 26/45] Convert CONFIG_SPL_MMC_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:44PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 25/45] Convert CONFIG_SPL_LIBGENERIC_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:43PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 27/45] Convert CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:45PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 30/45] Convert CONFIG_SPL_NAND_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:48PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 28/45] Convert CONFIG_SPL_MTD_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:46PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 29/45] Convert CONFIG_SPL_MUSB_NEW_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:47PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 31/45] Convert CONFIG_SPL_NET_VCI_STRING to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:49PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_SPL_NET_VCI_STRING > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3, 32/45] Convert CONFIG_SPL_NET_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:50PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 33/45] Convert CONFIG_SPL_NOR_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:51PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot,v4,35/45] Remove CONFIG_SPL_PINCTRL_SUPPORT

2016-09-18 Thread Tom Rini
On Tue, Sep 13, 2016 at 07:05:50AM -0600, Simon Glass wrote: > This option is not used. Drop it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] [U-Boot, v3, 34/45] Convert CONFIG_SPL_ONENAND_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:52PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 36/45] Convert CONFIG_SPL_POWER_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:54PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 37/45] Convert CONFIG_SPL_SATA_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:55PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 38/45] Convert CONFIG_SPL_SERIAL_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:56PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 40/45] Convert CONFIG_SPL_SPI_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:58PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 39/45] Convert CONFIG_SPL_SPI_FLASH_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:57PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 41/45] Convert CONFIG_SPL_USBETH_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:18:59PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 42/45] Convert CONFIG_SPL_USB_HOST_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:19:00PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 43/45] Convert CONFIG_SPL_USB_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:19:01PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 1/2] Kconfig: Add a whitelist of ad-hoc CONFIG options

2016-09-18 Thread Tom Rini
On Tue, Sep 13, 2016 at 09:44:06PM -0600, Simon Glass wrote: > Add a list of ad-hoc CONFIG options that don't use Kconfig. This can be used > to check that new ones are not being added. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digita

Re: [U-Boot] [U-Boot, v3, 44/45] Convert CONFIG_SPL_WATCHDOG_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:19:02PM -0600, Simon Glass wrote: > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot, v3, 2/2] Makefile: Give a build error if ad-hoc CONFIG options are added

2016-09-18 Thread Tom Rini
On Tue, Sep 13, 2016 at 09:44:07PM -0600, Simon Glass wrote: > New CONFIG options should be added via Kconfig. To help prevent new ad-hoc > CONFIGs from being added, give a build error when these are detected. > > Signed-off-by: Simon Glass > Acked-by: Stephen Warren > Tested-by: Stephen Warren

Re: [U-Boot] [U-Boot, v3, 45/45] Convert CONFIG_SPL_YMODEM_SUPPORT to Kconfig

2016-09-18 Thread Tom Rini
On Mon, Sep 12, 2016 at 11:19:03PM -0600, Simon Glass wrote: > Convert CONFIG_SPL_YMODEM_SUPPORT to Kconfig > > Move this option to Kconfig and tidy up existing uses. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH] Repair image-fit: switch ENOLINK to ENOENT

2016-09-18 Thread Tom Rini
On Sun, Sep 18, 2016 at 03:27:31PM +0200, Marek Vasut wrote: > This patch broke booting of any fitImage-wrapped kernel images due > to replacement of ENOLINK with ENOENT without checking where the > ENOLINK return value is being tested for. Adjust the tests as well > to repair the breakage. > > S

Re: [U-Boot] [PATCH] mmc: cat u8 to u64 to avoid unexpected error

2016-09-18 Thread Tom Rini
On Tue, Sep 13, 2016 at 04:27:57PM +0800, Haibo Chen wrote: > Suspicious implicit sign extension exist. ext_csd[] is defined > as "u8", capacity is defined as u64, so u8 is promoted to signed > int first int the "|" expersion, then the sign extended to u64. > if the tmp sign value is largeer than

Re: [U-Boot] [PATCH] ML: SPL: NOR: Add CONFIG_SPL_NOR_COPY_ENTIRE_IMAGE define to enable whole image copy from NOR

2016-09-18 Thread Tom Rini
On Fri, Sep 16, 2016 at 10:43:51AM +0200, Lukasz Majewski wrote: > This define gives the possibility to copy entire image (including header) > from NOR parallel memory to e.g. SDRAM. > > The legacy behavior is preserved, since other board don't enabled this option. What's the use case? > Signed

Re: [U-Boot] [GIT PULL] Xilinx changes

2016-09-18 Thread Tom Rini
On Wed, Sep 14, 2016 at 01:14:37PM +0200, Michal Simek wrote: > Hi Tom, > > here are patches I have collected for improving Xilinx support. > I have also patches regarding moving IDENT_STRING to Kconfig > but they need to be rework because simple adding it to Kconfig > won't work. All boards need

Re: [U-Boot] [PATCH v2 04/17] Kconfig: Add DEFAULT_FDT_FILE entry

2016-09-18 Thread Tom Rini
On Sat, Sep 17, 2016 at 02:18:36AM +0530, Jagan Teki wrote: > Add kconfig entry for CONFIG_DEFAULT_FDT_FILE > > Cc: Tom Rini > Cc: Simon Glass > Cc: Michael Trimarchi > Signed-off-by: Jagan Teki > --- > common/Kconfig | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/common/Kco

Re: [U-Boot] [PATCH] ML: SPL: NOR: Add CONFIG_SPL_NOR_COPY_ENTIRE_IMAGE define to enable whole image copy from NOR

2016-09-18 Thread Lukasz Majewski
Hi Tom, > On Fri, Sep 16, 2016 at 10:43:51AM +0200, Lukasz Majewski wrote: > > > This define gives the possibility to copy entire image (including > > header) from NOR parallel memory to e.g. SDRAM. > > > > The legacy behavior is preserved, since other board don't enabled > > this option. > > W

Re: [U-Boot] [PATCH] ML: SPL: NOR: Add CONFIG_SPL_NOR_COPY_ENTIRE_IMAGE define to enable whole image copy from NOR

2016-09-18 Thread Tom Rini
On Sun, Sep 18, 2016 at 09:10:34PM +0200, Lukasz Majewski wrote: > Hi Tom, > > > On Fri, Sep 16, 2016 at 10:43:51AM +0200, Lukasz Majewski wrote: > > > > > This define gives the possibility to copy entire image (including > > > header) from NOR parallel memory to e.g. SDRAM. > > > > > > The lega

Re: [U-Boot] [PATCH 0/2] Add sdram capacity auto detect for rk3288

2016-09-18 Thread Vagrant Cascadian
On 2016-09-15, Sandy Patterson wrote: > An alternative for you might be to disable OF_PLATDATA for firefly and > enable BACK_TO_BROM. I wasn't able to successfully build with OF_PLATDATA disabled; sounds like there are more patches needed for firefly for that to work. > You may not be getting an

[U-Boot] [PATCH 05/27] spl: Add function comments to spl_start_uboot()

2016-09-18 Thread Simon Glass
Add some comments to describe this function. Signed-off-by: Simon Glass --- include/spl.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/spl.h b/include/spl.h index aebafa3..742e6c2 100644 --- a/include/spl.h +++ b/include/spl.h @@ -110,7 +110,18 @@ int spl_board_ubi_l

[U-Boot] [PATCH 01/27] spl: Move spl_board_load_image() into a generic header

2016-09-18 Thread Simon Glass
At present this is only used on ARM and sandbox, but it is just as applicable to other architectures. Move the function prototype into the generic SPL header. Signed-off-by: Simon Glass --- arch/arm/include/asm/spl.h | 9 - arch/sandbox/include/asm/spl.h | 8 include/spl.h

[U-Boot] [PATCH 02/27] spl: Add a parameter to spl_set_header_raw_uboot()

2016-09-18 Thread Simon Glass
Rather than act on the global variable, pass the required struct in as a parameter. Signed-off-by: Simon Glass --- common/spl/spl.c | 14 +++--- common/spl/spl_nand.c | 2 +- include/spl.h | 13 - 3 files changed, 20 insertions(+), 9 deletions(-) diff --git a/

[U-Boot] [PATCH 06/27] spl: Kconfig: Move SPL_DISPLAY_PRINT to Kconfig

2016-09-18 Thread Simon Glass
Move this option to Kconfig and tidy up existing uses. Also add a function comment to the header file. Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/omap4/Kconfig | 3 +++ arch/arm/cpu/armv7/omap5/Kconfig | 3 +++ common/spl/Kconfig| 9 + include/configs/ti_omap4_c

[U-Boot] [PATCH 04/27] spl: Add a parameter to jump_to_image_linux()

2016-09-18 Thread Simon Glass
Instead of using the global spl_image variable, pass the required struct in as an argument. Signed-off-by: Simon Glass --- arch/arm/lib/spl.c| 4 ++-- arch/microblaze/cpu/spl.c | 4 ++-- arch/powerpc/lib/spl.c| 4 ++-- common/spl/spl.c | 3 ++- include/spl.h

[U-Boot] [PATCH 08/27] spl: Add a way to declare an SPL image loader

2016-09-18 Thread Simon Glass
Add a linker list macro which can be used to declare an SPL image loader. Update spl_load_image() to search available loaders for the correct one. Signed-off-by: Simon Glass --- common/spl/spl.c | 20 include/spl.h| 32 2 files changed,

[U-Boot] [PATCH 03/27] spl: Add a parameter to spl_parse_image_header()

2016-09-18 Thread Simon Glass
Instead of using the global spl_image variable, pass the required struct in as an argument. Signed-off-by: Simon Glass --- arch/arm/mach-uniphier/boot-mode/spl_board.c | 2 +- common/spl/spl.c | 41 ++-- common/spl/spl_ext.c

[U-Boot] [PATCH 09/27] spl: Convert spl_ram_load_image() to use linker list

2016-09-18 Thread Simon Glass
Add a linker list declaration for this method and remove the explicit switch() code. Signed-off-by: Simon Glass --- common/spl/spl.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index 719ae6e..4fe5d98 100644 --- a/common/spl/spl.c +

[U-Boot] [PATCH 10/27] spl: Convert spl_mmc_load_image() to use linker list

2016-09-18 Thread Simon Glass
Add a linker list declaration for this method and remove the explicit switch() code. Signed-off-by: Simon Glass --- common/spl/spl.c | 6 -- common/spl/spl_mmc.c | 6 +- include/spl.h| 3 --- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/common/spl/spl.c b/

[U-Boot] [PATCH 15/27] spl: Convert spl_ymodem_load_image() to use linker list

2016-09-18 Thread Simon Glass
Add a linker list declaration for this method and remove the explicit switch() code. Signed-off-by: Simon Glass --- common/spl/spl.c| 4 common/spl/spl_ymodem.c | 3 ++- include/spl.h | 3 --- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/common/spl/spl.c

[U-Boot] [PATCH 13/27] spl: Convert spl_onenand_load_image() to use linker list

2016-09-18 Thread Simon Glass
Add a linker list declaration for this method and remove the explicit switch() code. Signed-off-by: Simon Glass --- common/spl/spl.c | 4 common/spl/spl_onenand.c | 4 +++- include/spl.h| 3 --- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/common/spl/s

[U-Boot] [PATCH 14/27] spl: Convert spl_nor_load_image() to use linker list

2016-09-18 Thread Simon Glass
Add a linker list declaration for this method and remove the explicit switch() code. Signed-off-by: Simon Glass --- common/spl/spl.c | 4 common/spl/spl_nor.c | 3 ++- include/spl.h| 3 --- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/common/spl/spl.c b/common

[U-Boot] [PATCH 12/27] spl: Convert spl_nand_load_image() to use linker list

2016-09-18 Thread Simon Glass
Add a linker list declaration for this method and remove the explicit switch() code. Signed-off-by: Simon Glass --- common/spl/spl.c | 4 common/spl/spl_nand.c | 4 +++- include/spl.h | 3 --- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/common/spl/spl.c b/co

[U-Boot] [PATCH 11/27] spl: Convert spl_ubi_load_image() to use linker list

2016-09-18 Thread Simon Glass
Add a linker list declaration for this method and remove the explicit switch() code. Signed-off-by: Simon Glass --- common/spl/spl.c | 6 -- common/spl/spl_ubi.c | 3 +++ include/spl.h| 3 --- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/common/spl/spl.c b/comm

[U-Boot] [PATCH 16/27] spl: Convert spl_usb_load_image() to use linker list

2016-09-18 Thread Simon Glass
Add a linker list declaration for this method and remove the explicit switch() code. Signed-off-by: Simon Glass --- common/spl/spl.c | 4 common/spl/spl_usb.c | 3 ++- include/spl.h| 3 --- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/common/spl/spl.c b/common

[U-Boot] [PATCH 18/27] spl: spi: Move the generic SPI loader into common/spl

2016-09-18 Thread Simon Glass
All the other SPL loaders are in this directory, so move the SPI one in there too. There are two board-specific SPI loaders (fsl and sunxi). These remain in the drivers/mtd/spi directory, since they do not contain generic code. Signed-off-by: Simon Glass --- common/spl/Makefile

[U-Boot] [PATCH 26/27] spl: Update spl_load_simple_fit() to take an spl_image param

2016-09-18 Thread Simon Glass
Upda the SPL FIT code to use the spl_image parameter. Signed-off-by: Simon Glass --- common/spl/spl.c| 2 +- common/spl/spl_fat.c| 2 +- common/spl/spl_fit.c| 9 + common/spl/spl_mmc.c| 2 +- common/spl/spl_nand.c | 2 +- common/spl/spl_spi.c| 2 +- common/spl/

[U-Boot] [PATCH 22/27] spl: Convert spl_board_load_image() to use linker list

2016-09-18 Thread Simon Glass
Add a linker list declaration for this method and remove the explicit switch() code. Update existing users. Signed-off-by: Simon Glass --- arch/arm/mach-sunxi/board.c | 5 - arch/arm/mach-uniphier/boot-mode/spl_board.c | 3 ++- arch/sandbox/cpu/spl.c

[U-Boot] [PATCH 17/27] spl: Convert spl_sata_load_image() to use linker list

2016-09-18 Thread Simon Glass
Add a linker list declaration for this method and remove the explicit switch() code. Signed-off-by: Simon Glass --- common/spl/spl.c | 4 common/spl/spl_sata.c | 3 ++- include/spl.h | 3 --- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/common/spl/spl.c b/com

Re: [U-Boot] [PATCH v2 01/17] imx: iomux-v3: Fix build error with snvs base

2016-09-18 Thread Jagan Teki
On Sun, Sep 18, 2016 at 12:33 PM, Peng Fan wrote: > Hi Jagan, > On Sat, Sep 17, 2016 at 02:18:33AM +0530, Jagan Teki wrote: >>snvs base is added only for i.MX6ULL but the code is >>added for common, so firing build error while compiling >>other i.MX6 SOC's >> >>Issue observed with the below patch

[U-Boot] [PATCH 00/27] spl: Use linker list and parameters for SPL image loading

2016-09-18 Thread Simon Glass
At present the SPL code uses a global spl_image variable which is shared amongst lots of files, some in common/spl and some elsewhere. There is no need for this to be global, and in fact a parameter makes it easier to understand what information the functions act on. It also reduces the BSS use in

[U-Boot] [PATCH] arm, Makefile: set SPL_PAYLOAD according to the SoC architecture

2016-09-18 Thread Raghav Dogra
SPL_PAYLOAD should be .img in case of ARM architecture and .bin in case of other architectures. This patch takes care of the same by choosing the SPL_PAYLOAD as u-boot.img for ARM architecture and u-boot.bin for others. Signed-off-by: Raghav Dogra --- Makefile | 4 1 file changed, 4 inserti

[U-Boot] [PATCH 07/27] spl: Convert boot_device into a struct

2016-09-18 Thread Simon Glass
At present some spl_xxx_load_image() functions take a parameter and some don't. Of those that do, most take an integer but one takes a string. Convert this parameter into a struct so that we can pass all functions the same thing. This will allow us to use a common function signature. Signed-off-b

[U-Boot] [PATCH 25/27] spl: Update fat functions to take an spl_image parameter

2016-09-18 Thread Simon Glass
Update the fat loader to avoid using the spl_image global variable. Signed-off-by: Simon Glass --- common/spl/spl_fat.c | 21 - common/spl/spl_mmc.c | 4 ++-- common/spl/spl_sata.c | 11 +++ common/spl/spl_usb.c | 13 - include/spl.h | 6

  1   2   3   >