Re: [U-Boot] [PATCH 25/55] dm: pmic: max77686: Correct a few nits

2015-07-27 Thread Przemyslaw Marczak
Hello Simon, On 07/28/2015 01:30 AM, Simon Glass wrote: Hi Przemyslaw, On 10 July 2015 at 05:53, Przemyslaw Marczak wrote: Hello Simon, On 07/03/2015 02:16 AM, Simon Glass wrote: The driver name should not have a space in it. Also the regulator names should match the case of the device tre

[U-Boot] QSPI + DSPI Support for Freescale VF610

2015-07-27 Thread Jeff . White
___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] MPC8308RDB Development

2015-07-27 Thread sudheer A
Hi, I am new to the U-boot development. I have MPC8308RDB with loaded u-boot-2009.11-rc1 version. Now how to trace that source code to implement or changes as per my application. And also please let me know the loading procedure(U-boot and custom application in windows) to that MPC8308RDB. Thanks

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

2015-07-27 Thread York Sun
Josh, No you didn't miss. I think you are right on this file. York Sent from my cellphone Original message From: Josh Wu Date:07/27/2015 22:07 (GMT-08:00) To: Sun York-R58495 , U-Boot Mailing List , Marek Vasut , Tom Rini Cc: Masahiro Yamada , Jeroen Hofstee , Valentine Barsh

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

2015-07-27 Thread Josh Wu
Hi, York On 7/28/2015 12:24 PM, York Sun wrote: Please search the same name function in the same file. yes, there still have flush_dcache_range() & invalidate_dcache_range() function defined in case of DCACHE is enabled (CONFIG_SYS_DCACHE_OFF is not defined). And in that case, the empty weak

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

2015-07-27 Thread York Sun
Please search the same name function in the same file. York Sent from my cellphone Original message From: Josh Wu Date:07/27/2015 19:17 (GMT-08:00) To: Sun York-R58495 , U-Boot Mailing List , Marek Vasut , Tom Rini Cc: Masahiro Yamada , Jeroen Hofstee , Valentine Barshak , Sim

Re: [U-Boot] [PATCH 00/20] arm: rpi: Enable USB and Ethernet driver model Raspberry Pi

2015-07-27 Thread Stephen Warren
On 07/24/2015 07:44 AM, Tom Rini wrote: > On Thu, Jul 23, 2015 at 10:17:29PM -0600, Stephen Warren wrote: >> On 07/14/2015 09:44 AM, Simon Glass wrote: >>> Hi Stephen, >>> >>> On 13 July 2015 at 22:52, Stephen Warren >>> wrote: On 07/11/2015 08:04 AM, Simon Glass wrote: > Hi Stephen, >>

Re: [U-Boot] [PATCH 05/20] dm: usb: Add driver-model support to dwc2

2015-07-27 Thread Simon Glass
On 7 July 2015 at 20:53, Simon Glass wrote: > Add driver model support to this driver so it can be used with the new USB > stack. > > Signed-off-by: Simon Glass > --- > > drivers/usb/host/dwc2.c | 97 > + > 1 file changed, 97 insertions(+) Applie

[U-Boot] [PATCH] powerpc/t1023rdb: eMMC boot without external SD card

2015-07-27 Thread Shengzhou Liu
eMMC has no CD and WP pins, it needs to add board-specific board_mmc_getcd() and board_mmc_getwp() in SPL to support eMMC boot without external SD card inserted. Signed-off-by: Shengzhou Liu --- board/freescale/t102xrdb/spl.c | 24 1 file changed, 24 insertions(+) diff

Re: [U-Boot] [PATCH V3 0/6] Tegra210/P2571 initial support

2015-07-27 Thread Stephen Warren
On 07/27/2015 04:51 PM, Tom Warren wrote: > Thanks, Tom. > > Simon Glass reviewed the earlier 64-bit patches, so I'll take that as the > stamp of approval for them. > > Stephen/Thierry - what about the most recent 3 'ARM: tegra' 64-bit patches? > Do I need to wait until someone else has Ack'd /

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

2015-07-27 Thread Josh Wu
Hi, York On 7/28/2015 12:31 AM, York Sun wrote: On 07/26/2015 08:40 PM, Josh Wu wrote: Since some driver like ohci, lcd used dcache functions. But some ARM cpu don't implement the invalidate_dcache_range()/flush_dcache_range() functions. To avoid compiling errors this patch adds an weak empty

Re: [U-Boot] [PATCH v2 08/16] tegra: nand: fix read_byte required for proper onfi detection

2015-07-27 Thread Scott Wood
On Tue, 2015-07-28 at 04:05 +0200, Marcel Ziswiler wrote: > On 27 July 2015 22:00:15 CEST, Scott Wood wrote: > > On Tue, 2015-07-21 at 00:35 +0200, Marcel Ziswiler wrote: > > > From: Marcel Ziswiler > > > > > > Fix PIO read_byte() implementation not only used for the legacy READ > > ID > > > but

Re: [U-Boot] [PATCH v2 09/16] mtd/nand/tegra: alignment workaround

2015-07-27 Thread Scott Wood
On Tue, 2015-07-28 at 03:55 +0200, Marcel Ziswiler wrote: > On 27 July 2015 21:57:14 CEST, Scott Wood wrote: > > On Tue, 2015-07-21 at 00:35 +0200, Marcel Ziswiler wrote: > > > From: Marcel Ziswiler > > > > > > Integrate cache alignment bounce buffer to workaround issues as > > follows: > > > >

Re: [U-Boot] [PATCH v2 09/16] mtd/nand/tegra: alignment workaround

2015-07-27 Thread Marcel Ziswiler
On 28 July 2015 01:32:10 CEST, Scott Wood wrote: >On Mon, 2015-07-27 at 17:28 -0600, Simon Glass wrote: >> Hi Scott, >> >> On 27 July 2015 at 13:57, Scott Wood wrote: >> > On Tue, 2015-07-21 at 00:35 +0200, Marcel Ziswiler wrote: >> > > From: Marcel Ziswiler >> > > >> > > Integrate cache ali

Re: [U-Boot] [PATCH v2 08/16] tegra: nand: fix read_byte required for proper onfi detection

2015-07-27 Thread Marcel Ziswiler
On 27 July 2015 22:00:15 CEST, Scott Wood wrote: >On Tue, 2015-07-21 at 00:35 +0200, Marcel Ziswiler wrote: >> From: Marcel Ziswiler >> >> Fix PIO read_byte() implementation not only used for the legacy READ >ID >> but also the PARAM command now required for proper ONFI detection. >> >> This

Re: [U-Boot] [PATCH v2 09/16] mtd/nand/tegra: alignment workaround

2015-07-27 Thread Marcel Ziswiler
On 27 July 2015 21:57:14 CEST, Scott Wood wrote: >On Tue, 2015-07-21 at 00:35 +0200, Marcel Ziswiler wrote: >> From: Marcel Ziswiler >> >> Integrate cache alignment bounce buffer to workaround issues as >follows: >> >> Loading file '/boot/zImage' to addr 0x0100 with size 4499152 >> (0x00

Re: [U-Boot] [PATCH v2 16/16] apalis/colibri_t30: fix usb dm regression

2015-07-27 Thread Marcel Ziswiler
On 27 July 2015 21:48:40 CEST, Stephen Warren wrote: >On 07/20/2015 04:35 PM, Marcel Ziswiler wrote: >> From: Marcel Ziswiler >> >> Unfortunately currently both Apalis T30 as well as Colibri T30 crash >> upon starting USB host support. This is due to the following patch >not >> having taken int

Re: [U-Boot] [PATCH v2 13/16] apalis/colibri_t20/t30: increase tftp blocksize

2015-07-27 Thread Marcel Ziswiler
On 27 July 2015 21:46:34 CEST, Stephen Warren wrote: >On 07/20/2015 04:35 PM, Marcel Ziswiler wrote: >> From: Max Krummenacher >> >> Enable CONFIG_IP_DEFRAG and set CONFIG_TFTP_BLOCKSIZE to 16384. >> This increases the tftp download speed considerably. >> >> While at it enable CONFIG_TFTP_TSIZE

Re: [U-Boot] [PATCH v2 12/16] apalis/colibri_t20/t30: enable raw initrd support

2015-07-27 Thread Marcel Ziswiler
On 27 July 2015 21:45:18 CEST, Stephen Warren wrote: >On 07/20/2015 04:35 PM, Marcel Ziswiler wrote: >> From: Marcel Ziswiler >> >> Enable optional raw initrd support to allow boot using an initrd. > >> diff --git a/include/configs/apalis_t30.h >b/include/configs/apalis_t30.h > >> +#define CONF

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

2015-07-27 Thread Scott Wood
On Sat, 2015-07-18 at 03:07 +0300, Vladimir Zapolskiy wrote: > The change adds support of LPC32xx SLC NAND controller. > > LPC32xx SoC has two different mutually exclusive NAND controllers to > communicate with single and multiple layer chips. > > This simple driver allows to specify NAND chip ti

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

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

Re: [U-Boot] [U-Boot, 1/2] ti: armv7: enable EXT support in SPL (using ti_armv7_common.h)

2015-07-27 Thread Ash Charles
On Mon, Jul 27, 2015 at 9:39 AM, Guillaume Gardet wrote: > Which bump SPL size from 54*1024 to 64*1024 and moves SPL text base from > 0x40200800 to 0x4020. > Any reason for that? What happens if you use original values? > > What is the size of your MLO? Hi Guillaume, I changed the lines to ge

Re: [U-Boot] [PATCH 1/3] nand: lpc32xx: add SLC NAND driver

2015-07-27 Thread Vladimir Zapolskiy
Hi Sylvain, On 28.07.2015 00:45, LEMIEUX, SYLVAIN wrote: > Hi Vladimir and Albert, > > See comment, questions and test results below; > >> From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] >> Sent: 18-Jul-15 1:50 AM >> >> Hello Vladimir, >> >> On Sat, 18 Jul 2015 02:10:01 +0300, Vladimir Z

Re: [U-Boot] [PATCH 12/20] dm: Support address translation for simple-bus

2015-07-27 Thread Simon Glass
On 7 July 2015 at 20:53, Simon Glass wrote: > The 'ranges' property can be used to specify a translation from the system > address to the bus address. Add support for this using the dev_get_addr() > function, which devices should use to find their address. > > Signed-off-by: Simon Glass > --- > >

Re: [U-Boot] [PATCH v2 09/16] mtd/nand/tegra: alignment workaround

2015-07-27 Thread Scott Wood
On Mon, 2015-07-27 at 17:28 -0600, Simon Glass wrote: > Hi Scott, > > On 27 July 2015 at 13:57, Scott Wood wrote: > > On Tue, 2015-07-21 at 00:35 +0200, Marcel Ziswiler wrote: > > > From: Marcel Ziswiler > > > > > > Integrate cache alignment bounce buffer to workaround issues as follows: > > >

Re: [U-Boot] [PATCH 09/20] net: smsc95xx: Prepare for conversion to driver model

2015-07-27 Thread Simon Glass
On 7 July 2015 at 20:53, Simon Glass wrote: > At present struct eth_device is passed around all over the place. This does > not exist with driver model. Add explicit arguments instead, so that with > driver model we can pass the correct things. > > Signed-off-by: Simon Glass > --- > > drivers/us

Re: [U-Boot] [PATCH 10/20] net: smsc95xx: Add driver-model support

2015-07-27 Thread Simon Glass
On 7 July 2015 at 20:53, Simon Glass wrote: > Add support for driver model, so that CONFIG_DM_ETH can be defined and used > with this driver. > > Signed-off-by: Simon Glass > --- > > drivers/usb/eth/smsc95xx.c | 142 > + > 1 file changed, 142 insertio

Re: [U-Boot] [PATCH 08/20] net: smsc95xx: Correct the error numbers

2015-07-27 Thread Simon Glass
On 7 July 2015 at 20:53, Simon Glass wrote: > Instead of returning -1 on error, we should use a proper error number. Fix > the code to conform to this. > > Signed-off-by: Simon Glass > --- > > drivers/usb/eth/smsc95xx.c | 48 > +- > 1 file changed, 26

Re: [U-Boot] [PATCH 06/20] net: smsc95xx: Sort the include files

2015-07-27 Thread Simon Glass
On 7 July 2015 at 20:53, Simon Glass wrote: > Tidy up the include file order before adding more. > > Signed-off-by: Simon Glass > --- > > drivers/usb/eth/smsc95xx.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Applied to u-boot-dm. ___

Re: [U-Boot] [PATCH 07/20] net: smsc95xx: Rename AX_RX_URB_SIZE to RX_URB_SIZE

2015-07-27 Thread Simon Glass
On 7 July 2015 at 20:53, Simon Glass wrote: > The AX_ prefix comes from the Asix driver. Since this is not that, we should > avoid this confusing prefix. > > Signed-off-by: Simon Glass > --- > > drivers/usb/eth/smsc95xx.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) Applie

Re: [U-Boot] [PATCH 04/20] dm: usb: Prepare dwc2 driver for driver-model conversion

2015-07-27 Thread Simon Glass
On 7 July 2015 at 20:53, Simon Glass wrote: > Put all global data in a structure and move (what will be) common code into > common functions. This will make the driver-model conversion much easier. > > Signed-off-by: Simon Glass > --- > > drivers/usb/host/dwc2.c | 150 >

Re: [U-Boot] [PATCH 46/55] exynos: Remove unneeded device tree control #ifdefs

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:16, Simon Glass wrote: > Since device tree is used for all exynos5 boards, we can remove the #ifdef > and reduce confusion. > > Signed-off-by: Simon Glass > --- > > board/samsung/common/board.c | 17 - > 1 file changed, 8 insertions(+), 9 deletions(-) Applie

Re: [U-Boot] [PATCH 42/55] dts: exynos: snow: Add a new node for the NXP video bridge driver

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:16, Simon Glass wrote: > The driver supports driver model. Add a node for snow, which needs it. > > Signed-off-by: Simon Glass > --- > > arch/arm/dts/exynos5250-snow.dts | 36 > 1 file changed, 16 insertions(+), 20 deletions(-) Applied t

Re: [U-Boot] [PATCH 03/20] dm: usb: Add an errno.h header to usb_ether.c

2015-07-27 Thread Simon Glass
On 7 July 2015 at 20:53, Simon Glass wrote: > This is required on some platforms, so add it. > > Signed-off-by: Simon Glass > --- > > drivers/usb/eth/usb_ether.c | 1 + > 1 file changed, 1 insertion(+) Applied to u-boot-dm. ___ U-Boot mailing list U-B

Re: [U-Boot] [PATCH 40/55] dts: exynos: snow: Add memory layout description

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:16, Simon Glass wrote: > Add a description of the snow memory layer to assist flashing tools which > want to be able to deal with any exynos image. > > Signed-off-by: Simon Glass > --- > > arch/arm/dts/exynos5250-snow.dts | 53 > > 1

Re: [U-Boot] [PATCH] dm: Make regmap and syscon optional

2015-07-27 Thread Simon Glass
On 17 July 2015 at 09:22, Simon Glass wrote: > Not all boards use garbage collection in their link step, so we should avoid > adding options that rely on this for prevention of code bloat. Add separate > Kconfig options for syscon and regmap uclasses. > > Signed-off-by: Simon Glass > --- > > con

Re: [U-Boot] [PATCH 26/55] dm: pmic: Correct the pmic_reg_write() implementation

2015-07-27 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 41/55] dts: exynos: pit: Add a new node for the parade video bridge driver

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:16, Simon Glass wrote: > The new driver supports driver model and configuration via device tree. Add > a node for pit, which needs this driver. > > Signed-off-by: Simon Glass > --- > > arch/arm/dts/exynos5420-peach-pit.dts | 128 > -- > 1 fil

Re: [U-Boot] [PATCH 37/55] exynos: video: Correct debug output

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:16, Simon Glass wrote: > We should not print a message from the driver when the display is set up. > This is normal behaviour. Change this message to use debug(). > > Also remove the double newline on another debug message. > > Signed-off-by: Simon Glass > --- > > drivers/vi

Re: [U-Boot] [PATCH 39/55] dm: gpio: Check a GPIO is valid before using it

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:16, Simon Glass wrote: > Since a gpio_desc is allowed to be invalid we should return an error > indicating that the operation cannot be completed. This can happen if the > GPIO is optional - e.g. some devices may have a reset line and some may > not. > > Signed-off-by: Simon G

Re: [U-Boot] [PATCH 36/55] exynos: Add support for the DisplayPort hotplug detect

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:16, Simon Glass wrote: > Allow this function to be selected using the pinmux API. > > Signed-off-by: Simon Glass > --- > > arch/arm/cpu/armv7/exynos/pinmux.c| 10 ++ > arch/arm/include/asm/arch-exynos/periph.h | 1 + > 2 files changed, 11 insertions(+) Appl

Re: [U-Boot] [PATCH 38/55] exynos: Tidy up CPU frequency display

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:16, Simon Glass wrote: > Line up the display with the line below, e.g.: > > CPU: Exynos5250 @ 1.7 GHz > Model: Google Spring > DRAM: 2 GiB > MMC: EXYNOS DWMMC: 0 > > Also show the speed as GHz where appropriate. > > Signed-off-by: Simon Gla

Re: [U-Boot] [PATCH 34/55] exynos: spi: Convert the timeout to debug()

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:16, Simon Glass wrote: > Since the timeout is reported through normal channels, and is sometimes > expected (e.g. if the bus is being probed for a non-existent device), > don't display the message in the driver. > > In general, drivers should not write to the console as this l

Re: [U-Boot] [PATCH 33/55] dm: video: Add support for the NXP PTN3460 bridge

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:16, Simon Glass wrote: > This chip provides an eDP to LVDS bridge which is useful for SoCs that don't > support LVDS displays (or it would waste scarce pins). There is no setup > required by this chip, other than to adjust power-down and reset pins, and > those are managed by

Re: [U-Boot] [PATCH 35/55] exynos: Correct return value in exynos_mmc_init()

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:16, Simon Glass wrote: > This function should return 0 on success, not 1. Fix it. > > Signed-off-by: Simon Glass > --- > > drivers/mmc/s5p_sdhci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/s5p_sdhci.c b/drivers/mmc/s5p_sdhci.c > ind

Re: [U-Boot] [PATCH 32/55] dm: video: Add support for the Parade PS8622/625 bridge

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:16, Simon Glass wrote: > This chip provides an eDP to LVDS bridge which is useful for SoCs that don't > support LVDS displays (or it would waste scarce pins). The setup is included > in the device tree. > > Signed-off-by: Simon Glass > --- > > doc/device-tree-bindings/video/

Re: [U-Boot] [PATCH 31/55] dm: video: Add support for video bridges

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:16, Simon Glass wrote: > A video bridge typically converts video from one format to another, e.g. > DisplayPort to LVDS. Add driver model support for these with a simple > interface to control activation and backlight. The uclass supports GPIO > control of power and reset line

Re: [U-Boot] [PATCH 29/55] dm: power: Don't return an error when regulators are not autoset

2015-07-27 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 30/55] dm: pmic: Display the regulator limits on error

2015-07-27 Thread Simon Glass
On 10 July 2015 at 05:54, Przemyslaw Marczak wrote: > Hello Simon, > > On 07/03/2015 02:16 AM, Simon Glass wrote: >> >> When a regulator command cannot honour the requested voltage, display the >> limits to try to be helpful. >> >> Signed-off-by: Simon Glass >> --- >> >> common/cmd_regulator.c

Re: [U-Boot] [PATCH 27/55] dm: power: max77686: Correct BUCK register access

2015-07-27 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 18/55] exynos: Enable the debug UART in SPL

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:15, Simon Glass wrote: > As a debugging aid, allow UART3 to be used as a debug UART in SPL. This > is a precursor to proper UART support, which requires a substantial > refactor. > > Signed-off-by: Simon Glass > --- > > arch/arm/cpu/armv7/exynos/lowlevel_init.c | 5 + >

Re: [U-Boot] [PATCH 24/55] dm: power: Add support for S5M8767 regulators

2015-07-27 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 25/55] dm: pmic: max77686: Correct a few nits

2015-07-27 Thread Simon Glass
Hi Przemyslaw, On 10 July 2015 at 05:53, Przemyslaw Marczak wrote: > Hello Simon, > > On 07/03/2015 02:16 AM, Simon Glass wrote: >> >> The driver name should not have a space in it. Also the regulator names >> should match the case of the device tree. Fix these problems. >> >> Signed-off-by: Simo

Re: [U-Boot] [PATCH 23/55] dm: power: Add support for the S5M8767 PMIC

2015-07-27 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 17/55] exynos: Add debug UART support for Samsung S5P serial

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:15, Simon Glass wrote: > Add a debug UART implementation for this serial driver. It does not set up > pinmux automatically - this must be done before calling debug_uart_init(). > > Signed-off-by: Simon Glass > --- > > drivers/serial/Kconfig | 7 +++ > drivers/seria

Re: [U-Boot] [PATCH 21/55] dm: power: Add a new driver for the TPS65090 PMIC

2015-07-27 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 22/55] dm: power: Add support for TPS65090 FETs

2015-07-27 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 16/55] exynos: serial: Refactor init code for debug UART

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:15, Simon Glass wrote: > The debug UART code needs to perform the same init as the normal UART > driver. In preparation for this, move the init code into two functions, one > for the basic init and one for setting the baud rate. This will make adding > debug UART support easie

Re: [U-Boot] [PATCH 13/55] exynos: dts: Support EC tunnel and main TPS65090 regulator

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:15, Simon Glass wrote: > On pit and pi the TPS65090 regulator is connected only to the EC and we > must use a tunnel to get to it. The existing U-Boot support relies on a > special driver. Add a tunnel definition so that the new device-model > TPS65090 driver can be used unmod

Re: [U-Boot] [PATCH 10/55] exynos: i2c: Tidy up the driver model code

2015-07-27 Thread Simon Glass
On 5 July 2015 at 23:40, Heiko Schocher wrote: > Hello Simon, > > Am 03.07.2015 um 02:15 schrieb Simon Glass: >> >> The existing driver model implementation uses the old non-driver-model >> code >> to operate, but has become impossibly tangled as a result. The actual >> algorithm is quite simple.

Re: [U-Boot] [PATCH 12/55] exynos: dts: Add PMIC and regulator definitions

2015-07-27 Thread Simon Glass
Hi Przemyslaw, On 10 July 2015 at 05:51, Przemyslaw Marczak wrote: > Hello Simon, > > On 07/03/2015 02:15 AM, Simon Glass wrote: >> >> Snow and smdk5250 use a max77686 PMIC. We have a driver for this, so add >> the relevant node to the device tree so it can be used. >> >> Signed-off-by: Simon Gla

Re: [U-Boot] [PATCH 11/55] exynos: dts: Sync up I2C ports with the kernel

2015-07-27 Thread Simon Glass
On 10 July 2015 at 05:51, Przemyslaw Marczak wrote: > Hello Simon, > > On 07/03/2015 02:15 AM, Simon Glass wrote: >> >> The kernel uses upper case for I2C unit addresses. Follow the same >> convention to reduce differences. >> >> Signed-off-by: Simon Glass >> >> --- >> >> arch/arm/dts/exynos5.d

Re: [U-Boot] [PATCH 09/55] exynos: i2c: Fix code style with ReadWriteByte()

2015-07-27 Thread Simon Glass
On 5 July 2015 at 00:45, Heiko Schocher wrote: > Hello Simon, > > Am 03.07.2015 um 02:15 schrieb Simon Glass: >> >> This function should not use mixed case, and it is simpler to use >> clrbits_le32() when clearing bits. Fix it. >> >> Signed-off-by: Simon Glass >> --- >> >> drivers/i2c/s3c24x0_i

Re: [U-Boot] [PATCH v2 09/16] mtd/nand/tegra: alignment workaround

2015-07-27 Thread Simon Glass
Hi Scott, On 27 July 2015 at 13:57, Scott Wood wrote: > On Tue, 2015-07-21 at 00:35 +0200, Marcel Ziswiler wrote: >> From: Marcel Ziswiler >> >> Integrate cache alignment bounce buffer to workaround issues as follows: >> >> Loading file '/boot/zImage' to addr 0x0100 with size 4499152 >> (0x0

Re: [U-Boot] [PATCH 05/55] dm: i2c: Add a function to transfer messages

2015-07-27 Thread Simon Glass
On 3 July 2015 at 00:58, Heiko Schocher denx wrote: > Hello Simon, > > Am 03.07.2015 um 02:15 schrieb Simon Glass: >> >> Sometimes it is useful to be able to transfer a raw I2C message. This >> happens when the chip address needs to be set manually, or when the data >> to >> be sent/received is in

Re: [U-Boot] [PATCH 03/55] dm: i2c: Correct comment nits in dm_i2c_reg_read/write()

2015-07-27 Thread Simon Glass
On 3 July 2015 at 00:53, Heiko Schocher denx wrote: > Hello Simon, > > Am 03.07.2015 um 02:15 schrieb Simon Glass: >> >> Add documentation for the @dev parameter. >> >> Signed-off-by: Simon Glass >> --- >> >> include/i2c.h | 2 ++ >> 1 file changed, 2 insertions(+) > > > Acked-by: Heiko Schoch

Re: [U-Boot] [PATCH 04/55] dm: i2c: Move definitions to the top of the header file

2015-07-27 Thread Simon Glass
On 3 July 2015 at 00:55, Heiko Schocher denx wrote: > Hello Simon, > > Am 03.07.2015 um 02:15 schrieb Simon Glass: >> >> Move the flags and struct definitions higher in the file so that we can >> reference them with functions declared in the driver model section. >> >> Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 02/55] dm: i2c: Add a message debug function

2015-07-27 Thread Simon Glass
On 3 July 2015 at 00:52, Heiko Schocher denx wrote: > Hello Simon, > > Am 03.07.2015 um 02:15 schrieb Simon Glass: >> >> Add a way to dump the contents of an I2C message for debugging purposes. >> >> Signed-off-by: Simon Glass >> --- >> >> drivers/i2c/i2c-uclass.c | 16 >> inc

Re: [U-Boot] [PATCH 01/55] dm: core: Support finding a device by phandle

2015-07-27 Thread Simon Glass
On 2 July 2015 at 18:15, Simon Glass wrote: > It is common for one node to reference another via a phandle. Add support > for obtaining an attached device by this method. As an example, a node may > have a 'power-supply' property which references a regulator, allowing the > driver to turn on its p

Re: [U-Boot] [PATCH V3 0/6] Tegra210/P2571 initial support

2015-07-27 Thread Tom Warren
Thanks, Tom. Simon Glass reviewed the earlier 64-bit patches, so I'll take that as the stamp of approval for them. Stephen/Thierry - what about the most recent 3 'ARM: tegra' 64-bit patches? Do I need to wait until someone else has Ack'd / reviewed them, or do you feel they're good to go? I gu

Re: [U-Boot] [PATCH 01/16] ARM: remove vpac270 board support

2015-07-27 Thread Marek Vasut
On Monday, July 27, 2015 at 05:58:17 PM, Masahiro Yamada wrote: > 2015-07-26 17:49 GMT+09:00 Marek Vasut : > > On Sunday, July 26, 2015 at 10:26:45 AM, Masahiro Yamada wrote: > >> The board-specific linker script board/vpac270/u-boot-spl.lds > >> obstructs further cleanup. This board has not been

Re: [U-Boot] [PATCH 00/16] Add macros to ease our life with independent CONFIGs between U-Boot and SPL

2015-07-27 Thread Scott Wood
On Sun, 2015-07-26 at 17:26 +0900, Masahiro Yamada wrote: > Refer to Simon's question, too: > http://lists.denx.de/pipermail/u-boot/2015-July/219598.html > > Since U-boot introduced SPL (not since Kconfig), > enabling features for U-boot and SPL independently is always a PITA. > > - decide if ea

Re: [U-Boot] [PATCH 04/15][v3] imx: iomux-v3: add imx7d support for iomuxc

2015-07-27 Thread Alonso Adrian
Hi Stefano, > -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: Sunday, July 26, 2015 9:15 AM > To: Alonso Lazcano Adrian-B38018; u-boot@lists.denx.de; sba...@denx.de > Cc: ota...@ossystems.com.br; Estevam Fabio-R49496; Li Frank-B20596; Garg > Nitin-B37173 > Subject:

Re: [U-Boot] [PATCH V3 0/6] Tegra210/P2571 initial support

2015-07-27 Thread Tom Rini
On Mon, Jul 27, 2015 at 09:51:11PM +, Tom Warren wrote: > TomR/Albert, > > > -Original Message- > > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > > Sent: Monday, July 27, 2015 11:01 AM > > To: Tom Warren > > Cc: u-boot@lists.denx.de; Thierry Reding; Stephen Warren; > > tomcwarr

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

2015-07-27 Thread York Sun
On 07/26/2015 08:40 PM, Josh Wu wrote: > Since some driver like ohci, lcd used dcache functions. But some ARM > cpu don't implement the invalidate_dcache_range()/flush_dcache_range() > functions. > > To avoid compiling errors this patch adds an weak empty stub function > for all ARM cpu in arch/

[U-Boot] [PATCH 00/15] x86: minnowmax: Add interrupt support

2015-07-27 Thread Simon Glass
This series brings in interrupt support for Minnowmax, so that PCI interrupts are correctly set up for Linux. It also includes a few small improvements to the PCI driver model implementation and tidies up some nits in the code. The existing pirq routing code does not seem to support the Atom used

Re: [U-Boot] [PATCH V3 0/6] Tegra210/P2571 initial support

2015-07-27 Thread Tom Warren
TomR/Albert, > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Monday, July 27, 2015 11:01 AM > To: Tom Warren > Cc: u-boot@lists.denx.de; Thierry Reding; Stephen Warren; > tomcwarren3...@gmail.com > Subject: Re: [U-Boot] [PATCH V3 0/6] Tegra210/P2571 initi

[U-Boot] [PATCH 09/15] x86: Drop CONFIG_DCACHE_RAM_MRC_VAR_SIZE from header file

2015-07-27 Thread Simon Glass
This is provided in Kconfig so we don't need it here. Signed-off-by: Simon Glass --- include/configs/x86-chromebook.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/x86-chromebook.h b/include/configs/x86-chromebook.h index d5dd619..2be8850 100644 --- a/include/configs/x86-ch

[U-Boot] [PATCH 13/15] x86: minnowmax: Drop the old PCI settings

2015-07-27 Thread Simon Glass
These are now in the device tree so we don't need to use the CONFIG options. Drop them. Signed-off-by: Simon Glass --- include/configs/minnowmax.h | 12 1 file changed, 12 deletions(-) diff --git a/include/configs/minnowmax.h b/include/configs/minnowmax.h index 6dad2b1..cdbb65d 10

[U-Boot] [PATCH 12/15] x86: Split out fsp_init_phase_pci() code into a new function

2015-07-27 Thread Simon Glass
This code may be useful for boards that use driver model for PCI. Note: It would be better to have driver model automatically call this function somehow. However for now it is probably safer to have it under board control. Signed-off-by: Simon Glass --- arch/x86/include/asm/fsp/fsp_support.h |

[U-Boot] [PATCH 15/15] x86: Update README to explain booting Ubuntu on Minnowmax

2015-07-27 Thread Simon Glass
The steps required to boot a Linux distribution from U-Boot on x86 are not very complicated, but it is a good idea to have these written down in an accessible place. Document how to examine the boot media from U-Boot, how to load a kernel, load a ramdisk, set the kernel boot arguments and start th

[U-Boot] [PATCH 10/15] x86: dts: Fix typo in intel,irq-router.txt

2015-07-27 Thread Simon Glass
Fix a small typo in this binding file. Signed-off-by: Simon Glass --- doc/device-tree-bindings/misc/intel,irq-router.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/device-tree-bindings/misc/intel,irq-router.txt b/doc/device-tree-bindings/misc/intel,irq-router.t

[U-Boot] [PATCH 08/15] x86: Re-order efi-x86_defconfig

2015-07-27 Thread Simon Glass
Use savedefconfig to get this file into the correct order. Signed-off-by: Simon Glass --- configs/efi-x86_defconfig | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/configs/efi-x86_defconfig b/configs/efi-x86_defconfig index 199f320..d4530dd 100644 --- a/configs/efi-

[U-Boot] [PATCH 14/15] RFC: x86: minnowmax: Add interrupt routing setup

2015-07-27 Thread Simon Glass
At present minnowmax does not correct set up PCI interrupts. This should be done in U-Boot so that devices work correctly in Linux. Note: This code needs to make use of the recent pirq_routing work. It does not seem to support all the required features, so this RFC will hopefully help figure this

[U-Boot] [PATCH 02/15] pci: Indicate prefetchable memory allocate when debugging

2015-07-27 Thread Simon Glass
At present the PCI output displays 'Mem' when it allocates memory for a PCI device, whether it is prefetchable or not. There is a distinction since the memory comes from separate pools. Use 'Prf' instead of 'Mem' when allocating prefetchable memory. Signed-off-by: Simon Glass --- drivers/pci/pc

[U-Boot] [PATCH 11/15] x86: Tidy up the PIRQ routing code a little

2015-07-27 Thread Simon Glass
This code could use a little tightening up. There is some repetition and an odd use of fdtdec_get_int_array(). Signed-off-by: Simon Glass --- arch/x86/cpu/irq.c | 40 +--- 1 file changed, 13 insertions(+), 27 deletions(-) diff --git a/arch/x86/cpu/irq.c b/ar

[U-Boot] [PATCH 06/15] x86: Move Chrome OS options to defconfig

2015-07-27 Thread Simon Glass
Drop these from the header file and use Kconfig instead. Signed-off-by: Simon Glass --- configs/chromebook_link_defconfig | 3 +++ configs/chromebox_panther_defconfig | 3 +++ include/configs/x86-chromebook.h| 3 --- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/configs/c

[U-Boot] [PATCH 07/15] x86: Move CONFIG_X86_SERIAL to Kconfig

2015-07-27 Thread Simon Glass
Move this config option to Kconfig and tidy up. Signed-off-by: Simon Glass --- configs/efi-x86_defconfig| 1 + drivers/serial/Kconfig | 10 ++ include/configs/crownbay.h | 1 - include/configs/galileo.h| 2 -- include/configs/minnowmax.h | 1 - i

[U-Boot] [PATCH 04/15] dm: pci: Provide friendly config access functions

2015-07-27 Thread Simon Glass
At present there are no PCI functions which allow access to PCI configuration using a struct udevice. This is a sad situation for driver model as it makes use of PCI harder. Add these functions. Signed-off-by: Simon Glass --- drivers/pci/pci-uclass.c | 76 +++

[U-Boot] [PATCH 01/15] pci: Add a constant for an invalid interrupt

2015-07-27 Thread Simon Glass
Rather than using 0xff in the code, add a constant. Signed-off-by: Simon Glass --- drivers/pci/pci.c | 3 ++- include/pci.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 157491c..9dd245c 100644 --- a/drivers/pci/pci.c +++ b

[U-Boot] [PATCH 05/15] dm: pci: Add a way to iterate through all PCI devices

2015-07-27 Thread Simon Glass
These functions allow iteration through all PCI devices including bridges. The children of each PCI bus are returned in turn. This can be useful for configuring, checking or enumerating all the devices. Signed-off-by: Simon Glass --- drivers/pci/pci-uclass.c | 58 +++

[U-Boot] [PATCH 03/15] dm: Add a return value comment to device_get_child()

2015-07-27 Thread Simon Glass
At present this function does not specify its return value. Fix it. Signed-off-by: Simon Glass --- include/dm/device.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dm/device.h b/include/dm/device.h index 9fa0048..dd9cef4 100644 --- a/include/dm/device.h +++ b/include/dm/device.

Re: [U-Boot] [PATCH 1/3] nand: lpc32xx: add SLC NAND driver

2015-07-27 Thread LEMIEUX, SYLVAIN
Hi Vladimir and Albert, See comment, questions and test results below; > From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] > Sent: 18-Jul-15 1:50 AM > > Hello Vladimir, > > On Sat, 18 Jul 2015 02:10:01 +0300, Vladimir Zapolskiy > wrote: > > Hi Sylvain, Albert, > > > > On 18.07.2015 01:24,

Re: [U-Boot] [PATCH] mmc:fsl_esdhc invalidate dcache before read

2015-07-27 Thread York Sun
On 07/26/2015 03:20 AM, Stefano Babic wrote: > I apply it to u-boot-imx - merging into mainline, we will have more > chances to get it tested on PowerPc. > > Applied to u-boot-imx, thanks ! > Sorry I didn't see this thread until Stefano CC'ed me. I will see if I can test it on powerpc boards.

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

2015-07-27 Thread Nishanth Menon
Implement logic for ACR(Auxiliary Control Register) configuration using ROM Code smc service. Suggested-by: Richard Woodruff Suggested-by: Brad Griffis Reviewed-by: Brad Griffis Signed-off-by: Nishanth Menon --- arch/arm/cpu/armv7/omap5/hwinit.c | 6 ++ arch/arm/include/asm/arch

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

2015-07-27 Thread Nishanth Menon
DRA72x processor variants are single core and it does not export ACP[1]. Hence, we have no source for generating an external snoop requests which appear to be key to the deadlock in DRA72x design. Since we build the same image for DRA74x and DRA72x platforms, lets runtime detect and disable the wo

[U-Boot] [PATCH V2 0/3] ARM: DRA74x: Provide support for ARM erratum 801819

2015-07-27 Thread Nishanth Menon
Provide support ARM erratum 801819 with capability to disable write streaming. Obvioulsy on SMP systems such as DRA74x/OMAP5, this will benefit only CPU0. CPU1 when made online in HLOS such as linux kernel will need similar workaround as well. Ignoring v1 of the patch completely here. Nishanth

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

2015-07-27 Thread Nishanth Menon
Add workaround for Cortex-A15 ARM erratum 801819 which says in summary that "A livelock can occur in the L2 cache arbitration that might prevent a snoop from completing. Under certain conditions this can cause the system to deadlock. " Recommended workaround is as follows: Do both of the following

[U-Boot] U-Boot Build Failure

2015-07-27 Thread Bowman, Nicholas W (349C-Affiliate)
To whom it may concern, My name is Nicholas Bowman and I am currently a summer intern at NASA’s Jet Propulsion Laboratory working on developing bootloaders for hardware boards designed to fly on CubeSat missions. I have recently been working with U-Boot and more specifically the U-Boot-Sparc br

[U-Boot] [PATCH 152/172] ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 8

2015-07-27 Thread Marek Vasut
The search_stop_check() always resets the bit_chk to a new value, so bit_chk will never survive between search_left_edge() and search_right_edge() invocation. There is thus no need to pass it into these functions, so make bit_chk local to them. Signed-off-by: Marek Vasut --- drivers/ddr/altera/s

  1   2   3   4   >