[U-Boot] Pull request: u-boot-spi/master

2016-03-15 Thread Jagan Teki
Hi Tom, Please pull this PR. thanks! Jagan. The following changes since commit df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa: Prepare v2016.03 (2016-03-14 10:20:21 -0400) are available in the git repository at: git://git.denx.de/u-boot-spi.git master for you to fetch changes up to 77b8d04854f

[U-Boot] Please pull : u-boot-video/master

2016-03-15 Thread Anatolij Gustschin
Hi Tom, The following changes since commit df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa: Prepare v2016.03 (2016-03-14 10:20:21 -0400) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to 00b1d2d3178747c113dd8f939cf3e2d449bfaf54: im

[U-Boot] [PATCH] armv8/ls1043a: update env settings for booting kernel

2016-03-15 Thread Gong Qianyu
Signed-off-by: Gong Qianyu --- include/configs/ls1043a_common.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h index 6150bc1..5039241 100644 --- a/include/configs/ls1043a_common.h +++ b/include/config

Re: [U-Boot] [PATCH 1/2] sunxi: Sync dts files with the upstream kernel

2016-03-15 Thread Ian Campbell
On Mon, 2016-03-14 at 21:49 +0100, Hans de Goede wrote: > Sync dts files with the upstream kernel including > changes queued for 4.6: > > https://git.kernel.org/cgit/linux/kernel/git/mripard/linux.git/commit/?h=sunxi/dt-for-4.6 > > Note this adds a number of new unused board dts files. I've asked

[U-Boot] [PATCH v4 0/4] usb: Reduce USB scanning time

2016-03-15 Thread Stefan Roese
My current x86 platform (Bay Trail, not in mainline yet) has a quite complex USB infrastructure with many USB hubs. Here the USB scan takes an incredible huge amount of time: starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 9 USB Device(s) found time: 28.415 seconds This is o

[U-Boot] [PATCH v4 3/4] usb: Don't reset the USB hub a 2nd time

2016-03-15 Thread Stefan Roese
Debugging has shown, that all USB hubs are being reset twice while USB scanning. This introduces additional delays and makes USB scanning even more slow. Testing has shown that this 2nd USB hub reset doesn't seem to be necessary. This patch now removes this 2nd USB hub reset. Resulting in faster U

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

2016-03-15 Thread Stefan Roese
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 using mdelay, instead usb_hub_power_on() will wait before query

[U-Boot] [PATCH v4 2/4] usb: Remove 200 ms delay in usb_hub_port_connect_change()

2016-03-15 Thread Stefan Roese
This patch removes 2 mdelay(200) calls from usb_hub_port_connect_change(). These delays don't seem to be necessary. At least not in my tests. Here the number for a custom x86 Bay Trail board (not in mainline yet) with a quite large and complex USB hub infrastructure. Without this patch: starting U

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

2016-03-15 Thread Stefan Roese
Hi Stephan, On 14.03.2016 18:31, Stephen Warren wrote: > On 03/14/2016 04:18 AM, Stefan Roese wrote: >> This patch changes the USB port scanning procedure and timeout >> handling in the following ways: > > A few nits/typos in the description, and some review comments below. Thanks, will update t

[U-Boot] [PATCH v4 1/4] usb: legacy_hub_port_reset(): Speedup hub reset handling

2016-03-15 Thread Stefan Roese
Start with a short USB hub reset delay of 20ms. This can be enough for some configurations. The 2nd delay at the end of the loop is completely removed. Since the delay hasn't been long enough, a longer delay time of 200ms is assigned and will be used in the next loop round. This hub reset handlin

Re: [U-Boot] [PATCH 1/2] sunxi: Sync dts files with the upstream kernel

2016-03-15 Thread Hans de Goede
Hi, On 15-03-16 10:29, Ian Campbell wrote: On Mon, 2016-03-14 at 21:49 +0100, Hans de Goede wrote: Sync dts files with the upstream kernel including changes queued for 4.6: https://git.kernel.org/cgit/linux/kernel/git/mripard/linux.git/commit/?h=sunxi/dt-for-4.6 Note this adds a number of new

[U-Boot] [PATCH V2] fsl: esdhc: consolidate fsl_esdhc_cfg structure

2016-03-15 Thread Peng Fan
We can use phys_addr_to for esdhc_base to discard the #ifdef. Signed-off-by: Peng Fan Cc: York Sun Cc: Yangbo Lu Cc: Eric Nelson Cc: Fabio Estevam Cc: Pantelis Antoniou Cc: Tom Rini --- V2: Split this patch from the V1 patch set. include/fsl_esdhc.h | 6 +- 1 file changed, 1 inserti

[U-Boot] [PATCH v2 1/2] flash: add device ID for Microchip PIC32 internal flash.

2016-03-15 Thread Purna Chandra Mandal
Microchip PIC32 has internal parallel flash (non-CFI compliant). These flash devices do not support any identifier command so no standard IDs. Added unique IDs to seperate these flash devices from others supported by U-Boot. Signed-off-by: Purna Chandra Mandal --- Changes in v2: None include/f

[U-Boot] [PATCH v2 2/2] drivers: mtd: add Microchip PIC32 internal non-CFI flash driver.

2016-03-15 Thread Purna Chandra Mandal
PIC32 internal flash devices are parallel NOR flash divided into number of banks to allow erase-programming in one while fetch and execution continues on other. As the flash banks are memory mapped stored code can be executed directly from flash (XIP), also there is additional hardware logic to pre

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

2016-03-15 Thread Peng Fan
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 code. - Introduce fsl_esdhc_init to be common usage for DM and non-DM - Introduce fsl_esdhc_cfg_to_priv to build the bridge for non

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

2016-03-15 Thread Hans de Goede
Hi, Just noticed a few more things which need a minor tweak, so looks like we're going to need a v5, sorry. On 15-03-16 10:46, 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 r

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-03-15 Thread Jagan Teki
On 9 March 2016 at 13:37, Qianyu Gong wrote: > Hi Jagan, > >> -Original Message- >> From: york sun >> Sent: Tuesday, March 08, 2016 12:46 AM >> To: Jagan Teki ; Huan Wang ; >> Qianyu Gong >> Cc: u-boot@lists.denx.de; Siva Durga Prasad Paladugu ; >> Stefan Roese ; Michal Simek ; Tom Rini >

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-03-15 Thread Jagan Teki
Hi Mugunthan, On 15 March 2016 at 16:48, Jagan Teki wrote: > On 9 March 2016 at 13:37, Qianyu Gong wrote: >> Hi Jagan, >> >>> -Original Message- >>> From: york sun >>> Sent: Tuesday, March 08, 2016 12:46 AM >>> To: Jagan Teki ; Huan Wang ; >>> Qianyu Gong >>> Cc: u-boot@lists.denx.de; S

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

2016-03-15 Thread Stefan Roese
Hi Hans, On 15.03.2016 11:44, Hans de Goede wrote: Just noticed a few more things which need a minor tweak, so looks like we're going to need a v5, sorry. On 15-03-16 10:46, Stefan Roese wrote: This patch changes the USB port scanning procedure and timeout handling in the following ways: a) T

Re: [U-Boot] [PATCH v6 2/3] spi: omap3: Make local functions as static

2016-03-15 Thread Tom Rini
On Mon, Mar 14, 2016 at 10:58:00PM +0530, Jagan Teki wrote: > Attach static on local defined functions. > > Cc: Tom Rini > Cc: Simon Glass > Signed-off-by: Jagan Teki > Signed-off-by: Christophe Ricard Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 1/4] omap3: String-based reboot mode handling

2016-03-15 Thread Tom Rini
On Sat, Feb 27, 2016 at 07:26:41PM +0100, Paul Kocialkowski wrote: > This switches reboot mode handling to a string-based interface, that allows > more > flexibility to set a common interface with the next generations of OMAP > devices. > > Signed-off-by: Paul Kocialkowski Reviewed-by: Tom Ri

Re: [U-Boot] [PATCH 3/4] sniper: Get rid of reset_misc

2016-03-15 Thread Tom Rini
On Sat, Feb 27, 2016 at 07:26:43PM +0100, Paul Kocialkowski wrote: > There is no need to set the reboot mode to a particular value prior to reboot, > since valid values will have been caught and cleared earlier. > > In addition, this breaks the reboot-bootloader fastboot call, by overriding > th

Re: [U-Boot] [PATCH 2/4] omap3: Use a define for reboot reason offset

2016-03-15 Thread Tom Rini
On Sat, Feb 27, 2016 at 07:26:42PM +0100, Paul Kocialkowski wrote: > This introduces a define for the offset to the reboot reason, rather than > hardcoding it. > > Signed-off-by: Paul Kocialkowski Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v6 3/3] spi: omap3: Convert to driver model

2016-03-15 Thread Tom Rini
On Mon, Mar 14, 2016 at 10:58:01PM +0530, Jagan Teki wrote: > After this conversion the driver will able to support both dm and non-dm > and code is more extensible like we can remove the non-dm part simply > without touching anycode if all the boards which are using this driver > become dm driven

Re: [U-Boot] [PATCH v6 1/3] spi: omap3: Move headers code inside the driver

2016-03-15 Thread Tom Rini
On Mon, Mar 14, 2016 at 10:57:59PM +0530, Jagan Teki wrote: > Header file have macro's and register definition and some unneeded > function proto types which becomes tunned further in future patches > and entire driver code resides in one file for more readability. > > Cc: Tom Rini > Cc: Simon G

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

2016-03-15 Thread Tom Rini
On Mon, Mar 14, 2016 at 10:37:11PM +, Luka Perkov wrote: > Hi Tom, > > please pull these missed patches from Peter for which I should have sent > pull request a while back. > > The following changes since commit df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa: > > Prepare v2016.03 (2016-03-14 10

Re: [U-Boot] [U-Boot, v2, 01/27] mkimage: Move argument processing into its own function

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:33PM -0700, Simon Glass wrote: > At present main() is very long. Split out the argument processing to make > it easier to follow. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] common: Add support for environment file in EXT4.

2016-03-15 Thread Tom Rini
On Tue, Feb 23, 2016 at 03:51:26PM +1000, Stuart Longland wrote: > From: Stuart Longland > > This is an enhancement that permits storing the environment file on an > EXT4 partition such as the root filesystem. It is based on the existing > FAT environment file code. Applied to u-boot/master, t

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

2016-03-15 Thread Tom Rini
On Mon, Mar 14, 2016 at 05:04:34PM -0600, Simon Glass wrote: > Hi Tom, > > This includes driver-model support for block devices, refactoring of the > partition code as well as some some fixes for serial, the debug UART, > buildman and fdtgrep. > > The following changes since commit df61a74e6845e

Re: [U-Boot] [PATCH 4/4] sniper: Clear reboot mode garbage on cold reset

2016-03-15 Thread Tom Rini
On Sat, Feb 27, 2016 at 07:26:44PM +0100, Paul Kocialkowski wrote: > Reboot mode garbage is found on cold reset and might be seen as valid on the > next warm reset, thus it has to be cleared on cold reset. > > Signed-off-by: Paul Kocialkowski Reviewed-by: Tom Rini -- Tom signature.asc Desc

Re: [U-Boot] [U-Boot,v2,02/27] mkimage: Convert to use getopt()

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:34PM -0700, Simon Glass wrote: > The current way of parsing arguments is a bit clumsy. It seems better to > use getopt() which is commonly used for this purpose. > > Convert the code to use getopt() and make a few minor adjustments as needed. > > Signed-off-by: Simo

Re: [U-Boot] [U-Boot, v2, 03/27] mkimage: Sort the option processing code by option

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:35PM -0700, Simon Glass wrote: > Adjust the code so that option alphabetical order matches the order in the > switch() statement. This makes it easier to find options. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Descrip

Re: [U-Boot] [U-Boot,v2,04/27] mkimage: Move usage() up to the top

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:36PM -0700, Simon Glass wrote: > To avoid a forward declaration, move the usage() function higher in the > file. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,v2,06/27] mkimage: Make 'params' static

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:38PM -0700, Simon Glass wrote: > This is not used outside mkimage.c, so make this variable static. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v2, 05/27] mkimage: Show an error message when usage() is called

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:37PM -0700, Simon Glass wrote: > Sometimes incorrect arguments are supplied but the reason is not obvious to > the user. Add some helpful messages. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signat

Re: [U-Boot] [U-Boot,v2,10/27] Move CONFIG_OF_LIBFDT to Kconfig

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:42PM -0700, Simon Glass wrote: > Move this option to Kconfig and tidy up existing boards. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [U-Boot, v2, 07/27] libfdt: Add a function to write a property placeholder

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:39PM -0700, Simon Glass wrote: > The existing function to add a new property to a tree being built requires > that the entire contents of the new property be passed in. For some > applications it is more convenient to be able to add the property contents > later, perh

Re: [U-Boot] [U-Boot,v2,08/27] Correct defconfig ordering

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:40PM -0700, Simon Glass wrote: > Various boards have the wrong Kconfig ordering now. To avoid a misleading > > diff in the next patch, reorder the configuration correctly. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc De

Re: [U-Boot] [U-Boot, v2, 09/27] freescale: Remove CONFIG_DM from header files

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:41PM -0700, Simon Glass wrote: > Kconfig options must defined in the defconfig files. Since RSA_SOFTWARE_EXP > relies on CONFIG_DM, unless it is set in kconfig we cannot enable RSA. > Remove the hacks which enable CONFIG_DM in header files and update the > defconfig.

Re: [U-Boot] [U-Boot,v2,13/27] fdt: Allow libfdt to be used in SPL

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:45PM -0700, Simon Glass wrote: > Add an option to enable libfdt in SPL. This can be useful when decoding > FIT files in SPL. > > We need to make sure this option is not enabled in SPL by this change. > Also this option needs to be enabled in host builds. Si add a new

Re: [U-Boot] [U-Boot, v2, 12/27] fdt: Adjust DEFAULT_DEVICE_TREE to device on OF_CONTROL

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:44PM -0700, Simon Glass wrote: > This option has no meaning without OF_CONTROL, so add a dependency. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, v2, 11/27] Kconfig: Move CONFIG_FIT and related options to Kconfig

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:43PM -0700, Simon Glass wrote: > There are already two FIT options in Kconfig but the CONFIG options are > still in the header files. We need to do a proper move to fix this. > > Move these options to Kconfig and tidy up board configuration: > >CONFIG_FIT >C

Re: [U-Boot] [U-Boot, v2, 14/27] sunxi: Display the board model on start-up

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:46PM -0700, Simon Glass wrote: > It is useful to know which sunxi board you are booting. Display this on > start-up to avoid confusion. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 16/27] mkimage: Allow a FIT to include an image of any type

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:48PM -0700, Simon Glass wrote: > At present FIT images are set up by providing a device tree source file > which is a file with a .its extension. We want to support automatically > creating this file based on the image supplied to mkimage. This means that > even thoug

Re: [U-Boot] [U-Boot, v2, 15/27] tools: Include fdt_sw.o in libfdt for mkimage

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:47PM -0700, Simon Glass wrote: > At present this file is omitted. It is used to build up a binary device > tree. We plan to do this in mkimage, so include this file in the build. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.

Re: [U-Boot] [U-Boot, v2, 17/27] tools: Add a function to obtain the size of a file

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:49PM -0700, Simon Glass wrote: > This will be used in mkimage when working out the required size of the FIT > based on the files to be placed into it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital sig

Re: [U-Boot] [U-Boot, v2, 18/27] image: Add functions to obtain short names

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:50PM -0700, Simon Glass wrote: > Sometimes it is useful to obtain the short name for an Operating System, > architecture or compression mechanism. Provide functions for this. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v2, 20/27] mkimage: Support adding device tree files to a FIT

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:52PM -0700, Simon Glass wrote: > To make the auto-FIT feature useful we need to be able to provide a list of > device tree files on the command line for mkimage to add into the FIT. Add > support for this feature. > > So far there is no support for hashing or verifie

Re: [U-Boot] [U-Boot, v2, 19/27] mkimage: Support automatic creating of a FIT without a .its

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:51PM -0700, Simon Glass wrote: > At present, when generating a FIT, mkimage requires a .its file containing > the structure of the FIT and referring to the images to be included. > > Creating the .its file is a separate step that makes it harder to use FIT. > This is

Re: [U-Boot] [U-Boot, v2, 21/27] mkimage: Support placing data outside the FIT

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:53PM -0700, Simon Glass wrote: > One limitation of FIT is that all the data is 'inline' within it, using a > 'data' property in each image node. This means that to find out what is in > the FIT it is necessary to scan the entire file. Once loaded it can be > scanned a

Re: [U-Boot] [U-Boot, v2, 22/27] mkimage: Bring data into the FIT before processing

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:54PM -0700, Simon Glass wrote: > Since we now support data outside the FIT image, bring it into the FIT image > first before we do any processing. This avoids adding new functionality to > the core FIT code for now. > > Signed-off-by: Simon Glass Applied to u-boot/

Re: [U-Boot] [U-Boot,v2,26/27] spl: Support loading a FIT from MMC

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:58PM -0700, Simon Glass wrote: > Detect a FIT when loading from MMC and handle it using the new FIT SPL > support. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v2, 24/27] spl: Add an option to load a FIT containing U-Boot

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:56PM -0700, Simon Glass wrote: > This provides a way to load a FIT containing U-Boot and a selection of device > tree files. The board can select the correct device tree by probing the > hardware. Then U-Boot is started with the selected device tree. > > Signed-off-b

Re: [U-Boot] [U-Boot, v2, 25/27] spl: Add a way to specify a list of device trees to include

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:57PM -0700, Simon Glass wrote: > When building a FIT, more than one device tree can be included. The board > can select (at run-time) the one that it wants. > > Add a Kconfig option to allow the list of devices trees (supported by the > board) to be specified. > > W

Re: [U-Boot] [U-Boot, v2, 23/27] spl: Add a way for boards to select which device tree to load

2016-03-15 Thread Tom Rini
On Mon, Feb 22, 2016 at 10:55:55PM -0700, Simon Glass wrote: > SPL calls this function with each device tree it can find in the FIT. The > board should implement this function, using whatever hardware detection it > can muster to determine the correct device tree. > > Signed-off-by: Simon Glass

Re: [U-Boot] [U-Boot, V5, 1/7] ARM: OMAP4/5: Centralize early clock initialization

2016-03-15 Thread Tom Rini
On Wed, Feb 24, 2016 at 12:30:52PM -0600, Kipisz, Steven wrote: > Early clock initialization is currently done in two stages for OMAP4/5 > SoCs. The first stage is the initialization of console clocks and > then we initialize basic clocks for functionality necessary for SoC > initialization and ba

Re: [U-Boot] [U-Boot, V5, 3/7] ARM: omap-common: Add standard access for board description EEPROM

2016-03-15 Thread Tom Rini
On Wed, Feb 24, 2016 at 12:30:54PM -0600, Kipisz, Steven wrote: > From: Lokesh Vutla > > Several TI EVMs have EEPROM that can contain board description information > such as revision, DDR definition, serial number, etc. In just about all > cases, these EEPROM are on the I2C bus and provides us t

Re: [U-Boot] [U-Boot,V5,2/7] ARM: OMAP4/5: Centralize gpi2c_init

2016-03-15 Thread Tom Rini
On Wed, Feb 24, 2016 at 12:30:53PM -0600, Kipisz, Steven wrote: > Centralize gpi2c_init into omap_common from the sys_proto header so > that the information can be reused across SoCs. > > Signed-off-by: Steve Kipisz > Reviewed-by: Tom Rini > Reviewed-by: Lokesh Vutla > Reviewed-by: Tom Rini

Re: [U-Boot] [U-Boot, V5, 4/7] ti: AM335x: Use generic EEPROM detection logic

2016-03-15 Thread Tom Rini
On Wed, Feb 24, 2016 at 12:30:55PM -0600, Kipisz, Steven wrote: > From: Nishanth Menon > > Use the generic EEPROM detection logic instead of duplicating the AM > eeprom logic. > > Signed-off-by: Nishanth Menon > Signed-off-by: Steven Kipisz > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Ri

Re: [U-Boot] [U-Boot, V5, 5/7] ti: AM437x: Use generic EEPROM detection logic

2016-03-15 Thread Tom Rini
On Wed, Feb 24, 2016 at 12:30:56PM -0600, Kipisz, Steven wrote: > From: Nishanth Menon > > Now that we have a generic TI eeprom logic which can be reused across > platforms, reuse the same. > > This revision also includes fixes identified by Dave Gerlach > > > Cc: Dave Gerlach > Signed-off-b

Re: [U-Boot] [U-Boot, V5, 6/7] ARM: OMAP4/5: Add generic board detection hook

2016-03-15 Thread Tom Rini
On Wed, Feb 24, 2016 at 12:30:57PM -0600, Kipisz, Steven wrote: > Many TI EVMs have capability to store relevant board information > such as DDR description in EEPROM. Further many pad configuration > variations can occur as part of revision changes in the platform. > In-order to support these at

Re: [U-Boot] [U-Boot, V5, 7/7] board: ti: AM57xx: Add detection logic for AM57xx-evm

2016-03-15 Thread Tom Rini
On Wed, Feb 24, 2016 at 12:30:58PM -0600, Kipisz, Steven wrote: > Current AM57xx evm supports both BeagleBoard-X15 > (http://beagleboard.org/x15) and AM57xx EVM > (http://www.ti.com/tool/tmdxevm5728). > > The AM572x EValuation Module(EVM) provides an affordable platform to > quickly start evaluat

Re: [U-Boot] [U-Boot, V2, 1/6] ARM: keystone2: psc: redo doc in kernel-doc format

2016-03-15 Thread Tom Rini
On Thu, Feb 25, 2016 at 12:53:42PM -0600, Nishanth Menon wrote: > u-boot coding style guidance in > http://www.denx.de/wiki/U-Boot/CodingStyle clearly mentions that the > kernel doc style shall be followed for documentation in u-boot. > > Current PSC documentation standard does not, so fix that.

Re: [U-Boot] ARM: keystone2: Get rid of unused clock files

2016-03-15 Thread Tom Rini
On Wed, Feb 24, 2016 at 05:48:43PM -0600, Nishanth Menon wrote: > With commit fe772ebd285b ("ARM: keystone2: Use common definition for > clk_get_rate"), we have centralized the clock code into a common clock > logic and the redundant files, unfortunately remained... Clean that > up. > > Signed-of

Re: [U-Boot] [U-Boot, V2, 2/6] ARM: keystone2: psc-defs: use adequate () for macros

2016-03-15 Thread Tom Rini
On Thu, Feb 25, 2016 at 12:53:43PM -0600, Nishanth Menon wrote: > '#define X a | b' is better defined as '#define X (a | b)' for obvious > reasons. > > Signed-off-by: Nishanth Menon > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signatur

Re: [U-Boot] [U-Boot, V2, 3/6] ARM: keystone2: psc: introduce function to hold and release module in reset.

2016-03-15 Thread Tom Rini
On Thu, Feb 25, 2016 at 12:53:44PM -0600, Nishanth Menon wrote: > These are useful for modules that need to be held in reset and are > enabled for data to be loaded on to them. Typically these are > microcontrollers or other processing entities in the system. > > Signed-off-by: Nishanth Menon >

Re: [U-Boot] [U-Boot,V2,5/6] ARM: dts: k2g: Add support for PMMC

2016-03-15 Thread Tom Rini
On Thu, Feb 25, 2016 at 12:53:46PM -0600, Nishanth Menon wrote: > Enable support for PMMC the TI power processor on K2G. This processor > manages all power management related activities on the SoC and and > allows the Operating Systems on compute processors such as ARM, DSP to > offload the power

Re: [U-Boot] [U-Boot, V2, 4/6] remoteproc: Add support for TI power processor

2016-03-15 Thread Tom Rini
On Thu, Feb 25, 2016 at 12:53:45PM -0600, Nishanth Menon wrote: > Many TI System on Chip (SoC) solutions do have a dedicated > microcontroller for doing power management functionality. These include > the AM335x, AM437x, Keystone K2G SoCs. The functionality provided by > these microcontrollers and

Re: [U-Boot] [U-Boot, V2, 6/6] configs: k2g_evm: Add TI power processor support

2016-03-15 Thread Tom Rini
On Thu, Feb 25, 2016 at 12:53:47PM -0600, Nishanth Menon wrote: > Enable support for PMMC the TI power processor on K2G. This processor > manages all power management related activities on the SoC and and > allows the Operating Systems on compute processors such as ARM, DSP to > offload the power

Re: [U-Boot] arm: Add support for LEGO MINDSTORMS EV3

2016-03-15 Thread Tom Rini
On Fri, Feb 26, 2016 at 12:46:07AM -0600, David Lechner wrote: > This is based on the davinci da850evm. It can boot from either the > on-board 16MB flash or from a microSD card. It also reads board > information from an I2C EEPROM. > > The EV3 itself initally boots from write-protected EEPROM, so

Re: [U-Boot] [U-Boot, v6, 1/2] common: image-fit: Use a common function to get address

2016-03-15 Thread Tom Rini
On Mon, Feb 29, 2016 at 03:48:40PM -0800, York Sun wrote: > FIT image supports load address and entry address. Getting these > addresses can use a common function. > > Signed-off-by: York Sun > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Dig

Re: [U-Boot] [U-Boot, v6, 2/2] common: image-fit: Fix load and entry addresses in FIT image

2016-03-15 Thread Tom Rini
On Mon, Feb 29, 2016 at 03:48:41PM -0800, York Sun wrote: > FIT image supports more than 32 bits in addresses by using #address-cell > field. Fixing 64-bit support by using this field. > > Signed-off-by: York Sun > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature

Re: [U-Boot] [U-Boot,1/3] lib/crc16.c: Coding-style cleanup

2016-03-15 Thread Tom Rini
On Thu, Mar 03, 2016 at 09:34:11AM +0100, Stefan Roese wrote: > lib/crc16.c is changed to match the common U-Boot coding-style. > > Signed-off-by: Stefan Roese > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 2/3] lib/crc16.c: Rename cyg_crc16() to crc16_ccitt() and add crc start value

2016-03-15 Thread Tom Rini
On Thu, Mar 03, 2016 at 09:34:12AM +0100, Stefan Roese wrote: > The original name of this function is unclear. This patch renames this > CRC16 function to crc16_ccitt() matching its name with its > implementation. > > To make the usage of this function more flexible, lets add the CRC start > valu

Re: [U-Boot] [U-Boot, 3/3] include/crc.h: Remove unreferenced cyg_xxx() prototypes

2016-03-15 Thread Tom Rini
On Thu, Mar 03, 2016 at 09:34:13AM +0100, Stefan Roese wrote: > These cyg_ prototypes are not referenced anywhere in current mainline > U-Boot. So lets remove them. > > Signed-off-by: Stefan Roese > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: D

Re: [U-Boot] [U-Boot, V2, 2/6] ARM: keystone2: K2G: power-off DSP during boot

2016-03-15 Thread Tom Rini
On Fri, Mar 04, 2016 at 10:36:39AM -0600, Nishanth Menon wrote: > From: Suman Anna > > The DSPs are powered on by default upon a Power ON reset, and > they are powered off on current Keystone 2 SoCs - K2HK, K2L, K2E > during the boot in u-boot. This is not functional on K2G though. > Extend the

Re: [U-Boot] [U-Boot, V2, 3/6] ARM: keystone2: Allow for board specific speed definitions

2016-03-15 Thread Tom Rini
On Fri, Mar 04, 2016 at 10:36:40AM -0600, Nishanth Menon wrote: > From: Lokesh Vutla > > Its not compulsory that speed definition should be same on EFUSE_BOOTROM > register for all keystone 2 devices. So, allow for board specific > speed definitions. > > Signed-off-by: Lokesh Vutla > Signed-of

Re: [U-Boot] [U-Boot, V2, 4/6] ARM: keystone2: K2G: Add support for different arm/device speeds

2016-03-15 Thread Tom Rini
On Fri, Mar 04, 2016 at 10:36:41AM -0600, Nishanth Menon wrote: > From: Lokesh Vutla > > The maximum device and arm speeds can be determined by reading > EFUSE_BOOTROM register. As there is already a framework for reading this > register, adding support for all possible speeds on k2g devices. >

Re: [U-Boot] [U-Boot, V2, 1/6] ARM: keystone2: Use macro for DSP GEM power domain

2016-03-15 Thread Tom Rini
On Fri, Mar 04, 2016 at 10:36:38AM -0600, Nishanth Menon wrote: > From: Suman Anna > > Define a macro for the DSP GEM power domain id number and > use it instead of a hard-coded number in the code that > disables all the DSPs on various Keystone2 SoCs. > > Signed-off-by: Suman Anna > Signed-of

Re: [U-Boot] [U-Boot, V2, 5/6] ARM: keystone2: use SPD info to configure K2HK and K2E DDR3

2016-03-15 Thread Tom Rini
On Fri, Mar 04, 2016 at 10:36:42AM -0600, Nishanth Menon wrote: > From: Vitaly Andrianov > > This commit replaces hard-coded EMIF and PHY DDR3 configurations for > predefined SODIMMs to a calculated configuration. The SODIMM parameters > are read from SODIMM's SPD and used to calculated the conf

Re: [U-Boot] [U-Boot, V2, 6/6] ARM: keystone2: use detected ddr3a size

2016-03-15 Thread Tom Rini
On Fri, Mar 04, 2016 at 10:36:43AM -0600, Nishanth Menon wrote: > From: Vitaly Andrianov > > Because KS2 u-boot works in 32 bit address space the existing ram_size > global data field cannot be used. The maximum, which the get_ram_size() > can detect is 2GB only. The ft_board_setup() needs the a

Re: [U-Boot] dm: omap_timer: Fix conversion of address to a pointer

2016-03-15 Thread Tom Rini
On Sat, Mar 05, 2016 at 04:40:32PM +0530, Lokesh Vutla wrote: > OMAP timer driver directly typecasts fdt_addr_t to a pointer. This is > not strictly correct, as it gives a build warning when fdt_addr_t is u64. > So, use map_physmem for a proper typecasts. > > This is inspired by commit 167efe01bc

Re: [U-Boot] [U-Boot, 1/4] ARM: DRA7: emif: Fix updating of refresh ctrl shadow

2016-03-15 Thread Tom Rini
On Sat, Mar 05, 2016 at 05:32:28PM +0530, Lokesh Vutla wrote: > On DRA7, refresh ctrl shadow should be updated with > the final value. > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, 2/4] ARM: DRA7: emif: Fix DDR init sequence during warm reset

2016-03-15 Thread Tom Rini
On Sat, Mar 05, 2016 at 05:32:29PM +0530, Lokesh Vutla wrote: > Commit (20fae0a - ARM: DRA7: DDR: Enable SR in Power Management Control) > enables Self refresh mode by default and during warm reset the EMIF > contents are preserved. After warm reset EMIF sees that it is idle and > puts DDR in self

Re: [U-Boot] [U-Boot, 4/4] ARM: DRA7: emif: Enable interleaving for higher address space

2016-03-15 Thread Tom Rini
On Sat, Mar 05, 2016 at 05:32:31PM +0530, Lokesh Vutla wrote: > Given that DRA7/OMAP5 SoCs can support more than 2GB of memory, > enable interleaving for this higher memory to increase performance. > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- T

Re: [U-Boot] [U-Boot, 3/4] ARM: DRA7: emif: Check for enable bits before updating leveling output

2016-03-15 Thread Tom Rini
On Sat, Mar 05, 2016 at 05:32:30PM +0530, Lokesh Vutla wrote: > Read and write leveling can be enabled independently. Check for these > enable bits before updating the read and write leveling output values. > This will allow to use the combination of software and hardware leveling. > > Signed-off

Re: [U-Boot] [PATCH v2 2/2] drivers: mtd: add Microchip PIC32 internal non-CFI flash driver.

2016-03-15 Thread Daniel Schwierzeck
2016-03-15 11:16 GMT+01:00 Purna Chandra Mandal : > PIC32 internal flash devices are parallel NOR flash divided into > number of banks to allow erase-programming in one while fetch and > execution continues on other. As the flash banks are memory mapped > stored code can be executed directly from f

Re: [U-Boot] [PATCH v2 1/2] flash: add device ID for Microchip PIC32 internal flash.

2016-03-15 Thread Daniel Schwierzeck
2016-03-15 11:16 GMT+01:00 Purna Chandra Mandal : > Microchip PIC32 has internal parallel flash (non-CFI compliant). > These flash devices do not support any identifier command so no > standard IDs. Added unique IDs to seperate these flash devices > from others supported by U-Boot. > > Signed-off-b

Re: [U-Boot] [U-Boot, V6] ARM: Various: Future-proof serial platdata

2016-03-15 Thread Tom Rini
On Mon, Mar 07, 2016 at 09:08:49PM -0600, Adam Ford wrote: > A few boards still use ns16550_platdata structures, but assume the structure > is going to be in a specific order. By explicitly naming each entry, > this should also help 'future-proof' in the event the structure changes. > > Tested on

Re: [U-Boot] ARM: OMAP4+: Allow arch specfic code to use early DM

2016-03-15 Thread Tom Rini
On Mon, Mar 07, 2016 at 02:49:54PM +0530, Lokesh Vutla wrote: > Early system initialization is being done before initf_dm is being called > in U-Boot. Then system will fail to boot if any of the DM enabled driver > is being called in this system initialization code. So, rearrange the > code a bit

Re: [U-Boot] [U-Boot,v2] ARM: AM57xx: Update EMIF registers

2016-03-15 Thread Tom Rini
On Tue, Mar 08, 2016 at 09:11:35AM +0530, Lokesh Vutla wrote: > There are certain EMIF timing failures seen on the some x15 boards. Updating > the EMIF settings to get rid of these timing failures. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- T

Re: [U-Boot] [U-Boot, v2, 3/6] ARM: DRA7: Move emif settings to board specific files

2016-03-15 Thread Tom Rini
On Tue, Mar 08, 2016 at 09:18:06AM +0530, Lokesh Vutla wrote: > The newer versions of DRA7 boards has EEPROM populated with DDR > size specified in it. Moving DRA7 specific emif related settings > to board files so that emif settings can be identified based on EEPROM. > > Acked-by: Nishanth Menon

Re: [U-Boot] [U-Boot, v2, 1/6] ti: common: dra7: Add standard access for board description EEPROM

2016-03-15 Thread Tom Rini
On Tue, Mar 08, 2016 at 09:18:04AM +0530, Lokesh Vutla wrote: > DRA7 EVM revH and later EVMs have EEPROM populated that can contain board > description information such as name, revision, DDR definition, etc. Adding > support for this EEPROM format. > > Acked-by: Nishanth Menon > Reviewed-by: To

Re: [U-Boot] [U-Boot,v2,2/6] ARM: DRA7: Enable EEPROM support

2016-03-15 Thread Tom Rini
On Tue, Mar 08, 2016 at 09:18:05AM +0530, Lokesh Vutla wrote: > Enable EEPROM support for DRA74-evm. > > Acked-by: Nishanth Menon > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, v2, 6/6] ARM: DRA7-evm: Update memory info in banks

2016-03-15 Thread Tom Rini
On Tue, Mar 08, 2016 at 09:18:09AM +0530, Lokesh Vutla wrote: > Updating the memory banks properly so that DT is populated accordingly. > And updating this only after DDR is properly detected by eeprom, so that > git bisect is still maintained. > > Acked-by: Nishanth Menon > Reviewed-by: Tom Rin

Re: [U-Boot] [U-Boot,v2,5/6] ARM: DRA7: EMIF: Add 4GB DDR settings

2016-03-15 Thread Tom Rini
On Tue, Mar 08, 2016 at 09:18:08AM +0530, Lokesh Vutla wrote: > The REVH and later versions of DRA7-evm uses MICRON MT41K512M16HA-125 memory > chips which is of size 4GB(2GB on EMIF1 and 2GB on EMIF2). Add support for the > same. > > Acked-by: Nishanth Menon > Reviewed-by: Tom Rini > Signed-off

Re: [U-Boot] ARM: DRA72-evm: Update mux and VIRTUAL/MANUAL mode timings

2016-03-15 Thread Tom Rini
On Tue, Mar 08, 2016 at 10:10:20AM +0530, Lokesh Vutla wrote: > All the mux configurations needs to be done as part of the IODelay > sequence to avoid glitch. Adding all the mux configuration, MANUAL/VIRTUAL > mode configuration as needed for DRA72-evm. > > Also update the mux for SD card detect

Re: [U-Boot] [U-Boot, v2, 4/6] ARM: DRA7: configs: Prepare for detecting memory > 2GB

2016-03-15 Thread Tom Rini
On Tue, Mar 08, 2016 at 09:18:07AM +0530, Lokesh Vutla wrote: > Enable configs that are required for detecting memory > 2GB. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] Pull request: u-boot-spi/master

2016-03-15 Thread Tom Rini
On Tue, Mar 15, 2016 at 12:41:20PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks! > Jagan. > > The following changes since commit df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa: > > Prepare v2016.03 (2016-03-14 10:20:21 -0400) > > are available in the git repository at: >

Re: [U-Boot] arm64: define _image_binary_end to fix SPL_OF_CONTROL

2016-03-15 Thread Tom Rini
On Tue, Mar 08, 2016 at 08:34:44PM +0900, Masahiro Yamada wrote: > To make SPL_OF_CONTROL work on ARM64 SoCs, _image_binary_end must be > defined in the linker script. > > LD spl/u-boot-spl > lib/built-in.o: In function `fdtdec_setup': > lib/fdtdec.c:1186: undefined reference to `_image_bin

  1   2   3   >