Re: [U-Boot] [U-Boot, v2, 1/4] spl: nand: simple: replace readb() with chip specific read_buf()

2015-08-13 Thread Tom Rini
On Sat, Jul 18, 2015 at 01:47:08AM +0300, Vladimir Zapolskiy wrote: > Some NAND controllers define custom functions to read data out, > respect this in order to correctly support bad block handling in > simple SPL NAND framework. > > NAND controller specific read_buf() is used even to read 1 byte

Re: [U-Boot] [U-Boot,2/2] arm: bcmcygnus: Enable Ethernet support

2015-08-13 Thread Tom Rini
On Wed, Jul 15, 2015 at 04:28:14PM -0700, Steve Rae wrote: > From: Jiandong Zheng > > Enable BCM SF2 ethernet and PHY for BCM Cygnus SoC > > Signed-off-by: Jiandong Zheng > Signed-off-by: Steve Rae > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Descri

Re: [U-Boot] [U-Boot, v2, 8/8] JFFS2: Use merge sort when parsing filesystem

2015-08-13 Thread Tom Rini
On Wed, Jul 01, 2015 at 04:38:29PM +1200, Mark Tomlinson wrote: > When building the file system the existing code does an insertion into > a linked list. It attempts to speed this up by keeping a pointer to > where the last entry was inserted but it's still slow. > > Now the nodes are just insert

Re: [U-Boot] [U-Boot, v2, 4/4] lpc32xx: devkit3250: add spl build support

2015-08-13 Thread Tom Rini
On Sat, Jul 18, 2015 at 01:47:11AM +0300, Vladimir Zapolskiy wrote: > The change adds SPL build support to Timll DevKit3250 board, the > generated SPL image can be uploaded over UART5, JTAG or stored on > NAND. SPL is designed to load U-boot image from NAND. > > All new NAND chip defines in board

Re: [U-Boot] [U-Boot, v4, 2/4] nand: lpc32xx: add SLC NAND controller support

2015-08-13 Thread Tom Rini
On Sat, Jul 18, 2015 at 03:07:52AM +0300, Vladimir Zapolskiy wrote: > The change adds support of LPC32xx SLC NAND controller. > > LPC32xx SoC has two different mutually exclusive NAND controllers to > communicate with single and multiple layer chips. > > This simple driver allows to specify NAND

Re: [U-Boot] [U-Boot, v2, 3/4] lpc32xx: devkit3250: update of board configuration

2015-08-13 Thread Tom Rini
On Sat, Jul 18, 2015 at 01:47:10AM +0300, Vladimir Zapolskiy wrote: > This change adds more peripherals to Timll DevKit3250 board, namely > MAC and SMSC phy, SLC NAND, GPIO, SPI and I2C. > > Also the default serial console is changed to UART5, added an option > to pass device tree blob by means o

Re: [U-Boot] image: fix Android ramdisk support when dtb is specified

2015-08-13 Thread Tom Rini
On Fri, Jul 17, 2015 at 10:57:17AM -0500, Rob Herring wrote: > If a dtb is specified on the command-line, the Android boot image ramdisk > will not be found. Fix this so that we can specify the ramdisk address and > dtb address. The syntax is to enter the Android boot image address for > both the

Re: [U-Boot] [U-Boot,01/12] power: twl4030: Power off support

2015-08-13 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:07PM +0200, Paul Kocialkowski wrote: > This adds support for powering off (the omap3 SoC) from the twl4030. This is > especially useful when the kernel does not actually power off the device using > this method but reboots and leaves it up to the bootloader to actuall

Re: [U-Boot] [U-Boot, 02/12] input: TWL4030 input support for power button, USB and charger

2015-08-13 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:08PM +0200, Paul Kocialkowski wrote: > This adds support for detecting a few inputs exported by the TWL4030. > Currently-supported inputs are the power button, USB and charger presence. > Reviewed-by: Tom Rini > Signed-off-by: Paul Kocialkowski Applied to u-boot/ma

Re: [U-Boot] [U-Boot,04/12] omap3: Reboot mode support

2015-08-13 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:10PM +0200, Paul Kocialkowski wrote: > Reboot mode is written in scratchpad memory before reboot in the form of a > single char, that is the first letter of the reboot mode string as passed to > the > reboot function. > > This mechanism is supported on OMAP3 both my

Re: [U-Boot] [U-Boot,03/12] input: twl4030: Keypad scan and input

2015-08-13 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:09PM +0200, Paul Kocialkowski wrote: > This allows scanning the twl4030 keypad, storing the result in a 64-byte long > matrix with the twl4030_keypad_scan function. > > Detecting a key at a given column and row is made easier with the > twl4030_keypad_key function. >

Re: [U-Boot] [U-Boot, 05/12] LG Optimus Black (P970) codename sniper support

2015-08-13 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:11PM +0200, Paul Kocialkowski wrote: > The LG Optimus Black (P970) codename sniper is a smartphone that was designed > and manufactured by LG Electronics (LGE) and released back in 2011. > > It is using an OMAP3630 SoC GP version, which allows running U-Boot and the

Re: [U-Boot] [U-Boot,06/12] sniper: OMAP3 reboot mode support

2015-08-13 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:12PM +0200, Paul Kocialkowski wrote: > This adds support for the omap3 reboot mode mechanism and exports the reboot > mode via an environment variable, that is used in the boot command to make it > possible to boot from the recovery partition. > > Signed-off-by: Paul

Re: [U-Boot] [U-Boot,09/12] sniper: Fastboot support

2015-08-13 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:15PM +0200, Paul Kocialkowski wrote: > This adds support for the fastboot USB gadget, including flashing to the > internal MMC and reboot to bootloader or not. > > Signed-off-by: Paul Kocialkowski > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 07/12] sniper: Serial number support, obtained from die ID

2015-08-13 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:13PM +0200, Paul Kocialkowski wrote: > The OMAP3 has some die-specific ID bits that we can use to give the device a > (more or less) unique serial number. This is particularly useful for e.g. USB. > > Signed-off-by: Paul Kocialkowski Applied to u-boot/master, thank

Re: [U-Boot] [U-Boot, 11/12] sniper: Power off when the power on reason is not a valid one

2015-08-13 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:17PM +0200, Paul Kocialkowski wrote: > In most cases, userspace will attempt to power off the device with HALT > instead > of POWER_OFF, which triggers a reset instead of a proper power off from the > TWL4030. Hence, it is up to the bootloader to actually turn the de

Re: [U-Boot] [U-Boot, 08/12] sniper: Pass serial number through ATAG

2015-08-13 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:14PM +0200, Paul Kocialkowski wrote: > Now that the serial number is correctly defined, we can pass it to the kernel > using the (legacy) ATAG method. It will be automatically passed via > device-tree > when enabled. > > Signed-off-by: Paul Kocialkowski > Reviewed-

Re: [U-Boot] [U-Boot,10/12] sniper: Power button reset support

2015-08-13 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:16PM +0200, Paul Kocialkowski wrote: > This adds support for resetting the device on a long press on the power > button. > > Signed-off-by: Paul Kocialkowski > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital s

Re: [U-Boot] [U-Boot, 12/12] sniper: Keypad support, with recovery and fastboot key combinations

2015-08-13 Thread Tom Rini
On Mon, Jul 20, 2015 at 03:17:18PM +0200, Paul Kocialkowski wrote: > Using the twl4030 keypad allows booting directly into some special boot modes, > such as recovery or fastboot. the VOL+ key will trigger a boot to recovery > while > the VOL- key will trigger a boot to fastboot. > > The G (gest

Re: [U-Boot] [U-Boot,v4,1/7] arm1136: Remove dead code

2015-08-13 Thread Tom Rini
On Fri, Jul 24, 2015 at 09:22:09AM +0200, Alexander Stein wrote: > Apparently lcd_panel_disable is not defined anywhere, so no config for > an arm1136 board would have set CONFIG_LCD. Remove the unused code. > > Signed-off-by: Alexander Stein > Acked-by: Stephen Warren > Tested-by: Stephen Warr

Re: [U-Boot] [U-Boot, v4, 3/7] ARM: bcm283x: Define CONFIG_SYS_CACHELINE_SIZE

2015-08-13 Thread Tom Rini
On Fri, Jul 24, 2015 at 09:22:11AM +0200, Alexander Stein wrote: > The cacheline is always 32 bytes for arm1176 CPUs, so define it at board > config level for cache handling code. > The ARM Cortex-A7 has a dcache line size of 64 bytes. > > Signed-off-by: Alexander Stein > Acked-by: Stephen Warre

Re: [U-Boot] [U-Boot,v4,6/7] dwc2: Add dcache support

2015-08-13 Thread Tom Rini
On Fri, Jul 24, 2015 at 09:22:14AM +0200, Alexander Stein wrote: > This adds dcache support for dwc2. The DMA buffers must be DMA aligned and > is flushed for outgoing transactions before starting transfer. For > ingoing transactions it is invalidated after the transfer has finished. > > Signed-o

Re: [U-Boot] [U-Boot, v4, 4/7] ARM: bcm283x: Allocate all mailbox buffers cacheline aligned

2015-08-13 Thread Tom Rini
On Fri, Jul 24, 2015 at 09:22:12AM +0200, Alexander Stein wrote: > The mailbox buffer is required to be at least 16 bytes aligned, but for > cache invalidation and/or flush it needs to be cacheline aligned. > Use ALLOC_CACHE_ALIGN_BUFFER for all mailbox buffer allocations. > > Signed-off-by: Alex

Re: [U-Boot] [U-Boot, v4, 2/7] arm1136/arm1176: Merge cache handling code

2015-08-13 Thread Tom Rini
On Fri, Jul 24, 2015 at 09:22:10AM +0200, Alexander Stein wrote: > As both cores are similar merge the cache handling code for both CPUs > to arm11 directory. > > Signed-off-by: Alexander Stein > Acked-by: Stephen Warren > Tested-by: Stephen Warren Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v4, 5/7] arm/mach-bcm283x/mbox: Flush and invalidate dcache when using fw mailbox

2015-08-13 Thread Tom Rini
On Fri, Jul 24, 2015 at 09:22:13AM +0200, Alexander Stein wrote: > When using dcache the setup data for the mailbox must be actually written > into memory before calling into firmware. Thus flush and invalidate the > memory. > > Signed-off-by: Alexander Stein > Acked-by: Stephen Warren > Tested

Re: [U-Boot] [U-Boot,v4,7/7] arm/rpi: Enable dcache

2015-08-13 Thread Tom Rini
On Fri, Jul 24, 2015 at 09:22:15AM +0200, Alexander Stein wrote: > Now that mailbox driver supports cache flush and invalidation, we can > enable dcache. > > Signed-off-by: Alexander Stein > Acked-by: Stephen Warren > Tested-by: Stephen Warren Applied to u-boot/master, thanks! -- Tom sign

Re: [U-Boot] include/bitfield.h: Assure new bitfield value doesn't touch unwanted bits

2015-08-13 Thread Tom Rini
On Fri, Jul 24, 2015 at 04:52:19PM +0300, Codrin Ciubotariu wrote: > The new bitfield value must not be higher than its mask. > > Signed-off-by: Codrin Ciubotariu > Reviewed-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot,V2,1/3] omap3: fix NAND support for mcx board

2015-08-13 Thread Tom Rini
On Sun, Jul 26, 2015 at 03:18:13PM +0200, Stefano Babic wrote: > mcx was not updated according to changes in > NAND driver. > > Signed-off-by: Stefano Babic > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,V2,2/3] mcx: add Ethernet over USB

2015-08-13 Thread Tom Rini
On Sun, Jul 26, 2015 at 03:18:14PM +0200, Stefano Babic wrote: > Signed-off-by: Stefano Babic > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.d

Re: [U-Boot] [U-Boot, V2, 3/3] ti: drop value from CONFIG_SYS_NAND_BUSWIDTH_16BIT

2015-08-13 Thread Tom Rini
On Sun, Jul 26, 2015 at 03:18:15PM +0200, Stefano Babic wrote: > Signed-off-by: Stefano Babic > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.d

Re: [U-Boot] drivers: hierarchize drivers Kconfig menu

2015-08-13 Thread Tom Rini
On Sun, Jul 26, 2015 at 02:46:26AM +0900, Masahiro Yamada wrote: > The menuconfig for drivers are getting more and more cluttered > and unreadable because too many entries are displayed in a single > flat menu. Use hierarchic menu for each category. > > Signed-off-by: Masahiro Yamada > Reviewed

Re: [U-Boot] [U-Boot, v3, 1/4] m68k: cache: add an empty stub functions for invalidate/flush dcache

2015-08-13 Thread Tom Rini
On Mon, Jul 27, 2015 at 11:40:15AM +0800, Wu, Josh wrote: > Since some driver like ohci, lcd used dcache functions. But m68k don't > implement the invalidate_dcache_range()/flush_dcache_range() functions. > > To avoid compiling errors this patch adds an weak empty stub function > for all m68k cpu

Re: [U-Boot] [U-Boot, v2] Correct License and Copyright information on few files

2015-08-13 Thread Tom Rini
On Mon, Jul 27, 2015 at 09:07:39AM +0530, Ruchika Gupta wrote: > gpio.h - Added missing copyright in few files. > rsa-mod-exp.h - Corrected copyright in the file. > fsl_sec.h - Added missing license in files > drivers/crypto/fsl/Makefile - Removed the incomplete GPLv2 license and > replaced it wi

Re: [U-Boot] [U-Boot,v2] integrator: switch to DM serial port

2015-08-13 Thread Tom Rini
On Mon, Jul 27, 2015 at 11:22:48AM +0200, Linus Walleij wrote: > This switches the Integrator boards over to using the device model > for its serial ports. > > Cc: Masahiro Yamada > Signed-off-by: Linus Walleij Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital sig

Re: [U-Boot] [U-Boot, v3, 3/4] ARM: cache: implement a default weak flush_cache() function

2015-08-13 Thread Tom Rini
On Mon, Jul 27, 2015 at 11:40:17AM +0800, Wu, Josh wrote: > Current many cpu use the same flush_cache() function, which just call > the flush_dcache_range(). > So implement a weak flush_cache() for all the cpus to use. > > In original weak flush_cache() in arch/arm/lib/cache.c, there has some > c

Re: [U-Boot] [U-Boot,v3,4/4] usb: ohci: enable cache support

2015-08-13 Thread Tom Rini
On Mon, Jul 27, 2015 at 11:40:18AM +0800, Wu, Josh wrote: > Remove the CONFIG_DM_USB limitation to enable cache support functions. > Tested on SAMA5D3x-EK board. > > Signed-off-by: Josh Wu > Acked-by: Hans de Goede Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v3, 2/4] ARM: cache: add an empty stub function for invalidate/flush dcache

2015-08-13 Thread Tom Rini
On Mon, Jul 27, 2015 at 11:40:16AM +0800, Wu, Josh wrote: > Since some driver like ohci, lcd used dcache functions. But some ARM > cpu don't implement the invalidate_dcache_range()/flush_dcache_range() > functions. > > To avoid compiling errors this patch adds an weak empty stub function > for al

Re: [U-Boot] [U-Boot,1/7] arm: lpc32xx: mux: add missing registers

2015-08-13 Thread Tom Rini
On Mon, Jul 27, 2015 at 01:37:34PM -0400, slemieux.t...@gmail.com wrote: > From: Sylvain Lemieux > > Add missing registers in struct definition. > Update GPIO MUX base register to match GPIO base (refer to "LPC32x0 User > manual" Rev. 3 - 22 July 2011). > > Signed-off-by: Sylvain Lemieux App

Re: [U-Boot] [U-Boot,2/7] lpc32xx: cpu: add support for soft reset

2015-08-13 Thread Tom Rini
On Mon, Jul 27, 2015 at 01:37:35PM -0400, slemieux.t...@gmail.com wrote: > From: Sylvain Lemieux > > Add support for optional soft reset (i.e. "RESOUT_N" not asserted during > reset). > > To be compatible with the original U-Boot code, when the "addr" parameter is > 0, a hard is performed; fo

Re: [U-Boot] [U-Boot,3/7] arm: lpc32xx: gpio macro for pin mapping

2015-08-13 Thread Tom Rini
On Mon, Jul 27, 2015 at 01:37:36PM -0400, slemieux.t...@gmail.com wrote: > From: Sylvain Lemieux > > Add LPC32xx GPIO interface macro for pin mapping. > > Signed-off-by: Sylvain Lemieux Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, 4/7] i2c: lpc32xx: use api to get hclk instead of fix value

2015-08-13 Thread Tom Rini
On Mon, Jul 27, 2015 at 01:37:37PM -0400, slemieux.t...@gmail.com wrote: > From: Sylvain Lemieux > > The HCLK is not constant and can take different value; use the api function > to get the value of the HCLK for the I2C clock high and low computation. > > Signed-off-by: Sylvain Lemieux Appli

Re: [U-Boot] [U-Boot,7/7] net: lpc32xx: eth buffers base config

2015-08-13 Thread Tom Rini
On Mon, Jul 27, 2015 at 01:37:40PM -0400, slemieux.t...@gmail.com wrote: > From: Sylvain Lemieux > > Add support to specify the Ethernet buffer base address; > if none are supply by the board, the default value is use (from existing > code). > > Signed-off-by: Sylvain Lemieux > Acked-by: Joe

Re: [U-Boot] [U-Boot,6/7] i2c: lpc32xx: fix write timeout

2015-08-13 Thread Tom Rini
On Mon, Jul 27, 2015 at 01:37:39PM -0400, slemieux.t...@gmail.com wrote: > From: Sylvain Lemieux > > Fix a condition that generate watchdog timeout inside "lpc32xx_i2c_write" > when parameters alen = 0 and len = 0. > > Signed-off-by: Sylvain Lemieux Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, V2, 1/3] ARM: Introduce erratum workaround for 801819

2015-08-13 Thread Tom Rini
On Mon, Jul 27, 2015 at 04:26:05PM -0500, Nishanth Menon wrote: > Add workaround for Cortex-A15 ARM erratum 801819 which says in summary > that "A livelock can occur in the L2 cache arbitration that might > prevent a snoop from completing. Under certain conditions this can > cause the system to de

Re: [U-Boot] [U-Boot, V2, 3/3] ARM: DRA72: disable workaround for 801819

2015-08-13 Thread Tom Rini
On Mon, Jul 27, 2015 at 04:26:07PM -0500, Nishanth Menon wrote: > DRA72x processor variants are single core and it does not export ACP[1]. > Hence, we have no source for generating an external snoop requests which > appear to be key to the deadlock in DRA72x design. > > Since we build the same im

Re: [U-Boot] [U-Boot, V2, 2/3] ARM: DRA7/ OMAP5: implement Auxiliary Control Register configuration

2015-08-13 Thread Tom Rini
On Mon, Jul 27, 2015 at 04:26:06PM -0500, Nishanth Menon wrote: > Implement logic for ACR(Auxiliary Control Register) configuration using > ROM Code smc service. > > Suggested-by: Richard Woodruff > Suggested-by: Brad Griffis > Reviewed-by: Brad Griffis > Signed-off-by: Nishanth Menon Applie

Re: [U-Boot] [U-Boot,5/7] i2c: lpc32xx: fix read timeout

2015-08-13 Thread Tom Rini
On Mon, Jul 27, 2015 at 01:37:38PM -0400, slemieux.t...@gmail.com wrote: > From: Sylvain Lemieux > > Fix a condition that generate watchdog timeout inside "lpc32xx_i2c_read" when > parameters alen != 0 and len = 0. > > Signed-off-by: Sylvain Lemieux Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,v2,1/8] ARM: keystone2: Cleanup SoC detection

2015-08-13 Thread Tom Rini
On Tue, Jul 28, 2015 at 02:16:41PM +0530, Lokesh Vutla wrote: > Add proper register definition for JTAG ID and > cleanup cpu_is_* functions. > > Reviewed-by: Tom Rini > Reviewed-by: Vitaly Andrianov > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Descr

Re: [U-Boot] [U-Boot, v2, 2/8] ARM: keystone2: Enable CONFIG_DISPLAY_CPUINFO

2015-08-13 Thread Tom Rini
On Tue, Jul 28, 2015 at 02:16:42PM +0530, Lokesh Vutla wrote: > Add print_cpuinfo() function and enable > CONFIG_DISPLAY_CPUINFO for keystone platforms, > so that cpu info can be displayed during boot. > > Reviewed-by: Tom Rini > Reviewed-by: Vitaly Andrianov > Signed-off-by: Lokesh Vutla Ap

Re: [U-Boot] [PATCH] x86: Add clarifications to the x86 README

2015-08-13 Thread Stoppa, Igor
On 13 August 2015 at 15:57, Bin Meng wrote: > Hi Igor, > > On Thu, Aug 13, 2015 at 7:00 PM, Igor Stoppa wrote: [...] >> +In this case, known as bare mode, fom the fact that it runs on the > > fom? argh, sorry, fixed >> +'bare metal', U-Boot acts like a BIOS replacement. > > Do you intentional

Re: [U-Boot] [U-Boot,v2,3/8] ARM: keystone2: Cleanup PLL init code

2015-08-13 Thread Tom Rini
On Tue, Jul 28, 2015 at 02:16:43PM +0530, Lokesh Vutla wrote: > There are two types of PLL for all keystone platforms: > Main PLL, Secondary PLL. Instead of duplicating the same definition > for each secondary PLL, have a common function which does > initialization for both PLLs. And also add prop

Re: [U-Boot] [U-Boot, v2, 5/8] ARM: keystone2: Use common structure for PLLs

2015-08-13 Thread Tom Rini
On Tue, Jul 28, 2015 at 02:16:45PM +0530, Lokesh Vutla wrote: > Register Base addresses are same for PLLs in all > keystone platforms. If a PLL is not available, the corresponding > register addresses are marked as reserved. > Hence use a common definition. > > Reviewed-by: Tom Rini > Signed-off

Re: [U-Boot] [U-Boot, v2, 4/8] ARM: keystone2: Fix dev and arm speed detection

2015-08-13 Thread Tom Rini
On Tue, Jul 28, 2015 at 02:16:44PM +0530, Lokesh Vutla wrote: > Use common devspeed and armspeed definitions. > Also fix reading efuse bootrom register. > > Reviewed-by: Tom Rini > Reviewed-by: Vitaly Andrianov > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signatu

Re: [U-Boot] [U-Boot, 2/2] common/cmd_source.c: Fix the source command failure under 64-bit platform

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 02:00:01PM +0800, Gong Qianyu wrote: > Modify the data pointer type from ulong* to u32*. > > For arm64 type "ulong" could be 64-bit. Then in line 89 of > common/cmd_source.c: > "while (*data++);" data will point to the next 64 bits each time. As the > uImage > file gener

Re: [U-Boot] [U-Boot, v4, 2/9] dm: gpio: hi6220: Add a hi6220 GPIO driver model driver.

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 06:55:18PM +0100, Peter Griffin wrote: > This patch adds support for the GPIO perif found on hi6220 > SoC. > > Signed-off-by: Peter Griffin Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v4, 3/9] ARM: hi6220: Add register and bitfield definition header files.

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 06:55:19PM +0100, Peter Griffin wrote: > This patch adds the header files which will be used in the subsquent > board / drivers to enable support for hi6220 hikey board. > > Signed-off-by: Peter Griffin Applied to u-boot/master, thanks! -- Tom signature.asc Descripti

Re: [U-Boot] [U-Boot, v2, 6/8] ARM: keystone2: Cleanup init_pll definition

2015-08-13 Thread Tom Rini
On Tue, Jul 28, 2015 at 02:16:46PM +0530, Lokesh Vutla wrote: > This is just a cosmetic change that makes > the calling of pll init code looks much cleaner. > > Reviewed-by: Tom Rini > Reviewed-by: Vitaly Andrianov > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom sig

Re: [U-Boot] [U-Boot, v2, 7/8] ARM: keystone2: Remove unsed external clocks

2015-08-13 Thread Tom Rini
On Tue, Jul 28, 2015 at 02:16:47PM +0530, Lokesh Vutla wrote: > Remove unused external clocks and make a common definition > for all keystone platforms. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signa

Re: [U-Boot] [U-Boot, v2, 8/8] ARM: keystone2: Use common definition for clk_get_rate

2015-08-13 Thread Tom Rini
On Tue, Jul 28, 2015 at 02:16:48PM +0530, Lokesh Vutla wrote: > Since all the clocks are defined common, and has the same logic to get > the frequencies, use a common definition for for clk_get_rate(). > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -

Re: [U-Boot] [U-Boot, v4, 6/9] mmc: hi6220_dw_mmc: Add hi6220 glue code for dw_mmc controller.

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 06:55:22PM +0100, Peter Griffin wrote: > This patch adds the glue code for hi6220 SoC which has 2x synopsis > dw_mmc controllers. This will be used by the hikey board support > in subsequent patches. > > Signed-off-by: Peter Griffin > Reviewed-by: Simon Glass Applied to

Re: [U-Boot] [U-Boot, v4, 8/9] ARM64: hikey: Add a README for this board.

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 06:55:24PM +0100, Peter Griffin wrote: > To help others with compiling and flashing ATF and u-boot add > a README for this board. > > Signed-off-by: Peter Griffin Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, 1/6] spi: omap3_spi: add am43xx support to omap3_spi

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 11:56:18PM +0300, Nikita Kiryanov wrote: > Add support for AM43XX to the omap3_spi driver. > > Cc: Jagan Teki > Cc: Igor Grinberg > Signed-off-by: Nikita Kiryanov > Reviewed-by: Jagan Teki Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, 3/6] mmc: omap_hsmmc: enable proper CMD(DAT) lines reset procedure for am43xx

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 11:56:20PM +0300, Nikita Kiryanov wrote: > The CMD(DAT) lines reset procedure described in the OMAP4(AM335x, > OMAP5, DRA7xx) TRMs is also necessary for AM43XX. Enable it in the > driver. > > Cc: Pantelis Antoniou > Cc: Igor Grinberg > Cc: Albert Aribaud > Signed-off-by

Re: [U-Boot] [U-Boot, v4, 5/9] pmic: pmic_hi6553: Add a driver for the hi6553 pmic found on hikey board.

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 06:55:21PM +0100, Peter Griffin wrote: > This adds a simple pmic driver for the hi6553 pmic which is used in > conjunction with the hi6220 SoC on the hikey board. Eventually this > driver will be updated to be a proper UCLASS PMIC driver which > can parse the voltages direc

Re: [U-Boot] [U-Boot, v4, 4/9] hisilicon: hi6220: Add a hi6220 pinmux driver.

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 06:55:20PM +0100, Peter Griffin wrote: > This patch adds basic pinmux support for the hi6220 SoC, > which is found on the hikey board. > > Signed-off-by: Peter Griffin Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot,1/2] spl: Fix compile warning for arm64

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 02:07:12PM +0800, Gong Qianyu wrote: > Make the cast explicit for "warning: cast to pointer from integer of > different size". > > Signed-off-by: Gong Qianyu > > diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c > index 494f683..ce58c58 100644 Applied to u-boot/

Re: [U-Boot] [U-Boot,6/6] arm: am437x: Introduce new board cm-t43

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 11:56:23PM +0300, Nikita Kiryanov wrote: > Add initial support for CM-T43, an AM437x based SoM. > This support includes: serial, MMC/eMMC, NAND, USB, ETH, I2C, GPIO, DRAM > detection. > > Cc: Tom Rini > Cc: Albert Aribaud > Cc: Igor Grinberg > Signed-off-by: Nikita Kiry

Re: [U-Boot] [U-Boot,5/6] gpio: am43xx: expand gpio support

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 11:56:22PM +0300, Nikita Kiryanov wrote: > AM43XX SoCs support up to 192 GPIO signals. > Make this amount available to the driver. > > Cc: Albert Aribaud > Cc: Igor Grinberg > Signed-off-by: Nikita Kiryanov Applied to u-boot/master, thanks! -- Tom signature.asc Des

Re: [U-Boot] [U-Boot,2/6] arm: am43xx: enable spi clock

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 11:56:19PM +0300, Nikita Kiryanov wrote: > Add spi clock to the list of am43xx basic clocks to make the SPI > subsystem available on am43xx systems. > > Cc: Albert Aribaud > Cc: Igor Grinberg > Signed-off-by: Nikita Kiryanov > Reviewed-by: Jagan Teki Applied to u-boot

Re: [U-Boot] [U-Boot, v4, 7/9] ARM64: hikey: hi6220: Add u-boot support for the 96boards CE HiKey board.

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 06:55:23PM +0100, Peter Griffin wrote: > HiKey is the first 96boards consumer edition compliant board. It features a > hi6220 > SoC which has eight ARM A53 cpu's. > > This initial port adds support for: - > 1) Serial > 2) eMMC / SD card > 3) USB > 4) GPIO > > It has been

Re: [U-Boot] [U-Boot, 4/6] mmc: omap_hsmmc: enable 8bit interface for eMMC for AM43xx

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 11:56:21PM +0300, Nikita Kiryanov wrote: > Enable 8bit interface on HSMMC2 for am43xx to support 8bit eMMC chips. > > Cc: Pantelis Antoniou > Cc: Igor Grinberg > Cc: Albert Aribaud > Signed-off-by: Nikita Kiryanov Applied to u-boot/master, thanks! -- Tom signature

Re: [U-Boot] [U-Boot, 5/5] dra7xx: Add dra72_evm_defconfig using CONFIG_DM

2015-08-13 Thread Tom Rini
On Fri, Jul 31, 2015 at 07:55:12PM -0400, Tom Rini wrote: > - Import various DT files for DRA7 / DR72x / dra72-evm from Linux Kernel > v4.1 > - Add config file for this board, enable DM and DM_GPIO > > Cc: Simon Glass > Signed-off-by: Tom Rini > Reviewed-by: Simon Glass Applied to u-boot/ma

Re: [U-Boot] ARM: drop "optional" from target select in favor of ARCH_VERSATILE

2015-08-13 Thread Tom Rini
On Sat, Aug 01, 2015 at 04:39:13PM +0900, Masahiro Yamada wrote: > Since commit a26cd04920dc ("arch: Make board selection choices > optional"), Kconfig could create such an insane .config file that > no SoC/board is selected. > > This is now a real problem for Buildroot, for example. > (http://li

Re: [U-Boot] [U-Boot, 1/5] am33xx: Update DT files, add am335x_gp_evm_config target

2015-08-13 Thread Tom Rini
On Fri, Jul 31, 2015 at 07:55:08PM -0400, Tom Rini wrote: > - Re-sync DT files for am33xx with Linux Kernel v4.1 > - Include DT file now for the "AM335x GP EVM" and build target for it, > via device tree and DM. > - We only need to provide platform data for UART when OF_CONTROL isn't > also en

Re: [U-Boot] [U-Boot, RESEND, v5] generic-board: allow showing custom board info

2015-08-13 Thread Tom Rini
On Wed, Aug 05, 2015 at 05:17:00PM +0200, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Allow showing custom board info from a checkboard() function being > implemented if CONFIG_CUSTOM_BOARDINFO is specified. Previously the > device tree model was always displayed not taking any > CONFIG_

Re: [U-Boot] [U-Boot, RESEND, v5] colibri_vf: remove spurious new line

2015-08-13 Thread Tom Rini
On Wed, Aug 05, 2015 at 05:17:02PM +0200, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Remove spurious new line in configuration file. > > Signed-off-by: Marcel Ziswiler > Tested-by: Marek Vasut > Acked-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom signature.asc Descrip

Re: [U-Boot] [U-Boot, V3] kconfig: add config option for shell prompt

2015-08-13 Thread Tom Rini
On Mon, Aug 03, 2015 at 12:36:58PM +0300, Nikita Kiryanov wrote: > Add option to set shell prompt string from menuconfig and migrate > boards globally. > > The migration is done as follows: > - Boards that explicitly and unconditionally set CONFIG_SYS_PROMPT had the > entry moved to their defco

Re: [U-Boot] [U-Boot, 2/2] configs: ti_armv7_keystone2: increase size reserved for initrd

2015-08-13 Thread Tom Rini
On Tue, Aug 04, 2015 at 11:16:16AM -0400, Vitaly Andrianov wrote: > 9MB reserved for initrd is not enough for default ramfs used for keystone > devices, which is ~33MB. This patch increases the size up to 80MB. > > Signed-off-by: Vitaly Andrianov Applied to u-boot/master, thanks! -- Tom sig

Re: [U-Boot] [U-Boot, RESEND, v5] fs/fs.c: read up to EOF when len would read past EOF

2015-08-13 Thread Tom Rini
On Wed, Aug 05, 2015 at 05:16:58PM +0200, Marcel Ziswiler wrote: > From: Max Krummenacher > > http://lists.denx.de/pipermail/u-boot/2012-September/134347.html > allows for reading files in chunks from the shell. > > When this feature is used to read past the end of a file an error > was returne

Re: [U-Boot] [U-Boot, RESEND, v5] image-fdt.c: store returned error value

2015-08-13 Thread Tom Rini
On Wed, Aug 05, 2015 at 05:17:03PM +0200, Marcel Ziswiler wrote: > From: Max Krummenacher > > This fixes the following warning (and the runtime error reporting): > ../common/image-fdt.c:491:4: warning: 'fdt_ret' may be used > uninitialized in this function [-Wmaybe-uninitialized] > > Signed-off

Re: [U-Boot] [U-Boot, 1/2] configs: ti_armv7_keystone2: fix initrd address at args_ramfs

2015-08-13 Thread Tom Rini
On Tue, Aug 04, 2015 at 11:16:15AM -0400, Vitaly Andrianov wrote: > This patch set the correct initrd address to much rdaddr, which used at > get_fs_ramfs commad. > > Fixes: 3e97f0b63c8e ("configs: ti_armv7_keystone2: switch addresses > to generic addresses") > > Signed-off-by: Vitaly Andrianov

Re: [U-Boot] [U-BOOT PATCH v3 3/4] x86: Added ACPI support for Qemu.

2015-08-13 Thread Bin Meng
Hi Saket, On Thu, Aug 13, 2015 at 11:01 AM, Saket Sinha wrote: > Signed-off-by: Saket Sinha > --- > > arch/x86/cpu/qemu/Makefile | 1 + > arch/x86/cpu/qemu/acpi.c | 157 > + > 2 files changed, 158 insertions(+) > create mode 100644 arch/x86/cpu/

Re: [U-Boot] [U-Boot, 4/5] dra7xx: Move CONS_INDEX to Kconfig and enable CONFIG_SPL_STACK_ADDR

2015-08-13 Thread Tom Rini
On Fri, Jul 31, 2015 at 07:55:11PM -0400, Tom Rini wrote: > - Move the CONS_INDEX selection out of CONFIG_SYS_EXTRA_OPTIONS and > into Kconfig proper. > - While in here, enable CONFIG_SPL_STACK_ADDR > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Descrip

Re: [U-Boot] [U-Boot, 3/5] ARM: SPL: Use CONFIG_SPL_DM not CONFIG_DM

2015-08-13 Thread Tom Rini
On Fri, Jul 31, 2015 at 07:55:10PM -0400, Tom Rini wrote: > We now have the CONFIG_SPL_DM for code within SPL to toggle caring about > DM or not. Without this change platforms that do enable CONFIG_DM but > not CONFIG_SPL_DM may be broken (such as OMAP5). > > Cc: Albert Aribaud > Signed-off-by:

Re: [U-Boot] [U-Boot,2/5] gpio: omap: Drop 'method' parameter

2015-08-13 Thread Tom Rini
On Fri, Jul 31, 2015 at 07:55:09PM -0400, Tom Rini wrote: > The "method" parameter was part of the original port of the driver from > the kernel. At some point this may have been added to allow for future > differentiation (as omap1 and omap2 have different GPIO IP blocks, so > this wasn't an unr

Re: [U-Boot] [PATCH v4 0/9] Add support for hi6220 SoC and HiKey 96boards CE board.

2015-08-13 Thread Tom Rini
On Thu, Jul 30, 2015 at 06:55:16PM +0100, Peter Griffin wrote: > Hi Albert / Tom, > > This series adds support for the first 96boards consumer edition HiKey board. > > More information can be found about this board at the following link > https://www.96boards.org/products/hikey/. > > This initi

Re: [U-Boot] GCC 5.2 issue on imx28

2015-08-13 Thread Tom Rini
On Tue, Jul 28, 2015 at 02:39:49PM +0100, Måns Rullgård wrote: > Otavio Salvador writes: > > > Hello folks, > > > > OE-Core is preparing for upgrade to GCC 5.2 as default compiler and > > mx28 is failing[1] to build with it. > > > > 1. http://errors.yoctoproject.org/Errors/Details/13878/ > > > >

Re: [U-Boot] [PATCH] x86: Add clarifications to the x86 README

2015-08-13 Thread Bin Meng
Hi Igor, On Thu, Aug 13, 2015 at 9:19 PM, Stoppa, Igor wrote: > On 13 August 2015 at 15:57, Bin Meng wrote: >> Hi Igor, >> >> On Thu, Aug 13, 2015 at 7:00 PM, Igor Stoppa wrote: > > [...] > >>> +In this case, known as bare mode, fom the fact that it runs on the >> >> fom? > > argh, sorry, fixed

Re: [U-Boot] [U-Boot, RESEND] common/lcd_console: fix console/logo regression

2015-08-13 Thread Tom Rini
On Tue, Aug 04, 2015 at 03:49:50PM +0200, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > The following commit changed the order of the column vs. row parameter > to the lcd_init_console() function but missed actually changing it as > well the second time it is called from lcd_clear() which r

[U-Boot] [PATCH] x86: Add clarifications to the x86 README

2015-08-13 Thread Igor Stoppa
* Explicitly list the targets supported in each section of the instructions from the x86 README. * Drop references to 'raw mode', in favor of 'bare mode'. Signed-off-by: Igor Stoppa --- doc/README.x86 | 32 +--- 1 file changed, 21 insertions(+), 11 deletions(-) diff

Re: [U-Boot] [U-BOOT PATCH v3 4/4] x86: Added dsdt tables for Qemu ACPI implementation.

2015-08-13 Thread Bin Meng
Hi Saket, Nits: please replace all places of Qemu to QEMU (all capital letters, as this is the official name) On Thu, Aug 13, 2015 at 11:01 AM, Saket Sinha wrote: > For ACPI, on QEMU x86 emulated platform things like control and/or check > thermal zones (temperature sensors, fan speeds, etc), b

Re: [U-Boot] [PATCH 2/4] x86: Update microcode dtsi and board dts files per microcode-tool

2015-08-13 Thread Tom Rini
On Fri, Aug 07, 2015 at 02:28:44AM -0700, Bin Meng wrote: > As the updated microcode-tool doesn't write dts properties into the > microcode dtsi files, update the existing dtsi and board dts files > to keep sync with the tool. Note for FSP based boards, add a new > property "intel,fsp-parser" whic

Re: [U-Boot] [PATCH 1/4] x86: microcode-tool: Write pure data to the dtsi file

2015-08-13 Thread Tom Rini
On Fri, Aug 07, 2015 at 02:28:43AM -0700, Bin Meng wrote: > Currently the microcode-tool writes microcode into a data block as > well as the device tree properties which represents the first 48 > bytes in the microcode data. Now we change the tool to only write > the microcode without device tree

Re: [U-Boot] [PATCH] x86: Add clarifications to the x86 README

2015-08-13 Thread Bin Meng
On Thu, Aug 13, 2015 at 9:43 PM, Igor Stoppa wrote: > * Explicitly list the targets supported in each section of the > instructions from the x86 README. > > * Drop references to 'raw mode', in favor of 'bare mode'. > > Signed-off-by: Igor Stoppa > --- > doc/README.x86 | 32 +-

Re: [U-Boot] [PATCH 4/4] x86: baytrail: Support multiple microcode copies

2015-08-13 Thread Tom Rini
On Fri, Aug 07, 2015 at 02:28:46AM -0700, Bin Meng wrote: > Intel FSP has the capability to walk through the microcode blocks > which are passed as the TempRamInit() parameter from U-Boot and > finds the most appropriate microcode which is suitable for the cpu > on which it is running. Now we've s

Re: [U-Boot] [PATCH 3/4] x86: baytrail: Add microcode for BayTrail-I D0 stepping

2015-08-13 Thread Tom Rini
On Fri, Aug 07, 2015 at 02:28:45AM -0700, Bin Meng wrote: > This commit adds the microcode blob for BayTrail-I D0 stepping, > CPUID signature 30679h. > > Signed-off-by: Bin Meng Tested-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 1/4] x86: microcode-tool: Write pure data to the dtsi file

2015-08-13 Thread Bin Meng
Hi Simon, On Thu, Aug 13, 2015 at 9:56 PM, Tom Rini wrote: > On Fri, Aug 07, 2015 at 02:28:43AM -0700, Bin Meng wrote: > >> Currently the microcode-tool writes microcode into a data block as >> well as the device tree properties which represents the first 48 >> bytes in the microcode data. Now we

Re: [U-Boot] [PATCH 1/4] x86: microcode-tool: Write pure data to the dtsi file

2015-08-13 Thread Simon Glass
Hi Bin, On 13 August 2015 at 08:06, Bin Meng wrote: > Hi Simon, > > On Thu, Aug 13, 2015 at 9:56 PM, Tom Rini wrote: >> On Fri, Aug 07, 2015 at 02:28:43AM -0700, Bin Meng wrote: >> >>> Currently the microcode-tool writes microcode into a data block as >>> well as the device tree properties which

Re: [U-Boot] [PATCH 2/6] ARM: OMAP5: Add functions to enable and disable USB clocks

2015-08-13 Thread Kishon Vijay Abraham I
Hi Tom, On Tuesday 11 August 2015 06:03 AM, Tom Rini wrote: > On Mon, Aug 10, 2015 at 04:58:34PM +0530, Kishon Vijay Abraham I wrote: > >> diff --git a/arch/arm/include/asm/omap_common.h >> b/arch/arm/include/asm/omap_common.h >> index 224fbf0..527e143 100644 >> --- a/arch/arm/include/asm/omap_c

Re: [U-Boot] [PATCH 4/6] ARM: AM43xx: Add functions to enable and disable USB clocks

2015-08-13 Thread Kishon Vijay Abraham I
On Tuesday 11 August 2015 06:03 AM, Tom Rini wrote: > On Mon, Aug 10, 2015 at 04:58:36PM +0530, Kishon Vijay Abraham I wrote: > >> diff --git a/arch/arm/include/asm/arch-am33xx/sys_proto.h >> b/arch/arm/include/asm/arch-am33xx/sys_proto.h >> index 91b614a..275cf7b 100644 >> --- a/arch/arm/inclu

<    1   2   3   4   5   >