[U-Boot] [PATCH 5/6] arm: am57xx: cl-som-am57x: enable USB storage

2017-02-08 Thread Uri Mashiach
Add CONFIG_USB_STORAGE to the defconfig file. Signed-off-by: Uri Mashiach --- configs/cl-som-am57x_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/cl-som-am57x_defconfig b/configs/cl-som-am57x_defconfig index 916b836..1831f45 100644 --- a/configs/cl-som-am57x_defconfig +++

[U-Boot] [PATCH 6/6] arm: am57xx: cl-som-am57x: enable USB commands

2017-02-08 Thread Uri Mashiach
Add CONFIG_CMD_USB to the defconfig file. Signed-off-by: Uri Mashiach --- configs/cl-som-am57x_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/cl-som-am57x_defconfig b/configs/cl-som-am57x_defconfig index 1831f45..83d7bd0 100644 --- a/configs/cl-som-am57x_defconfig +++ b/co

[U-Boot] [PATCH 4/6] arm: am57xx: cl-som-am57x: fix USB scan

2017-02-08 Thread Uri Mashiach
USB bus scan attempt: --cut-- => usb start starting USB... USB0: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... data abort pc : [] lr : [] reloc pc : [<8081b40e>]lr : [<80

[U-Boot] [PATCH 3/6] arm: am57xx: cl-som-am57x: invoke clock API to enable/disable clocks

2017-02-08 Thread Uri Mashiach
Invoke enable_usb_clocks during board_usb_init and disable_usb_clocks during board_usb_exit to enable and disable clocks respectively. Modifications: * Enable USB clocks in the OMAP version of the function board_usb_init. * Disable USB clocks in the OMAP version of the function board_usb_clean

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

2017-02-08 Thread Uri Mashiach
A weak version of the function board_usb_init is implemented in: common/usb.c drivers/usb/host/xhci-omap.c To fix the double implementations: * Convert the board_usb_init function in drivers/usb/host/xhci-omap.c normal (not weak). * The function board_usb_init in drivers/usb/host/xhci-omap.c cal

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

2017-02-08 Thread Uri Mashiach
The following XHCI registers base address are set to OMAP5 values: OMAP_XHCI_BASE, OMAP_OCP1_SCP_BASE, OMAP_OTG_WRAPPER_BASE Captured crash for "usb start" command: --cut-- => usb start starting USB... USB0: data abort pc : []

Re: [U-Boot] [PATCH v2] mmc: mmc-uclass: use the fixed devnum with alias node

2017-02-08 Thread Jaehoon Chung
On 02/02/2017 01:41 PM, Jaehoon Chung wrote: > If there are alias nodes as "mmc", use the devnum as alias index > number. > This patch is for fixing a problem of Exynos4 series. > Problem is the below thing. > > Current legacy mode: > EXYNOS DWMMC: 0, SAMSUNG SDHCI: 1 > > After using DM: > SAMSUN

Re: [U-Boot] [PATCH] mmc: init mmc block devices on probe

2017-02-08 Thread Jaehoon Chung
On 01/25/2017 06:00 PM, Fiach Antaw wrote: > MMC devices accessed exclusively via the driver model were not > being initialized before being exposed as block devices, causing > issues in scenarios where the MMC device is first accessed via the > uclass block interface. > > Signed-off-by: Fiach Ant

Re: [U-Boot] [PATCH v2 2/2] arm: dts: trats: add the pmic node for using DM

2017-02-08 Thread Jaehoon Chung
Hi, On 02/02/2017 05:04 PM, Jaehoon Chung wrote: > To use driver-model adds the pmic node for max8997. > This is used as kernel device-tree in Linux. > > Signed-off-by: Jaehoon Chung > Reviewed-by: Simon Glass Minkyu doesn't review this patch. but i will pick this patch on my repository. Appl

Re: [U-Boot] [PATCH v2 1/2] power: pmic: add the max8997 controller for DM

2017-02-08 Thread Jaehoon Chung
Hi, On 02/02/2017 05:04 PM, Jaehoon Chung wrote: > Add the max8997 controller for Driver model. > Exynos4210 is using max8997 pmic controller. > (pmic_max8997.c should be deprecated.) > > Signed-off-by: Jaehoon Chung > Reviewed-by: Simon Glass Applied on pmic branch of u-boot-mmc. Thanks! Bes

Re: [U-Boot] [PATCH] mmc: ftsdc021_sdhci: remove the ftsdc021_sdhci.c

2017-02-08 Thread Jaehoon Chung
On 02/02/2017 08:58 PM, Tom Rini wrote: > On Thu, Feb 02, 2017 at 07:33:36PM +0900, Jaehoon Chung wrote: > >> ftsdc021_sdhci.c is dead file. >> There is no reason to maintain this host controller. >> Removes the entire ftsdc021_sdhci.c. >> >> Signed-off-by: Jaehoon Chung > > Reviewed-by: Tom Rin

Re: [U-Boot] [PATCH] drivers: mmc: omap_hsmmc: Fix IO Buffer on OMAP36xx

2017-02-08 Thread Jaehoon Chung
Hi On 02/07/2017 02:31 AM, aford...@gmail.com wrote: > From: Adam Ford > > On the OMAP36xx/37xx the CONTROL_WKUP_CTRL register has > a field (bit 6) named GPIO_IO_PWRDNZ. If 0, the IO buffers which > are related to GPIO_126, 127 and 129 are disabled. Some boards may > need this for MMC. After t

[U-Boot] distro boot on ls2085ardb

2017-02-08 Thread Stuart Yoder
All, The patch Alex submitted to enable distro boot on ls2085ardb sets up a default bootcmd that looks like this: bootcmd=run mcinitcmd && fsl_mc lazyapply dpl 0x58070 && cp.b $kernel_start $kernel_load $kernel_size && bootm $kernel_load || run distro_bootcmd

Re: [U-Boot] distro boot on ls2085ardb

2017-02-08 Thread Prabhakar Kushwaha
> -Original Message- > From: york sun > Sent: Thursday, February 09, 2017 4:43 AM > To: Peter Newton ; Stuart Yoder > ; ag...@suse.de; Prabhakar Kushwaha > > Cc: u-boot@lists.denx.de > Subject: Re: distro boot on ls2085ardb > > On 02/08/2017 03:08 PM, Peter Newton wrote: > >> From: york

Re: [U-Boot] [PATCH] nand: atmel: add drvice tree support and dm gpio APIs

2017-02-08 Thread Wenyou.Yang
Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: 2017年2月8日 13:09 > To: Wenyou Yang - A41535 > Cc: U-Boot Mailing List ; Andreas Bießmann > ; Scott Wood ; Wenyou > Yang - A41535 > Subject: Re: [PATCH] nand: atmel: add drvice

Re: [U-Boot] distro boot on ls2085ardb

2017-02-08 Thread york sun
On 02/08/2017 02:55 PM, Stuart Yoder wrote: > All, > > The patch Alex submitted to enable distro boot on ls2085ardb sets > up a default bootcmd that looks like this: > > bootcmd=run mcinitcmd && fsl_mc lazyapply dpl 0x58070 && > cp.b $kernel_start $kernel_load $kernel_size &

Re: [U-Boot] [PATCH v3 2/6] spl: Add option to enable SPL Legacy image support

2017-02-08 Thread Lokesh Vutla
On Wednesday 08 February 2017 10:51 PM, Andrew F. Davis wrote: > Add a Kconfig option that enables Legacy image support, this allows > boards to explicitly disable this, for instance when needed for > security reasons. > > Signed-off-by: Andrew F. Davis > --- > Kconfig | 8 >

Re: [U-Boot] [PATCH v3 1/6] spl: Convert CONFIG_SPL_ABORT_ON_RAW_IMAGE into a positive option

2017-02-08 Thread Lokesh Vutla
On Wednesday 08 February 2017 10:51 PM, Andrew F. Davis wrote: > CONFIG_SPL_ABORT_ON_RAW_IMAGE causes SPL to abort and move on when it > encounters RAW images, express this same functionality as a positive > option enabling support for RAW images: CONFIG_SPL_RAW_IMAGE_SUPPORT > > Signed-off-by:

Re: [U-Boot] [PATCH] defconfig: am43xx_hs_evm: Sync HS defconfig with non-HS defconfig

2017-02-08 Thread Lokesh Vutla
On Thursday 09 February 2017 02:02 AM, Andrew F. Davis wrote: > The non-HS defconfig has been modified without equivalent changes being > applied to the HS defconfig. Sync these here. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla I am sure we might encounter this problem again

Re: [U-Boot] [PATCH 2/6] ARM: OMAP2+: define _image_binary_end to fix SPL_OF_CONTROL

2017-02-08 Thread Lokesh Vutla
On Wednesday 08 February 2017 10:03 PM, Ladislav Michl wrote: > On Wed, Feb 08, 2017 at 06:03:33PM +0530, Lokesh Vutla wrote: >> To make SPL_OF_CONTROL work on OAP2+ SoCs, _image_binary_end must be > OMAP2+ ---> ^ > > Just a nitpick, but helps grepping for changes in git

Re: [U-Boot] [PATCH 3/6] ARM: dts: AM57xx: Add generic dts for spl

2017-02-08 Thread Lokesh Vutla
On Wednesday 08 February 2017 07:19 PM, Tom Rini wrote: > On Wed, Feb 08, 2017 at 06:03:34PM +0530, Lokesh Vutla wrote: > >> Add a generic dts file for spl that is used by all >> AM57xx based platforms. >> >> Signed-off-by: Lokesh Vutla >> --- >> arch/arm/dts/Makefile | 1 + >>

[U-Boot] [PATCH v2 3/5] ARM: dts: OMAP5+: Add u-boot specific dtsi

2017-02-08 Thread Lokesh Vutla
Add u-boot specific dtsi so that this will be included automatically while building dts. Signed-off-by: Lokesh Vutla --- arch/arm/dts/omap5-u-boot.dtsi | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 arch/arm/dts/omap5-u-boot.dtsi diff --git

[U-Boot] [PATCH v2 5/5] configs: dra7xx_evm: Enable SPL_DM

2017-02-08 Thread Lokesh Vutla
Enable SPL_DM on all DRA7 based platforms. Signed-off-by: Lokesh Vutla --- configs/dra7xx_evm_defconfig | 5 - configs/dra7xx_hs_evm_defconfig | 5 - include/configs/dra7xx_evm.h | 5 - include/configs/ti_omap5_common.h | 8 +--- 4 files changed, 9 insertions(+), 14 d

[U-Boot] [PATCH v2 2/5] ARM: OMAP2+: define _image_binary_end to fix SPL_OF_CONTROL

2017-02-08 Thread Lokesh Vutla
To make SPL_OF_CONTROL work on OMAP2+ SoCs, _image_binary_end must be defined in the linker script along with CONFIG_SPL_SEPARATE_BSS. Reviewed-by: Tom Rini Signed-off-by: Lokesh Vutla --- arch/arm/mach-omap2/u-boot-spl.lds | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-oma

[U-Boot] [PATCH v2 4/5] configs: am57xx_evm: Enable SPL_DM

2017-02-08 Thread Lokesh Vutla
Enable SPL_DM on all AM57xx based platforms. Signed-off-by: Lokesh Vutla --- configs/am57xx_evm_defconfig| 7 +-- configs/am57xx_hs_evm_defconfig | 5 - include/configs/am57xx_evm.h| 5 - 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/configs/am57xx_evm_defcon

[U-Boot] [PATCH v2 0/5] ARM: DRA7: AM57xx: Enable SPL_DM

2017-02-08 Thread Lokesh Vutla
- Enable SPL_DM on all DRA7 and AM57xx based platforms. - SPL uses a generic dts on all platforms with same defconfig. - After this series SPL size is increased by ~8KB. Verified MMC, eMMC boot on DRA74-evm, DRA72-evm. MMC boot on AM57xx-evm. Changes since v1: - Instead of creating a new dts file

[U-Boot] [PATCH v2 1/5] tools: omapimage: Fix size in header

2017-02-08 Thread Lokesh Vutla
The size field in GP header that is expected by ROM is size of the image + size of the header. But omapimage generates a gp header only with size of the image as size field. Fix it Reviewed-by: Tom Rini Signed-off-by: Lokesh Vutla --- tools/gpimage.c | 2 +- tools/omapimage.c | 2 +- 2 files

Re: [U-Boot] [PATCH v2] spi: ich: Configure SPI BIOS parameters

2017-02-08 Thread Bin Meng
Hi Stefan, On Thu, Feb 9, 2017 at 12:44 AM, Stefan Roese wrote: > Hi Bin, > > > On 04.02.2017 06:57, Bin Meng wrote: >> >> On Mon, Jan 23, 2017 at 10:55 PM, Stefan Roese wrote: >>> >>> Without configuring these registers in the SPI controller, the Linux >>> MTD device driver is not able to corre

Re: [U-Boot] [PATCH] arm: socfpga: set the mpuclk divider in the Altera group register

2017-02-08 Thread Dinh Nguyen
On Wed, Feb 8, 2017 at 5:23 PM, Marek Vasut wrote: > On 02/08/2017 11:51 PM, Dinh Nguyen wrote: >> >> >> On 02/08/2017 03:04 PM, Marek Vasut wrote: >>> On 02/08/2017 06:59 PM, Dinh Nguyen wrote: On 02/07/2017 07:32 PM, Marek Vasut wrote: > On 02/08/2017 02:21 AM, Marek Vasut wro

Re: [U-Boot] Please pull u-boot-dm

2017-02-08 Thread Tom Rini
On Wed, Feb 08, 2017 at 10:45:20AM -0700, Simon Glass wrote: > Hi Tom, > > This includes a few more DM and patman/buildman patches and some > cros_ec additions. The change to of_offset is best applied now that > rc1 is out, since I should have picked up all the usages. > > > The following chang

Re: [U-Boot] [U-Boot, v2, 01/15] cmd: bootm: fix build when CONFIG_CMD_IMLS_NAND

2017-02-08 Thread Tom Rini
On Tue, Jan 31, 2017 at 03:37:03PM -0600, Grygorii Strashko wrote: > Now when CONFIG_CMD_IMLS_NAND is enabled the u-boot build will fail, > because nand_read_skip_bad() function has been changed to accept more > parameters, hence fix it. > > CC cmd/bootm.o > cmd/bootm.c: In function 'nand_i

Re: [U-Boot] GPIO: Correct doc typo "confguration" -> "configuration"

2017-02-08 Thread Tom Rini
On Mon, Feb 06, 2017 at 07:11:41AM -0500, Robert P. J. Day wrote: > Signed-off-by: Robert P. J. Day Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx

Re: [U-Boot] arm64: fix comment in relocate_64.S

2017-02-08 Thread Tom Rini
On Sat, Feb 04, 2017 at 12:30:06PM +0900, Masahiro Yamada wrote: > There are two typos in the comment "invalide i-cache is enabled". > We can fix it by > invalide -> invalidate > is -> if > > Or, if we want to match the comment to the code, we can say > "skip invalidating i-cache if dis

Re: [U-Boot] keystone2: Rename local CONFIG_ symbol

2017-02-08 Thread Tom Rini
On Fri, Feb 03, 2017 at 12:31:46PM +, Phil Edworthy wrote: > CONFIG_SPL_STACK_SIZE is not a config option, so rename it. > > Signed-off-by: Phil Edworthy Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] Remove unused symbol CONGIG_CMD_STORAGE from board configs

2017-02-08 Thread Tom Rini
On Mon, Feb 06, 2017 at 12:30:19PM +0100, Lars Poeschel wrote: > Albeit it's a typo, neither CONGIG_CMD_STORAGE nor CONFIG_CMD_STORAGE > are used anywhere, so remove the define from the board configs. > > Signed-off-by: Lars Poeschel > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -

Re: [U-Boot] [U-Boot, v3] cmd: move CONFIG_CMD_UNZIP and CONFIG_CMD_ZIP to Kconfig

2017-02-08 Thread Tom Rini
On Sun, Feb 05, 2017 at 10:42:56AM +0900, Masahiro Yamada wrote: > CONFIG_CMD_ZIP is not defined by any board. I am moving > CONFIG_CMD_UNZIP to defconfig files except UniPhier SoC family. > > I am the maintainer of UniPhier platform, so I know "select CMD_UNZIP" > is better for this platform. >

Re: [U-Boot] [U-Boot, v2] regulator: palmas: Fix smps6 - smps9 indices

2017-02-08 Thread Tom Rini
On Fri, Feb 03, 2017 at 05:04:08PM +0530, Keerthy wrote: > The array indices used currently are dispalaced by 1 for > SMPS6 through SMPS10 in the respective places of voltage and ctrl > arrays hence fix the same as to assign the right voltage and ctrl > registers. > > Signed-off-by: Keerthy App

Re: [U-Boot] common: env_sf: Use CONFIG_SF_DEFAULT_xxx as the default value for CONFIG_ENV_SPI_xxx

2017-02-08 Thread Tom Rini
On Wed, Feb 01, 2017 at 02:51:47PM +0100, Jean-Jacques Hiblot wrote: > The default values for the configuration defines CONFIG_ENV_SPI_xxx are > arbitrary values. It makes more sense to set them to the values used by > the sf command. > > Signed-off-by: Jean-Jacques Hiblot > Reviewed-by: Tom Rin

Re: [U-Boot] pwm: remove unneeded ifdef CONFIG_DM_PWM ... endif

2017-02-08 Thread Tom Rini
On Thu, Feb 02, 2017 at 04:04:11PM +0900, Masahiro Yamada wrote: > Both CONFIG_PWM_TEGRA and CONFIG_PWM_EXYNOS depend on CONFIG_DM_PWM, > i.e. they are already guarded by Kconfig correctly. Remove unneeded > ifdef CONFIG_DM_PWM ... endif. > > While we are here, let's tidy up alignment and sort t

Re: [U-Boot] [U-Boot,1/1] checkpatch: Port spelling to checkpatch

2017-02-08 Thread Tom Rini
On Tue, Jan 31, 2017 at 02:15:53PM -0600, Dan Murphy wrote: > Pick commit 66b47b4a9dad0 checkpatch: look for common misspellings > from the Linux kernel for spelling check from Kees Cook > > In addition pulled in additional changes > commit ebfd7d6237531 checkpatch: add optional --codespell dicti

Re: [U-Boot] pcm052: fix DDR initialization sequence

2017-02-08 Thread Tom Rini
On Wed, Feb 01, 2017 at 02:46:00PM +0100, Albert ARIBAUD (3ADEV) wrote: > The sequence erroneously launched the DDR controller > initialization before the pad muxing was done, causing > DRAM size computation to hang. > > Configuring the pads first then launching DDR controller > initialization pr

Re: [U-Boot] drivers: net: cpsw: Fix reading of mac address for am43 SoCs

2017-02-08 Thread Tom Rini
On Wed, Feb 01, 2017 at 09:20:49AM +0530, Lokesh Vutla wrote: > cpsw driver tries to get macid for am43xx SoCs using the compatible > ti,am4372. But not all variants of am43x uses this complatible like > epos evm uses ti,am438x. So use a generic compatible ti,am43 to get > macid for all am43 based

Re: [U-Boot] [U-Boot,v4,2/5] api: Convert to Kconfig

2017-02-08 Thread Tom Rini
On Tue, Jan 31, 2017 at 12:17:05PM +0100, Emmanuel Vadot wrote: > Now that we have a Kconfig for the API, convert the two boards that > are using this to Kconfig and remove CONFIG_API from the whitelist. > > Signed-off-by: Emmanuel Vadot > Reviewed-by: Tom Rini > Reviewed-by: Simon Glass Appl

Re: [U-Boot] kbuild: beautify the log of config whitelist check

2017-02-08 Thread Tom Rini
On Tue, Jan 31, 2017 at 08:11:33PM +0900, Masahiro Yamada wrote: > Use the kbuild style log. > > Prior to this commit: > > ./scripts/check-config.sh u-boot.cfg \ > ./scripts/config_whitelist.txt . 1>&2 > > With this commit: > > CFGCHK u-boot.cfg > > Signed-off-by: Masahiro Yamada >

Re: [U-Boot] ARM: dts: k2*: Rename the k2* files to keystone-k2* files

2017-02-08 Thread Tom Rini
On Tue, Jan 31, 2017 at 09:32:57AM +0530, Lokesh Vutla wrote: > As reported in [1], rename the k2* dts files to keystone-* files > this will force consistency throughout. > > Script for the same (and hand modified for Makefile and config > files): > for i in arch/arm/dts/k2* > do > b=`basen

Re: [U-Boot] [U-Boot,v4,1/5] kconfig: Add API kconfig file

2017-02-08 Thread Tom Rini
On Tue, Jan 31, 2017 at 12:17:04PM +0100, Emmanuel Vadot wrote: > Add kconfig file to enable API support > > Signed-off-by: Emmanuel Vadot > Reviewed-by: Tom Rini > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, 1/1] aspeed: ast2500: Fix H-PLL and M-PLL clock rate calculation

2017-02-08 Thread Tom Rini
On Mon, Jan 30, 2017 at 11:35:04AM -0800, max...@google.com wrote: > Fix H-PLL and M-PLL rate calculation in ast2500 clock driver. > Without this fix, valid setting can lead to division by zero > when requesting the rate of H-PLL or M-PLL clocks. > > Signed-off-by: Maxim Sloyko > Reviewed-by: Si

Re: [U-Boot] [U-Boot, v1] cmd: gpt: backup boot code before writing MBR

2017-02-08 Thread Tom Rini
On Mon, Jan 30, 2017 at 03:46:07PM +0300, Andy Shevchenko wrote: > From: Vincent Tinelli > > On some cases the first 440 bytes of MBR are used to keep an additional > information for ROM boot loader. 'gpt write' command doesn't preserve > that area and makes boot code gone. > > Preserve boot co

Re: [U-Boot] [U-Boot, v2, 1/3] scripts: import bin2c.c from Linux 4.10-rc6

2017-02-08 Thread Tom Rini
On Mon, Jan 30, 2017 at 11:12:06AM +0900, Masahiro Yamada wrote: > Import scripts/basic/bin2c.c of Linux. > > In Linux Kernel, this file was moved to scripts/basic directory by > commit 8370edea81e3 ("bin2c: move bin2c in scripts/basic"). > > In U-Boot, we do not need to follow that commit. Jus

Re: [U-Boot] [U-Boot,v2,3/3] cmd: rework "license" command

2017-02-08 Thread Tom Rini
On Mon, Jan 30, 2017 at 11:12:08AM +0900, Masahiro Yamada wrote: > The previous commit ("add a new command to show .config contents") > improves the basic infrastructure of "embed a compressed file into > the U-Boot image, and print it by a command". The same pattern for > the "license" command.

Re: [U-Boot] [U-Boot, v2, 2/3] cmd: add a new command "config" to show .config contents

2017-02-08 Thread Tom Rini
On Mon, Jan 30, 2017 at 11:12:07AM +0900, Masahiro Yamada wrote: > This feature is inspired by /proc/config.gz of Linux. In Linux, > if CONFIG_IKCONFIG is enabled, the ".config" file contents are > embedded in the kernel image. If CONFIG_IKCONFIG_PROC is also > enabled, the ".config" contents ar

Re: [U-Boot] [U-Boot,2/2] arm64: use store with auto-increment

2017-02-08 Thread Tom Rini
On Fri, Jan 27, 2017 at 04:15:30PM +0900, Masahiro Yamada wrote: > Save one instruction. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boo

Re: [U-Boot] [U-Boot, 1/2] arm64: use xzr to zero-out the bss section

2017-02-08 Thread Tom Rini
On Fri, Jan 27, 2017 at 04:15:29PM +0900, Masahiro Yamada wrote: > AArch64 has a zero register (xzr). Use it instead of x2. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH v4 0/2] SPL: Add support to boot a partition type

2017-02-08 Thread Dalon Westergreen
On Fri, 2017-02-03 at 10:36 -0800, Dalon Westergreen wrote: > From: Dalon Westergreen > > This adds support for the spl to seach for and boot from an arbitrary  > partition type rather then a specific partition number.  When > USE_PARTITION_TYPE is enabled, splwill search for the partition type b

Re: [U-Boot] [PATCH] arm: socfpga: set the mpuclk divider in the Altera group register

2017-02-08 Thread Marek Vasut
On 02/08/2017 11:51 PM, Dinh Nguyen wrote: > > > On 02/08/2017 03:04 PM, Marek Vasut wrote: >> On 02/08/2017 06:59 PM, Dinh Nguyen wrote: >>> >>> >>> On 02/07/2017 07:32 PM, Marek Vasut wrote: On 02/08/2017 02:21 AM, Marek Vasut wrote: > On 01/31/2017 07:33 PM, Dinh Nguyen wrote: >>

[U-Boot] [PULL] u-boot-socfpga/master

2017-02-08 Thread Marek Vasut
Hi, SoCFPGA PR for 2017.03 , I checked with Dinh and it should be OK. The following changes since commit c83a824e62277162ad35f52879b2316902c0eff5: Merge git://git.denx.de/u-boot-fsl-qoriq (2017-02-03 20:33:42 -0500) are available in the git repository at: git://git.denx.de/u-boot-socfpga.g

Re: [U-Boot] distro boot on ls2085ardb

2017-02-08 Thread york sun
On 02/08/2017 03:08 PM, Peter Newton wrote: >> From: york sun >> >> It was for backward compatibility. Even I have pointed out numerous times >> (internally) that cp.b should not be used for this case, and >> even pointed out how to make a FIT image with load address, the board >> maintainer(s)

Re: [U-Boot] decode_regions() function

2017-02-08 Thread york sun
On 02/08/2017 02:12 PM, Simon Glass wrote: > Hi York, > > On 8 February 2017 at 14:58, york sun wrote: >> Simon, >> >> I stumped on this issue when I was rewriting the code to reserve secure >> memory. I didn't realize gd->ram_size was used in the driver. I made the >> top of memory secure so EL2

Re: [U-Boot] [PATCH] arm: socfpga: set the mpuclk divider in the Altera group register

2017-02-08 Thread Dinh Nguyen
On 02/08/2017 03:04 PM, Marek Vasut wrote: > On 02/08/2017 06:59 PM, Dinh Nguyen wrote: >> >> >> On 02/07/2017 07:32 PM, Marek Vasut wrote: >>> On 02/08/2017 02:21 AM, Marek Vasut wrote: On 01/31/2017 07:33 PM, Dinh Nguyen wrote: > The mpuclk register in the Altera group of the clock man

Re: [U-Boot] [PATCH v2 4/6] drivers: net: Move PHYLIB to Kconfig

2017-02-08 Thread Joe Hershberger
On Tue, Feb 7, 2017 at 11:52 AM, Tom Rini wrote: > On Mon, Feb 06, 2017 at 07:17:35PM -0800, Alexandru Gagniuc wrote: > >> From: "Andrew F. Davis" >> >> Signed-off-by: Andrew F. Davis > [snip] >> 756 files changed, 860 insertions(+), 579 deletions(-) > > So this shows we have some places where

[U-Boot] decode_regions() function

2017-02-08 Thread york sun
Simon, I stumped on this issue when I was rewriting the code to reserve secure memory. I didn't realize gd->ram_size was used in the driver. I made the top of memory secure so EL2 code wouldn't be able to access. All of the sudden my PCI device failed. By reducing the gd->ram_size, PCI works ag

Re: [U-Boot] decode_regions() function

2017-02-08 Thread Simon Glass
Hi York, On 8 February 2017 at 14:58, york sun wrote: > Simon, > > I stumped on this issue when I was rewriting the code to reserve secure > memory. I didn't realize gd->ram_size was used in the driver. I made the > top of memory secure so EL2 code wouldn't be able to access. All of the > sudden

Re: [U-Boot] [U-Boot, v2, 02/15] cmd: nand: abstract global variable usage for dm conversion

2017-02-08 Thread Tom Rini
On Tue, Jan 31, 2017 at 03:37:04PM -0600, Grygorii Strashko wrote: > From: Mugunthan V N > > nand_info is used all over the file so abstract it with > get_nand_dev_by_index() which will help for DM conversion. > > Signed-off-by: Mugunthan V N > Signed-off-by: Grygorii Strashko > Reviewed-by:

Re: [U-Boot] [PATCH] arm: socfpga: set the mpuclk divider in the Altera group register

2017-02-08 Thread Marek Vasut
On 02/08/2017 06:59 PM, Dinh Nguyen wrote: > > > On 02/07/2017 07:32 PM, Marek Vasut wrote: >> On 02/08/2017 02:21 AM, Marek Vasut wrote: >>> On 01/31/2017 07:33 PM, Dinh Nguyen wrote: The mpuclk register in the Altera group of the clock manager divides the mpu_clk that is generated fro

Re: [U-Boot] [PATCH 0/6] ARM: DRA7: AM57xx: Enable SPL_DM

2017-02-08 Thread Tom Rini
On Wed, Feb 08, 2017 at 02:46:22PM -0600, Andrew F. Davis wrote: > On 02/08/2017 02:40 PM, Tom Rini wrote: > > On Wed, Feb 08, 2017 at 12:42:33PM -0600, Andrew F. Davis wrote: > >> On 02/08/2017 07:07 AM, Lokesh Vutla wrote: > >>> > >>> > >>> On Wednesday 08 February 2017 06:26 PM, Tom Rini wrote:

Re: [U-Boot] [PATCH 0/6] ARM: DRA7: AM57xx: Enable SPL_DM

2017-02-08 Thread Andrew F. Davis
On 02/08/2017 02:40 PM, Tom Rini wrote: > On Wed, Feb 08, 2017 at 12:42:33PM -0600, Andrew F. Davis wrote: >> On 02/08/2017 07:07 AM, Lokesh Vutla wrote: >>> >>> >>> On Wednesday 08 February 2017 06:26 PM, Tom Rini wrote: On Wed, Feb 08, 2017 at 06:03:31PM +0530, Lokesh Vutla wrote: >

Re: [U-Boot] [PATCH 0/6] ARM: DRA7: AM57xx: Enable SPL_DM

2017-02-08 Thread Tom Rini
On Wed, Feb 08, 2017 at 12:42:33PM -0600, Andrew F. Davis wrote: > On 02/08/2017 07:07 AM, Lokesh Vutla wrote: > > > > > > On Wednesday 08 February 2017 06:26 PM, Tom Rini wrote: > >> On Wed, Feb 08, 2017 at 06:03:31PM +0530, Lokesh Vutla wrote: > >> > >>> - Enable SPL_DM on all DRA7 and AM57xx b

[U-Boot] [PATCH] defconfig: am43xx_hs_evm: Sync HS defconfig with non-HS defconfig

2017-02-08 Thread Andrew F. Davis
The non-HS defconfig has been modified without equivalent changes being applied to the HS defconfig. Sync these here. Signed-off-by: Andrew F. Davis --- configs/am43xx_hs_evm_defconfig | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/configs/am43xx_hs_evm_defconf

Re: [U-Boot] [PATCH 2/3] armv8: fsl-lsch3: Update VID support

2017-02-08 Thread york sun
On 02/07/2017 09:08 PM, Priyanka Jain wrote: > > > We have verified VID support on LS2080AQDS, LS2080ARDB, LS2088AQDS, > LS2080ARDB (all SoCs in upstream for which LSCH3 flag is applicable) > > Great! Thanks. York ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] [PATCH] drivers: net: phy: atheros: apply the previous register setting for AR8031 to fix the voltage peak issue

2017-02-08 Thread Joe Hershberger
On Wed, Feb 8, 2017 at 12:26 AM, Sekhar Nori wrote: > On Wednesday 08 February 2017 12:36 AM, Yung-Ching LIN wrote: >> On Tue, Feb 7, 2017 at 12:50 AM, Sekhar Nori wrote: >>> On Monday 06 February 2017 11:06 PM, Ken.Lin wrote: >>> >> The register setting would turn out to be 0x3D47 on our pro

Re: [U-Boot] [PATCH 0/6] ARM: DRA7: AM57xx: Enable SPL_DM

2017-02-08 Thread Andrew F. Davis
On 02/08/2017 07:07 AM, Lokesh Vutla wrote: > > > On Wednesday 08 February 2017 06:26 PM, Tom Rini wrote: >> On Wed, Feb 08, 2017 at 06:03:31PM +0530, Lokesh Vutla wrote: >> >>> - Enable SPL_DM on all DRA7 and AM57xx based platforms. >>> - SPL uses a generic dts on all platforms with same defconf

Re: [U-Boot] [PATCH] arm: socfpga: set the mpuclk divider in the Altera group register

2017-02-08 Thread Dinh Nguyen
On 02/07/2017 07:32 PM, Marek Vasut wrote: > On 02/08/2017 02:21 AM, Marek Vasut wrote: >> On 01/31/2017 07:33 PM, Dinh Nguyen wrote: >>> The mpuclk register in the Altera group of the clock manager >>> divides the mpu_clk that is generated from the C0 output of the main >>> pll. >>> >>> Without

[U-Boot] [PATCH v2] spl: net: Add FIT image support over network boot

2017-02-08 Thread Andrew F. Davis
FIT support in the net boot case is much like the RAM boot case in that we load our image to "load_addr" and pass a dummy read function into "spl_load_simple_fit()". As the load address is no longer hard-coded to the final execution address, RAW image loading will rely on "load_addr" pointing to th

[U-Boot] Please pull u-boot-dm

2017-02-08 Thread Simon Glass
Hi Tom, This includes a few more DM and patman/buildman patches and some cros_ec additions. The change to of_offset is best applied now that rc1 is out, since I should have picked up all the usages. The following changes since commit 446d4e048ee3b00f7907e15cd02aa404cc714c77: x86: make LOAD_FR

Re: [U-Boot] [PATCH] patman: Handle non-ascii characters in names

2017-02-08 Thread Simon Glass
On 8 February 2017 at 06:03, Simon Glass wrote: > On 7 February 2017 at 00:11, Chris Packham wrote: >> When gathering addresses for the Cc list patman would encounter a >> UnicodeDecodeError due to non-ascii characters in the author name. >> Address this by explicitly using utf-8 when building th

Re: [U-Boot] [PATCH] buildman: Allow showing the list of boards with -n

2017-02-08 Thread Simon Glass
On 23 January 2017 at 05:38, Simon Glass wrote: > As well as showing the number of boards, allow showing the actual list of > boards that would be built, if -v is provided. > > Signed-off-by: Simon Glass > --- > > tools/buildman/README | 2 +- > tools/buildman/board.py | 10 +- >

Re: [U-Boot] [PATCH v2] cros_ec: i2c: Add support for version 3 of the EC protocol

2017-02-08 Thread Simon Glass
On 8 February 2017 at 06:04, Simon Glass wrote: > On 20 January 2017 at 13:35, Moritz Fischer wrote: >> Add support for version 3 of the ec protocol. It basically works by >> stitching some additional header in front (special command code), >> and having a result and packet_length stitched on for

Re: [U-Boot] [PATCH] simple-bus: enable suport for of-platdata

2017-02-08 Thread Simon Glass
On 7 February 2017 at 22:09, Simon Glass wrote: > Hi Kever, > > On 4 February 2017 at 17:24, Kever Yang wrote: >> >> Hi Simon, >> >> Found 1 typo on the subject, 'suport' should be 'support', >> do I need to send a new patch or you can correct it when you apply? > > I can correct it when I ap

Re: [U-Boot] [RFC/PATCH] cros_ec: i2c: Group i2c write / read into single transaction

2017-02-08 Thread Simon Glass
On 8 February 2017 at 06:02, Simon Glass wrote: > On 12 January 2017 at 10:47, Moritz Fischer wrote: >> >> Replace dm_i2c_write() / dm_i2c_read() with transaction using >> struct i2c_msg[2] in order to allow for i2c controller to detect >> write/read cycle to emit a repeated start condition. >> >

Re: [U-Boot] [PATCH] dm: core: Replace of_offset with accessor

2017-02-08 Thread Simon Glass
On 17 January 2017 at 16:52, Simon Glass wrote: > At present devices use a simple integer offset to record the device tree > node associated with the device. In preparation for supporting a live > device tree, which uses a node pointer instead, refactor existing code to > access this field through

Re: [U-Boot] [PATCH] patman: Format checkpatch messages for IDE throwback

2017-02-08 Thread Simon Glass
On 17 January 2017 at 16:52, Simon Glass wrote: > It is convenient to be able to deal with checkpatch warnings in the same > way as build warnings. Tools such as emacs and kate can quickly locate > the source file and line automatically. > > To achieve this, adjust the format to match the C compil

Re: [U-Boot] [PATCH] dtoc: Replace dot with underscore to avoid compiler errors

2017-02-08 Thread Simon Glass
On 15 January 2017 at 21:09, Simon Glass wrote: > If there is a '.' in a compatible string, then dtoc will produce a struct > with a name containing a '.'. This won't work, so replace it with '_'. > > Also add a suitable test to the sandbox device tree to catch this. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH] common: fdt_support: Remove check for mtdparts in fdt_fixup_mtdparts

2017-02-08 Thread Simon Glass
On 9 January 2017 at 03:17, Ladislav Michl wrote: > fdt_fixup_mtdparts currently does nothing when partitin info is > runtime generated or compiled-in defaults are used. > > Signed-off-by: Ladislav Michl > --- > common/fdt_support.c | 5 - > 1 file changed, 5 deletions(-) Fixed commit messa

[U-Boot] [PATCH v3 3/6] ARM: AM335x: Disable non-FIT based image loading for HS devices

2017-02-08 Thread Andrew F. Davis
Disable support for loading non-FIT images for AM335x platforms using the high-security (HS) device variant. Signed-off-by: Andrew F. Davis --- configs/am335x_hs_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am335x_hs_evm_defconfig b/configs/am335x_hs_evm_defconfig

Re: [U-Boot] [PATCH 1/1] Enable IE (Key extention) Feature in LS2080A

2017-02-08 Thread york sun
On 02/07/2017 10:48 PM, Udit Agarwal wrote: > For validating images from uboot (Such as Kernel Image), either keys > from SoC fuses can be used or keys from a verified table of public keys > can be used. The latter feature is called IE Key Extension Feature. > > On ls-ch3 platforms,IE table is vali

[U-Boot] [PATCH v3 4/6] ARM: AM43xx: Disable non-FIT based image loading for HS devices

2017-02-08 Thread Andrew F. Davis
Disable support for loading non-FIT images for AM43xx platforms using the high-security (HS) device variant. Signed-off-by: Andrew F. Davis --- configs/am43xx_hs_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am43xx_hs_evm_defconfig b/configs/am43xx_hs_evm_defconfig

[U-Boot] [PATCH v3 2/6] spl: Add option to enable SPL Legacy image support

2017-02-08 Thread Andrew F. Davis
Add a Kconfig option that enables Legacy image support, this allows boards to explicitly disable this, for instance when needed for security reasons. Signed-off-by: Andrew F. Davis --- Kconfig | 8 common/spl/spl.c | 9 +++-- 2 files changed, 15 insertions(+), 2 deletions(-

[U-Boot] [PATCH v3 6/6] ARM: DRA7xx: Disable non-FIT based image loading for HS devices

2017-02-08 Thread Andrew F. Davis
Disable support for loading non-FIT images for DRA7xx platforms using the high-security (HS) device variant. Signed-off-by: Andrew F. Davis --- configs/dra7xx_hs_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/dra7xx_hs_evm_defconfig b/configs/dra7xx_hs_evm_defconfig

[U-Boot] [PATCH v3 5/6] ARM: AM57xx: Disable non-FIT based image loading for HS devices

2017-02-08 Thread Andrew F. Davis
Disable support for loading non-FIT images for AM57xx platforms using the high-security (HS) device variant. Signed-off-by: Andrew F. Davis --- configs/am57xx_hs_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am57xx_hs_evm_defconfig b/configs/am57xx_hs_evm_defconfig

[U-Boot] [PATCH v3 1/6] spl: Convert CONFIG_SPL_ABORT_ON_RAW_IMAGE into a positive option

2017-02-08 Thread Andrew F. Davis
CONFIG_SPL_ABORT_ON_RAW_IMAGE causes SPL to abort and move on when it encounters RAW images, express this same functionality as a positive option enabling support for RAW images: CONFIG_SPL_RAW_IMAGE_SUPPORT Signed-off-by: Andrew F. Davis --- Kconfig | 7 +++ README

[U-Boot] [PATCH v3 0/6] Allow disabling non-FIT image loading from SPL

2017-02-08 Thread Andrew F. Davis
Hello all, To address a needed feature brought up by Andreas[0], we need a way to disable SPL from loading non-FIT images. The function spl_parse_image_header is common to all SPL loading paths (common/spl/spl_(nand|net|nor|etc..)) so we add the check here. This version of the series is a bit di

Re: [U-Boot] [PATCH v2] spi: ich: Configure SPI BIOS parameters

2017-02-08 Thread Stefan Roese
Hi Bin, On 04.02.2017 06:57, Bin Meng wrote: On Mon, Jan 23, 2017 at 10:55 PM, Stefan Roese wrote: Without configuring these registers in the SPI controller, the Linux MTD device driver is not able to correctly read/write to the SPI NOR chip at all. In fact, the chip is not detected at all. S

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

2017-02-08 Thread Marek Vasut
On 02/08/2017 05:28 PM, Konstantin Porotchkin wrote: > Hi, Marek, > > On 02/08/2017 06:04 PM, Marek Vasut wrote: >> On 02/08/2017 04:45 PM, Konstantin Porotchkin wrote: >>> Hi, Marek, >>> >>> On 02/08/2017 05:35 PM, Marek Vasut wrote: On 02/08/2017 04:34 PM, kos...@marvell.com wrote: > Fr

Re: [U-Boot] [PATCH] spl: net: Add FIT image support over network boot

2017-02-08 Thread Andrew F. Davis
On 02/08/2017 08:05 AM, Lokesh Vutla wrote: > > > On Wednesday 08 February 2017 04:29 AM, Andrew F. Davis wrote: >> FIT support in the net boot case is much like the RAM boot case in that >> we load our image to "load_addr" and pass a dummy read function into >> "spl_load_simple_fit()". As the lo

Re: [U-Boot] [PATCH] spl: net: Add FIT image support over network boot

2017-02-08 Thread Andrew F. Davis
On 02/08/2017 04:07 AM, Vignesh R wrote: > > > On Wednesday 08 February 2017 04:29 AM, Andrew F. Davis wrote: >> FIT support in the net boot case is much like the RAM boot case in that >> we load our image to "load_addr" and pass a dummy read function into >> "spl_load_simple_fit()". As the load

Re: [U-Boot] [PATCH 2/6] ARM: OMAP2+: define _image_binary_end to fix SPL_OF_CONTROL

2017-02-08 Thread Ladislav Michl
On Wed, Feb 08, 2017 at 06:03:33PM +0530, Lokesh Vutla wrote: > To make SPL_OF_CONTROL work on OAP2+ SoCs, _image_binary_end must be OMAP2+ ---> ^ Just a nitpick, but helps grepping for changes in git log. Thank you, ladis > defined in the linker script along wit

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

2017-02-08 Thread Konstantin Porotchkin
Hi, Marek, On 02/08/2017 06:04 PM, Marek Vasut wrote: On 02/08/2017 04:45 PM, Konstantin Porotchkin wrote: Hi, Marek, On 02/08/2017 05:35 PM, Marek Vasut wrote: On 02/08/2017 04:34 PM, kos...@marvell.com wrote: From: Konstantin Porotchkin The USB device should linked to VBUS regulator thro

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

2017-02-08 Thread Marek Vasut
On 02/08/2017 04:45 PM, Konstantin Porotchkin wrote: > Hi, Marek, > > On 02/08/2017 05:35 PM, Marek Vasut wrote: >> On 02/08/2017 04:34 PM, kos...@marvell.com wrote: >> > From: Konstantin Porotchkin >> > >> > The USB device should linked to VBUS regulator through "vbus-supply" >> > DTS property.

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

2017-02-08 Thread Konstantin Porotchkin
Hi, Marek, On 02/08/2017 05:35 PM, Marek Vasut wrote: On 02/08/2017 04:34 PM, kos...@marvell.com wrote: > From: Konstantin Porotchkin > > The USB device should linked to VBUS regulator through "vbus-supply" > DTS property. > This patch adds handling for "vbus-supply" property inside the USB > d

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

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

  1   2   >