Re: [U-Boot] Possible mistake in the csu_cslx_ind enum (ns_access.h)

2016-03-27 Thread Huan Wang
Hi, Vincent, > On 03/24/2016 01:17 AM, Vincent wrote: > > Hi, > > I started to port my kernel to the secure world on a LS1021a board, so > > I started to read the reference manual on the CSU component. In Table > > 9.8, we can see that > > > > - Debug EPU is CSL47[24:16] > > - DDDI is CSL48[24:16]

Re: [U-Boot] [PATCH 6/6] i2c: designware_i2c: Add support for PCI(e) based I2C cores (x86)

2016-03-27 Thread Bin Meng
Hi Stefan, On Mon, Mar 21, 2016 at 10:04 PM, Stefan Roese wrote: > Hi Bin, > > On 21.03.2016 13:43, Bin Meng wrote: >> On Mon, Mar 21, 2016 at 8:04 PM, Stefan Roese wrote: >>> Hi Bin, >>> >>> On 21.03.2016 10:03, Stefan Roese wrote: >>> >>> >>> >> static int designware_i2c_probe_chip(st

Re: [U-Boot] [PATCH V3] fsl: esdhc: support driver model

2016-03-27 Thread Peng Fan
Hi Eric, On Sun, Mar 27, 2016 at 11:18:00AM -0700, Eric Nelson wrote: >Hi Peng, > >On 03/27/2016 07:57 AM, Peng Fan wrote: >> On Fri, Mar 25, 2016 at 01:12:39PM -0700, Eric Nelson wrote: >>> On 03/24/2016 11:16 PM, Peng Fan wrote: Support Driver Model for fsl esdhc driver. 1. Introd

Re: [U-Boot] [U-Boot,09/11] pxa_lcd: make driver cache-aware

2016-03-27 Thread Tom Rini
On Mon, Mar 28, 2016 at 01:27:27AM +0200, Marek Vasut wrote: > On 03/28/2016 12:29 AM, Tom Rini wrote: > > On Sun, Mar 20, 2016 at 06:37:08PM -0700, Vasily Khoruzhick wrote: > > > >> Signed-off-by: Vasily Khoruzhick > > > > Applied to u-boot/master, thanks! > > > NAK, this is pure wrong. The me

Re: [U-Boot] [U-Boot, 03/11] pxa_lcd: invert colors for Zipit Z2 to get white on black palette

2016-03-27 Thread Tom Rini
On Mon, Mar 28, 2016 at 01:26:43AM +0200, Marek Vasut wrote: > On 03/28/2016 12:29 AM, Tom Rini wrote: > > On Sun, Mar 20, 2016 at 06:37:02PM -0700, Vasily Khoruzhick wrote: > > > >> Signed-off-by: Vasily Khoruzhick > > > > Applied to u-boot/master, thanks! > > > NAK. > > This actually breaks

Re: [U-Boot] [U-Boot,09/11] pxa_lcd: make driver cache-aware

2016-03-27 Thread Marek Vasut
On 03/28/2016 12:29 AM, Tom Rini wrote: > On Sun, Mar 20, 2016 at 06:37:08PM -0700, Vasily Khoruzhick wrote: > >> Signed-off-by: Vasily Khoruzhick > > Applied to u-boot/master, thanks! > NAK, this is pure wrong. The memory area should be non-cacheable. Please remove the patch from the tree. --

Re: [U-Boot] [U-Boot, 03/11] pxa_lcd: invert colors for Zipit Z2 to get white on black palette

2016-03-27 Thread Marek Vasut
On 03/28/2016 12:29 AM, Tom Rini wrote: > On Sun, Mar 20, 2016 at 06:37:02PM -0700, Vasily Khoruzhick wrote: > >> Signed-off-by: Vasily Khoruzhick > > Applied to u-boot/master, thanks! > NAK. This actually breaks the correct behavior of the PXA framebuffer driver. Please do not ignore comments

Re: [U-Boot] [U-Boot,06/11] zipitz2: enable USB host support

2016-03-27 Thread Tom Rini
On Sun, Mar 20, 2016 at 06:37:05PM -0700, Vasily Khoruzhick wrote: > Signed-off-by: Vasily Khoruzhick Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.de

Re: [U-Boot] cmd: spi: check return value of strdup

2016-03-27 Thread Tom Rini
On Sun, Mar 20, 2016 at 09:21:36PM +0800, Peng Fan wrote: > Check return value of strdup. > > Signed-off-by: Peng Fan > Cc: Przemyslaw Marczak > Cc: Bin Meng > Cc: Heiko Schocher > Cc: Simon Glass > Cc: Stefan Roese > Cc: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, 2/2] ARM: bcm2835: fix 64-bit build warning in mbox

2016-03-27 Thread Tom Rini
On Wed, Mar 16, 2016 at 09:40:57PM -0600, Stephen Warren wrote: > Fixes: > arch/arm/mach-bcm283x/mbox.c: In function ‘bcm2835_mbox_call_prop’: > arch/arm/mach-bcm283x/mbox.c:118:48: warning: cast from pointer to integer of > different size [-Wpointer-to-int-cast] > arch/arm/mach-bcm283x/mbox.c:12

Re: [U-Boot] [U-Boot, 1/2] net: export eth_setenv_enetaddr_by_index() to net.h

2016-03-27 Thread Tom Rini
On Fri, Mar 18, 2016 at 01:18:11PM +0200, Roger Quadros wrote: > Some TI boards (e.g. IDK) have 4 to 6 ethernet ports and > this function is handy at board.c to configure the > MAC address of the ports. > > Signed-off-by: Roger Quadros > Reviewed-by: Tom Rini Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, v2, 3/5] lcd: Fix compile warning in 64bit mode

2016-03-27 Thread Tom Rini
On Wed, Mar 16, 2016 at 03:41:22PM +0100, Alexander Graf wrote: > When compiling the code for 64bit, the lcd code emits warnings because it > tries to cast pointers to 32bit values. Fix it by casting them to longs > instead, actually properly aligning with the function prototype. > > Signed-off-b

Re: [U-Boot] [U-Boot, 3/3] Fix typo choosen in comments and printf logs

2016-03-27 Thread Tom Rini
On Thu, Mar 17, 2016 at 03:44:47PM +0100, Alexander Merkle wrote: > Minor change: chosen is written with one "o". > No code change here, only comment & printf. > > Signed-off-by: Alexander Merkle > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: Di

Re: [U-Boot] tools: env: bug: config structs must be defined in tools library

2016-03-27 Thread Tom Rini
On Fri, Mar 25, 2016 at 02:52:19PM +0100, Andreas Fenkart wrote: > fw_senten/fw_printenv can be compiled as a tools library, > excluding the fw_env_main object. > > Reported-by: Stefano Babic > Signed-off-by: Andreas Fenkart Applied to u-boot/master, thanks! -- Tom signature.asc Descriptio

Re: [U-Boot] ARM: asm: types: Introduce DMA_ADDR_T_64BIT

2016-03-27 Thread Tom Rini
On Thu, Mar 24, 2016 at 04:02:00PM +0530, Lokesh Vutla wrote: > dma_addr_t holds any valid DMA address. If the DMA API only uses 32-bit > addresses, dma_addr_t need only be 32 bits wide. Bus addresses, e.g., PCI > BARs, > may be wider than 32 bits, but drivers do memory-mapped I/O to ioremapped

Re: [U-Boot] efi_loader: Fix some entry/exit points

2016-03-27 Thread Tom Rini
On Thu, Mar 24, 2016 at 01:37:37AM +0100, Alexander Graf wrote: > When switching between EFI context and U-Boot context we need to swap > the register that "gd" resides in. > > Some functions slipped through here, with efi_allocate_pool / efi_free_pool > not doing the switch correctly and efi_ret

Re: [U-Boot] [U-Boot,v5,5/5] bcm2835 video: Map fb as cached

2016-03-27 Thread Tom Rini
On Thu, Mar 24, 2016 at 10:31:11AM +0100, Alexander Graf wrote: > The bcm2835 frame buffer is in RAM, so we can easily map it as cached and gain > all the glorious performance boost that brings with it. > > Signed-off-by: Alexander Graf > Tested-by: Stephen Warren > Acked-by: Stephen Warren A

Re: [U-Boot] [U-Boot, v2, 1/5] arm64: Add 32bit arm compatible dcache definitions

2016-03-27 Thread Tom Rini
On Wed, Mar 16, 2016 at 03:41:20PM +0100, Alexander Graf wrote: > We want to be able to reuse device drivers from 32bit code, so let's add > definitions for all the dcache options that 32bit code has. > > While at it, fix up the DCACHE_OFF configuration. That was setting the bits > to declare a P

Re: [U-Boot] [U-Boot,v2,4/5] RPi: Enable caches for rpi2

2016-03-27 Thread Tom Rini
On Wed, Mar 16, 2016 at 03:41:23PM +0100, Alexander Graf wrote: > Now that we have support for running with caches enabled in HYP mode, > opt in to that on the Raspberry Pi 2. This brings a significant performance > boost. > > Signed-off-by: Alexander Graf Applied to u-boot/master, thanks! --

Re: [U-Boot] doc/README.clang: Document sandbox instructions

2016-03-27 Thread Tom Rini
On Wed, Mar 16, 2016 at 08:40:20PM -0400, Tom Rini wrote: > It is possible to compile and run the sandbox target with clang > currently, so document that as well. > > Cc: Jeroen Hofstee > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital si

Re: [U-Boot] [U-Boot, v2, 2/5] arm: Add support for HYP mode and LPAE page tables

2016-03-27 Thread Tom Rini
On Wed, Mar 16, 2016 at 03:41:21PM +0100, Alexander Graf wrote: > We currently always modify the SVC versions of registers and only support > the short descriptor PTE format. > > Some boards however (like the RPi2) run in HYP mode. There, we need to modify > the HYP version of system registers an

Re: [U-Boot] [U-Boot,10/11] zipitz2: enable caches

2016-03-27 Thread Tom Rini
On Sun, Mar 20, 2016 at 06:37:09PM -0700, Vasily Khoruzhick wrote: > It speeds up loading kernel from SD or USB a lot. > > Signed-off-by: Vasily Khoruzhick > Acked-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 11/11] cfi_flash: return device into read array mode after reading status

2016-03-27 Thread Tom Rini
On Sun, Mar 20, 2016 at 06:37:10PM -0700, Vasily Khoruzhick wrote: > Otherwise flash remains in read status mode and it's not possible > to access data on flash. > > Signed-off-by: Vasily Khoruzhick > Acked-by: Stefan Roese Applied to u-boot/master, thanks! -- Tom signature.asc Description

Re: [U-Boot] mmc: bcm2835: fix 64-bit build warning

2016-03-27 Thread Tom Rini
On Wed, Mar 16, 2016 at 09:42:24PM -0600, Stephen Warren wrote: > Fixes: > drivers/mmc/bcm2835_sdhci.c: In function ‘bcm2835_sdhci_init’: > drivers/mmc/bcm2835_sdhci.c:181:17: warning: cast to pointer from integer of > different size [-Wint-to-pointer-cast] > > Signed-off-by: Stephen Warren Ap

Re: [U-Boot] [U-Boot,08/11] pxa: add support for D- and I- caches

2016-03-27 Thread Tom Rini
On Sun, Mar 20, 2016 at 06:37:07PM -0700, Vasily Khoruzhick wrote: > Tested with OHCI and pxafb drivers - no issues found > > Signed-off-by: Vasily Khoruzhick Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot,09/11] pxa_lcd: make driver cache-aware

2016-03-27 Thread Tom Rini
On Sun, Mar 20, 2016 at 06:37:08PM -0700, Vasily Khoruzhick wrote: > Signed-off-by: Vasily Khoruzhick Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.de

Re: [U-Boot] [U-Boot,05/11] pxa-common: pxa27x has 3 OHCI ports

2016-03-27 Thread Tom Rini
On Sun, Mar 20, 2016 at 06:37:04PM -0700, Vasily Khoruzhick wrote: > 3rd port can be used as a device or host. > > Signed-off-by: Vasily Khoruzhick > Acked-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,04/11] zipitz2: enable libfdt

2016-03-27 Thread Tom Rini
On Sun, Mar 20, 2016 at 06:37:03PM -0700, Vasily Khoruzhick wrote: > zipitz2 supports DT boot since linux-4.4 (not mainlined yet) > > Signed-off-by: Vasily Khoruzhick Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot,07/11] pxa: start.S: enable SRAM clock

2016-03-27 Thread Tom Rini
On Sun, Mar 20, 2016 at 06:37:06PM -0700, Vasily Khoruzhick wrote: > SRAM is used for early stack, but kernel disables its clock on suspend. > Re-enable SRAM clock on startup, otherwise u-boot crashes on resume from > suspend. > > Signed-off-by: Vasily Khoruzhick Applied to u-boot/master, than

Re: [U-Boot] [U-Boot, 03/11] pxa_lcd: invert colors for Zipit Z2 to get white on black palette

2016-03-27 Thread Tom Rini
On Sun, Mar 20, 2016 at 06:37:02PM -0700, Vasily Khoruzhick wrote: > Signed-off-by: Vasily Khoruzhick Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.de

Re: [U-Boot] [U-Boot,V2] serial: add BCM283x mini UART driver

2016-03-27 Thread Tom Rini
On Fri, Mar 18, 2016 at 09:41:38PM -0600, Stephen Warren wrote: > The RPi3 typically uses the regular UART for high-speed communication with > the Bluetooth device, leaving us the mini UART to use for the serial > console. Add support for this UART so we can use it. > > Signed-off-by: Stephen War

Re: [U-Boot] [U-Boot,01/11] zipitz2: restore board support

2016-03-27 Thread Tom Rini
On Sun, Mar 20, 2016 at 06:37:00PM -0700, Vasily Khoruzhick wrote: > zipitz2 was dropped in 49d8899ba9c26335e4a12e01c18028fc5e40c796 > > Signed-off-by: Vasily Khoruzhick Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,02/11] zipitz2: enable LCD rotation

2016-03-27 Thread Tom Rini
On Sun, Mar 20, 2016 at 06:37:01PM -0700, Vasily Khoruzhick wrote: > z2's screen is rotated by 270 degrees > > Signed-off-by: Vasily Khoruzhick > Acked-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 2/3] Fix typo in chosen parameter of pcm052.dts

2016-03-27 Thread Tom Rini
On Thu, Mar 17, 2016 at 03:44:46PM +0100, Alexander Merkle wrote: > Fix typo "choosen" instead of "chosen" in pcm052.dts. > Not tested but should fix boot process and terminal output. > > Signed-off-by: Alexander Merkle > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signa

Re: [U-Boot] [U-Boot, 1/2] efi_stub: Move carriage return before line feed in putc()

2016-03-27 Thread Tom Rini
On Thu, Mar 17, 2016 at 11:59:03PM -0700, Bin Meng wrote: > A carriage return needs to execute before a line feed. > > Signed-off-by: Bin Meng > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, 2/2] board: ti: am57xx: Set ethernet MAC addresses from EEPROM to env

2016-03-27 Thread Tom Rini
On Fri, Mar 18, 2016 at 01:18:12PM +0200, Roger Quadros wrote: > The MAC addresses for the PRU Ethernet ports will be available in the > board EEPROM as an address range. Populate those MAC addresses (if valid) > into the u-boot environment so that they can be passed on to the > device tree during

Re: [U-Boot] net: rtl8169: Fix build error when DEBUG is on

2016-03-27 Thread Tom Rini
On Thu, Mar 17, 2016 at 11:27:44PM -0700, Bin Meng wrote: > When DEBUG_RTL8169 is on, a build error occurs in function > 'rtl_init': error: 'dev' undeclared. Fix this. > > Signed-off-by: Bin Meng > Reviewed-by: Tom Rini > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 1/3] Fix typo in chosen parameter in vf610-twr.dts

2016-03-27 Thread Tom Rini
On Thu, Mar 17, 2016 at 03:44:45PM +0100, Alexander Merkle wrote: > Fix typo "choosen" instead of "chosen" in vf610-twr.dts. > Fixes boot process and terminal output for Vybrid series. > > Signed-off-by: Alexander Merkle > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom sign

Re: [U-Boot] [U-Boot,v2,1/2] mmc: Fix switch..case indention

2016-03-27 Thread Tom Rini
On Thu, Mar 17, 2016 at 09:53:13PM -0700, Bin Meng wrote: > Correct the indention level of switch..case statements. > > Signed-off-by: Bin Meng > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 2/2] debug_uart: Remove duplicated carriage return handling

2016-03-27 Thread Tom Rini
On Thu, Mar 17, 2016 at 11:59:04PM -0700, Bin Meng wrote: > Since commit b391d74 "debug_uart: output CR along with LF", the > handling in puts() is duplicated, not to mention that it should > output carriage return before line feed. > > Signed-off-by: Bin Meng > Reviewed-by: Tom Rini Applied t

Re: [U-Boot] [U-Boot, v2, 2/2] mmc: Print send_cmd response only when return value is zero

2016-03-27 Thread Tom Rini
On Thu, Mar 17, 2016 at 09:53:14PM -0700, Bin Meng wrote: > send_cmd response is valid only when no error happened. If an error > occured, let mmc_send_cmd() print the return value to aid debugging. > > Signed-off-by: Bin Meng > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] bootp: Prevent u-boot from using others bootp responses.

2016-03-27 Thread Tom Rini
On Thu, Mar 17, 2016 at 03:14:08PM +0100, Anton Persson wrote: > >From d53ea5847b92e31563c58804c189afc0fe4773f5 Mon Sep 17 00:00:00 2001 > From: Anton Persson > Date: Thu, 17 Mar 2016 09:38:21 +0100 > Subject: [PATCH] bootp: Prevent u-boot from using others responses. > > In rare circumstances t

Re: [U-Boot] [U-Boot,6/7] ARM: OMAP5/DRA7: Expose do_set_iodelay

2016-03-27 Thread Tom Rini
On Tue, Mar 15, 2016 at 06:09:16PM -0500, Nishanth Menon wrote: > do_set_iodelay can now be used from board files based on needs of the > platforms variation they have. > > Signed-off-by: Nishanth Menon > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Descript

Re: [U-Boot] [U-Boot, 1/2] ARM: bcm283x: don't always define CONFIG_BCM2835

2016-03-27 Thread Tom Rini
On Wed, Mar 16, 2016 at 09:40:56PM -0600, Stephen Warren wrote: > Currently, CONFIG_BCM2835 is defined for all BCM283x builds and _BCM2836 > is defined when building for that SoC. That means there isn't a single > define that means "exactly BCM2835". This will complicate future patches > where BCM

Re: [U-Boot] [U-Boot, 7/7] board: ti: DRA7: Add DRA72-rev C evm pinmux

2016-03-27 Thread Tom Rini
On Tue, Mar 15, 2016 at 06:09:17PM -0500, Nishanth Menon wrote: > Add the pinmux data for rev C evm. This is different from previous > revisions of the platform thanks to the deltas introduced both from > silicon side and from SoC side. > > Based on J6EcoES2_EVM_Base_Config-20160309b and PCT-DRA7

Re: [U-Boot] [U-Boot, 4/7] board: ti: DRA72: revC evm: Update sdram timing configuration for SR2.0

2016-03-27 Thread Tom Rini
On Tue, Mar 15, 2016 at 06:09:14PM -0500, Nishanth Menon wrote: > From: Ravi Babu > > DDR configuration has changes from SR1.1 based Rev-A/B version of evm > to the SR2.0 based Rev C of the EVM. Rev C evm now uses the higher > density MT41K512M8RH-125-AAT:E (IT) which is of size 2GB. > > Update

Re: [U-Boot] [U-Boot, 2/7] ARM: DRA7: hwdata: Update ioreg data for DRA72 SR2.0

2016-03-27 Thread Tom Rini
On Tue, Mar 15, 2016 at 06:09:12PM -0500, Nishanth Menon wrote: > Based on data from EMIF configuration tool 1.1.1. Expected update for > CTRL_WKUP_EMIF1_SDRAM_CONFIG_EXT in the next revision of the tool has > been incorporated as well. > > Signed-off-by: Nishanth Menon > Reviewed-by: Tom Rini

Re: [U-Boot] [U-Boot, 5/7] ARM: OMAP5/DRA7: Split iodelay functionality into sub steps

2016-03-27 Thread Tom Rini
On Tue, Mar 15, 2016 at 06:09:15PM -0500, Nishanth Menon wrote: > Since many platforms may need different pad configuration required > depending on variation of the platform with minor deltas, it is > easier to maintain a sub step based approach to allow for pin mux > and iodelay configuration whi

Re: [U-Boot] [U-Boot, 1/7] ARM: DRA72x: Add support for detection of SR2.0

2016-03-27 Thread Tom Rini
On Tue, Mar 15, 2016 at 06:09:11PM -0500, Nishanth Menon wrote: > From: Ravi Babu > > Add support for detection of SR2.0 version of DRA72x family of > processors. > > Signed-off-by: Ravi Babu > Signed-off-by: Nishanth Menon > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 3/7] ARM: DRA72: sdram: Update sdram ext phy configuration for SR2.0

2016-03-27 Thread Tom Rini
On Tue, Mar 15, 2016 at 06:09:13PM -0500, Nishanth Menon wrote: > Based on data from EMIF configuration tool 1.1.1. > > Signed-off-by: Nishanth Menon > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, 4/6] tools: env: fw_parse_script: simplify removal of newline/carriage return

2016-03-27 Thread Tom Rini
On Fri, Mar 11, 2016 at 09:39:38AM +0100, Andreas Fenkart wrote: > fgets returns when the first '\n' is found > > Signed-off-by: Andreas Fenkart Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot maili

Re: [U-Boot] [U-Boot, 1/3] ARM: keystone2: Convert BOOTBITMASK to static inline function

2016-03-27 Thread Tom Rini
On Tue, Mar 15, 2016 at 10:25:51AM -0500, Nishanth Menon wrote: > BOOTBITMASK is almost impossible to decode, so convert it into a simpler > static line functions of equivalent solution. > > Reported-by: Tom Rini > Signed-off-by: Nishanth Menon > Reviewed-by: Tom Rini Applied to u-boot/master

Re: [U-Boot] [U-Boot, 2/3] ARM: keystone2: Convert BOOT_READ_BITFIELD into static inline function

2016-03-27 Thread Tom Rini
On Tue, Mar 15, 2016 at 10:25:52AM -0500, Nishanth Menon wrote: > BOOT_READ_BITFIELD can easily be a static inline function and be a > little more readable with the same functionality. > > Reported-by: Tom Rini > Signed-off-by: Nishanth Menon > Reviewed-by: Tom Rini Applied to u-boot/master,

Re: [U-Boot] efi_loader: Add GOP support

2016-03-27 Thread Tom Rini
On Tue, Mar 15, 2016 at 06:38:21PM +0100, Alexander Graf wrote: > The EFI standard defines a simple boot protocol that an EFI payload can use > to access video output. > > This patch adds support to expose exactly that one (and the mode already in > use) as possible graphical configuration to an

Re: [U-Boot] [U-Boot, 3/3] ARM: keystone2: Convert BOOT_SET_BITFIELD into static inline function

2016-03-27 Thread Tom Rini
On Tue, Mar 15, 2016 at 10:25:53AM -0500, Nishanth Menon wrote: > Fix up BOOT_SET_BITFIELD to be a static inline function to be readable > with the same functionality. > > Reported-by: Tom Rini > Signed-off-by: Nishanth Menon > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 3/6] tools: env: split fw_string_blank into skip_chars / skip_blanks

2016-03-27 Thread Tom Rini
On Fri, Mar 11, 2016 at 09:39:37AM +0100, Andreas Fenkart wrote: > Signed-off-by: Andreas Fenkart Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] [U-Boot, 2/6] tools: env: fw_string_blank: return from loop when item found

2016-03-27 Thread Tom Rini
On Fri, Mar 11, 2016 at 09:39:36AM +0100, Andreas Fenkart wrote: > Signed-off-by: Andreas Fenkart Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] [U-Boot, RESEND, 1/2] stm32: stm32f4: move flash driver to mtd driver location

2016-03-27 Thread Tom Rini
On Wed, Mar 09, 2016 at 03:18:13PM -0800, Vikas Manocha wrote: > Same flash driver can be used by other stm32 families like stm32f7. > Better place for this driver would be mtd driver location. > > Signed-off-by: Vikas Manocha Applied to u-boot/master, thanks! -- Tom signature.asc Descripti

Re: [U-Boot] [U-Boot, RESEND, 2/2] stm32f746-disco: enable flash support

2016-03-27 Thread Tom Rini
On Wed, Mar 09, 2016 at 03:18:14PM -0800, Vikas Manocha wrote: > This patch enables embedded flash for stm32f746 discovery board. > > Signed-off-by: Vikas Manocha Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, 1/6] tools: env: replace WHITESPACE macro by isblank

2016-03-27 Thread Tom Rini
On Fri, Mar 11, 2016 at 09:39:35AM +0100, Andreas Fenkart wrote: > Signed-off-by: Andreas Fenkart Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] bootp: Prevent u-boot from using others bootp responses.

2016-03-27 Thread Tom Rini
On Thu, Mar 17, 2016 at 03:14:08PM +0100, Anton Persson wrote: > >From d53ea5847b92e31563c58804c189afc0fe4773f5 Mon Sep 17 00:00:00 2001 > From: Anton Persson > Date: Thu, 17 Mar 2016 09:38:21 +0100 > Subject: [PATCH] bootp: Prevent u-boot from using others responses. > > In rare circumstances t

[U-Boot] [PATCH 4/5] arm: meson: use device tree

2016-03-27 Thread Beniamino Galvani
Convert the board and config files to the use of device tree. Signed-off-by: Beniamino Galvani --- arch/arm/mach-meson/board.c | 24 configs/odroid-c2_defconfig | 2 ++ 2 files changed, 26 insertions(+) diff --git a/arch/arm/mach-meson/board.c b/arch/arm/mach-meson/boa

[U-Boot] [PATCH 5/5] meson: odroid-c2: enable serial

2016-03-27 Thread Beniamino Galvani
Enable serial support in the ODROID-C2 configuration. Signed-off-by: Beniamino Galvani --- configs/odroid-c2_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/odroid-c2_defconfig b/configs/odroid-c2_defconfig index 66d9ab7..e0cd403 100644 --- a/configs/odroid-c2_defconfi

[U-Boot] [PATCH 2/5] arm: dts: import Meson files

2016-03-27 Thread Beniamino Galvani
Import the device tree file for Meson GXBB from linux kernel and the one for ODROID-C2 posted to the arm-kernel list [1]. [1] http://thread.gmane.org/gmane.linux.ports.arm.kernel/487948 Signed-off-by: Beniamino Galvani --- arch/arm/dts/Makefile| 2 + arch/arm/dts/meson-gxbb-od

[U-Boot] [PATCH 3/5] serial: add support for Amlogic Meson UART

2016-03-27 Thread Beniamino Galvani
Implement a driver for the UART adapter available in Meson SoCs. Signed-off-by: Beniamino Galvani --- drivers/serial/Kconfig| 14 drivers/serial/Makefile | 1 + drivers/serial/serial_meson.c | 162 ++ 3 files changed, 177 insertions(+

[U-Boot] [PATCH 1/5] arm: add initial support for Amlogic Meson and ODROID-C2

2016-03-27 Thread Beniamino Galvani
Support the Amlogic Meson GXBaby platform. Signed-off-by: Beniamino Galvani --- arch/arm/Kconfig | 5 arch/arm/Makefile | 1 + arch/arm/include/asm/arch-meson/gxbb.h | 10 +++ arch/arm/mach-meson/Kconfig| 31 +++ a

[U-Boot] [PATCH 0/5] Basic support for Amlogic GXBaby and ODROID-C2

2016-03-27 Thread Beniamino Galvani
Hi, this series adds a very basic support for Amlogic S905 SoC (GXBaby) and for the ODROID-C2 board [1], and is based on u-boot sources available from the board vendor [2]. Mainline kernel support is still in early stages [3] and the plan is to add more features to u-boot (mmc, ethernet, ...) as

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

2016-03-27 Thread Eric Nelson
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 --- cmd/sata.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/sata.c b/cmd/sata.c index c8de

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

2016-03-27 Thread Eric Nelson
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 --- cmd/mmc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/mmc.c b/cmd/mmc.c index fb4382

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

2016-03-27 Thread Eric Nelson
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 device (typically directory structures). This has shown to have some benef

[U-Boot] [PATCH 0/3] Add cache for block devices

2016-03-27 Thread Eric Nelson
Patch 1 is the block cache implementation. Patches 2 and 3 update the mmc and sata commands to use the new blk_dread/dwrite/derase routines and can be applied separately. Notable changes since the V2 RFC patch set include: - renaming of files and routines to use "blkcache" rather

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

2016-03-27 Thread Tom Rini
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 --- fs/jffs2/jffs2_1pass.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c

Re: [U-Boot] [PATCH V3] fsl: esdhc: support driver model

2016-03-27 Thread Eric Nelson
Hi Peng, On 03/27/2016 07:57 AM, Peng Fan wrote: > On Fri, Mar 25, 2016 at 01:12:39PM -0700, Eric Nelson wrote: >> On 03/24/2016 11:16 PM, Peng Fan wrote: >>> Support Driver Model for fsl esdhc driver. >>> >>> 1. Introduce a new structure struct fsl_esdhc_priv >>> 2. Refactor fsl_esdhc_initialize

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

2016-03-27 Thread Tom Rini
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 --- lib/physmem.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/physmem.c b/lib/physmem.c index 0f035ed..f21ac24 100644 --

Re: [U-Boot] [PATCH V3] fsl: esdhc: support driver model

2016-03-27 Thread york sun
(Sorry for top posting. Using OWA) Yes, I can compile it for PPC and spot check on selected boards. York From: Peng Fan Sent: Sunday, March 27, 2016 7:59 AM To: york sun; pa...@antoniou-consulting.com; sba...@denx.de; s...@chromium.org Cc: u-boot@lists.

Re: [U-Boot] [PATCH V3] fsl: esdhc: support driver model

2016-03-27 Thread Peng Fan
Hi York, Could you test this patch for PPC and layerscape platform? Since I only test this on i.MX6 platform, I do not want to break PPC or else. Thanks, Peng. On Fri, Mar 25, 2016 at 02:16:56PM +0800, Peng Fan wrote: >Support Driver Model for fsl esdhc driver. > >1. Introduce a new structure st

Re: [U-Boot] [PATCH V3] fsl: esdhc: support driver model

2016-03-27 Thread Peng Fan
Hi Eric, On Fri, Mar 25, 2016 at 01:12:39PM -0700, Eric Nelson wrote: >Hi Peng, > >On 03/24/2016 11:16 PM, Peng Fan wrote: >> Support Driver Model for fsl esdhc driver. >> >> 1. Introduce a new structure struct fsl_esdhc_priv >> 2. Refactor fsl_esdhc_initialize which is originally used by board c

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

2016-03-27 Thread Robert P. J. Day
Since POST_ALWAYS is defined as: #define POST_ALWAYS (POST_NORMAL| \ POST_SLOWTEST | \ POST_MANUAL| \ POST_POWERON ) there is no need to redundantly bitmask it with POST_MANUA

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

2016-03-27 Thread Tom Rini
On Sun, Mar 13, 2016 at 10:36:43PM +0100, 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] [U-Boot,v3,10/21] usb: Rename ehci-fsl.h to ehci-ci.h

2016-03-27 Thread Tom Rini
On Sun, Mar 13, 2016 at 10:36:33PM +0100, 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 > refer

Re: [U-Boot] [PATCH 5/5] lib: Enable private libgcc by default

2016-03-27 Thread Tom Rini
On Fri, Mar 25, 2016 at 07:37:25AM +0100, Albert ARIBAUD wrote: > Hello Tom, > > On Thu, 24 Mar 2016 20:49:42 -0400, Tom Rini wrote: > > On Thu, Mar 24, 2016 at 08:50:03AM +0100, Albert ARIBAUD wrote: > > > Hello Tom, > > > > > > On Wed, 23 Mar 2016 17:36:17 -0400, Tom Rini wrote: > > > > On We

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

2016-03-27 Thread Robert P. J. Day
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 --- a/post/Makefile +++ b/post/Makefile @@ -13,6 +13,6 @@ obj-$(CONFIG_PPC) += lib_powerpc/ obj-$(CONFIG_MPC83xx)

[U-Boot] a few questions about u-boot POST tests

2016-03-27 Thread Robert P. J. Day
was just asked to add some POST tests to v2015.10 u-boot running on legacy MPC8360-based system -- couple general questions, then some specific ones. first, is the POST infrastructure used on a regular basis? that is, are people regularly taking advantage of it? from a brief glimpse so far, i

Re: [U-Boot] [PATCH] tools: env: bug: config structs must be defined in tools library

2016-03-27 Thread Stefano Babic
Hi Andreas, On 25/03/2016 14:52, Andreas Fenkart wrote: > fw_senten/fw_printenv can be compiled as a tools library, > excluding the fw_env_main object. > > Reported-by: Stefano Babic > Signed-off-by: Andreas Fenkart > --- > tools/env/fw_env.c | 4 > tools/env/fw_env_main.c | 4 >

Re: [U-Boot] ENV library broken with setenv/printenv argument structs

2016-03-27 Thread Stefano Babic
Hi Andreas, On 25/03/2016 15:00, Andreas Fenkart wrote: > HI Stefano, > > I was not aware of the use case. I have sent out a simple patch that > moves the definition of the structs from fw_main_env.c to fw_env.c, > which should avoid the linking problem. Do you have test application > you could s