Re: [U-Boot] iMX6 PCie inbound traffic not working

2014-04-25 Thread David Müller (ELSOFT AG)
Krunal Desai wrote: Can you get a dump of config space for the 82574? What are its BARs? = pci display 1.0.0 0 40 : 10d38086 0016 0200 0010 0010: 0110 01010001 0112 0020: 8086 0030: 00c8

[U-Boot] [PATCH v2] spi: soft_spi: Support NULL din/dout buffers

2014-04-25 Thread Andrew Ruder
This mirrors the conventions used in other SPI drivers (kirkwood, davinci, atmel, et al) where the din/dout buffer can be NULL when the received/transmitted data isn't important. This reduces the need for allocating additional buffers when write-only/read-only functionality is needed. In the din

Re: [U-Boot] iMX6 PCie inbound traffic not working

2014-04-25 Thread Krunal Desai
From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of David Müller (ELSOFT AG) Sent: Thursday, April 24, 2014 07:59 To: u-boot@lists.denx.de Subject: [U-Boot] iMX6 PCie inbound traffic not working I tried to use a Intel 82574 based miniPCIe NIC on a

Re: [U-Boot] am33xx : bit-flip correction in oob

2014-04-25 Thread Belisko Marek
Hi Pekon, On Thu, Apr 24, 2014 at 1:53 PM, Gupta, Pekon pe...@ti.com wrote: Hi Marek, From: Belisko Marek [mailto:marek.beli...@gmail.com] On Wed, Apr 23, 2014 at 8:04 PM, Gupta, Pekon pe...@ti.com wrote: From: Belisko Marek [mailto:marek.beli...@gmail.com] CC-ing Pekon Gupta which add those

Re: [U-Boot] am33xx : bit-flip correction in oob

2014-04-25 Thread Gupta, Pekon
Hi Marek, From: Belisko Marek [mailto:marek.beli...@gmail.com] [...] With original patch (or with your) it fix only u-boot but it doesn't fix loading u-boot from SPL as it using custom nand_read_page (in am335x_spl_bch.c) and not from nand_bases there must be other update to fix this issue.

Re: [U-Boot] [PATCH 2/3] net/designware: invalidate entire descriptor in dw_eth_send

2014-04-25 Thread Alexey Brodkin
Hi Ian, On Thu, 2014-04-24 at 20:14 +0100, Ian Campbell wrote: On Thu, 2014-04-24 at 17:41 +, Alexey Brodkin wrote: 1. Don't invalidate sizeof(struct dmamacdescr) but only roundup(sizeof(desc_p-txrx_status), ARCH_DMA_MINALIGN)). OK. (Although given the realities of the real world

[U-Boot] [PATCH v2] powerpc/85xx: add T4080 SoC support

2014-04-25 Thread Shengzhou Liu
The T4080 SoC is a low-power version of the T4160. T4080 combines 4 dual-threaded Power Architecture e6500 cores with single cluster and two memory complexes. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- v2: add more comments. arch/powerpc/cpu/mpc85xx/Makefile | 2 ++

[U-Boot] [PATCH] qe: disable qe when qe-ucode fails to be uploaded

2014-04-25 Thread Zhao Qiang
when qe-ucode fails to be uploaded, disable qe. Signed-off-by: Zhao Qiang b45...@freescale.com --- drivers/qe/qe.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c index b1da75e..c77cc16 100644 --- a/drivers/qe/qe.c +++ b/drivers/qe/qe.c @@ -14,6 +14,8 @@

[U-Boot] [PATCH] mtd: nand: omap_gpmc: Fix update of read_ecc in oob

2014-04-25 Thread Marek Belisko
We need to flip only one bit not assign. Signed-off-by: Marek Belisko marek.beli...@gmail.com --- drivers/mtd/nand/omap_gpmc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand/omap_gpmc.c index 881a636..bf99b8e 100644 ---

Re: [U-Boot] [PATCH] mtd: nand: omap_gpmc: Fix update of read_ecc in oob

2014-04-25 Thread Gupta, Pekon
From: Marek Belisko [mailto:marek.beli...@gmail.com] We need to flip only one bit not assign. Signed-off-by: Marek Belisko marek.beli...@gmail.com --- drivers/mtd/nand/omap_gpmc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/omap_gpmc.c

[U-Boot] [PATCH v4 3/5] samsung: misc: add env default option to lcd menu

2014-04-25 Thread Przemyslaw Marczak
From: Inha Song ideal.s...@samsung.com This change allows reset device environment to default without using u-boot console, which is useful for system developers. Signed-off-by: Inha Song ideal.s...@samsung.com Acked-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang

[U-Boot] [PATCH v4 1/5] samsung: misc: allows using environmental macros as args in menu commands

2014-04-25 Thread Przemyslaw Marczak
Function cmd_process() runs commands with directly given list of arguments but it doesn't expand given environmental variables names as macros. Command gpt as one of arguments expects expanded macro e.g. $partitions so it needs to be called by function run_command(). Changes: - extend array

[U-Boot] [PATCH v4 5/5] samsung: misc: remove download mode info screen

2014-04-25 Thread Przemyslaw Marczak
This change removes LCD menu download mode info screen. Now key press timeout is checked in function download_menu() and menu options are displayed directly after PWR + VOLUP keys. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- Changes v4: - new commit board/samsung/common/misc.c |

[U-Boot] [PATCH v4 4/5] samsung: misc: keys: fix gpio key bouncing by adding 50 ms delay

2014-04-25 Thread Przemyslaw Marczak
This change prevents gpio keys bouncing by adding 50 ms delay when key pressed condition met. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes v2: - new commit Changes v3: - correct commit message Changes v4: - none

[U-Boot] [PATCH v4 2/5] samsung: misc: add gpt restore option to lcd menu

2014-04-25 Thread Przemyslaw Marczak
This menu option allows restore gpt. This is usefull and no needs access to the u-boot console. For proper operation: - each partition uuid should be set in environment or - CONFIG_RANDOM_UUID should be defined for automatically uuid setting After operation success device is going to be reset.

[U-Boot] [PATCH] arm: fdt_control: fix a build error with CONFIG_OF_EMBED=y

2014-04-25 Thread Masahiro Yamada
The build fails if a non-generic ARM board is compiled with CONFIG_OF_EMBED=y. The correct symbol name for embedded FDT is not __dtb_db_begin, but __dtb_dt_begin. (A typo introduced by commit 6ab6b2af) Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- arch/arm/lib/board.c | 2 +- 1

[U-Boot] [PATCH] kbuild: allow null board for spl build

2014-04-25 Thread Masahiro Yamada
Commit 33a02da0 supported none for the board field of boards.cfg. But it missed to modify spl/Makefile. This commit provides the flexibility so we can use none board in SPL too. --- spl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spl/Makefile b/spl/Makefile index

[U-Boot] [PATCH 1/9] fpga: spartan2: Avoid CamelCase

2014-04-25 Thread Michal Simek
No functional changes. Signed-off-by: Michal Simek michal.si...@xilinx.com --- board/esd/pmc440/fpga.c | 2 +- board/matrix_vision/mvsmr/fpga.c | 2 +- drivers/fpga/spartan2.c | 40 drivers/fpga/xilinx.c| 14 +++---

[U-Boot] [PATCH 2/9] fpga: spartan3: Avoid CamelCase

2014-04-25 Thread Michal Simek
No functional changes. Signed-off-by: Michal Simek michal.si...@xilinx.com --- board/armadeus/apf27/fpga.c | 4 ++-- board/astro/mcf5373l/fpga.c | 4 ++-- board/balloon3/balloon3.c| 2 +- board/esd/pmc440/fpga.c | 4 ++--

[U-Boot] [PATCH 6/9] fpga: xilinx: Simplify load/dump/info function handling

2014-04-25 Thread Michal Simek
Connect FPGA version with appropriate operations to remove huge switch-cases for every FPGA family. Tested on Zynq. Spartan2/Spartan3/Virtex2 just compile test. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Based on http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/182419 I

[U-Boot] [PATCH 3/9] fpga: virtex2: Avoid CamelCase

2014-04-25 Thread Michal Simek
No functional changes. Signed-off-by: Michal Simek michal.si...@xilinx.com --- board/gen860t/fpga.c | 4 ++-- drivers/fpga/virtex2.c | 34 +- drivers/fpga/xilinx.c | 14 +++--- include/virtex2.h | 34 +-

[U-Boot] [PATCH 5/9] fpga: xilinx: Fix the rest of CamelCases

2014-04-25 Thread Michal Simek
No functional changes. Signed-off-by: Michal Simek michal.si...@xilinx.com --- include/spartan2.h | 40 include/spartan3.h | 44 ++-- include/virtex2.h | 34 +- include/xilinx.h |

[U-Boot] [PATCH 7/9] fpga: zynq: Remove sparse warnings

2014-04-25 Thread Michal Simek
Warnings: drivers/fpga/zynqpl.c:150:32: warning: Using plain integer as NULL pointer drivers/fpga/zynqpl.c:152:16: warning: Using plain integer as NULL pointer Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/fpga/zynqpl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [U-Boot] [PATCH v4 4/5] usb/gadget: add the fastboot gadget

2014-04-25 Thread Rob Herring
On Fri, Apr 25, 2014 at 12:26 AM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Rob, On Wed, Apr 23, 2014 at 6:02 AM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Rob, From: Sebastian Siewior bige...@linutronix.de This patch contains an implementation of the fastboot protocol

[U-Boot] [PATCH 9/9] fpga: zynq: Use helper function zynq_validate_bitstream

2014-04-25 Thread Michal Simek
From: Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com Use helper function zynq_validate_bitstream so that the code can be reused easily for different cases of dma transfer. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com

[U-Boot] [PATCH 4/9] fpga: xilinx: Avoid CamelCase for in Xilinx_desc

2014-04-25 Thread Michal Simek
No functional changes. Signed-off-by: Michal Simek michal.si...@xilinx.com --- board/armadeus/apf27/fpga.c | 2 +- board/astro/mcf5373l/fpga.c | 2 +- board/balloon3/balloon3.c| 2 +- board/esd/pmc440/fpga.c | 2 +- board/gen860t/fpga.c

[U-Boot] [PATCH 8/9] fpga: zynq: Use helper functions for zynq dma

2014-04-25 Thread Michal Simek
From: Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com Use zynq_dma_xfer_init, zynq_align_dma_buffer, zynq_dma_transfer helper function performing dma transfers so that the code can be reused easily for different cases of dma transfer. Signed-off-by: Siva Durga Prasad Paladugu

[U-Boot] [PATCH 0/18] ARM zynq changes

2014-04-25 Thread Michal Simek
Hi, I am sending ARM zynq changes. This series is based on FPGA changes I have sent http://lists.denx.de/pipermail/u-boot/2014-April/178204.html (There is small dependency on some patches). My expectation is that fpga series will go to Tom's tree first. Thanks, Michal Michal Simek (12): ARM:

[U-Boot] [PATCH 01/18] ARM: zynq: Fix sparse warnings in slcr.c

2014-04-25 Thread Michal Simek
Warnings: arch/arm/cpu/armv7/zynq/slcr.c:21:6: warning: symbol 'zynq_slcr_lock' was not declared. Should it be static? arch/arm/cpu/armv7/zynq/slcr.c:27:6: warning: symbol 'zynq_slcr_unlock' was not declared. Should it be static? arch/arm/cpu/armv7/zynq/slcr.c:34:6: warning: symbol

[U-Boot] [PATCH 02/18] ARM: zynq: Fix sparse warning in ddrc.c

2014-04-25 Thread Michal Simek
Warning: arch/arm/cpu/armv7/zynq/ddrc.c:43:24: warning: Using plain integer as NULL pointer Signed-off-by: Michal Simek michal.si...@xilinx.com --- arch/arm/cpu/armv7/zynq/ddrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/zynq/ddrc.c

[U-Boot] [PATCH 03/18] ARM: zynq: Remove sparse warnings

2014-04-25 Thread Michal Simek
Warnings: board/xilinx/zynq/board.c:17:13: warning: symbol 'fpga' was not declared. Should it be static? board/xilinx/zynq/board.c:20:13: warning: symbol 'fpga010' was not declared. Should it be static? board/xilinx/zynq/board.c:21:13: warning: symbol 'fpga015' was not declared. Should it be

[U-Boot] [PATCH 04/18] ARM: zynq: Added efuse status register base address

2014-04-25 Thread Michal Simek
From: Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com Added efuse status register base address. This register is used for determining whether efuse was blown or not. Also, added the zynq_get_silicon_version() to get the silicon version of the zynq board. Signed-off-by: Siva Durga

[U-Boot] [PATCH 05/18] ARM: zynq: Do not use half memory size for ECC case

2014-04-25 Thread Michal Simek
Memory size should be specified without ECC place. If you need to have half memory size, please change u-boot configuration. Signed-off-by: Michal Simek michal.si...@xilinx.com --- arch/arm/cpu/armv7/zynq/ddrc.c | 3 --- 1 file changed, 3 deletions(-) diff --git

[U-Boot] [PATCH 06/18] ARM: zynq: Call zynq board_init() in SPL

2014-04-25 Thread Michal Simek
From: Michal Simek mon...@monstr.eu Call board_init() if SPL is configured with CONFIG_SPL_BOARD_INIT. Signed-off-by: Michal Simek mon...@monstr.eu Signed-off-by: Michal Simek michal.si...@xilinx.com --- arch/arm/cpu/armv7/zynq/spl.c | 7 +++ include/configs/zynq-common.h | 1 + 2 files

[U-Boot] [PATCH 09/18] ARM: zynq: Fix bootmode mask

2014-04-25 Thread Michal Simek
From: Mike Looijmans mike.looijm...@topic.nl Bootmode mask was defined as 0x0F, but documentation mentions 0x07. Experiments show that bit 3 is the JTAG chain configuration. Change the mask to 7 to allow systems with a different chain configuration to boot correctly. Signed-off-by: Mike

[U-Boot] [PATCH 08/18] ARM: zynq: Setup correct slcr_lock value

2014-04-25 Thread Michal Simek
The driver should setup slcr state according to slcr operations. Reported-by: Andrey Filippov and...@elphel.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- arch/arm/cpu/armv7/zynq/slcr.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 07/18] ARM: zynq: slcr: Fix incorrect commentary

2014-04-25 Thread Michal Simek
Fix cp error in zynq_slcr_devcfg_enable() commentary and extending it with description according to Zynq TRM also in zynq_slcr_devcfg_disable(). Signed-off-by: Michal Simek michal.si...@xilinx.com --- arch/arm/cpu/armv7/zynq/slcr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH 10/18] ARM: zynq: Fix building SPL without FPGA support

2014-04-25 Thread Michal Simek
When CONFIG_FPGA is defined but CONFIG_SPL_FPGA is not, the build fails: board.c: In function 'board_init': board.c:41:3: error: 'fpga' undeclared (first use in this function) fpga = fpga010; Fix this by expanding the #if.. around this block to match the other FPGA checks and don't compile

[U-Boot] [PATCH 11/18] ARM: zynq: Extend kernel image size to 60MB

2014-04-25 Thread Michal Simek
Extend max kernel image size. Gunzip is checking this value. If kernel is larger, message below is shown. Uncompressing Kernel Image ... Error: inflate() returned -5 GUNZIP: uncompress, out-of-mem or overwrite error - must RESET board to recover Signed-off-by: Michal Simek

[U-Boot] [PATCH 15/18] ARM: zynq: Enable the FAT write capability

2014-04-25 Thread Michal Simek
From: Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com Enable the FAT write capability for SD/MMC write functionality. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- include/configs/zynq-common.h | 1 + 1 file

[U-Boot] [PATCH 12/18] ARM: zynq: Add MIO detection code

2014-04-25 Thread Michal Simek
From: Michal Simek mon...@monstr.eu Add run-time MIO pin detection to get actual pin configuration for specific periphery. Signed-off-by: Michal Simek michal.si...@xilinx.com --- arch/arm/cpu/armv7/zynq/slcr.c | 50 ++

[U-Boot] [PATCH 17/18] ARM: zynq: Enable EXT4 configs

2014-04-25 Thread Michal Simek
From: Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com Enabled the EXT4 configs. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- include/configs/zynq-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH 13/18] ARM: zynq: ehci: Added USB host driver support

2014-04-25 Thread Michal Simek
From: Michal Simek mon...@monstr.eu Added USB host driver for zynq. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- arch/arm/cpu/armv7/zynq/slcr.c| 24 +++ arch/arm/include/asm/arch-zynq/hardware.h | 2 +

[U-Boot] [PATCH 14/18] ARM: zynq: Added USB host support for zynq boards

2014-04-25 Thread Michal Simek
From: Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com Added configs to support USB host for zynq boards. Also added a command usbboot to boot from usb. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com ---

[U-Boot] [PATCH 16/18] ARM: zynq: Move USB/SD/MMC common FAT configs

2014-04-25 Thread Michal Simek
From: Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com Moved the USB/SD/MMC common FAT configs separately to avoid redefinition warnings. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- include/configs/zynq-common.h

Re: [U-Boot] [PATCH v9 0/2] S5P: Exynos: Add GPIO numbering feature

2014-04-25 Thread Przemyslaw Marczak
Hello, On 04/21/2014 04:25 PM, Akshay Saraswat wrote: Used a script to recheck/verify pin mapping and existing mapping appears to be fine, returning correct bank and pin values. Did ./MAKEALL -a arm and found all Exynos/S5P related boards compiled successfully. Couldn't test booting over all of

Re: [U-Boot] [PATCH v9 1/2] S5P: Exynos: Add GPIO pin numbering and rename definitions

2014-04-25 Thread Przemyslaw Marczak
Hi, On 04/21/2014 04:25 PM, Akshay Saraswat wrote: This patch includes following changes : * Adds gpio pin numbering support for EXYNOS SOCs. To have consistent 0..n-1 GPIO numbering the banks are divided into different parts where ever they have holes in them. * Rename GPIO definitions

[U-Boot] [PATCH 18/18] ARM: zynq: Extend maximum number of command arguments

2014-04-25 Thread Michal Simek
15 was too small for variables stored in file on MMC. Signed-off-by: Michal Simek michal.si...@xilinx.com --- include/configs/zynq-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 09d6c55..d2149b3

[U-Boot] [PATCH 1/2] net: zynq: Use predefined macros instead of hardcoded value

2014-04-25 Thread Michal Simek
MII is used by this driver. Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/net/zynq_gem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 101489c..08056a4 100644 --- a/drivers/net/zynq_gem.c +++

[U-Boot] [PATCH] sf: params: Added support for Spansion S25FL512S_512K

2014-04-25 Thread Michal Simek
From: Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com Added support for Spansion chip S25FL512S_512K. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/mtd/spi/sf_params.c | 1 + 1 file changed, 1 insertion(+)

[U-Boot] [PATCH] fat: Define MAX_CLUSTSIZE only if not defined in config

2014-04-25 Thread Michal Simek
From: Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com Define MAX_CLUSTSIZE only if not defined in board specific config file as this size can be decreased to save memory in some memory constrained cases. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Michal

[U-Boot] [PATCH] env_eeprom: Assign default environment during board_init_f

2014-04-25 Thread Michal Simek
From: Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com Assign default environment and set env valid during board_init_f before relocation as the actual environment will be read from eeprom later. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Michal Simek

[U-Boot] [PATCH 1/2] serial: zynq: Remove sparse warnings

2014-04-25 Thread Michal Simek
Warnings: drivers/serial/serial_zynq.c:181:1: warning: symbol 'uart_zynq0_init' was not declared. Should it be static? drivers/serial/serial_zynq.c:181:1: warning: symbol 'uart_zynq0_setbrg' was not declared. Should it be static? drivers/serial/serial_zynq.c:181:1: warning: symbol

[U-Boot] [PATCH 2/2] serial: zynq: Fix typo in suffix function name

2014-04-25 Thread Michal Simek
's/zynq_serial_initalize/zynq_serial_initialize/g' serial_initialize is used by all serial drivers. Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/serial/serial.c | 4 ++-- drivers/serial/serial_zynq.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 2/2] net: zynq: Fix sparse warnings in gem

2014-04-25 Thread Michal Simek
Add missing header. Warnings: drivers/net/zynq_gem.c:491:5: warning: symbol 'zynq_gem_initialize' was not declared. Should it be static? drivers/net/zynq_gem.c:542:5: warning: symbol 'zynq_gem_of_init' was not declared. Should it be static? Signed-off-by: Michal Simek michal.si...@xilinx.com

[U-Boot] [PATCH] i2c: zynq: Fixed compilation errors when using DEBUG

2014-04-25 Thread Michal Simek
From: Jesper B. Christensen jesper.christen...@cobham.com Signed-off-by: Jesper B. Christensen jesper.christen...@cobham.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/i2c/zynq_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH 1/8] wandboard: Convert to generic board

2014-04-25 Thread Stefano Babic
On 22/04/2014 20:34, Fabio Estevam wrote: Enable CONFIG_SYS_GENERIC_BOARD, so that we get rid of the following warning on boot: Warning: Your board does not use generic board. Please read doc/README.generic-board and take action. Boards not

[U-Boot] please pull u-boot-arc master

2014-04-25 Thread Alexey Brodkin
Dear Tom, The following changes since commit adcdeacc3eda1e5949e54062aa99c299e12483be: Merge branch 'master' of git://git.denx.de/u-boot-mips (2014-04-23 11:07:11 -0400) are available in the git repository at: ssh://gu-...@git.denx.de/u-boot-arc master for you to fetch changes up to

Re: [U-Boot] [PATCH v9 0/2] S5P: Exynos: Add GPIO numbering feature

2014-04-25 Thread Akshay Saraswat
Hi Przemyslaw Marczak, Hello, On 04/21/2014 04:25 PM, Akshay Saraswat wrote: Used a script to recheck/verify pin mapping and existing mapping appears to be fine, returning correct bank and pin values. Did ./MAKEALL -a arm and found all Exynos/S5P related boards compiled successfully.

Re: [U-Boot] [PATCH v9 1/2] S5P: Exynos: Add GPIO pin numbering and rename definitions

2014-04-25 Thread Akshay Saraswat
Hi Przemyslaw Marczak, Hi, On 04/21/2014 04:25 PM, Akshay Saraswat wrote: This patch includes following changes : * Adds gpio pin numbering support for EXYNOS SOCs. To have consistent 0..n-1 GPIO numbering the banks are divided into different parts where ever they have holes in them.

[U-Boot] [PATCH] imx6: ventana: fix system-serial dt property

2014-04-25 Thread Tim Harvey
Fix typo in setting of system-serial property causing the prop len to be off by 1. Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gw_ventana.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/gateworks/gw_ventana/gw_ventana.c

[U-Boot] ARM: zynq: sdhci clock frequency init question

2014-04-25 Thread Krunal Desai
Hi all - I noticed that in zynq_sdhci.c, responsible for initializing PS SD controller(s), host controller max clock frequency is always set to 52MHz (http://git.denx.de/?p=u-boot.git;a=blob;f=drivers/mmc/zynq_sdhci.c;h=fdce2c2c10ec85c4a291532f927eae4a0b5627c9;hb=master#l34). In cases where

[U-Boot] SPI NOR MTD's

2014-04-25 Thread Jeff Horn
Hi, I am new to u-boot. I have u-boot working on a custom board for the freescale i.MX6 Solo. We have SPI NOR (m25p32) and with sf probe I can see the device. I can also erase/write/read and boot my kernel from SPI NOR. However, I just can not figure out how to use MTD's. I have MTDIDS_DEFAULT

Re: [U-Boot] [PATCH] spl: consolidate arch/arm/include/asm/arch-*/spl.h

2014-04-25 Thread Tom Rini
On Wed, Apr 16, 2014 at 03:44:36PM +0900, Masahiro Yamada wrote: arch/arm/include/asm/spl.h requires all SoCs to have arch/arm/include/asm/arch-*/spl.h. But many of them just define BOOT_DEVICE_* macros. Those macros are used in the switch (boot_device) { ... } statement in

[U-Boot] [v2] powerpc/mpc8572ds: Increase u-boot size to 768KB

2014-04-25 Thread York Sun
U-boot image has grown and exceeded the predefined 512KB. Increasing to 768KB to align with other powerpc boards. Tested on MPC8572DS for 32- and 36-bit targets with NOR flash boot. NAND boot is not covered by this patch. Also update board maintainer for these boards. Signed-off-by: York Sun

Re: [U-Boot] SPI NOR MTD's

2014-04-25 Thread Daniel Schwierzeck
Hi Jeff, 2014-04-25 18:18 GMT+02:00 Jeff Horn j...@everlook.net: Hi, I am new to u-boot. I have u-boot working on a custom board for the freescale i.MX6 Solo. We have SPI NOR (m25p32) and with sf probe I can see the device. I can also erase/write/read and boot my kernel from SPI NOR.

Re: [U-Boot] [GIT PULL] u-boot-mpc83xx: add support for the ids8313 board

2014-04-25 Thread Tom Rini
On Wed, Apr 23, 2014 at 07:13:27PM -0500, Kim Phillips wrote: Hi Tom, Please pull support for the ids8313 board: The following changes since commit adcdeacc3eda1e5949e54062aa99c299e12483be: Merge branch 'master' of git://git.denx.de/u-boot-mips (2014-04-23 11:07:11 -0400) are

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

2014-04-25 Thread Tom Rini
On Wed, Apr 23, 2014 at 03:45:05PM -0700, York Sun wrote: Tom, The following changes since commit b149c4c399b111cec1ff7505ca9fabbeeb4fe394: ARM:tegra20: Remove aes debug prints (2014-04-18 16:14:17 -0400) are available in the git repository at:

Re: [U-Boot] please pull u-boot-arc master

2014-04-25 Thread Tom Rini
On Fri, Apr 25, 2014 at 02:24:57PM +, Alexey Brodkin wrote: Dear Tom, The following changes since commit adcdeacc3eda1e5949e54062aa99c299e12483be: Merge branch 'master' of git://git.denx.de/u-boot-mips (2014-04-23 11:07:11 -0400) are available in the git repository at:

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

2014-04-25 Thread Tom Rini
On Thu, Apr 24, 2014 at 01:20:56PM +0200, Stefan Roese wrote: Hi Tom, please pull the following patch: The following changes since commit adcdeacc3eda1e5949e54062aa99c299e12483be: Merge branch 'master' of git://git.denx.de/u-boot-mips (2014-04-23 11:07:11 -0400) are available in

[U-Boot] [PATCH] imx: ventana: Convert to generic board

2014-04-25 Thread Tim Harvey
Enable CONFIG_SYS_GENERIC_BOARD on ventana. Signed-off-by: Tim Harvey thar...@gateworks.com --- include/configs/gw_ventana.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h index b984f27..335f2ff 100644 ---

Re: [U-Boot] [PATCH] Start the deprecation process for generic board

2014-04-25 Thread York Sun
On 03/22/2014 04:14 PM, Simon Glass wrote: We should move forward to remove the old board init code. Add a prominent message to encourage maintainers to get started on this work. Signed-off-by: Simon Glass s...@chromium.org --- Simon, How much test has been done on powerpc boards? I

[U-Boot] [PATCH] imx: ventana: add HDMI and LVDS display capability

2014-04-25 Thread Tim Harvey
Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gw_ventana.c | 134 include/configs/gw_ventana.h| 16 2 files changed, 150 insertions(+) diff --git a/board/gateworks/gw_ventana/gw_ventana.c

[U-Boot] [PATCH] ARM: imx6: nitrogen6x: Enable CONFIG_SYS_GENERIC_BOARD

2014-04-25 Thread Eric Nelson
Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- Note that this seems a bit premature until we have some infrastructure around DTB files in place, but we certainly don't want big hairy warning messages on our boards. Is anyone planning on pulling in at least the pinfunc and .dtsi

[U-Boot] [RFC] RFC: convert MPC8536DS to use generic board

2014-04-25 Thread York Sun
This patch converts MC8536DS to use generic board. This is for discussion. Do NOT apply. To make it work Add #ifdef CONFIG_OF_CONTROL for reserve_fdt(), setup_fdt(), reloc_fdt(). Set initial value for gd. Powerpc SoCs use locked cache as init RAM. Change return value for mac_read_from_eeprom()

Re: [U-Boot] [v2] powerpc/mpc8572ds: Increase u-boot size to 768KB

2014-04-25 Thread Heiko Schocher
Hello York, Am 25.04.2014 21:06, schrieb York Sun: U-boot image has grown and exceeded the predefined 512KB. Increasing to 768KB to align with other powerpc boards. Tested on MPC8572DS for 32- and 36-bit targets with NOR flash boot. NAND boot is not covered by this patch. Also update board

[U-Boot] [PATCH] board/freescale: Move CRC32 offset in NXID v1 data format

2014-04-25 Thread Ebony Zhu
According to AN3638, CRC of NXID v1 is at the end of the 256-byte I2C memory. The wrong CRC32 offset prevents Uboot from reading system information from EEPROM. No NXID v0 is being used on Freescale boards. Signed-off-by: Ebony Zhu b45...@freescale.com --- board/freescale/common/sys_eeprom.c | 7

[U-Boot] Open Source Organizational Culture

2014-04-25 Thread Storm-Olsen, Marius
Hi, I would like to request your participation in a survey on Open Source Organizational Culture, which will provide valuable insight into how Open Source projects are run, how their participants act, how they might change going forward, and how particular Open Source projects compare with

[U-Boot] [PATCH] hush shell: Avoid string write overflow when entering max cmd length

2014-04-25 Thread Kristian Otnes
console_buffer array is defined to be CONFIG_SYS_CBSIZE + 1 long, whereas the_command array only CONFIG_SYS_CBSIZE long. Subsequent use of strcpy(the_command, console_buffer) will write final \0 terminating byte outside the_command array when entering a command of max length. Signed-off-by: