[U-Boot] [PATCH] driver: misc: add MXC_OCOTP Kconfig entry

2015-08-26 Thread Peng Fan
Add MXC_OCOTP Kconfig entry. Signed-off-by: Peng Fan Cc: Simon Glass Cc: Stefano Babic Cc: Fabio Estevam --- This patch depends on https://patchwork.ozlabs.org/patch/510743/ which correct the FSL_SEC_MON Kconfig entry. drivers/misc/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff

Re: [U-Boot] DWMMC crontroller in Exynos4412

2015-08-26 Thread Przemyslaw Marczak
Hi Humberto, On 08/26/2015 07:24 PM, Humberto López León wrote: Hi Przemyslaw, On 08/26/2015 10:12 AM, Przemyslaw Marczak wrote: Hi Humberto, On 08/26/2015 03:40 PM, Humberto López León wrote: Hi community, thank you all for answering my questions. On 08/26/2015 02:53 AM, Przemyslaw Marcza

Re: [U-Boot] [PATCH] t1040d4rdb: assign muxed pins to qe-tdm when set hwconfig qe-tdm

2015-08-26 Thread Kushwaha Prabhakar
> -Original Message- > From: Zhao Qiang [mailto:qiang.z...@freescale.com] > Sent: Thursday, August 27, 2015 10:56 AM > To: Kushwaha Prabhakar-B32579 > Cc: u-boot@lists.denx.de; Sun York-R58495 ; Jain > Priyanka-B32167 ; Zhao Qiang-B45475 > > Subject: [PATCH] t1040d4rdb: assign muxed pins

[U-Boot] [PATCH] t1040d4rdb: assign muxed pins to qe-tdm when set hwconfig qe-tdm

2015-08-26 Thread Zhao Qiang
qe-tdm is muxed with diu, if hwconfig setted as qe-tdm, assign muxed pins to qe-tdm, then delete diu node from device tree. Signed-off-by: Zhao Qiang --- board/freescale/t104xrdb/cpld.h | 1 + board/freescale/t104xrdb/t104xrdb.c | 19 +++ 2 files changed, 20 insertions(+) d

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Chin Liang See
On Wed, 2015-08-26 at 15:58 +0200, ma...@denx.de wrote: > On Wednesday, August 26, 2015 at 03:42:36 PM, Chin Liang See wrote: > > On Wed, 2015-08-26 at 15:37 +0200, ma...@denx.de wrote: > > > On Wednesday, August 26, 2015 at 03:13:15 PM, Chin Liang See wrote: > > > > > > Hi, > > > > > > [...] > >

Re: [U-Boot] [PATCH 01/10] configs: remove remnants of CONFIG_SYS_NAND_QUIET_TEST

2015-08-26 Thread Stefan Roese
On 26.08.2015 16:54, Igor Grinberg wrote: The config option has been removed by one of the syncs with the Linux mainline MTD subsystem: ff94bc40af (mtd, ubi, ubifs: resync with Linux-3.14) It has been left inside the config files. Currently does not look to serve any purpose, so remove it now fro

Re: [U-Boot] [RFC v3 PATCH 2/4] pinctrl: add pin control uclass support

2015-08-26 Thread Masahiro Yamada
Hi Simon I missed to answer the first of the two. 2015-08-26 12:06 GMT+09:00 Simon Glass : > Two more things: > - What to do about tests? > - Please can you check my patches here and provide your comments: > > http://patchwork.ozlabs.org/patch/510082/ > http://patchwork.ozlabs.org/patch/510079/

Re: [U-Boot] [PATCH v4 03/33] pinctrl: Add the concept of peripheral IDs

2015-08-26 Thread Masahiro Yamada
2015-08-26 22:20 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 25 August 2015 at 21:51, Masahiro Yamada > wrote: >> 2015-08-26 13:38 GMT+09:00 Simon Glass : >>> Hi Masahiro, >>> >>> On 25 August 2015 at 21:30, Masahiro Yamada >>> wrote: Hi Simon, 2015-08-25 0:12 GMT+09:00

Re: [U-Boot] [PATCH] omap-common: SYS_BOOT fallback logic correction

2015-08-26 Thread Hannes Schmelzer
On 2015-08-27 00:59, Paul Kocialkowski wrote: Le mercredi 26 août 2015 à 09:23 -0400, Tom Rini a écrit : On Wed, Aug 26, 2015 at 12:51:07PM +0200, Paul Kocialkowski wrote: [snip] On all OMAP platforms, USB peripheral loading is done via bulk USB and I suspect it is the same on am33xx platforms

[U-Boot] [PATCH v5 0/3] add pinctrl driver framework

2015-08-26 Thread Masahiro Yamada
I am trying my best to have this subsystem as DT-compatible with Linux as possible, also saving memory foot print as a boot loader. It would be very appreciated if Linus Walleij, the maintainer of pinctrl subsystem in Linux, would check this series if he could find some time. Masahiro Yamada (3

[U-Boot] [PATCH v5 3/3] pinctrl: sandbox: add sandbox pinctrl driver

2015-08-26 Thread Masahiro Yamada
This driver actually does nothing but test pinctrl uclass, and demonstrate how things work. To try this driver, uncomment /* #define DEBUG */ in the drivers/pinctrl/pinctrl-sandbox.c, and debug messages will be displayed. DRAM: 128 MiB sandbox pinmux: group = 1 (serial_a), function = 1 (seri

[U-Boot] [PATCH v5 2/3] pinctrl: add pin control uclass support

2015-08-26 Thread Masahiro Yamada
This creates a new framework for handling of pin control devices, i.e. devices that control different aspects of package pins. This uclass handles pinmuxing and pin configuration; pinmuxing controls switching among silicon blocks that share certain physical pins, pin configuration handles electron

[U-Boot] [PATCH v5 1/3] dm: core: allow device_bind() to not return a device pointer

2015-08-26 Thread Masahiro Yamada
This is useful when we want to bind a device, but do not need the pointer to the device. Signed-off-by: Masahiro Yamada Acked-by: Simon Glass --- Changes in v5: None Changes in v4: - Change the subject as suggested by Simon - Update the function comments for device_bind() and some other

Re: [U-Boot] [PATCH] arm: imx: imx-common: init: move arch init common setup

2015-08-26 Thread Peng Fan
Hi Adrian, Since this is only for mx6, why move the code to imx-common? " > ifeq ($(SOC),$(filter $(SOC),mx6)) >-obj-y += cache.o >+obj-y += cache.o init.o " Also many pieces of code are only for imx6, imx7 do not need them for now, such as the ldo ramp part. I think basic imx7

Re: [U-Boot] [PATCH] arm: imx: common rework cache settings for imx6

2015-08-26 Thread Peng Fan
Hi Adrian, On Wed, Aug 26, 2015 at 06:27:42PM -0500, Adrian Alonso wrote: >Rework cache settings for imx6, move cache configuration >to imx-common/cache.c so it can be reused for newer SoC Better not do this now. See below comments. > >Signed-off-by: Adrian Alonso >--- > arch/arm/cpu/armv7/mx6/

[U-Boot] [PATCH 09/10] ti: omap/am: move CONFIG_CMD_I2C to defconfig

2015-08-26 Thread Igor Grinberg
Make more use of the Kconfig and move CONFIG_CMD_I2C config option to defconfigs for ti omap/am based boards. Signed-off-by: Igor Grinberg Cc: Yegor Yefremov Cc: Enric Balletbo i Serra Cc: Lokesh Vutla Cc: Felipe Balbi Cc: Gilles Gameiro Cc: "Albert ARIBAUD (3ADEV)" Cc: Nikita Kiryanov Cc:

Re: [U-Boot] Please pull u-boot-x86.git

2015-08-26 Thread Tom Rini
On Wed, Aug 26, 2015 at 02:26:03PM -0700, Simon Glass wrote: > Hi Tom, > > The includes ACPI support for the first time and quite a few fixes: > microcode for newer Minnowmax boards, coreboot booting, i8042 > keyboard, Minnowmax GPIO and getting serial running on crownbay. > > It also includes t

[U-Boot] [PATCH 07/10] ti: omap/am: move CONFIG_CMD_BOOTZ to defconfig

2015-08-26 Thread Igor Grinberg
Make more use of the Kconfig and move CONFIG_CMD_BOOTZ config option to defconfigs for ti omap/am based boards. Signed-off-by: Igor Grinberg Cc: Yegor Yefremov Cc: Enric Balletbo i Serra Cc: Lokesh Vutla Cc: Felipe Balbi Cc: Gilles Gameiro Cc: "Albert ARIBAUD (3ADEV)" Cc: Nikita Kiryanov C

[U-Boot] [PATCH 06/10] ti: omap/am: move CONFIG_HUSH_PARSER to defconfig

2015-08-26 Thread Igor Grinberg
Make more use of the Kconfig and move CONFIG_HUSH_PARSER config option to defconfigs for ti omap/am based boards. Signed-off-by: Igor Grinberg Cc: Yegor Yefremov Cc: Enric Balletbo i Serra Cc: Lokesh Vutla Cc: Felipe Balbi Cc: Gilles Gameiro Cc: "Albert ARIBAUD (3ADEV)" Cc: Nikita Kiryanov

[U-Boot] [PATCH 10/10] ti: omap/am: move CONFIG_BOOTDELAY to defconfig

2015-08-26 Thread Igor Grinberg
Make more use of the Kconfig and move CONFIG_BOOTDELAY config option to defconfigs for ti omap/am based boards. Signed-off-by: Igor Grinberg Cc: Yegor Yefremov Cc: Enric Balletbo i Serra Cc: Lokesh Vutla Cc: Felipe Balbi Cc: Gilles Gameiro Cc: "Albert ARIBAUD (3ADEV)" Cc: Nikita Kiryanov C

[U-Boot] [PATCH 01/10] configs: remove remnants of CONFIG_SYS_NAND_QUIET_TEST

2015-08-26 Thread Igor Grinberg
The config option has been removed by one of the syncs with the Linux mainline MTD subsystem: ff94bc40af (mtd, ubi, ubifs: resync with Linux-3.14) It has been left inside the config files. Currently does not look to serve any purpose, so remove it now from all the configs. Signed-off-by: Igor Grin

[U-Boot] [PATCH 08/10] ti: omap/am: move CONFIG_CMD_NAND to defconfig

2015-08-26 Thread Igor Grinberg
Make more use of the Kconfig and move CONFIG_CMD_NAND config option to defconfigs for ti omap/am based boards. Signed-off-by: Igor Grinberg Cc: Yegor Yefremov Cc: Enric Balletbo i Serra Cc: Lokesh Vutla Cc: "Albert ARIBAUD (3ADEV)" Cc: Nikita Kiryanov Cc: Thomas Weber Cc: Steve Sakoman Cc:

[U-Boot] [PATCH 02/10] Kconfig: fix typo in CONFIG_FIT description

2015-08-26 Thread Igor Grinberg
Fix typo in CONFIG_FIT description - remove the accidentially added redundand 'the'. Signed-off-by: Igor Grinberg Cc: Masahiro Yamada Cc: Simon Glass --- Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kconfig b/Kconfig index 05a34f7..f364a7a 100644 --- a/Kconfig ++

[U-Boot] [PATCH 00/10] Kconfig and ti omap configs tidy up

2015-08-26 Thread Igor Grinberg
The patch set is aimed to transferring several config options from the old config.h configuration style to the new Kconfig framework and also move some of the existing (in Kconfig) ones from config.h style to the defconfig style in the ti-omap land. It is based on the 7d31c6a (Merge git://git.denx

[U-Boot] [PATCH 05/10] ti: omap3: config: remove 1 from boolean define

2015-08-26 Thread Igor Grinberg
CONFIG_TWL4030_POWER is a boolean define variable. It is either defined or not defined and should not have a value assigned to it. Remove the value. Signed-off-by: Igor Grinberg --- include/configs/ti_omap3_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/conf

[U-Boot] [PATCH 04/10] Kconfig: add CONFIG_CMD_BOOTZ

2015-08-26 Thread Igor Grinberg
Add CONFIG_CMD_BOOTZ to the Kconfig. Since the CONFIG_CMD_BOOTZ cannot live without the CONFIG_CMD_BOOTM, make it select the CONFIG_CMD_BOOTM. Signed-off-by: Igor Grinberg Cc: Masahiro Yamada Cc: Simon Glass --- common/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/common/Kc

[U-Boot] [PATCH 03/10] Kconfig: add CONFIG_BOOTDELAY

2015-08-26 Thread Igor Grinberg
Add CONFIG_BOOTDELAY to the Kconfig. To make the transition easier, we define CONFIG_AUTOBOOT_BOOTDELAY to actually enable the CONFIG_BOOTDELAY Kconfig setting. Once all boards finish transitioning to Kconfig, we can remove the CONFIG_AUTOBOOT_BOOTDELAY and just leave the CONFIG_BOOTDELAY unguarded

[U-Boot] [PATCH] lpc32xx: remove duplicated DMA_CLK_ENABLE bit definition

2015-08-26 Thread Vladimir Zapolskiy
Because there is an originally defined CLK_DMA_ENABLE macro in clk.h, no reason to add another DMA_CLK_ENABLE macro with the same value. Remove DMA_CLK_ENABLE, since it does not follow naming convention from the code, this implies renaming of DMA_CLK_ENABLE to CLK_DMA_ENABLE in lpc32xx/devices.c f

Re: [U-Boot] [PATCH v5 09/13] imx: imx7d: Add SoC system support

2015-08-26 Thread Alonso Adrian
Hi Stefano, > -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: Sunday, August 23, 2015 1:21 PM > To: Alonso Lazcano Adrian-B38018 ; u- > b...@lists.denx.de; sba...@denx.de; Estevam Fabio-R49496 > > Cc: ota...@ossystems.com.br; Li Frank-B20596 ; > Garg Nitin-B37173

[U-Boot] [PATCH] arm: imx: common rework cache settings for imx6

2015-08-26 Thread Adrian Alonso
Rework cache settings for imx6, move cache configuration to imx-common/cache.c so it can be reused for newer SoC Signed-off-by: Adrian Alonso --- arch/arm/cpu/armv7/mx6/soc.c | 95 --- arch/arm/imx-common/Makefile | 1 + arch/arm/imx-common/cache.c | 103 +

[U-Boot] [PATCH] arm: imx: imx-common: init: move arch init common setup

2015-08-26 Thread Adrian Alonso
Move common imx6 arch init setup, init.c can be extended and reused to support imx7 SoC keeping init arch common code. Signed-off-by: Adrian Alonso --- Apply patch on top of: arm: imx: common rework cache settings for imx6 arch/arm/cpu/armv7/mx6/soc.c | 274 -

Re: [U-Boot] [PATCH] omap-common: SYS_BOOT fallback logic correction

2015-08-26 Thread Tom Rini
On Thu, Aug 27, 2015 at 12:59:31AM +0200, Paul Kocialkowski wrote: > Le mercredi 26 août 2015 à 09:23 -0400, Tom Rini a écrit : > > On Wed, Aug 26, 2015 at 12:51:07PM +0200, Paul Kocialkowski wrote: > > > > [snip] > > > On all OMAP platforms, USB peripheral loading is done via bulk USB and I > > >

Re: [U-Boot] [PATCH] omap-common: SYS_BOOT fallback logic correction

2015-08-26 Thread Paul Kocialkowski
Le mercredi 26 août 2015 à 09:23 -0400, Tom Rini a écrit : > On Wed, Aug 26, 2015 at 12:51:07PM +0200, Paul Kocialkowski wrote: > > [snip] > > On all OMAP platforms, USB peripheral loading is done via bulk USB and I > > suspect it is the same on am33xx platforms. > > Actually no! :( > > On OMAP3

[U-Boot] [PATCH v5 0/5] spi: cadence_qspi: optimize & fix indirect rd-writes

2015-08-26 Thread Vikas Manocha
This patchset: - fixes trigger base & transfer start address register programming. This fix superseeds the previous patch "spi: cadence_qspi: Fix the indirect ahb trigger address setting". - adds support to get fifo width from device tree Changes in v5: - fixed compilation warnings. Changes in v4

[U-Boot] [PATCH v5 4/5] spi: cadence_qspi: rename ahbbase to flashbase for clarity

2015-08-26 Thread Vikas Manocha
plat->ahbbase renamed to plat->flashbase for better clarity. Signed-off-by: Vikas Manocha --- Changes in v5: none Changes in v4: new drivers/spi/cadence_qspi.c |8 drivers/spi/cadence_qspi.h |4 ++-- drivers/spi/cadence_qspi_apb.c |4 ++-- 3 files changed, 8 insert

[U-Boot] [PATCH v5 2/5] spi: cadence_qspi: fix indirect read/write start address

2015-08-26 Thread Vikas Manocha
Indirect read/write start addresses are flash start addresses for indirect read or write transfers. These should be absolute flash addresses instead of offsets. Signed-off-by: Vikas Manocha --- Changes in v5: fixed type cast compilation warnings. Changes in v4: removed extra type casts. Changes

[U-Boot] [PATCH v5 3/5] spi: cadence_qspi: fix base trigger address & transfer start address

2015-08-26 Thread Vikas Manocha
This patch is to separate the base trigger from the read/write transfer start addresses. Base trigger register address (0x1c register) corresponds to the address which should be put on AHB bus to handle indirect transfer triggered before. To handle indirect transfer we need to issue addresses fro

[U-Boot] [PATCH v5 1/5] spi: cadence_qspi: move trigger base configuration in init

2015-08-26 Thread Vikas Manocha
No need to configure indirect trigger address for every read/write. Signed-off-by: Vikas Manocha --- Changes in v5: fixed type cast compilation warnings. Changes in v4: removed extra type casts. Changes in v3: added commit message & removed extra bracket. Changes in v2: Rebased to master drive

[U-Boot] [PATCH v5 5/5] spi: cadence_qspi: get fifo width from device tree

2015-08-26 Thread Vikas Manocha
Fifo width could be different on different socs, e.g. stv0991 & altera soc have different fifo width. Signed-off-by: Vikas Manocha --- Changes in v5: none Changes in v4: alligned to linux device tree binding. Changes in v3: none Changes in v2: Rebased to master arch/arm/dts/socfpga.dtsi |

[U-Boot] Please pull u-boot-x86.git

2015-08-26 Thread Simon Glass
Hi Tom, The includes ACPI support for the first time and quite a few fixes: microcode for newer Minnowmax boards, coreboot booting, i8042 keyboard, Minnowmax GPIO and getting serial running on crownbay. It also includes the patch to fix the e1000 build warning. I put that first so that the broken

Re: [U-Boot] Exynos 5800/5422 CPU ID inconsistency.

2015-08-26 Thread Sjoerd Simons
On Wed, 2015-08-26 at 06:37 -0700, Simon Glass wrote: > Hi Przemyslaw, > > On 26 August 2015 at 06:09, Przemyslaw Marczak > wrote: > > Hello, > > > > The s5p_cpu_id variable is set in here: > > arch/arm/mach-exynos/include/mach/cpu.h > > > > For value 0x422, found in pro id register, the s5p_cp

[U-Boot] [PATCH 2/2] tools/mkimage.c: Clarify help text for -D slightly

2015-08-26 Thread Tom Rini
Try and make it clear that -D will replace all arguments passed to dtc and is not appending them. Signed-off-by: Tom Rini --- tools/mkimage.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkimage.c b/tools/mkimage.c index e81d455..22449cc 100644 --- a/tools/mkimage

[U-Boot] [PATCH 1/2] tools/atmelimage.c: Fix warning when debug is enabled

2015-08-26 Thread Tom Rini
Otherwise we get: tools/atmelimage.c:134:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat=] debug("atmelimage: interrupt vector #%d is 0x%08X\n", pos+1, ^ Signed-off-by: Tom Rini --- tools/atmelimage.c |2 +- 1 file changed, 1 insertion(+),

Re: [U-Boot] [PATCH 3/4] mtd: nand: Make CONFIG_SYS_NAND_U_BOOT_OFFS configurable through Kconfig

2015-08-26 Thread Scott Wood
On Wed, 2015-08-26 at 19:38 +0100, Ian Campbell wrote: > On Sat, 2015-08-22 at 20:13 +0200, Hans de Goede wrote: > > Make CONFIG_SYS_NAND_U_BOOT_OFFS configurable through Kconfig, just > > like > > SYS_NAND_BUSWIDTH_16BIT this is only enabled on some SoCs using > > depends, > > to avoid double de

Re: [U-Boot] [PATCH 4/4] sunxi: Add inet97fv2_defconfig

2015-08-26 Thread Ian Campbell
On Sat, 2015-08-22 at 20:13 +0200, Hans de Goede wrote: > -F: configs/Mele_A1000G_quad_defconfig > [...] > +F: configs/Mele_A1000G_quad_defconfig Unintentional? Without that move: Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx

Re: [U-Boot] [PATCH 1/2] sunxi: Ampe_A76_defconfig: Add otg id pin configuration

2015-08-26 Thread Ian Campbell
On Tue, 2015-08-25 at 14:22 +0200, Hans de Goede wrote: > Add otg id pin configuration, this speeds up bootup when no host > cable > is plugged into the otg port. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@

Re: [U-Boot] [PATCH 2/2] sunxi: Add inet98v_rev2 defconfig and dts file

2015-08-26 Thread Ian Campbell
On Tue, 2015-08-25 at 14:22 +0200, Hans de Goede wrote: > The inet98v_rev2 is a pcb used in generic A13 based tablets. It > features > volume buttons, a power barrel, micro-usb otg, headphone connector > and > a power button. > > The dts file is identical to the one submitted to the upstream >

[U-Boot] [linux-sunxi][PATCH v2] sunxi: Add support for the Olimex A20 EVB

2015-08-26 Thread codekipper
From: Marcus Cooper Signed-off-by: Marcus Cooper --- Changes since v1: - modified dtb to reflect changes in the kernel --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun7i-a20-olimex-som-evb.dts | 244 ++ board/sunxi/MAINTAINERS

Re: [U-Boot] [PATCH 3/4] mtd: nand: Make CONFIG_SYS_NAND_U_BOOT_OFFS configurable through Kconfig

2015-08-26 Thread Ian Campbell
On Sat, 2015-08-22 at 20:13 +0200, Hans de Goede wrote: > Make CONFIG_SYS_NAND_U_BOOT_OFFS configurable through Kconfig, just > like > SYS_NAND_BUSWIDTH_16BIT this is only enabled on some SoCs using > depends, > to avoid double defining it for SoCs which have not yet moved to > Kconfig > for thi

Re: [U-Boot] [PATCH 2/4] sunxi_nand_spl: Remove NAND_SUNXI_SPL_SYNDROME_PARTITIONS_END

2015-08-26 Thread Ian Campbell
On Tue, 2015-08-25 at 09:18 +0200, Hans de Goede wrote: > Hi, > > On 24-08-15 19:02, Scott Wood wrote: > > On Sat, 2015-08-22 at 20:13 +0200, Hans de Goede wrote: > > > We only ever use syndrome mode for the partitions which contain > > > the SPL, > > > as that is required for the BROM to be able

Re: [U-Boot] [PATCH 1/4] sunxi_nand_spl: Rename SPL_NAND_SUNXI to NAND_SUNXI

2015-08-26 Thread Ian Campbell
On Sat, 2015-08-22 at 20:13 +0200, Hans de Goede wrote: > We eventually want to add full nand support, since it makes no sense > to build SPL with nand support and u-boot without, or the other way > around, a single option will suffice. > > Renaming the Kconfig option now makes things easier when

[U-Boot] [PATCH v3 1/5] net: expose eth_is_active() function to test network device state

2015-08-26 Thread Bernhard Nortmann
The previous eth_device struct returned by eth_get_dev() allowed code to directly query the state member field. However, with CONFIG_DM_ETH this data gets encapsulated (i.e. private), and eth_get_dev() returns a udevice struct 'abstraction' instead. This breaks legacy code relying on the former be

Re: [U-Boot] Pull request: nand flash master

2015-08-26 Thread Tom Rini
On Wed, Aug 26, 2015 at 12:57:14PM -0500, Scott Wood wrote: > On Wed, 2015-08-26 at 13:53 -0400, Tom Rini wrote: > > On Tue, Aug 25, 2015 at 10:54:26PM -0500, Scott Wood wrote: > > > > > The following changes since commit > > > c851a2458fbc12495f4f786d4eabb612850a5143: > > > > > > Merge git://

Re: [U-Boot] Pull request: nand flash master

2015-08-26 Thread Scott Wood
On Wed, 2015-08-26 at 13:53 -0400, Tom Rini wrote: > On Tue, Aug 25, 2015 at 10:54:26PM -0500, Scott Wood wrote: > > > The following changes since commit > > c851a2458fbc12495f4f786d4eabb612850a5143: > > > > Merge git://git.denx.de/u-boot-socfpga (2015-08-23 20:44:25 -0400) > > > > are availa

Re: [U-Boot] Pull request: nand flash master

2015-08-26 Thread Tom Rini
On Tue, Aug 25, 2015 at 10:54:26PM -0500, Scott Wood wrote: > The following changes since commit c851a2458fbc12495f4f786d4eabb612850a5143: > > Merge git://git.denx.de/u-boot-socfpga (2015-08-23 20:44:25 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-nand-fla

Re: [U-Boot] DWMMC crontroller in Exynos4412

2015-08-26 Thread Humberto López León
Hi Przemyslaw, On 08/26/2015 10:12 AM, Przemyslaw Marczak wrote: Hi Humberto, On 08/26/2015 03:40 PM, Humberto López León wrote: Hi community, thank you all for answering my questions. On 08/26/2015 02:53 AM, Przemyslaw Marczak wrote: Hi, On 08/26/2015 08:23 AM, Jaehoon Chung wrote: On 08

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Jagan Teki
On 26 August 2015 at 21:27, Tom Rini wrote: > On Wed, Aug 26, 2015 at 07:17:28PM +0530, Jagan Teki wrote: >> On 26 August 2015 at 13:00, Chin Liang See wrote: >> > On Wed, 2015-08-26 at 08:57 +0200, ma...@denx.de wrote: >> >> On Wednesday, August 26, 2015 at 02:09:55 AM, Chin Liang See wrote: >>

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2015-08-26 Thread Marek Vasut
On Wednesday, August 26, 2015 at 05:32:41 PM, Lukasz Majewski wrote: > Hi Marek, > > The following changes since commit > 25215622a3af013e28f16d1dd54a10ad8f73d15d: > > include: configs: am43xx_evm: add 'usb stop' in usbboot env > (2015-08-24 20:43:38 +0200) > > are available in the git repos

Re: [U-Boot] [PATCH v2 5/5] sunxi: add NetConsole by default for Banana Pi/Pro

2015-08-26 Thread Joe Hershberger
On Wed, Aug 26, 2015 at 7:36 AM, Bernhard Nortmann wrote: > Simon Glass and Joe Hershberger suggested adding at least one > test case for the CONFIG_DM_ETH plus CONFIG_NETCONSOLE options. > > This patch enables NetConsole as a default for the "Banana Pi/Pro" > sunxi boards. > > (By the nature of t

Re: [U-Boot] [PATCH v2 4/5] net: support NETCONSOLE option via Kconfig

2015-08-26 Thread Joe Hershberger
On Wed, Aug 26, 2015 at 7:35 AM, Bernhard Nortmann wrote: > This patch introduces CONFIG_NETCONSOLE as an option to the > Kconfig system. > > Joe Hershberger pointed out that it may not be entirely free of > problems, as many boards predating the driver model define this > symbol directly via incl

Re: [U-Boot] [PATCH v2 3/5] net: avoid eth_unregister() call when function is unavailable

2015-08-26 Thread Joe Hershberger
On Wed, Aug 26, 2015 at 7:35 AM, Bernhard Nortmann wrote: > CONFIG_NETCONSOLE causes common/bootm.c to call eth_unregister() > for network device shutdown. However, with CONFIG_DM_ETH this > function is no longer defined. > > This is a workaround to avoid the call in that case, and solely > rely o

Re: [U-Boot] [PATCH v2 2/5] net: fix netconsole when CONFIG_DM_ETH is set

2015-08-26 Thread Joe Hershberger
On Wed, Aug 26, 2015 at 7:35 AM, Bernhard Nortmann wrote: > This patches uses the eth_is_active() function to work around > issues that prevented compilation with the newer driver model. > > Signed-off-by: Bernhard Nortmann Acked-by: Joe Hershberger _

Re: [U-Boot] [PATCH v2 1/5] net: expose eth_is_active() function to test network device state

2015-08-26 Thread Joe Hershberger
Hi Bernhard, On Wed, Aug 26, 2015 at 7:35 AM, Bernhard Nortmann wrote: > The previous eth_device struct returned by eth_get_dev() allowed > code to directly query the state member field. However, with > CONFIG_DM_ETH this data gets encapsulated (i.e. private), and > eth_get_dev() returns a udevic

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Tom Rini
On Wed, Aug 26, 2015 at 07:17:28PM +0530, Jagan Teki wrote: > On 26 August 2015 at 13:00, Chin Liang See wrote: > > On Wed, 2015-08-26 at 08:57 +0200, ma...@denx.de wrote: > >> On Wednesday, August 26, 2015 at 02:09:55 AM, Chin Liang See wrote: > >> > Enable the quad output fast read and quad inpu

Re: [U-Boot] [PATCH v2 09/10] net: pch_gbe: Add Kconfig option

2015-08-26 Thread Joe Hershberger
Hi Bin, On Wed, Aug 26, 2015 at 10:34 AM, Bin Meng wrote: > Hi Joe, > > On Wed, Aug 26, 2015 at 11:23 PM, Joe Hershberger > wrote: >> Hi Bin, >> >> On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng wrote: >>> Add Kconfig option in preparation for moving board to use Kconfig. >>> >>> Signed-off-by: Bin

Re: [U-Boot] [PATCH v2 09/10] net: pch_gbe: Add Kconfig option

2015-08-26 Thread Bin Meng
Hi Joe, On Wed, Aug 26, 2015 at 11:23 PM, Joe Hershberger wrote: > Hi Bin, > > On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng wrote: >> Add Kconfig option in preparation for moving board to use Kconfig. >> >> Signed-off-by: Bin Meng >> >> --- >> >> Changes in v2: >> - Add PHYLIB Kconfig option and l

Re: [U-Boot] [PATCH v2 09/10] net: pch_gbe: Add Kconfig option

2015-08-26 Thread Joe Hershberger
Hi Bin, On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng wrote: > Add Kconfig option in preparation for moving board to use Kconfig. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - Add PHYLIB Kconfig option and let PCH_GBE select PHYLIB > > drivers/net/Kconfig | 15 +++ > 1 file

Re: [U-Boot] [PATCH v2 10/10] x86: crownbay: Enable CONFIG_PCH_GBE

2015-08-26 Thread Bin Meng
Hi Joe, On Wed, Aug 26, 2015 at 11:25 PM, Joe Hershberger wrote: > Hi Bin, > > On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng wrote: >> Now that we have converted the pch_gbe driver to driver moel, >> enable it on Intel Crown Bay board. >> >> Signed-off-by: Bin Meng >> Acked-by: Simon Glass >> >> -

[U-Boot] [GIT] Pull request: u-boot-dfu

2015-08-26 Thread Lukasz Majewski
Hi Marek, The following changes since commit 25215622a3af013e28f16d1dd54a10ad8f73d15d: include: configs: am43xx_evm: add 'usb stop' in usbboot env (2015-08-24 20:43:38 +0200) are available in the git repository at: ssh://gu-...@git.denx.de/u-boot-dfu/master for you to fetch changes up t

Re: [U-Boot] [PATCH v2 10/10] x86: crownbay: Enable CONFIG_PCH_GBE

2015-08-26 Thread Joe Hershberger
Hi Bin, On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng wrote: > Now that we have converted the pch_gbe driver to driver moel, > enable it on Intel Crown Bay board. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > > --- > > Changes in v2: > - Remove CONFIG_PHYLIB from crownbay.h > > configs/cro

Re: [U-Boot] [PATCH v2 09/10] net: pch_gbe: Add Kconfig option

2015-08-26 Thread Joe Hershberger
Hi Bin, On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng wrote: > Add Kconfig option in preparation for moving board to use Kconfig. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - Add PHYLIB Kconfig option and let PCH_GBE select PHYLIB > > drivers/net/Kconfig | 15 +++ > 1 file

Re: [U-Boot] [PATCH v2 04/10] dm: test: Add a new test case for dm_test_eth_rotate

2015-08-26 Thread Joe Hershberger
Hi Bin, On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng wrote: > Add one more ethernet device node in the sandbox test device tree, > with name 'sbe5'. This is to support a new test case for testing > network device rotation. > > Signed-off-by: Bin Meng Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v2 07/10] x86: crownbay: Convert to use CONFIG_DM_ETH for E1000

2015-08-26 Thread Joe Hershberger
Hi Bin, On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng wrote: > Since E1000 driver has been converted to driver model, enable it > on Intel Crown Bay. But the Intel Topcliff GbE driver has not been > converted to driver model yet, disable it for now. > > Signed-off-by: Bin Meng Acked-by: Joe Hershbe

Re: [U-Boot] [PATCH v2 05/10] dm: eth: Correctly detect alias in eth_get_dev_by_name()

2015-08-26 Thread Joe Hershberger
On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng wrote: > When given a device name string, we should test to see if it is > really an alias like "eth#". > > Signed-off-by: Bin Meng Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http:/

Re: [U-Boot] [PATCH v4 0/9] dfu: tftp: update: Support for DFU upgrades via ETH (TFTP)

2015-08-26 Thread Joe Hershberger
Hi Lukasz, On Wed, Aug 26, 2015 at 10:10 AM, Lukasz Majewski wrote: > Hi Joe, > >> Hi Lukasz, >> >> On Sun, Aug 23, 2015 at 5:21 PM, Lukasz Majewski >> wrote: >> > This commit series enables DFU subsystem to use ETH and TFTP >> > protocol as a medium for downloading data, which should bring >> >

Re: [U-Boot] [PATCH v4 0/9] dfu: tftp: update: Support for DFU upgrades via ETH (TFTP)

2015-08-26 Thread Lukasz Majewski
Hi Joe, > Hi Lukasz, > > On Sun, Aug 23, 2015 at 5:21 PM, Lukasz Majewski > wrote: > > This commit series enables DFU subsystem to use ETH and TFTP > > protocol as a medium for downloading data, which should bring > > substantial speedup for writing large files (like rootfs). > > > > Please read

Re: [U-Boot] [PATCH v2 01/10] net: Revert "tftp: adjust settings to be suitable for 100Mbit ethernet"

2015-08-26 Thread Bin Meng
Hi Joe, On Wed, Aug 26, 2015 at 10:50 PM, Joe Hershberger wrote: > On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng wrote: >> Commit 620776d "tftp: adjust settings to be suitable for 100Mbit ethernet" >> causes the following error message when trying to load a file using 'tftp' >> command via a tftp se

Re: [U-Boot] [PATCH v3 2/7] x86: i8042: Reorder static functions

2015-08-26 Thread Simon Glass
On 24 August 2015 at 01:00, Bin Meng wrote: > Reorder those static function so that their declarations > can be removed. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > > --- > > Changes in v3: None > Changes in v2: > - Split of reordering static functions into this patch > > drivers/inpu

Re: [U-Boot] [PATCH v2 02/10] net: e1000: Fix build warnings for 32-bit

2015-08-26 Thread Simon Glass
On 26 August 2015 at 07:42, Joe Hershberger wrote: > Hi Bin, > > On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng wrote: >> commit 6497e37 "net: e1000: Support 64-bit physical address" causes >> compiler warnings on 32-bit U-Boot build below. >> >> drivers/net/e1000.c: In function 'e1000_configure_tx':

Re: [U-Boot] [PATCH v3 5/7] video: cfb_console: Allow VGA device to work without i8042 keyboard

2015-08-26 Thread Simon Glass
On 25 August 2015 at 00:54, Anatolij Gustschin wrote: > Hi Simon, > > On Mon, 24 Aug 2015 22:13:41 -0600 > Simon Glass wrote: > >> On 24 August 2015 at 02:00, Bin Meng wrote: >> > So far if CONFIG_VGA_AS_SINGLE_DEVICE is not defined, the VGA device >> > will try to initialize a keyboard device (

Re: [U-Boot] [PATCH v3 7/7] video: ct69000: Remove unused codes

2015-08-26 Thread Simon Glass
On 25 August 2015 at 00:49, Anatolij Gustschin wrote: > On Mon, 24 Aug 2015 01:00:09 -0700 > Bin Meng wrote: > >> Remove unused CONFIG_USE_CPCIDVI wrapped codes. >> >> Signed-off-by: Bin Meng > > Acked-by: Anatolij Gustschin Applied to u-boot-x86, thanks! __

Re: [U-Boot] [PATCH v3 3/7] x86: i8042: Clean up the driver per coding convention

2015-08-26 Thread Simon Glass
On 24 August 2015 at 01:00, Bin Meng wrote: > - Rename CamelCase variables to conform U-Boot coding convention > - Rename wait_until_kbd_output_full() to kbd_output_full() > - Change to use macros for i8042 command and control register bits > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > >

Re: [U-Boot] [PATCH v2 4/9] x86: minnowmax: Correct pad-offset value for host_en1

2015-08-26 Thread Simon Glass
On 22 August 2015 at 14:58, Simon Glass wrote: > This should be 0x250, not 0x258. Fix it. > > Reported-by: Andrew Bradford > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/dts/minnowmax.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-x86. __

Re: [U-Boot] [PATCH v2 3/9] dm: pci: Add a comment to help find pci_hose_read_config_byte, etc.

2015-08-26 Thread Simon Glass
On 22 August 2015 at 14:58, Simon Glass wrote: > These functions are defined by macros so do not show up with grep. Add > a comment to help. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v2: > - Fix 'micros' typo > > include/pci.h | 1 + > 1 file changed, 1 inserti

Re: [U-Boot] [PATCH v4 2/4] dm: core: Fix code reentrancy issue in device_probe_child()

2015-08-26 Thread Simon Glass
On 24 August 2015 at 22:04, Simon Glass wrote: > On 24 August 2015 at 02:14, Bin Meng wrote: >> The device might have already been probed during the call to >> device_probe() on its parent device (e.g. PCI bridge devices). >> In its parent device's probe routine, it might probe all of >> its chil

Re: [U-Boot] [PATCH v4 1/4] dm: pci: Optimize pci_uclass_post_bind()

2015-08-26 Thread Simon Glass
On 24 August 2015 at 01:14, Bin Meng wrote: > If there is no pci device listed in the device tree, > don't bother scanning the device tree. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > > --- > > Changes in v4: None > Changes in v3: > - Rebase on u-boot-x86/master > - Drop v2 patches whi

Re: [U-Boot] [PATCH v2 03/10] dm: eth: Do not print misleading "Net Initialization Skipped"

2015-08-26 Thread Joe Hershberger
On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng wrote: > With driver model, board_eth_init() or cpu_eth_init() is not a must. > Thus we don't need print a misleading "Net Initialization Skipped". > > Signed-off-by: Bin Meng Acked-by: Joe Hershberger ___ U-B

Re: [U-Boot] [PATCH v3 1/7] x86: i8042: Remove unused codes

2015-08-26 Thread Simon Glass
On 24 August 2015 at 21:13, Simon Glass wrote: > On 24 August 2015 at 02:00, Bin Meng wrote: >> Remove unused CONFIG_USE_CPCIDVI wrapped codes. >> >> Signed-off-by: Bin Meng >> >> --- >> >> Changes in v3: >> - Keep i8042_flush(), i8042_disable() and board_i8042_skip() >> >> Changes in v2: >> - S

Re: [U-Boot] [PATCH v3 6/7] x86: crownbay: Enable on-board SMSC superio keyboard controller

2015-08-26 Thread Simon Glass
On 24 August 2015 at 01:00, Bin Meng wrote: > So far we only enabled one legacy serial port on the SMSC LPC47m > superio chipset on Intel Crown Bay board. As the board also has > dual PS/2 ports routed out, enable the keyboard controller which > is i8042 compatible so that we can use PS/2 keyboard

Re: [U-Boot] [PATCH v3 4/7] x86: i8042: Correctly initialize the controller

2015-08-26 Thread Simon Glass
On 24 August 2015 at 01:00, Bin Meng wrote: > The existing i8042 keyboard controller driver has some issues. > First of all, it does not issue a self-test command (0xaa) to the > controller at the very beginning. Without this, the controller > does not respond to any command at all. Secondly, it i

Re: [U-Boot] [PATCH v4 4/4] dm: pci: Document binding of pci device drivers

2015-08-26 Thread Simon Glass
On 24 August 2015 at 01:14, Bin Meng wrote: > Document how pci devices are bound to device drivers. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > > --- > > Changes in v4: None > Changes in v3: None > > doc/driver-model/pci-info.txt | 71 > +-- >

Re: [U-Boot] [PATCH v4 3/4] x86: crownbay: Support Topcliff integrated pci uart devices with driver model

2015-08-26 Thread Simon Glass
On 24 August 2015 at 01:14, Bin Meng wrote: > In order to make a pci uart device node to be properly bound to its > driver, we need make sure its parent node has a compatible string > which matches a driver that scans all of its child device nodes in > the device tree. > > Change all pci bridge no

Re: [U-Boot] [PATCH v2 6/9] x86: gpio: Correct calls to _ich6_gpio_set_direction()

2015-08-26 Thread Simon Glass
On 22 August 2015 at 14:58, Simon Glass wrote: > These calls seem to be incorrect. The function expects an I/O address but > the existing callers pass the value at an I/O address. Fix it. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/gpio/intel_ich6_gpio.c | 4 ++-- >

Re: [U-Boot] [PATCH v2 7/9] x86: gpio: Tidy up gpio_ich6_get_base() and callers

2015-08-26 Thread Simon Glass
On 22 August 2015 at 14:58, Simon Glass wrote: > This function can return an error. Correct the detection of this error so > that it works even with large 32-bit addresses. > > The return value is set up for returning an I/O address but the function is > also used to return a memory-mapped address

Re: [U-Boot] [PATCH v2 1/9] x86: minnowmax: Add access to GPIOs E0, E1, E2

2015-08-26 Thread Simon Glass
On 22 August 2015 at 14:58, Simon Glass wrote: > These GPIOs are accessible on the pin header. Add pinctrl settings for them > so that we they can be adjusted using the 'gpio' command. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/dts/minnowmax.dts | 27 ++

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Jagan Teki
On 26 August 2015 at 20:14, Marek Vasut wrote: > On Wednesday, August 26, 2015 at 04:39:40 PM, Jagan Teki wrote: >> On 26 August 2015 at 19:29, Marek Vasut wrote: >> > On Wednesday, August 26, 2015 at 03:47:28 PM, Jagan Teki wrote: >> >> On 26 August 2015 at 13:00, Chin Liang See wrote: >> >> >

Re: [U-Boot] [PATCH v2 01/10] net: Revert "tftp: adjust settings to be suitable for 100Mbit ethernet"

2015-08-26 Thread Joe Hershberger
On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng wrote: > Commit 620776d "tftp: adjust settings to be suitable for 100Mbit ethernet" > causes the following error message when trying to load a file using 'tftp' > command via a tftp server. > > TFTP error: 'Unsupported option(s) requested' (8) > > This

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Marek Vasut
On Wednesday, August 26, 2015 at 04:39:40 PM, Jagan Teki wrote: > On 26 August 2015 at 19:29, Marek Vasut wrote: > > On Wednesday, August 26, 2015 at 03:47:28 PM, Jagan Teki wrote: > >> On 26 August 2015 at 13:00, Chin Liang See wrote: > >> > On Wed, 2015-08-26 at 08:57 +0200, ma...@denx.de wrote

Re: [U-Boot] [PATCH v2 02/10] net: e1000: Fix build warnings for 32-bit

2015-08-26 Thread Joe Hershberger
Hi Bin, On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng wrote: > commit 6497e37 "net: e1000: Support 64-bit physical address" causes > compiler warnings on 32-bit U-Boot build below. > > drivers/net/e1000.c: In function 'e1000_configure_tx': > drivers/net/e1000.c:4982:2: warning: right shift count >= w

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Jagan Teki
On 26 August 2015 at 19:29, Marek Vasut wrote: > On Wednesday, August 26, 2015 at 03:47:28 PM, Jagan Teki wrote: >> On 26 August 2015 at 13:00, Chin Liang See wrote: >> > On Wed, 2015-08-26 at 08:57 +0200, ma...@denx.de wrote: >> >> On Wednesday, August 26, 2015 at 02:09:55 AM, Chin Liang See wro

  1   2   >