[U-Boot] [PATCH v2 28/32] dm: sandbox: Drop the pre-DM host implementation

2016-02-29 Thread Simon Glass
Driver model is used for host device block devices now, so we don't need the old code. Remove it. Signed-off-by: Simon Glass --- Changes in v2: None drivers/block/sandbox.c | 90 - 1 file changed, 90 deletions(-) diff --git a/drivers/block/sandb

[U-Boot] [PATCH v2 27/32] dm: sandbox: Switch over to use DM for block devices

2016-02-29 Thread Simon Glass
Now that the drivers used by sandbox support CONFIG_BLK, we can switch sandbox over to use driver model for block devices. Signed-off-by: Simon Glass --- Changes in v2: None configs/sandbox_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/sandbox_defconfig b/configs/sandbo

[U-Boot] [PATCH v2 23/32] dm: sandbox: Prepare block driver for driver-model conversion

2016-02-29 Thread Simon Glass
Make a few minor changes to make it easier to add driver-model support. Signed-off-by: Simon Glass --- Changes in v2: None drivers/block/sandbox.c | 30 ++ 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/drivers/block/sandbox.c b/drivers/block/sandbo

[U-Boot] [PATCH v2 30/32] dm: blk: Add tests for block devices

2016-02-29 Thread Simon Glass
Add some tests to check that block devices work as expected. Signed-off-by: Simon Glass --- Changes in v2: - Rename to blk_get_device_by_str() test/dm/Makefile | 1 + test/dm/blk.c| 96 2 files changed, 97 insertions(+) create mode

[U-Boot] [PATCH v2 18/32] dm: block: Rename device number member dev to devnum

2016-02-29 Thread Simon Glass
This is a device number, and we want to use 'dev' to mean a driver model device. Rename the member. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - Fix rebase error in cmd/cbfs.c board/sunxi/board.c | 4 ++-- cmd/disk.c | 2 +- cmd/fat.c

Re: [U-Boot] [PATCH v2 1/2] fastboot: sparse: fix block addressing for don't care chunk type

2016-02-29 Thread Steve Rae
please, can this be accepted? On Tue, Feb 9, 2016 at 11:19 AM, Steve Rae wrote: > When 7bfc3b1 (sparse: Refactor chunk parsing function) was implemented, > it dropped 9981945 (aboot: fix block addressing for don't care chunk type). > > This re-implements the required fix for the "don't care chun

Re: [U-Boot] [PATCH v2 2/2] fastboot: sparse: remove unnecessary logging

2016-02-29 Thread Steve Rae
please, can this be accepted? On Tue, Feb 9, 2016 at 11:19 AM, Steve Rae wrote: > remove logging of the 'skipped' blocks > > Signed-off-by: Steve Rae > --- > > Changes in v2: None > > common/image-sparse.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/common/im

Re: [U-Boot] Problem with attaching UBI partition

2016-02-29 Thread Marek Vasut
On 02/29/2016 05:44 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Jagan, Heiko, > >> Did you enable CONFIG_SPI_FLASH_SPANSION on your config, becuase >> S25FL512S is already been added u-boot. Pls- check the same and let me >> know if you find any issues while detecting the flash. > >> Wh

Re: [U-Boot] Problem with attaching UBI partition

2016-02-29 Thread Marek Vasut
On 02/24/2016 09:59 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hello Heiko, > >> Which U-Boot version? Which board? > > This is U-Boot v2016.03-rc1. I have custom board with socfpga Arria5 > onboard. > >> Where does this leading 0xff come from? There seems a problem with >> your spi nor

Re: [U-Boot] [PATCH 4/9] sandbox: Avoid calling commands when not available

2016-02-29 Thread Stephen Warren
On 02/25/2016 09:00 PM, Simon Glass wrote: Don't try to run commands when not supported. diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c +int board_run_command(const char *cmdline) +{ + printf("## Commands are disabled. Please enable CONFIG_CMDLINE.\n"); + + ret

Re: [U-Boot] [PATCH 7/9] Allow command code to compile to nothing

2016-02-29 Thread Stephen Warren
On 02/25/2016 09:00 PM, Simon Glass wrote: When CONFIG_CMDLINE is disabled we need to remove all the command-line code. Most can be removed by dropping the appropriate linker lists from the images, but sub-commands must be dealt with specially. A simple mechanism is used to avoid 'unused static

Re: [U-Boot] [PATCH v2 21/32] dm: usb: Tidy up storage code ready for driver model conversion

2016-02-29 Thread Marek Vasut
On 02/29/2016 11:25 PM, Simon Glass wrote: > Adjust a few things so that the addition of driver-models support involved > adding code rather than also changing it. This makes the patches easier to > review. > > Signed-off-by: Simon Glass > --- > Looks sensible, thanks! Reviewed-by: Marek Vasut

Re: [U-Boot] [PATCH v2 20/32] dm: usb: Avoid exceeding available array size for storage devices

2016-02-29 Thread Marek Vasut
On 02/29/2016 11:25 PM, Simon Glass wrote: > The limit on storage devices is USB_MAX_STOR_DEV but we use one extra > element while probing to see if a device is a storage device. Avoid this, > since it causes memory corruption. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Marek Vasut

Re: [U-Boot] [PATCH v2 25/32] dm: usb: Convert USB storage to use driver-model for block devs

2016-02-29 Thread Marek Vasut
On 02/29/2016 11:25 PM, Simon Glass wrote: > Update this code to support CONFIG_BLK. Each USB storage device can have > one or more block devices as children, each one representing a LUN > (logical unit) of the USB device. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > common

Re: [U-Boot] [PATCH v2 26/32] dm: usb: Unbind old block devices when shutting down USB

2016-02-29 Thread Marek Vasut
On 02/29/2016 11:25 PM, Simon Glass wrote: > We don't want old block devices hanging around since they can still appear > visible in some way. OK > Possibly we should unbind all devices which don't cause problems by being > unbound. Most likely we can remove everything except USB controllers, hub

Re: [U-Boot] [PATCH 9/9] Drop various features when the command line is not available

2016-02-29 Thread Stephen Warren
On 02/25/2016 09:00 PM, Simon Glass wrote: Some features are only useful or meaningful when the command line is present. Ensure that these features are not compiled in when CONFIG_CMDLINE is not enabled. How does this series affect the various code that executes other U-Boot functionality by e

[U-Boot] [PATCH v6 0/2] Enable FIT image to be loaded beyond 32-bit space

2016-02-29 Thread York Sun
Originally the set was trying to fix compiling warnings on 32-bit host by converting ulong to phys_addr_t for image address handling. But it used a lot of casting and was ugly. Another approach was taken by ignoring 32-bit hosts and only support this feature on 64-bit capable hosts. This patchset

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

2016-02-29 Thread York Sun
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 --- Changes in v6: Revert back to use original "ulong" instead of "phys_addr_t" Abort getting image addresses if address is too long for "ulong"

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

2016-02-29 Thread York Sun
FIT image supports load address and entry address. Getting these addresses can use a common function. Signed-off-by: York Sun --- Changes in v6: Drop patches which convert ulong to phys_addr_t Revert to use original ulong Changes in v5: New patch split from fixing load and entry address

Re: [U-Boot] [PATCH 9/9] Drop various features when the command line is not available

2016-02-29 Thread Tom Rini
On Mon, Feb 29, 2016 at 04:47:19PM -0700, Stephen Warren wrote: > On 02/25/2016 09:00 PM, Simon Glass wrote: > >Some features are only useful or meaningful when the command line is > >present. Ensure that these features are not compiled in when CONFIG_CMDLINE > >is not enabled. > > How does this s

[U-Boot] [PATCH 2/2] boards: ls2080: Disable fdt copying by default

2016-02-29 Thread York Sun
If set, fdt_high restricts the address used by copying device tree. It doesn't help much to set a default address without knowing how much memory is available, or how memory is used. Setting fdt_high to a specical value (0x) disables this copying. Signed-off-by: York Sun --- in

Re: [U-Boot] [PATCH 2/2] boards: ls2080: Disable fdt copying by default

2016-02-29 Thread Scott Wood
On Mon, 2016-02-29 at 15:58 -0800, York Sun wrote: > If set, fdt_high restricts the address used by copying device tree. > It doesn't help much to set a default address without knowing how > much memory is available, or how memory is used. Setting fdt_high > to a specical value (0x)

Re: [U-Boot] [PATCH 2/2] boards: ls2080: Disable fdt copying by default

2016-02-29 Thread york sun
Sorry for top posting. I am on outlook web access. There may be some limitation on fdt relocation. Without setting fdt_high, u-boot relocates the device tree toward the end of useable memory. I haven't got a chance to debug why it doesn't work. This patch is to disable the relocation by default

[U-Boot] [PATCH 1/2] boards: ls2080: Fix default bootargs

2016-02-29 Thread York Sun
A white space is missing in multiple-line string for bootargs. Signed-off-by: York Sun --- include/configs/ls2080a_common.h |2 +- include/configs/ls2080ardb.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/ls2080a_common.h b/include/configs/ls

Re: [U-Boot] [PATCH 2/2] boards: ls2080: Disable fdt copying by default

2016-02-29 Thread Scott Wood
On Tue, 2016-03-01 at 00:08 +, york sun wrote: > Sorry for top posting. I am on outlook web access. > > There may be some limitation on fdt relocation. Without setting fdt_high, u > -boot relocates the device tree toward the end of useable memory. I haven't > got a chance to debug why it doesn

Re: [U-Boot] pull request: u-boot-uniphier/master (2nd round)

2016-02-29 Thread Tom Rini
On Tue, Mar 01, 2016 at 12:37:52AM +0900, Masahiro Yamada wrote: > Hi Tom, > > Here is a bunch of UniPhier updates which include GPIO driver support, > MMC driver support, DRAM init code clean-ups, etc. Please pull. > > > Changes for 2nd round: > - Fix a build error when CONFIG_DEBUG_LL is

Re: [U-Boot] [PATCH 02/17] am33xx: board: do not register usb devices when CONFIG_DM_USB is defined

2016-02-29 Thread Tom Rini
On Mon, Feb 29, 2016 at 09:14:05AM +0530, Mugunthan V N wrote: > Do not register usb devices when CONFIG_DM_USB is define. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot maili

Re: [U-Boot] [PATCH 01/17] configs: am335x: usb: do not define CONFIG_DM_USB for spl

2016-02-29 Thread Tom Rini
On Mon, Feb 29, 2016 at 09:14:04AM +0530, Mugunthan V N wrote: > Since OMAP's spl doesn't support DM currently, do not define > CONFIG_DM_USB for spl build. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH 15/17] am335x_evm: enable usb ether gadget as it supports DM_ETH

2016-02-29 Thread Tom Rini
On Mon, Feb 29, 2016 at 09:14:18AM +0530, Mugunthan V N wrote: > Since usb ether gadget have support for driver model, so enable > usb ether gadget. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH 14/17] am33xx: board: init usb ether gadget for rndis support

2016-02-29 Thread Tom Rini
On Mon, Feb 29, 2016 at 09:14:17AM +0530, Mugunthan V N wrote: > Add usb ether gadget device with usb_ether_init() when > CONFIG_DM_ETH and CONFIG_USB_ETHER are defined. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH 04/17] am33xx: board: probe misc drivers to register musb devices

2016-02-29 Thread Tom Rini
On Mon, Feb 29, 2016 at 09:14:07AM +0530, Mugunthan V N wrote: > MUSB wrapper driver is bound as MISC device and underlying usb > devices are bind to usb drivers based on dr_mode, so probing the > MISC wrapper driver to register musb devices. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Ri

Re: [U-Boot] [PATCH 17/17] defconfig: am335x_gp_evm: enable usb driver model

2016-02-29 Thread Tom Rini
On Mon, Feb 29, 2016 at 09:14:20AM +0530, Mugunthan V N wrote: > enable usb driver model for am335x gp evm as musb supports > driver model > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 16/17] defconfig: am335x_boneblack: enable usb driver model

2016-02-29 Thread Tom Rini
On Mon, Feb 29, 2016 at 09:14:19AM +0530, Mugunthan V N wrote: > enable usb driver model for am335x bbb as musb supports > driver model > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH] spl_nor: fix warning when compiled for 64bit target

2016-02-29 Thread Tom Rini
On Mon, Feb 29, 2016 at 08:50:34PM +0900, Masahiro Yamada wrote: > Fix "warning: cast to pointer from integer of different size". > > Signed-off-by: Masahiro Yamada Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-B

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

2016-02-29 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] [PATCH] ARM: DRA7xx: Enable NFS boot command

2016-02-29 Thread Tom Rini
On Fri, Feb 26, 2016 at 02:04:20PM -0600, Andrew F. Davis wrote: > NFS loading works on DRA7 variants, remove the undefinition. > > Signed-off-by: Andrew F. Davis > Well, true enough that it works, and could be enabled more widely. I guess I'm ambivalent about enabling it here (and on other T

Re: [U-Boot] ARM: start.S: fix typo

2016-02-29 Thread Tom Rini
On Thu, Feb 25, 2016 at 10:23:34AM +0900, Yuichiro Goto wrote: > Fix typo in comment about position of 'A' bit in several start.S. > > Signed-off-by: Yuichiro Goto Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH] spl_mmc: allow to load raw image

2016-02-29 Thread Tom Rini
On Mon, Feb 29, 2016 at 08:31:57PM +0900, Masahiro Yamada wrote: > The function spl_parse_image_header() falls back to a raw image > if the U-Boot header is missing and CONFIG_SPL_PANIC_ON_RAW_IMAGE > is undefined. While, the bad magic checking here makes the > spl_parse_image_header() unreachabl

Re: [U-Boot] arm: dra7xx: Define Android partition table

2016-02-29 Thread Tom Rini
On Fri, Feb 26, 2016 at 09:37:52PM +0200, Semen Protsenko wrote: > From: Sam Protsenko > > "fastboot oem format" command reuses "gpt write" command, which in turn > requires correct partitions defined in $partitions variable. This patch > adds such definition of Android partitions for DRA7XX EVM

Re: [U-Boot] compiler*.h: sync include/linux/compiler*.h with Linux 4.5-rc6

2016-02-29 Thread Tom Rini
On Mon, Feb 29, 2016 at 11:54:05AM -0500, Tom Rini wrote: > Copy these from Linux v4.5-rc6 tag. > > This is needed so that we can keep up with newer gcc versions. Note > that we don't have the uapi/ hierarchy from the kernel so continue to > use > > Signed-off-by: Tom Rini Applied to u-boot/

Re: [U-Boot] sniper: Various minor cleanups, missing Kconfig configs and reorganisation

2016-02-29 Thread Tom Rini
On Fri, Feb 26, 2016 at 01:18:47PM +0100, Paul Kocialkowski wrote: > This introduces some minor cleanups, regarding aspects such as board name, > code > and headers organization as well as deprecated and missing config options. > > Signed-off-by: Paul Kocialkowski > Reviewed-by: Tom Rini Appl

Re: [U-Boot] amcc-common.h: Disable CONFIG_SYS_LONGHELP

2016-02-29 Thread Tom Rini
On Mon, Feb 29, 2016 at 02:48:31PM -0500, Tom Rini wrote: > There are a number of AMCC platforms which are close to, or with some > toolchains exceeding, the size constraints. Disable CONFIG_SYS_LONGHELP > to get us room to build with again. > > Signed-off-by: Tom Rini Applied to u-boot/master

Re: [U-Boot] [PATCH] mtd: denali: fix warning when compiled for 64bit system

2016-02-29 Thread Tom Rini
On Mon, Feb 29, 2016 at 08:57:29PM +0900, Masahiro Yamada wrote: > The 64-bit compiler (ex. aarch64) emits "warning: cast from pointer > to integer of different size". > > Make it work with 64bit DMA address while I am here. > > Signed-off-by: Masahiro Yamada Reviewed-by: Tom Rini -- Tom

[U-Boot] [ANN] U-Boot v2016.03-rc3 released

2016-02-29 Thread Tom Rini
Hey all, I've tagged v2016.03-rc3 and it's available on the github mirror at https://github.com/u-boot/u-boot and will show up in the normal places once Wolfgang gets in and see what's going on again (or it clears itself). At this point I think most bug fixes that I am going to grab directly are

Re: [U-Boot] U-Boot as first bootloader on Exynos platforms

2016-02-29 Thread Simon Glass
Hi, On 29 February 2016 at 03:15, Lukasz Majewski wrote: > Hi Paul, > >> Hi, >> >> I was told some time ago that a publicly-available version of the >> Samsung Chromebook 2 (supposedly, the one with an Exynos 5800 SoC) >> allows running unsigned code (the U-Boot SPL) directly after the >> bootrom

Re: [U-Boot] placement for new clock drivers

2016-02-29 Thread Simon Glass
Hi, On 29 February 2016 at 09:56, Dinh Nguyen wrote: > Hi, > > I have a few questions regarding the UCLASS_CLK driver. I need to > implement a clock driver for a new-ish platform, an ARMv7 based SoCFPGA > Arria10. > > I think going forward, it would make sense to place the driver to be of > UCLAS

Re: [U-Boot] [PATCH 12/12] x86: Document how to play with SeaBIOS

2016-02-29 Thread Simon Glass
Hi Bin, On 29 February 2016 at 00:21, Bin Meng wrote: > Hi Simon, > > On Mon, Feb 29, 2016 at 12:19 PM, Simon Glass wrote: >> On 27 February 2016 at 23:58, Bin Meng wrote: >>> Boting SeaBIOS is done via U-Boot's bootelf command. Document this. >>> >>> Signed-off-by: Bin Meng >>> >>> --- >>> >>

Re: [U-Boot] [PATCH v2 01/12] net: designware: support phy reset device-tree bindings

2016-02-29 Thread Simon Glass
On 28 February 2016 at 14:24, Sjoerd Simons wrote: > Add support for the snps,reset-gpio, snps,reset-active-low (optional) and > snps,reset-delays-us device-tree bindings. The combination of these > three define how the PHY should be reset to ensure it's in a sane state. > > Signed-off-by: Sjoerd

Re: [U-Boot] [PATCH v2 04/12] rockchip: rk3288: pinctrl: support more pins

2016-02-29 Thread Simon Glass
On 28 February 2016 at 14:24, Sjoerd Simons wrote: > The rgmii_pins node in rk3288.dtsi configures 15 pins. Increase the size > of the cell array to accomedate that, otherwise only the first 10 get > configured. > > Signed-off-by: Sjoerd Simons > --- > > Changes in v2: None > > drivers/pinctrl/r

Re: [U-Boot] [PATCH v2 06/12] rockchip: rk3288: grf: Define GRF_SOC_CON1 and GRF_SOC_CON3

2016-02-29 Thread Simon Glass
On 28 February 2016 at 14:25, Sjoerd Simons wrote: > Add definitions for GRF_SOC_CON1 and GRF_SOC_CON3 which contain various > GMAC related fields. > > Signed-off-by: Sjoerd Simons > --- > > Changes in v2: None > > arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 53 > +

Re: [U-Boot] [PATCH v2 03/12] net: designware: Add a fix_mac_speed hook

2016-02-29 Thread Simon Glass
Hi Sjoerd, On 28 February 2016 at 14:24, Sjoerd Simons wrote: > Add the ability for e.g. drivers subclassing to register a function to > be called after phy link negotiation. This is useful if e.g. the driver > needs to change the mac configuration based on the negotiated speed. > > Signed-off-by

Re: [U-Boot] [PATCH v2 05/12] rockchip: rk3288: Add clock support for the gmac ethernet interface

2016-02-29 Thread Simon Glass
On 28 February 2016 at 14:24, Sjoerd Simons wrote: > Setup the clocks for the gmac ethernet interface. This assumes the mac > clock is fed by an external clock which is common on RK3288 based > devices. > > Signed-off-by: Sjoerd Simons > --- > > Changes in v2: None > > arch/arm/include/asm/arch-

Re: [U-Boot] [PATCH v2 07/12] net: gmac_rk3288: Add RK3288 GMAC driver

2016-02-29 Thread Simon Glass
Hi Sjoerd, On 28 February 2016 at 14:25, Sjoerd Simons wrote: > Add a new driver for the GMAC ethernet interface present in Rockchip > RK3288 SOCs. This driver subclasses the generic design-ware driver to > add the glue needed specifically for Rockchip. > > Signed-off-by: Sjoerd Simons > > --- >

Re: [U-Boot] [PATCH v2 09/12] rockchip: rock2: dts: use status = "okay" not ok

2016-02-29 Thread Simon Glass
On 28 February 2016 at 14:25, Sjoerd Simons wrote: > u-boot only recognize okay to enable a node (Linux seems to be more > lenient here). So use okay instead. > > Signed-off-by: Sjoerd Simons > --- > > Changes in v2: None > > arch/arm/dts/rk3288-rock2-square.dts | 2 +- > 1 file changed, 1 inser

Re: [U-Boot] [PATCH v2 10/12] rockchip: Enable networking support on rock2 and firefly

2016-02-29 Thread Simon Glass
On 28 February 2016 at 14:25, Sjoerd Simons wrote: > Enable the various configuration option required to get the ethernet > interface up and running on Radxa Rock2 and Firefly. > > Signed-off-by: Sjoerd Simons > --- > > Changes in v2: None > > configs/firefly-rk3288_defconfig | 5 + > config

Re: [U-Boot] [PATCH] RFC: rockchip: video: Lower hpd wait time

2016-02-29 Thread Simon Glass
On 28 February 2016 at 14:40, Sjoerd Simons wrote: > Waiting 30 seconds for the hpd to go high seems a bit much, especially > on headless boots. Lowering the timeout to 300ms. > > Sending as RFC because frankly i don't know what a sensible timeout is > here, but 30 seconds is clearly not it :) > >

Re: [U-Boot] [PATCH v2 1/3] x86: Support booting SeaBIOS

2016-02-29 Thread Simon Glass
On 29 February 2016 at 00:54, Bin Meng wrote: > SeaBIOS is an open source implementation of a 16-bit x86 BIOS. > It can run in an emulator or natively on x86 hardware with the > use of coreboot. With SeaBIOS's help, we can boot some OSes > that require 16-bit BIOS services like Windows/DOS. > > As

Re: [U-Boot] [PATCH] rockchip: rk3288: correct sdram setting

2016-02-29 Thread Simon Glass
Hi Chris, On 29 February 2016 at 05:16, Chris Zhong wrote: > The DMC driver in v3.14 kernel[0] get the ddr setting from PMU_SYS_REG2, > and it expects uboot to store the value using a same protocol. But now > the ddr setting value is different with DMC, so if you enable the DMC, > system would cr

Re: [U-Boot] Samsung I2C driver

2016-02-29 Thread Simon Glass
Hi David, On 20 February 2016 at 00:04, David Müller (ELSOFT AG) wrote: > Hello > > I'm currently implementing DM support in the s3c24xx serial driver and > activating DM support for the VCMA9 board using > > CONFIG_DM=y > CONFIG_DM_SERIAL=y > CONFIG_OF_CONTROL=y > CONFIG_OF_EMBED=y > CONFIG_DEFA

Re: [U-Boot] [PATCH 12/12] x86: Document how to play with SeaBIOS

2016-02-29 Thread Bin Meng
Hi Simon, On Tue, Mar 1, 2016 at 10:03 AM, Simon Glass wrote: > Hi Bin, > > On 29 February 2016 at 00:21, Bin Meng wrote: >> Hi Simon, >> >> On Mon, Feb 29, 2016 at 12:19 PM, Simon Glass wrote: >>> On 27 February 2016 at 23:58, Bin Meng wrote: Boting SeaBIOS is done via U-Boot's bootelf c

[U-Boot] [PATCH] dm: core: make simple-bus compatible to simple-mfd

2016-02-29 Thread Masahiro Yamada
Simple MFD devices can bind children without special bus configuration. Like Linux, let's handle "simple-mfd" in the same way as "simple-bus". Signed-off-by: Masahiro Yamada --- drivers/core/simple-bus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/core/simple-bus.c b/drivers/cor

[U-Boot] [PATCH] ARM: uniphier: document how-to-build for Ace and Sanji boards

2016-02-29 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- doc/README.uniphier | 8 1 file changed, 8 insertions(+) diff --git a/doc/README.uniphier b/doc/README.uniphier index 6c3b092..8d043be 100644 --- a/doc/README.uniphier +++ b/doc/README.uniphier @@ -44,6 +44,14 @@ PH1-Pro4 reference board: $ make

Re: [U-Boot] [PATCH 2/2] boards: ls2080: Disable fdt copying by default

2016-02-29 Thread Prabhakar Kushwaha
> -Original Message- > From: Scott Wood [mailto:o...@buserror.net] > Sent: Tuesday, March 01, 2016 7:13 AM > To: york sun ; U-Boot Mailing List b...@lists.denx.de> > Cc: Prabhakar Kushwaha > Subject: Re: [U-Boot] [PATCH 2/2] boards: ls2080: Disable fdt copying by > default > > On Tue, 2

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

2016-02-29 Thread Mugunthan V N
On Wednesday 24 February 2016 02:05 AM, Tom Rini wrote: > On Tue, Feb 23, 2016 at 04:19:01PM +0530, Jagan Teki wrote: > >> Hi Tom, >> >> Please pull this series. >> >> thanks! >> Jagan. >> >> The following changes since commit 595af9db2422fa5ae734cfe615415b17a5098f34: >> >> Merge branch 'master'

Re: [U-Boot] [PATCH 2/2] boards: ls2080: Disable fdt copying by default

2016-02-29 Thread Bhupesh Sharma
> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Scott > Wood > Sent: Tuesday, March 01, 2016 7:13 AM > > On Tue, 2016-03-01 at 00:08 +, york sun wrote: > > Sorry for top posting. I am on outlook web access. > > > > There may be some limitation on fdt relocation. Without setti

Re: [U-Boot] [PATCH 1/1] am33xx: Update serial platdata to update reg_offset to 0

2016-02-29 Thread Mugunthan V N
On Monday 29 February 2016 03:03 PM, Lokesh Vutla wrote: > > On Monday 29 February 2016 02:55 PM, Mugunthan V N wrote: >> > With commit: d9a3bec682f9 "dm: ns16550: Add support for reg-offset >> > property" >> > reg_offset is added to the struct ns16550_platdata to be >> > dt compatible with Linux

Re: [U-Boot] [PATCH 2/2] boards: ls2080: Disable fdt copying by default

2016-02-29 Thread york sun
On 02/29/2016 09:20 PM, Bhupesh Sharma wrote: >> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Scott >> Wood >> Sent: Tuesday, March 01, 2016 7:13 AM >> >> On Tue, 2016-03-01 at 00:08 +, york sun wrote: >>> Sorry for top posting. I am on outlook web access. >>> >>> There may b

Re: [U-Boot] [PATCH 2/2] boards: ls2080: Disable fdt copying by default

2016-02-29 Thread Bhupesh Sharma
> From: york sun > Sent: Tuesday, March 01, 2016 11:30 AM > > On 02/29/2016 09:20 PM, Bhupesh Sharma wrote: > >> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Scott > >> Wood > >> Sent: Tuesday, March 01, 2016 7:13 AM > >> > >> On Tue, 2016-03-01 at 00:08 +, york sun wrote: >

Re: [U-Boot] [PATCH] amcc-common.h: Disable CONFIG_SYS_LONGHELP

2016-02-29 Thread Stefan Roese
On 29.02.2016 20:48, Tom Rini wrote: There are a number of AMCC platforms which are close to, or with some toolchains exceeding, the size constraints. Disable CONFIG_SYS_LONGHELP to get us room to build with again. Signed-off-by: Tom Rini --- include/configs/amcc-common.h |1 - 1 file c

[U-Boot] [PATCH] rockchip: rk3288: correct sdram setting

2016-02-29 Thread Chris Zhong
The DMC driver in v3.14 kernel[0] get the ddr setting from PMU_SYS_REG2, and it expects uboot to store the value using a same protocol. But now the ddr setting value is different with DMC, so if you enable the DMC, system would crash in kernel. Correct the sdram setting here, according to the requi

Re: [U-Boot] [PATCH] rockchip: rk3288: correct sdram setting

2016-02-29 Thread Chris Zhong
Hi Simon On 03/01/2016 10:04 AM, Simon Glass wrote: Hi Chris, On 29 February 2016 at 05:16, Chris Zhong wrote: The DMC driver in v3.14 kernel[0] get the ddr setting from PMU_SYS_REG2, and it expects uboot to store the value using a same protocol. But now the ddr setting value is different wit

Re: [U-Boot] [PATCH] arm: socfpga: Enabling U-Boot environment support in QSPI

2016-02-29 Thread Chin Liang See
On Fri, 2016-02-26 at 19:08 +0100, Marek Vasut wrote: > On 02/26/2016 02:06 PM, Chin Liang See wrote: > > On Wed, 2016-02-24 at 18:44 +0100, Marek Vasut wrote: > > > On 02/24/2016 09:50 AM, Chin Liang See wrote: > > > > Enabling the support of storing U-Boot environment > > > > within serial NOR fl

Re: [U-Boot] Problem with attaching UBI partition

2016-02-29 Thread Chin Liang See
On Mon, 2016-02-29 at 23:55 +0100, Marek Vasut wrote: > On 02/24/2016 09:59 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > > Hello Heiko, > > > > > Which U-Boot version? Which board? > > > > This is U-Boot v2016.03-rc1. I have custom board with socfpga > > Arria5 > > onboard. > > > > > Where

[U-Boot] [PATCH v3 2/3] board:freescale:usb: Remove code duplication for fdt_usb_get_node_type

2016-02-29 Thread Sriram Dash
Call fdt_usb_get_node_type() from fdt_fixup_usb_mode_phy_type() to avoid code duplication. Signed-off-by: Ramneek Mehresh Signed-off-by: Sriram Dash --- board/freescale/common/usb.c | 72 ++-- 1 file changed, 29 insertions(+), 43 deletions(-) diff --git

Re: [U-Boot] Problem with attaching UBI partition

2016-02-29 Thread Stefan Roese
On 01.03.2016 07:53, Chin Liang See wrote: On Mon, 2016-02-29 at 23:55 +0100, Marek Vasut wrote: On 02/24/2016 09:59 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: Hello Heiko, Which U-Boot version? Which board? This is U-Boot v2016.03-rc1. I have custom board with socfpga Arria5 onboard.

[U-Boot] [PATCH v3 0/3] Make usb device-tree fixup independent of USB controller

2016-02-29 Thread Sriram Dash
Makes usb device-tree fixup independent of Controller type. This enables the usage of device-tree fixup as a common framework for EHCI and XHCI controllers Sriram Dash (3): board:freescale:common: Move device-tree fixup framework to common file board:freescale:usb: Remove code duplication

[U-Boot] [PATCH v3 1/3] board:freescale:common: Move device-tree fixup framework to common file

2016-02-29 Thread Sriram Dash
Move usb device-tree fixup framework from ehci-fsl.c to common place so that it can be used by other drivers as well (xhci-fsl.c). Signed-off-by: Ramneek Mehresh Signed-off-by: Sriram Dash --- board/freescale/common/Makefile| 2 + .../ehci-fsl.c => board/freescale/common/u

[U-Boot] [PATCH v3 3/3] board:freescale:usb: Add device-tree fixup support for xhci controller

2016-02-29 Thread Sriram Dash
Enables usb device-tree fixup code to incorporate xhci controller Signed-off-by: Ramneek Mehresh Signed-off-by: Sriram Dash --- board/freescale/common/Makefile | 1 + board/freescale/common/usb.c| 30 +- include/fdt_support.h | 4 ++-- 3 files changed

Re: [U-Boot] [ANN] U-Boot v2016.03-rc3 released

2016-02-29 Thread Wolfgang Denk
Dear Tom, In message <20160301015946.GN23166@bill-the-cat> you wrote: > > I've tagged v2016.03-rc3 and it's available on the github mirror at > https://github.com/u-boot/u-boot and will show up in the normal places > once Wolfgang gets in and see what's going on again (or it clears > itself). Ta

<    1   2