Re: [U-Boot] [PATCH] dm: gpio: handle GPIO_ACTIVE_LOW flag in DT

2016-04-01 Thread Peng Fan
Hi Eric, On Thu, Mar 31, 2016 at 01:41:04PM -0700, Eric Nelson wrote: >Hi Peng, > >On 03/28/2016 09:57 PM, Peng Fan wrote: >> Hi Eric, >> >> On Fri, Mar 25, 2016 at 01:12:11PM -0700, Eric Nelson wrote: >>> Device tree parsing of GPIO nodes is currently ignoring flags. >>> >>> Add support for

Re: [U-Boot] [PATCH v5 4/4] usb: Change power-on / scanning timeout handling

2016-04-01 Thread Marek Vasut
On 03/15/2016 01:59 PM, Stefan Roese wrote: > This patch changes the USB port scanning procedure and timeout > handling in the following ways: > > a) > The power-on delay in usb_hub_power_on() is now reduced to a value of > max(100ms, "hub->desc.bPwrOn2PwrGood * 2"). The code does not wait >

[U-Boot] [PATCH] ARM: rpi: add some missing Kconfig help text

2016-04-01 Thread Stephen Warren
Add notes re: enabling the UART to the RPi 3 32-bit help text. Fully describe the RPi 3 64-bit board option. Signed-off-by: Stephen Warren --- arch/arm/mach-bcm283x/Kconfig | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 2/2] ARM: add Raspberry Pi 3 64-bit config

2016-04-01 Thread Stephen Warren
On all Pis so far, the VC FW provides a short stub to set up the ARM CPU before entering the kernel (a/k/a U-Boot for us). This feature is not currently supported by the VC FW when booting in 64-bit mode. However, this feature will likely appear in the near future, and this U-Boot port assumes

[U-Boot] [PATCH 1/2] ARM: allow CONFIG_GICV* not to be defined

2016-04-01 Thread Stephen Warren
There are ARM SoCs (such as the BCM2837) do not contain an ARM GIC. Fix the ARMv8 CPU startup code to compile in this case. Signed-off-by: Stephen Warren --- arch/arm/cpu/armv8/start.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH V3 1/3] drivers: block: add block device cache

2016-04-01 Thread Stephen Warren
On 04/01/2016 05:16 PM, Eric Nelson wrote: Hi Stephen, On 04/01/2016 03:57 PM, Stephen Warren wrote: On 03/31/2016 02:24 PM, Eric Nelson wrote: On 03/30/2016 02:57 PM, Stephen Warren wrote: On 03/30/2016 11:34 AM, Eric Nelson wrote: On 03/30/2016 07:36 AM, Stephen Warren wrote: On

Re: [U-Boot] [U-Boot, v4, 19/21] arm: Add support for Qualcomm Snapdragon family

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:32PM +0200, Mateusz Kulikowski wrote: > First supported chip is APQ8016 (that is compatible with MSM8916). > Drivers in SoC code: > - Reset controller (PSHOLD) > - Clock controller (very simple clock configuration for MMC and UART) > > Signed-off-by: Mateusz

Re: [U-Boot] [U-Boot, v4, 20/21] board: Add Qualcomm Dragonboard 410C support

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:33PM +0200, Mateusz Kulikowski wrote: > This commit add support for 96Boards Dragonboard410C. > It is board based on APQ8016 Qualcomm SoC, complying with > 96boards specification. > Features (present out of the box): > - 4x Cortex A53 (ARMv8) > - 2x USB Host port > -

Re: [U-Boot] post: Remove references to scrapped "netta" board.

2016-04-01 Thread Tom Rini
On Mon, Mar 28, 2016 at 09:20:40AM -0400, Robert P. J. Day wrote: > Given that README.scrapyard shows scrapping of netta boards: > > netta2 powerpc mpc8xx c51c1c9a2014-07-07 > nettapowerpc mpc8xx c51c1c9a2014-07-07 > > delete netta example

Re: [U-Boot] [U-Boot, v4, 21/21] Add myself as Snapdragon and SPMI maintainer

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:34PM +0200, Mateusz Kulikowski wrote: > - Update MAINTAINERS > - Update git-mailrc > > Signed-off-by: Mateusz Kulikowski > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v4, 16/21] drivers: spmi: Add support for Qualcomm SPMI bus driver

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:29PM +0200, Mateusz Kulikowski wrote: > Support SPMI arbiter on Qualcomm Snapdragon devices. > > Signed-off-by: Mateusz Kulikowski > Reviewed-by: Simon Glass > Tested-by: Simon Glass Applied to

Re: [U-Boot] [U-Boot, v4, 17/21] pmic: Add support for Qualcomm PM8916 PMIC

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:30PM +0200, Mateusz Kulikowski wrote: > This PMIC is connected on SPMI bus so needs SPMI support enabled. > > Signed-off-by: Mateusz Kulikowski > Reviewed-by: Simon Glass > Tested-by: Simon Glass

Re: [U-Boot] [U-Boot, v4, 18/21] gpio: Add support for Qualcomm PM8916 gpios

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:31PM +0200, Mateusz Kulikowski wrote: > This driver supports GPIOs present on PM8916 PMIC. > There are 2 device drivers inside: > - GPIO driver (4 "generic" GPIOs) > - Keypad driver that presents itself as GPIO with 2 inputs (power and reset) > > Signed-off-by:

Re: [U-Boot] [U-Boot,v4,15/21] spmi: Add sandbox test driver

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:28PM +0200, Mateusz Kulikowski wrote: > This patch adds emulated spmi bus controller with part of > pm8916 pmic on it to sandbox and tests validating SPMI uclass. > > Signed-off-by: Mateusz Kulikowski > Reviewed-by: Simon Glass

Re: [U-Boot] [U-Boot,v4,13/21] ehci: Add support for Qualcomm EHCI

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:26PM +0200, Mateusz Kulikowski wrote: > This driver is able to reconfigure OTG controller into HOST mode. > Board can add board-specific initialization as board_prepare_usb(). > It requires USB_ULPI_VIEWPORT enabled in board configuration. > > Signed-off-by: Mateusz

Re: [U-Boot] [U-Boot, v4, 12/21] ehci-ci.h: drop generic USBCMD fields

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:25PM +0200, Mateusz Kulikowski wrote: > Use definitions from ehci.h instead. > > Signed-off-by: Mateusz Kulikowski > Acked-by: Marek Vasut > Tested-by: Simon Glass Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot,v4,14/21] drivers: Add SPMI bus uclass

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:27PM +0200, Mateusz Kulikowski wrote: > Qualcom processors use proprietary bus to talk with PMIC devices - > SPMI (System Power Management Interface). > On wiring level it is similar to I2C, but on protocol level, it's > multi-master and has simple autodetection

Re: [U-Boot] [U-Boot, v4, 09/21] eth: asix88179: Print packet length properly

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:22PM +0200, Mateusz Kulikowski wrote: > Debug printf used '%u' to print size_t variable. > This caused warnings on 64-bit machines. > > Signed-off-by: Mateusz Kulikowski > Acked-by: Marek Vasut > Acked-by: Joe

Re: [U-Boot] [U-Boot, v4, 11/21] usb: ehci-ci: Add missing registers.

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:24PM +0200, Mateusz Kulikowski wrote: > Some registers of usb_ehci were marked as reserved. > This may be true for some variants of Chipidea USB core, but they have > meaning on other devices. > > The following registers were added: > sbusstatus/sbusmode:

Re: [U-Boot] [U-Boot,v4,10/21] usb: Rename ehci-fsl.h to ehci-ci.h

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:23PM +0200, Mateusz Kulikowski wrote: > Most of ehci-fsl header describe USB controller > designed by Chipidea and used by various SoC vendors. > > This patch renames it to a generic header: ehci-ci.h > Contents of file are not changed (so it contains several >

Re: [U-Boot] [U-Boot, v4, 05/21] usb: ulpi: Add Kconfig options for ULPI

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:18PM +0200, Mateusz Kulikowski wrote: > The following options can be now enabled via defconfig: > - CONFIG_USB_ULPI > - CONFIG_USB_ULPI_VIEWPORT > - CONFIG_USB_ULPI_VIEWPORT_OMAP > > Signed-off-by: Mateusz Kulikowski > Reviewed-by:

Re: [U-Boot] [U-Boot,v4,07/21] usb: ulpi: Fix viewport_addr type

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:20PM +0200, Mateusz Kulikowski wrote: > viewport_addr is address of memory mapped ULPI viewport. > It is used only as argument to readl/writel later > causing compile warnings on 64-bit devices. > > This fix changes its type to match pointer size. > >

Re: [U-Boot] [U-Boot, v4, 08/21] usb: ulpi: Fix compile warning in read/write on 64-bit machines.

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:21PM +0200, Mateusz Kulikowski wrote: > ulpi_read and ulpi_write are used to read/write registers via ULPI bus. > Code generates compilation warnings on 64-bit machines where pointer > is cast to u32. > > This patch drops all but last 8 bits of register address. >

Re: [U-Boot] [U-Boot,v4,06/21] Migrate CONFIG_ULPI* to Kconfig

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:19PM +0200, Mateusz Kulikowski wrote: > Move CONFIG_USB_ULPI* from headers to defconfigs for boards that use it. > Also - add CONFIG_USB where necesarry - all boards use it, > but some are not defining it explicitly. > > Affected boards: > colibri_t20, harmony, mcx,

Re: [U-Boot] [U-Boot,v4,04/21] ehci-hcd: Add init_after_reset

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:17PM +0200, Mateusz Kulikowski wrote: > Some host controllers need addidional initialization after ehci_reset() > In non-dm implementation it is possible to use > CONFIG_EHCI_HCD_INIT_AFTER_RESET. > This patch adds similar option to ehci drivers using dm. > >

Re: [U-Boot] [U-Boot, v4, 02/21] gpio: Add support for Qualcomm gpio controller

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:15PM +0200, Mateusz Kulikowski wrote: > Add support for gpio controllers on Qualcomm Snapdragon devices. > This devices are usually called Top Level Mode Multiplexing in > Qualcomm documentation. > > Signed-off-by: Mateusz Kulikowski >

Re: [U-Boot] [U-Boot, v4, 01/21] serial: Add support for Qualcomm serial port

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:14PM +0200, Mateusz Kulikowski wrote: > This driver works in "new" Data Mover UART mode, so > will be compatible with modern Qualcomm chips only. > > Signed-off-by: Mateusz Kulikowski > Reviewed-by: Simon Glass >

Re: [U-Boot] [U-Boot, v4, 03/21] mmc: Add support for Qualcomm SDHCI controller

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 11:12:16PM +0200, Mateusz Kulikowski wrote: > Add support for SD/eMMC controller present on some Qualcomm Snapdragon > devices. This controller implements SDHCI 2.0 interface but requires > vendor-specific initialization. > Driver works in PIO mode as ADMA is not supported

Re: [U-Boot] board: ti: DRA7: Add DP83867 TI phy for rev c

2016-04-01 Thread Tom Rini
On Wed, Mar 30, 2016 at 12:58:37PM -0500, Dan Murphy wrote: > Enable the TI DP83867 Giga bit phy on the > dra7 rev c board. The rx and tx internal > delays are need for this board so the usage > of RGMII_ID is required. > > Signed-off-by: Dan Murphy > Acked-by: Mugunthan V N

Re: [U-Boot] [U-Boot, v2, 6/7] kc1: Proper reboot mode and boot reason validation

2016-04-01 Thread Tom Rini
On Tue, Mar 29, 2016 at 02:16:26PM +0200, Paul Kocialkowski wrote: > With the previous implementation, rebooting without registering a recognized > reboot mode would end up with U-Boot checking for a valid power-on reason, > which > might result in the device turning off (e.g. with no USB cable

Re: [U-Boot] [U-Boot, v2, 4/7] kc1: Add some sysboot and devicetree-related environment variables

2016-04-01 Thread Tom Rini
On Tue, Mar 29, 2016 at 02:16:24PM +0200, Paul Kocialkowski wrote: > This adds some environment variables for sysboot and devicetree. > > Signed-off-by: Paul Kocialkowski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 7/7] sniper: Change vendor name from lge to lg, matching devicetree vendor prefix

2016-04-01 Thread Tom Rini
On Tue, Mar 29, 2016 at 02:16:27PM +0200, Paul Kocialkowski wrote: > This moves the sniper board from the lge to lg, in order to match the > devicetree > vendor prefix already defined in the kernel. > > Signed-off-by: Paul Kocialkowski Applied to u-boot/master, thanks! --

Re: [U-Boot] efi_loader: Always allocate the highest available address

2016-04-01 Thread Tom Rini
On Wed, Mar 30, 2016 at 04:38:29PM +0200, Alexander Graf wrote: > Some EFI applications (grub2) expect that an allocation always returns > the highest available memory address for the given size. > > Without this, we may run into situations where the initrd gets allocated > at a lower address

Re: [U-Boot] [U-Boot, v2, 5/7] sniper: Proper reboot mode and boot reason validation

2016-04-01 Thread Tom Rini
On Tue, Mar 29, 2016 at 02:16:25PM +0200, Paul Kocialkowski wrote: > With the previous implementation, rebooting without registering a recognized > reboot mode (despite registering the magic) would end up with U-Boot checking > for a valid power-on reason, which might result in the device turning

Re: [U-Boot] [U-Boot, v2, 3/7] kc1: Select libfdt to allow running devicetree-based kernels

2016-04-01 Thread Tom Rini
On Tue, Mar 29, 2016 at 02:16:23PM +0200, Paul Kocialkowski wrote: > Selecting CONFIG_OF_LIBFDT allows running recent mainline kernels. > > Signed-off-by: Paul Kocialkowski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] arm64: booti: add missing unmap_sysmem()

2016-04-01 Thread Tom Rini
On Tue, Mar 29, 2016 at 07:51:57PM +0900, Masahiro Yamada wrote: > Make sure to call unmap_sysmem() for address allocated by map_sysmem() > before leaving the function; however this patch gives no impact on > the behavior because map_sysmem()/unmap_sysmem() does nothing except > on Sandbox.

Re: [U-Boot] [U-Boot, v2, 2/7] kc1: Include explicit serial baudrate on bootargs

2016-04-01 Thread Tom Rini
On Tue, Mar 29, 2016 at 02:16:22PM +0200, Paul Kocialkowski wrote: > This makes the baudrate for the kernel command line explicit. > > Signed-off-by: Paul Kocialkowski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 1/7] sniper: Include explicit serial baudrate on bootargs

2016-04-01 Thread Tom Rini
On Tue, Mar 29, 2016 at 02:16:21PM +0200, Paul Kocialkowski wrote: > This makes the baudrate for the kernel command line explicit. > > Signed-off-by: Paul Kocialkowski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] configs: ti_armv7_keystone2: make SYS_TEXT_BASE configurable at build time

2016-04-01 Thread Tom Rini
On Mon, Mar 28, 2016 at 03:15:59PM -0400, Vitaly Andrianov wrote: > U-boot for general purpose KS2 devices is loaded to the beginning of the > internal memory (0x0c00). Secure devices uses this memory and > CONFIG_SYS_TEXT_BASE has to be different for those devices. > > This commit make this

Re: [U-Boot] common: env_sf: Add exclamation mark

2016-04-01 Thread Tom Rini
On Mon, Mar 28, 2016 at 05:26:27PM +0800, Peng Fan wrote: > Add exclamation mark to the errmsg, when error and set_default_env. > > Signed-off-by: Peng Fan > Cc: Mario Schuknecht > Cc: Vignesh R > Cc: Jagan Teki

Re: [U-Boot] arm: spl: Align default board_init_f comment with code

2016-04-01 Thread Tom Rini
On Mon, Mar 28, 2016 at 01:58:03PM -0500, Andreas Dannenberg wrote: > The default board_init_f() implementation performs a call to > board_init_r() as the last step of the sequence. Fix the comment > for this function to reflect the actual execution flow. > > Signed-off-by: Andreas Dannenberg

Re: [U-Boot] [U-Boot,3/3] sata: use block layer for sata command

2016-04-01 Thread Tom Rini
On Sun, Mar 27, 2016 at 12:00:15PM -0700, Eric Nelson wrote: > Call blk_dread, blk_dwrite, blk_derase to ensure that the block cache is > used if enabled and to remove build breakage when CONFIG_BLK is enabled. > > Signed-off-by: Eric Nelson > Reviewed-by: Tom Rini

Re: [U-Boot] [U-Boot, V3, 1/3] drivers: block: add block device cache

2016-04-01 Thread Tom Rini
On Mon, Mar 28, 2016 at 10:05:44AM -0700, Eric Nelson wrote: > Add a block device cache to speed up repeated reads of block devices by > various filesystems. > > This small amount of cache can dramatically speed up filesystem > operations by skipping repeated reads of common areas of a block >

Re: [U-Boot] post: Delete unnecessary bitmask of POST_MANUAL from POST_ALWAYS

2016-04-01 Thread Tom Rini
On Sun, Mar 27, 2016 at 10:18:55AM -0400, Robert P. J. Day wrote: > Since POST_ALWAYS is defined as: > > #define POST_ALWAYS (POST_NORMAL| \ > POST_SLOWTEST | \ > POST_MANUAL| \ >

Re: [U-Boot] [U-Boot,2/3] mmc: use block layer in mmc command

2016-04-01 Thread Tom Rini
On Sun, Mar 27, 2016 at 12:00:14PM -0700, Eric Nelson wrote: > Call blk_dread, blk_dwrite, blk_derase to ensure that the block cache is > used if enabled and to remove build breakage when CONFIG_BLK is enabled. > > Signed-off-by: Eric Nelson > Reviewed-by: Tom Rini

Re: [U-Boot] lib/physmem.c: Switch to __weak for arch_phys_memset

2016-04-01 Thread Tom Rini
On Sun, Mar 27, 2016 at 02:06:11PM -0400, Tom Rini wrote: > We normally use __weak rather than calling it out directly as an alias. > Update this function to the normal method. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] jffs2: Fix set but not used warning

2016-04-01 Thread Tom Rini
On Sun, Mar 27, 2016 at 02:48:36PM -0400, Tom Rini wrote: > We only use 'ofs' in jffs2_sum_scan_sumnode when debugging as it's part > of a dbg_summary call. Mark this as __maybe_unused. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] post: Remove reference to deleted "lwmon" board from Makefile

2016-04-01 Thread Tom Rini
On Sun, Mar 27, 2016 at 08:39:15AM -0400, Robert P. J. Day wrote: > POST support for sample lwmon board was removed in commit e5d3078622. > > Signed-off-by: Robert P. J. Day B > > diff --git a/post/Makefile b/post/Makefile > index 2fa6f8a..92024e1 100644 Applied to

Re: [U-Boot] Common: SPL: spl_nand: Fixed debug correct NAND ECC type.

2016-04-01 Thread Tom Rini
On Fri, Mar 25, 2016 at 01:13:17PM +0100, Ahmed Samir Khalil wrote: > In case of #define DEBUG 1 (fordebugging SPL). A bug in > spl_nand_load_image() will be triggered, because it prints > using hw ecc regardless of soft ecc configurations and > initializations. > > Signed-off-by: Ahmed Samir

Re: [U-Boot] [U-Boot, V2, 2/5] rpi: use constant "unknown board" DT filename

2016-04-01 Thread Tom Rini
On Thu, Mar 24, 2016 at 10:15:17PM -0600, Stephen Warren wrote: > To simplify support for new SoCs, just use a constant filename > for the unknown case. In practice this case shouldn't be hit anyway, so > the filename isn't relevant, and certainly doesn't need to differentiate > between SoCs. If

Re: [U-Boot] [U-Boot, V2, 5/5] rpi: BCM2837 and Raspberry Pi 3 32-bit support

2016-04-01 Thread Tom Rini
On Thu, Mar 24, 2016 at 10:15:20PM -0600, Stephen Warren wrote: > The Raspberry Pi 3 contains a BCM2837 SoC. The BCM2837 is a BCM2836 with > the CPU complex swapped out for a quad-core ARMv8. This can operate in 32- > or 64-bit mode. 32-bit mode is the current default selected by the > VideoCore

Re: [U-Boot] [U-Boot, V2, 4/5] ARM: bcm2835: expand Kconfig target descriptions

2016-04-01 Thread Tom Rini
On Thu, Mar 24, 2016 at 10:15:19PM -0600, Stephen Warren wrote: > This adds an explanation of which Raspberry Pi models each target option > supports. > > Signed-off-by: Stephen Warren > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot,V2,3/5] rpi: add Raspberry Pi 3 board ID

2016-04-01 Thread Tom Rini
On Thu, Mar 24, 2016 at 10:15:18PM -0600, Stephen Warren wrote: > This allows U-Boot to known the name of the board. > > The existing rpi_2_defconfig can operate correctly on the Raspberry Pi 3 > in 32-bit mode /if/ you have configured the firmware to use the PL011 UART > as the console UART

Re: [U-Boot] [U-Boot, V2, 1/5] ARM: bcm2835: move CONFIG_BCM283* to Kconfig

2016-04-01 Thread Tom Rini
On Thu, Mar 24, 2016 at 10:15:16PM -0600, Stephen Warren wrote: > Signed-off-by: Stephen Warren > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] doc: clarify openssl-based key and certificate generation process

2016-04-01 Thread Tom Rini
On Wed, Mar 23, 2016 at 06:24:10PM -0500, Andreas Dannenberg wrote: > Add some basic clarification that the dev.key file generated by OpenSSL > contains both the public and private key, and further highlight that > the certificate generated here contains the public key only. > > Signed-off-by:

Re: [U-Boot] doc: fix file extension for flattened image tree blob

2016-04-01 Thread Tom Rini
On Wed, Mar 23, 2016 at 05:44:17PM -0500, Andreas Dannenberg wrote: > Different sections in the document suggest flattened image tree blob > files have a file name extension of .itb. Fix the list of file extensions > to reflect that. > > Signed-off-by: Andreas Dannenberg

Re: [U-Boot] [U-Boot, 2/2] ARM: keystone2: Add missing privilege ID settings

2016-04-01 Thread Tom Rini
On Wed, Mar 23, 2016 at 10:14:19AM -0500, Nishanth Menon wrote: > Add missing Privilege ID settings for KS2 SoCs. > > Based on: > K2H/K: Table 6-7. Privilege ID Settings from SPRS866E (Nov 2013) > http://www.ti.com/lit/ds/symlink/66ak2h14.pdf (page 99) > K2L: Table 7-7. Privilege ID Settings

Re: [U-Boot] README: Specify the full path for README.displaying-bmps

2016-04-01 Thread Tom Rini
On Wed, Mar 23, 2016 at 12:46:12PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > It is clearer to specify the full path to access the > doc/README.displaying-bmps file. > > Signed-off-by: Fabio Estevam Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, 1/2] ARM: keystone2: Refactor MSMC macros to avoid #ifdeffery

2016-04-01 Thread Tom Rini
On Wed, Mar 23, 2016 at 10:14:18AM -0500, Nishanth Menon wrote: > MSMC segment Privilege ID is not consistent accross the keystone2 SoCs. > As the first step to ensure complete SoC wide coherency setup, lets > refactor the macros to remove the #if-deffery around the code which > obfuscates which

Re: [U-Boot] smsc95xx: fix operation on 64-bit systems

2016-04-01 Thread Tom Rini
On Tue, Mar 22, 2016 at 10:28:16PM -0600, Stephen Warren wrote: > smsc95xx_read_reg() should calculate sizeof(*data) not sizeof(data) since > data is a pointer, and the value pointed at is being transferred over USB, > not the value of the pointer. This fixes operation of the driver in 64-bit >

Re: [U-Boot] arm: clang: Update support slightly

2016-04-01 Thread Tom Rini
On Wed, Mar 16, 2016 at 07:55:55PM -0400, Tom Rini wrote: > - Move most of the flags required into LLVM_RELFLAGS to test at build > time instead of requiring them to be passed in. > - Update doc/README.clang to reflect this > - Switch to rpi_2 as the example as it's closer to working out of the

Re: [U-Boot] fastboot: allow retrieving fastboot variables from env

2016-04-01 Thread Tom Rini
On Thu, Mar 17, 2016 at 05:21:23PM +0100, Boris BREZILLON wrote: > From: Rob Herring > > Some boards need to expose device specific variable through fastboot > (to adpat the flashing script depending on hardware revision for > example). > > Provide a way to expose

Re: [U-Boot] [PATCH] MAINTAINERS: Update Scott Wood's email address

2016-04-01 Thread Tom Rini
On Fri, Apr 01, 2016 at 06:49:57PM -0500, Scott Wood wrote: > Freescale is now NXP. I still work there, but I won't be using their > mail system for U-Boot development. > > Signed-off-by: Scott Wood Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, v3, 5/9] Drop command-processing code when CONFIG_CMDLINE is disabled

2016-04-01 Thread Tom Rini
On Sat, Mar 19, 2016 at 02:18:38AM -0600, Simon Glass wrote: > Command parsing and processing code is not needed when the command line is > disabled. Remove this code in that case. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to

Re: [U-Boot] [PATCH 3/9] drivers: nand: Kconfig: add NAND as Kconfig option

2016-04-01 Thread Tom Rini
On Fri, Apr 01, 2016 at 06:45:03PM -0500, Scott Wood wrote: > On Fri, 2016-04-01 at 19:41 -0400, Tom Rini wrote: > > On Fri, Apr 01, 2016 at 06:07:18PM -0500, Scott Wood wrote: > > > > > On Fri, 2016-04-01 at 08:51 -0400, Tom Rini wrote: > > > > On Fri, Apr 01, 2016 at 04:59:44PM +0530, Mugunthan

Re: [U-Boot] [PATCH 2/2] mx6slevk: imximage.cfg: update to fix tINIT3 and tIH-CA violations

2016-04-01 Thread Fabio Estevam
On Fri, Apr 1, 2016 at 6:54 PM, Tom Rini wrote: > Having had a similar board and memory part under logic analyzer, a > tINIT3 violation was measured. The fix was involved keeping tXPR and > SDE_to_RST at the power-on defaults and setting RST_to_CKE the JEDEC > value for

[U-Boot] [PATCH] MAINTAINERS: Update Scott Wood's email address

2016-04-01 Thread Scott Wood
Freescale is now NXP. I still work there, but I won't be using their mail system for U-Boot development. Signed-off-by: Scott Wood --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 32f97b2..8f371fe 100644 ---

Re: [U-Boot] [PATCH 3/9] drivers: nand: Kconfig: add NAND as Kconfig option

2016-04-01 Thread Scott Wood
On Fri, 2016-04-01 at 19:41 -0400, Tom Rini wrote: > On Fri, Apr 01, 2016 at 06:07:18PM -0500, Scott Wood wrote: > > > On Fri, 2016-04-01 at 08:51 -0400, Tom Rini wrote: > > > On Fri, Apr 01, 2016 at 04:59:44PM +0530, Mugunthan V N wrote: > > > > > > > Add CONFIG_NAND as a Kconfig option so that

Re: [U-Boot] [PATCH V3 1/3] drivers: block: add block device cache

2016-04-01 Thread Tom Rini
On Fri, Apr 01, 2016 at 04:16:42PM -0700, Eric Nelson wrote: > Hi Stephen, > > On 04/01/2016 03:57 PM, Stephen Warren wrote: > > On 03/31/2016 02:24 PM, Eric Nelson wrote: > >> On 03/30/2016 02:57 PM, Stephen Warren wrote: > >>> On 03/30/2016 11:34 AM, Eric Nelson wrote: > On 03/30/2016

Re: [U-Boot] [PATCH 3/9] drivers: nand: Kconfig: add NAND as Kconfig option

2016-04-01 Thread Tom Rini
On Fri, Apr 01, 2016 at 06:07:18PM -0500, Scott Wood wrote: > On Fri, 2016-04-01 at 08:51 -0400, Tom Rini wrote: > > On Fri, Apr 01, 2016 at 04:59:44PM +0530, Mugunthan V N wrote: > > > > > Add CONFIG_NAND as a Kconfig option so that it can be selected > > > using menuconfig or defconfig. > > >

Re: [U-Boot] [PATCH 4/9] drivers: nand: implement a NAND uclass

2016-04-01 Thread Scott Wood
On Fri, 2016-04-01 at 18:25 -0500, Scott Wood wrote: > On Fri, 2016-04-01 at 16:59 +0530, Mugunthan V N wrote: > > +static int nand_child_pre_probe(struct udevice *dev) > > +{ > > + nand_info_t *nand = dev_get_uclass_priv(dev); > > + void *priv = dev_get_priv(dev); > > + > > + /* > > +*

Re: [U-Boot] [PATCH 4/9] drivers: nand: implement a NAND uclass

2016-04-01 Thread Scott Wood
On Fri, 2016-04-01 at 16:59 +0530, Mugunthan V N wrote: > +static int nand_child_pre_probe(struct udevice *dev) > +{ > + nand_info_t *nand = dev_get_uclass_priv(dev); > + void *priv = dev_get_priv(dev); > + > + /* > + * Store nand device priv pointer in nand_info so that > +

Re: [U-Boot] [PATCH V3 1/3] drivers: block: add block device cache

2016-04-01 Thread Eric Nelson
Hi Stephen, On 04/01/2016 03:57 PM, Stephen Warren wrote: > On 03/31/2016 02:24 PM, Eric Nelson wrote: >> On 03/30/2016 02:57 PM, Stephen Warren wrote: >>> On 03/30/2016 11:34 AM, Eric Nelson wrote: On 03/30/2016 07:36 AM, Stephen Warren wrote: > On 03/28/2016 11:05 AM, Eric Nelson

Re: [U-Boot] [PATCH 3/9] drivers: nand: Kconfig: add NAND as Kconfig option

2016-04-01 Thread Scott Wood
On Fri, 2016-04-01 at 08:51 -0400, Tom Rini wrote: > On Fri, Apr 01, 2016 at 04:59:44PM +0530, Mugunthan V N wrote: > > > Add CONFIG_NAND as a Kconfig option so that it can be selected > > using menuconfig or defconfig. > > > > Signed-off-by: Mugunthan V N > > Good but you

Re: [U-Boot] [PATCH V3 1/3] drivers: block: add block device cache

2016-04-01 Thread Stephen Warren
On 03/31/2016 02:24 PM, Eric Nelson wrote: Hi Stephen, On 03/30/2016 02:57 PM, Stephen Warren wrote: On 03/30/2016 11:34 AM, Eric Nelson wrote: Thanks again for the detailed review, Stephen. On 03/30/2016 07:36 AM, Stephen Warren wrote: On 03/28/2016 11:05 AM, Eric Nelson wrote: Add a

Re: [U-Boot] [PATCH 2/9] cmd: nand: abstract global variable usage for dm conversion

2016-04-01 Thread Scott Wood
[Please CC me at this address rather than my NXP address] On Fri, 2016-04-01 at 16:59 +0530, Mugunthan V N wrote: > @@ -432,12 +435,7 @@ static int do_nand(cmd_tbl_t *cmdtp, int flag, int > argc, char * const argv[]) >* one before these commands can run, even if a partition specifier >

[U-Boot] [PATCH 1/2] mx6qarm2: imximage_mx6dl.cfg update to fix tINIT3 violation

2016-04-01 Thread Tom Rini
Having had a similar board and memory part under logic analyzer, a tINIT3 violation was measured. The fix was involved keeping tXPR and SDE_to_RST at the power-on defaults and setting RST_to_CKE the JEDEC value for LPDDR2. Cc: Jason Liu Cc: Ye Li

[U-Boot] [PATCH 2/2] mx6slevk: imximage.cfg: update to fix tINIT3 and tIH-CA violations

2016-04-01 Thread Tom Rini
Having had a similar board and memory part under logic analyzer, a tINIT3 violation was measured. The fix was involved keeping tXPR and SDE_to_RST at the power-on defaults and setting RST_to_CKE the JEDEC value for LPDDR2. There was also a tIH-CA violation and this was resolved by writing the

[U-Boot] [PATCH 0/2] i.MX6 LPDDR2 fixes

2016-04-01 Thread Tom Rini
Hey all, The following two patches fix JEDEC violations that were observed when I was working on a board similar to the MX6SL EVK. Based on talking with Micron and reading up on what the code here is (and isn't) doing, I'm certain these issues exist on the reference platforms here. I'm

Re: [U-Boot] [PATCH] image-fit: Change FIT prefix for configurations

2016-04-01 Thread Tom Rini
On Thu, Mar 17, 2016 at 02:05:59PM +, Sáreník Ján wrote: > Instead of `bootm ${loadaddr}#conf@1` > one uses `bootm ${loadaddr}_conf@1` > > This fixes the bug with using just `bootm #conf@2` > without $loadaddr where text starting with # is > interpreted as a comment. [snip] > diff --git

[U-Boot] [RFC] Disable USB options for SPL build

2016-04-01 Thread Sam Protsenko
Hi All, Since we are moving config options from include/configs/* to Kconfigs and defconfigs, we can't do #ifdefs anymore. Example: in include/configs/am43xx_evm.h you can see next code: #if !defined(CONFIG_SPL_BUILD) || \ (defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT))

[U-Boot] [RFC] setenv() and variable flags, especially "read-only"

2016-04-01 Thread Bernhard Nortmann
Hi everybody! I'm wondering what the correct / official way of setting a "read-only" environment variable is. It's simple enough to declare some #define CONFIG_ENV_FLAGS_LIST_STATIC "myvar:sr" to begin with, but this backfires - i.e. prevents write access - as soon as I try to set a value

[U-Boot] [PATCH] arm: socfpga: sr1500: Remove USB_GADGET

2016-04-01 Thread Semen Protsenko
From: Sam Protsenko "buildman" tool revealed that USB_GADGET was enabled by mistake for this board in process of moving that option to Kconfig. Remove it to bring things back to correct state. Signed-off-by: Sam Protsenko ---

Re: [U-Boot] [PATCH v2 1/1] mpc85xx: Enable pre-relocation malloc for MPC85xx

2016-04-01 Thread York Sun
On 04/01/2016 01:13 AM, Mario Six wrote: > To enable DM on MPC85xx, we need pre-relocation malloc, which is > implemented in this patch. > > We also make sure that the IVORs are always 4-aligned on e500 to prevent > alignment exceptions caused by code changes in start.S. > > Signed-off-by: Mario

Re: [U-Boot] pull request: u-boot-uniphier/master

2016-04-01 Thread Tom Rini
On Fri, Apr 01, 2016 at 01:25:13AM +0900, Masahiro Yamada wrote: > Hi Tom, > > > Please pull u-boot-uniphier once again for u-boot-2016.05-rc1. > Mostly driver updates for UniPhier ARMv8 SoC support, > plus misc fixes. > > > The following changes since commit

Re: [U-Boot] [PATCH] block: Add support for Ceva sata

2016-04-01 Thread Tom Rini
On Thu, Mar 31, 2016 at 10:44:55AM +0200, Michal Simek wrote: > Initial Ceva Sata init code. > > Signed-off-by: Michal Simek Reviewed-by: Tom Rini ... so you can bring this along in your tree along with boards using it, thanks. -- Tom

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

2016-04-01 Thread Tom Rini
On Fri, Apr 01, 2016 at 01:38:13PM +0200, Hans de Goede wrote: > Hi Tom, > > Here is a sunxi pull-req for v2016.05, it contains: > > - A few bugfixes, including a fix for the gigabit > ethernet problems on the Lime2 ! > - Support for USB on the A83t SoC > - Support for A64 SoCs (u-boot.bin

Re: [U-Boot] [PATCH] arm: socfpga: Nuke useless include

2016-04-01 Thread Marek Vasut
On 04/01/2016 03:36 PM, Chin Liang See wrote: > On Thu, 2016-03-31 at 23:07 +0200, Marek Vasut wrote: >> The dwmmc.h include was forgotten during the migration of dwmmc >> probing to DM. Since the shiny DM is in place now, remove this >> relic of the past. >> >> Signed-off-by: Marek Vasut

[U-Boot] [PATCH 7/7] gpio: tegra: remove flags parsing in xlate routine

2016-04-01 Thread Eric Nelson
With the addition of GPIO_ACTIVE_LOW parsing in gpio-uclass, it is no longer necessary for the tegra-specific xlate function to do this. Signed-off-by: Eric Nelson --- drivers/gpio/tegra_gpio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/tegra_gpio.c

[U-Boot] [PATCH 1/7] dm: gpio: handle GPIO_ACTIVE_LOW flag in DT

2016-04-01 Thread Eric Nelson
Device tree parsing of GPIO nodes is currently ignoring flags and architecture-specific xlate routines are handling the parsing of GPIO_ACTIVE_LOW. Since GPIO_ACTIVE_LOW isn't specific to a particular device type, this patch adds support at a global level and removes the need for many of the

[U-Boot] [PATCH 0/7] Handle GPIO_ACTIVE_LOW in gpio-uclass

2016-04-01 Thread Eric Nelson
As Peng pointed out in [1], GPIO_ACTIVE_LOW is currently being parsed by driver-specific xlate routines, and an NXP/mxc-specific patch ([2]) to do the same on those processors is pending. Upon further inspection, I found that many arch-specific xlate routines were present only to parse either or

[U-Boot] [PATCH 3/7] gpio: omap: remove gpio_xlate routine

2016-04-01 Thread Eric Nelson
With the addition of GPIO_ACTIVE_LOW parsing in gpio-uclass, the omap gpio driver doesn't need a custom xlate routine. Signed-off-by: Eric Nelson --- drivers/gpio/omap_gpio.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/gpio/omap_gpio.c

[U-Boot] [PATCH 6/7] gpio: exynos(s5p): remove gpio_xlate routine

2016-04-01 Thread Eric Nelson
With the addition of GPIO_ACTIVE_LOW parsing in gpio-uclass, the Exynos/S5P gpio driver doesn't need a custom xlate routine. Signed-off-by: Eric Nelson --- drivers/gpio/s5p_gpio.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/gpio/s5p_gpio.c

[U-Boot] [PATCH 4/7] gpio: pic32: remove gpio_xlate routine

2016-04-01 Thread Eric Nelson
With the addition of GPIO_ACTIVE_LOW parsing in gpio-uclass, the pic32 gpio driver doesn't need a custom xlate routine. Signed-off-by: Eric Nelson --- drivers/gpio/pic32_gpio.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/gpio/pic32_gpio.c

[U-Boot] [PATCH 2/7] gpio: intel_broadwell: remove gpio_xlate routine

2016-04-01 Thread Eric Nelson
With the addition of GPIO_ACTIVE_LOW parsing in gpio-uclass, the intel_broadwell driver doesn't need a custom xlate routine. Signed-off-by: Eric Nelson --- drivers/gpio/intel_broadwell_gpio.c | 10 -- 1 file changed, 10 deletions(-) diff --git

[U-Boot] [PATCH 5/7] gpio: rk: remove gpio_xlate routine

2016-04-01 Thread Eric Nelson
With the addition of GPIO_ACTIVE_LOW parsing in gpio-uclass, the Rockchip gpio driver doesn't need a custom xlate routine. Signed-off-by: Eric Nelson --- drivers/gpio/rk_gpio.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/gpio/rk_gpio.c

[U-Boot] [PATCH V2] arm: socfpga: Nuke useless include

2016-04-01 Thread Marek Vasut
The dwmmc.h include was forgotten during the migration of dwmmc probing to DM. Since the shiny DM is in place now, remove this relic of the past. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See ---

Re: [U-Boot] [PATCH 3/9] drivers: nand: Kconfig: add NAND as Kconfig option

2016-04-01 Thread Mugunthan V N
On Friday 01 April 2016 06:21 PM, Tom Rini wrote: > On Fri, Apr 01, 2016 at 04:59:44PM +0530, Mugunthan V N wrote: > >> Add CONFIG_NAND as a Kconfig option so that it can be selected >> using menuconfig or defconfig. >> >> Signed-off-by: Mugunthan V N > > Good but you need

Re: [U-Boot] [PATCH 4/9] drivers: nand: implement a NAND uclass

2016-04-01 Thread Mugunthan V N
On Friday 01 April 2016 06:21 PM, Tom Rini wrote: > On Fri, Apr 01, 2016 at 04:59:45PM +0530, Mugunthan V N wrote: > >> Implement a NAND uclass so that the NAND devices can be >> accessed via the DM framework. >> >> Signed-off-by: Mugunthan V N > > Minor: > >> @@ -0,0

Re: [U-Boot] [PATCH] arm: socfpga: Nuke useless include

2016-04-01 Thread Chin Liang See
On Thu, 2016-03-31 at 23:07 +0200, Marek Vasut wrote: > The dwmmc.h include was forgotten during the migration of dwmmc > probing to DM. Since the shiny DM is in place now, remove this > relic of the past. > > Signed-off-by: Marek Vasut > Cc: Dinh Nguyen

  1   2   >