[U-Boot] [PATCH v1 1/2] am33xx: enable GPMC clocks for TI814x

2013-08-06 Thread Pekon Gupta
GPMC registers need to be pre-initialized for NAND and NOR probe. So this patch brings out GPMC H/W engine from IDLE state. Signed-off-by: Pekon Gupta --- arch/arm/cpu/armv7/am33xx/clock_ti814x.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/armv7/am33xx/clock_ti814x.c b

[U-Boot] [PATCH v1 2/2] ti814x_evm: enable support for NAND

2013-08-06 Thread Pekon Gupta
ti814x_evm has on-board socket for using Micron (MT29Fxx) family of NAND devices to GPMC interface. This patch - adds NAND related pin-mux configuration for same - adds #defines for NAND partitions to TI814x configs - enables support for NAND in TI814x configs - Signed-off-by: Pekon Gupta --- bo

Re: [U-Boot] [PATCH] Origen: Set FIMD as the default display path

2013-08-06 Thread Ajay kumar
+Donghwa Lee Hi Tushar, I think this setting already exists for Exynos4 in u-boot. Are you not getting display without your patch? Have a look at this: http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=blob;f=arch/arm/cpu/armv7/exynos/system.c;h=ad12445832cf7415e52e8593b595ab33a0b4d375;hb=H

[U-Boot] [PATCH v1 2/2] ti814x_evm: enable support for NAND

2013-08-06 Thread Pekon Gupta
ti814x_evm has on-board socket for using Micron (MT29Fxx) family of NAND devices to GPMC interface. This patch - adds NAND related pin-mux configuration for same - adds #defines for NAND partitions to TI814x configs - enables support for NAND in TI814x configs - Signed-off-by: Pekon Gupta --- bo

[U-Boot] [PATCH v1 1/2] am33xx: enable GPMC clocks for TI814x

2013-08-06 Thread Pekon Gupta
GPMC registers need to be pre-initialized for NAND and NOR probe. So this patch brings out GPMC H/W engine from IDLE state. Signed-off-by: Pekon Gupta --- arch/arm/cpu/armv7/am33xx/clock_ti814x.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/armv7/am33xx/clock_ti814x.c b

[U-Boot] [PATCH v1 1/4] mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform

2013-08-06 Thread Pekon Gupta
BCH8_ECC scheme implemented in omap_gpmc.c driver has following two favours +---+-+-+ |ECC Scheme | ECC Calculation | Error Detection | +---+-+-+ |

[U-Boot] [PATCH v1 4/4] mtd: nand: omap: optimized chip->ecc.correct() for H/W ECC schemes

2013-08-06 Thread Pekon Gupta
chip->ecc.correct() is used for detecting and correcting bit-flips during read operations. In omap-nand driver it implemented as: (a) omap_correct_data(): for h/w based ECC_HAM1 scheme (b) omap_correct_data_bch() + CONFIG_NAND_OMAP_ECC_BCH8_CODE_HW_DETECTION_SW for ECC_BCH8 scheme using GPM

[U-Boot] [PATCH v1 0/4] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-08-06 Thread Pekon Gupta
This series of patch series does updates H/W based ECC scheme in omap_gpmc.c - adds scalability for higher ECC schemes in future. - removes CONFIG_AM335x and it makes it generic for all platforms. - optimizes read_data paths This series is tested for H/W BCH8_ECC scheme on - AM335x_EVM - And plan

[U-Boot] [PATCH v1 3/4] mtd: nand: omap: optimize chip->ecc.calculate() for H/W ECC schemes

2013-08-06 Thread Pekon Gupta
chip->ecc.calculate() is used for calculating and fetching of ECC syndrome by processing the data passed during Read/Write accesses. All H/W based ECC schemes use GPMC controller to calculate ECC syndrome. But each BCHx_ECC scheme has its own implemetation of post-processing and fetching ECC syndr

[U-Boot] [PATCH v1 2/4] mtd: nand: omap: optimize chip->ecc.hwctl() for H/W ECC schemes

2013-08-06 Thread Pekon Gupta
chip->ecc.hwctl() is used for preparing the H/W controller before read/write NAND accesses (like assigning data-buf, enabling ECC scheme configs, etc.) Though all ECC schemes in OMAP NAND driver use GPMC controller for generating ECC syndrome (for both Read/Write accesses). But but in current code

[U-Boot] [PATCH 2/3] cmd_mtdparts: use 64 bits for flash size, partition size & offset

2013-08-06 Thread Paul Burton
This matches the 64 bit size in struct mtd_info and allows the mtdparts command to function correctly with a flash >= 4GiB. Format specifiers for size & offset are given the ll length, matching its use in drivers/mtd in absence of something like inttypes.h/PRIx64. Signed-off-by: Paul Burton ---

[U-Boot] [PATCH 1/3] mtd: driver _read() returns max_bitflips; mtd_read() returns -EUCLEAN

2013-08-06 Thread Paul Burton
Linux modified the MTD driver interface in commit edbc4540 (with the same name as this commit). The effect is that calls to mtd_read will not return -EUCLEAN if the number of ECC-corrected bit errors is below a certain threshold, which defaults to the strength of the ECC. This allows -EUCLEAN to st

[U-Boot] [u-boot][RFC v1] ARMV7: OMAP4+: Fix boot issues when using Alternative Boot operation mode

2013-08-06 Thread Oleksandr Tyshchenko
The Alternative Boot operation mode (boot from eMMC boot partition) is selected through sys_boot pads configuration: - sys_boot[5:0]=0b101100 for OMAP4 (MMC2_BOOT) - sys_boot[3:0]=0xb1110 for OMAP5 (eMMC, boot partition only) So, add new bootdevice BOOT_DEVICE_MMC2_BOOT for OMAP4 and change bootmo

[U-Boot] [PATCH 0/3] MTD & UBI fixes

2013-08-06 Thread Paul Burton
This patchset corrects a few issues I've had whilst using UBI with U-boot. The first 2 are bug fixes, the 3rd is an addition I needed in order to write a large root filesystem into my NAND device. Paul Burton (3): mtd: driver _read() returns max_bitflips; mtd_read() returns -EUCLEAN cmd_mtdpa

[U-Boot] [u-boot][RFC v1] mmc: Remove unused variable backup from mmc_send_cmd()

2013-08-06 Thread Oleksandr Tyshchenko
Do not call a memset for unused variable backup every time. Remove unused variable from function. Signed-off-by: Oleksandr Tyshchenko --- drivers/mmc/mmc.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 73f7195..c9cb9ff 100644 --- a/drivers/m

[U-Boot] [u-boot][RFC v1] omap_hsmmc: omap4+/am335x: modify MMC controller internal fsm reset func

2013-08-06 Thread Oleksandr Tyshchenko
"mmc_send_cmd: timeout: No status update" error sometimes happens in omap_hsmmc driver func mmc_send_cmd() when the MMC controller card identification and selection sequence is executed for eMMC on OMAP4 boards. It happens due to incorrect execution of CMD line reset procedure for OMAP4. Because C

[U-Boot] [PATCH 3/3] cmd_ubi: add write.part command, to write a volume in multiple parts

2013-08-06 Thread Paul Burton
This allows you to write data to an UBI volume when the amount of memory available to write that data from is less than the total size of the data. For example, you may split a root filesystem UBIFS image into parts, provide the total size of the image to the first write.part command and then use m

[U-Boot] [RFC 05/10] Colibri PXA270: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega Signed-off-by: Kyungmin Park Cc: Marek Vasut --- board/toradex/colibri_pxa270/colibri_pxa27

[U-Boot] [RFC 03/10] Voipac PXA270: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega Signed-off-by: Kyungmin Park Cc: Marek Vasut --- board/vpac270/vpac270.c | 5 +++-- 1 file

[U-Boot] [RFC 04/10] Trizeps IV: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega Signed-off-by: Kyungmin Park Cc: Marek Vasut --- board/trizepsiv/conxs.c | 5 +++-- 1 file

[U-Boot] [RFC 08/10] esd apc405: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega Signed-off-by: Kyungmin Park --- board/esd/apc405/apc405.c | 5 +++-- 1 file changed, 3 inse

[U-Boot] [RFC 01/10] New board-specific USB initialization interface

2013-08-06 Thread Mateusz Zalega
This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. Signed-off-by: Mateusz Zalega Signed-off-by: Kyungmin Park Reviewed-by: Lukasz Majewski Cc: Marek Vasut --- common/cmd_dfu.c | 5 +

[U-Boot] [RFC 09/10] balloon3: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega Signed-off-by: Kyungmin Park Cc: Albert Aribaud --- board/balloon3/balloon3.c | 5 +++-- 1

[U-Boot] [RFC 00/10] New board-specific USB initialization interface

2013-08-06 Thread Mateusz Zalega
Current implementation of do_dfu() and do_usb_mass_storage() requires board-specific board_usb_init() which performs USB hardware initialization. I noticed that several boards have such a function defined, named either usb_board_init() (which binds to ohci-hcd.c driver and had been used solely by

[U-Boot] [RFC 07/10] esd pmc440: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega Signed-off-by: Kyungmin Park --- board/esd/pmc440/pmc440.c | 5 +++-- 1 file changed, 3 inse

[U-Boot] [RFC 06/10] icpdas lp8x4x: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega Signed-off-by: Kyungmin Park Cc: Marek Vasut --- board/icpdas/lp8x4x/lp8x4x.c | 5 +++-- 1

[U-Boot] [PATCH RESEND 1/5] arm:goni: Update configuration for goni target

2013-08-06 Thread Mateusz Zalega
From: Arkadiusz Wlodarczyk Configuration file for GONI has been updated to support FAT file system, new mmc partitioning scheme and read linux kernel from eMMC instead of OneNAND. Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Signed-off-by: Mateusz Zalega Tested-by: Arkadiu

[U-Boot] [PATCH RESEND 2/5] arm:goni:dfu Add support for DFU at GONI target

2013-08-06 Thread Mateusz Zalega
From: Arkadiusz Wlodarczyk Proper adjustment for supporting DFU at GONI target has been made. The s5p_goni.h file has been updated. Moreover the code for low level USB initialization has been added to GONI board code. The malloc pool has been enlarged in order to support larger buffer sizes need

[U-Boot] [RFC 10/10] canyonlands: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega Signed-off-by: Kyungmin Park --- board/amcc/canyonlands/canyonlands.c | 5 +++-- 1 file chan

[U-Boot] [PATCH RESEND 3/5] arm:goni: Add support for USB mass storage

2013-08-06 Thread Mateusz Zalega
From: Arkadiusz Wlodarczyk This commit enables support for USB mass storage composite function. It defines platform code and enables it at config file. Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Signed-off-by: Mateusz Zalega Tested-by: Arkadiusz Wlodarczyk Tested-by: Ma

[U-Boot] [PATCH RESEND 0/5] arm:goni: Update GONI configuration

2013-08-06 Thread Mateusz Zalega
Samsung's GONI target has been updated to support: - New GPT partition layout - USB Mass Storage Gadget - DFU support - Loading uImage from eMMC not OneNAND Patch depends on RFC "New board-specific USB initialization interface" Arkadiusz Wlodarczyk (4): arm:goni: Update configuration for goni t

[U-Boot] [RFC 02/10] nvidia, tegra: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit postpones initialization of USB hardware until usb_board_init() is called by a command implementation (ie. do_dfu()) or a driver. Signed-off-by: Mateusz Zalega Signed-off-by: Kyungmin Park Cc: Tom Warren --- arch/arm/include/asm/arch-tegra/usb.h | 3 +-- board/nvidia/common/board.

[U-Boot] [PATCH] DFU: fix for raw data write

2013-08-06 Thread Mateusz Zalega
When user attempted to perform a raw write using DFU (vide dfu_fill_entity_mmc) with MMC interface not initialized before, get_mmc_blk_size() reported invalid (zero) block size - it wasn't possible to write ie. a new u-boot image. This commit fixes that by initializing device in get_mmc_blk_size()

[U-Boot] [PATCH RESEND 4/5] trats: new USB hardware init interface

2013-08-06 Thread Mateusz Zalega
This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega --- board/samsung/trats/trats.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) dif

[U-Boot] [PATCH RESEND 5/5] arm:goni: Update of GONI partitioning scheme at eMMC

2013-08-06 Thread Mateusz Zalega
From: Arkadiusz Wlodarczyk New partitioning scheme has been defined at GONI target. It complies with new GPT partitioning introduced previously. Default partition layout has been defined at s5p_goni.h Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Tested-by: Arkadiusz Wlodar

[U-Boot] [PATCH] DFU: fix for raw data write

2013-08-06 Thread Mateusz Zalega
This commit fixes DFU raw (performed w/o partition interface, via mmc_block_op()) write. Mateusz Zalega (1): DFU: fix for raw data write drivers/dfu/dfu.c | 22 ++ drivers/dfu/dfu_mmc.c | 3 +++ include/dfu.h | 7 ++- 3 files changed, 27 insertions(+), 5 d

[U-Boot] [u-boot][RFC v1] sdp4430: Initialize board id using CONFIG_MACH_TYPE

2013-08-06 Thread Oleksandr Tyshchenko
Use CONFIG_MACH_TYPE generic macro to set the machine type number in the common arm code instead of setting it in the board code. Signed-off-by: Oleksandr Tyshchenko --- board/ti/sdp4430/sdp.c |1 - include/configs/omap4_sdp4430.h |1 + 2 files changed, 1 insertion(+), 1 deletio

[U-Boot] [u-boot][RFC v1] sdp4430: Enable Falcon boot mode for mmc (RAW and FAT)

2013-08-06 Thread Oleksandr Tyshchenko
Add support to boot Linux directly from U-Boot SPL via eMMC (or RAW SD Cards) and FAT SD Cards. Jump into full U-Boot if a corresponding button is pressed. Also define new CONFIG_BOOTCOMMAND to add ability for full U-Boot to boot Linux via eMMC (or RAW SD cards) and FAT SD Cards in case of using C

Re: [U-Boot] [PATCH] Origen: Set FIMD as the default display path

2013-08-06 Thread Tushar Behera
On 6 August 2013 14:21, Ajay kumar wrote: > +Donghwa Lee > > > Hi Tushar, > > I think this setting already exists for Exynos4 in u-boot. > No, there was no display on Origen board without this patch. > Are you not getting display without your patch? > > Have a look at this: > http://git.denx.de/

Re: [U-Boot] [PATCH] arm:exynos:gpio: fix s5p_gpio_part_max for exynos4x12

2013-08-06 Thread Minkyu Kang
On 21/05/13 22:39, Piotr Wilczek wrote: > This patch fix wrong value returned by 's5p_gpio_part_max' function > for Exynos4412. > > Signed-off-by: Piotr Wilczek > Signed-off-by: Kyungmin Park > CC: Minkyu Kang > --- > arch/arm/include/asm/arch-exynos/gpio.h | 17 + > 1 file c

Re: [U-Boot] Unified u-boot feature set for simpler distro support

2013-08-06 Thread Wolfgang Denk
Dear Stephen Warren, In message <520021e4.4070...@wwwdotorg.org> you wrote: > > Pluggable protocol modules a la UEFI would solve that;-) Load UEFI as payload from U-Boot instead of Linux, and let UEFI do the rest of the work? runs and hides ;-) Best regards, Wolfgang Denk -- DENX Software E

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Wolfgang Denk
Dear Rob Herring, In message you wrote: > > > Why would you ever want to compile this into U-Boot at all? Then any > > changes you need to make mean compiling and installing a new U-Boot, > > which is something you normally don't want to do. > > You may want to have factory default and "user"

Re: [U-Boot] [RFC 00/10] New board-specific USB initialization interface

2013-08-06 Thread Wolfgang Denk
Dear Mateusz Zalega, In message <1375786242-11734-1-git-send-email-m.zal...@samsung.com> you wrote: > Current implementation of do_dfu() and do_usb_mass_storage() requires > board-specific board_usb_init() which performs USB hardware initialization. > > I noticed that several boards have such a f

Re: [U-Boot] [PATCH v4 1/2] exynos5250: Add arndale board support

2013-08-06 Thread Minkyu Kang
On 25/07/13 21:46, Chander Kashyap wrote: > Arndale board is based on samsung's exynos5250 soc. > > Signed-off-by: Inderpal Singh > Signed-off-by: Chander Kashyap > --- > MAINTAINERS |4 + > board/samsung/arndale/Makefile | 50 ++ > board/samsung

[U-Boot] [PATCH 1/2 v2] arm: smdkc100: remove config.mk file

2013-08-06 Thread Minkyu Kang
Since config.mk is deprecated, remove this file, and move CONFIG_SYS_TEXT_BASE define to config file. Signed-off-by: Minkyu Kang Cc: Wolfgang Denk --- changes for v2: rebased. board/samsung/smdkc100/config.mk | 16 include/configs/smdkc100.h |3 +++ 2 files

[U-Boot] [PATCH 2/2 v2] arm: goni: remove config.mk file

2013-08-06 Thread Minkyu Kang
Since config.mk is deprecated, remove this file, and move CONFIG_SYS_TEXT_BASE define to config file. Signed-off-by: Minkyu Kang --- changes for v2: rebased. board/samsung/goni/config.mk | 18 -- include/configs/s5p_goni.h |3 +++ 2 files changed, 3 insertions(+)

[U-Boot] [PATCH 4/4] ARM: OMAP4460: sdp: Limit TPS mux config to 4460

2013-08-06 Thread Taras Kondratiuk
TPS mux config is 4460 specific, so it should be limited to 4460 only. Signed-off-by: Taras Kondratiuk --- board/ti/sdp4430/sdp.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/ti/sdp4430/sdp.c b/board/ti/sdp4430/sdp.c index 25daaa9..0479a56 100644 --- a/board/ti/

[U-Boot] [PATCH 1/4] ARM: OMAP4470: Add OMAP4470 identification

2013-08-06 Thread Taras Kondratiuk
Signed-off-by: Taras Kondratiuk --- arch/arm/cpu/armv7/omap4/hwinit.c |3 +++ arch/arm/include/asm/arch-omap4/omap.h |1 + arch/arm/include/asm/omap_common.h |1 + 3 files changed, 5 insertions(+) diff --git a/arch/arm/cpu/armv7/omap4/hwinit.c b/arch/arm/cpu/armv7/omap4/hwi

[U-Boot] [PATCH 2/4] ARM: OMAP4470: Add voltage and dpll data

2013-08-06 Thread Taras Kondratiuk
OMAP4470 reference design uses TWL6032 PMIC with a following connection scheme: VDD_CORE = TWL6032 SMPS2 VDD_MPU = TWL6032 SMPS1 VDD_IVA = TWL6032 SMPS5 Set voltage and frequency values according to OMAP4470 Data Manual Operating Condition Addendum v0.7 Signed-off-by: Taras Kondratiuk --

[U-Boot] [PATCH 0/4] ARM: OMAP4: Add OMAP4470 support

2013-08-06 Thread Taras Kondratiuk
This series adds OMAP4470 support. It initializes clocks, voltages and EMIF. This is enough to boot SLP, but U-Boot will try to start battery charging on TWL6032 and will crash, because registers GPADC registers are different. To get fully functional system Oleg's TWL6032 series [1] is needed on

[U-Boot] [PATCH 3/4] ARM: OMAP4470: Add Elpida EDB8164B3PF memory configuration

2013-08-06 Thread Taras Kondratiuk
From: Lubomir Popov OMAP4470 SDP SoM has EDB8164B3PF PoP memory on board. This memory has 4Gb x 2CS = 8Gb configuration. Add configuration for runtime calculation and precalculated cases. Patch is based on a draft Lubomir's patch [1]. [1] http://lists.denx.de/pipermail/u-boot/2013-April/150851.

[U-Boot] [RFC PATCH 0/2] Moving ARM DCC from stdio to serial

2013-08-06 Thread Michal Simek
Hi, I am not sure about this change but it seems to me there shouldn't be any problem to remove stdio support because it can be simple another serial driver which can use serial multi interface. Also it is in serial folder. What was the reason to use it as stdio device? Or is there still a reason

[U-Boot] [PATCH] omap: emif: Set initial DDR PHY config first

2013-08-06 Thread Taras Kondratiuk
Commit "OMAP5: emif/ddr: Change emif settings as required for ES1.0 silicon" (f40107345cbcd6e0d1747eda45e76c4e2a6df0db) changed sequence to set final DDR PHY config register value at the beginning. Looks like it was made by mistake and should be reverted. Signed-off-by: Taras Kondratiuk --- Based

[U-Boot] [RFC PATCH 2/2] serial: arm_dcc: Register with serial core

2013-08-06 Thread Michal Simek
From: Jagannadha Sutradharudu Teki Register arm_dcc with drivers/serial/serial.c Signed-off-by: Jagannadha Sutradharudu Teki Signed-off-by: Michal Simek --- drivers/serial/arm_dcc.c | 33 +++-- drivers/serial/serial.c | 2 ++ 2 files changed, 29 insertions(+), 6

[U-Boot] [RFC PATCH 1/2] serial: arm_dcc: Remove stdio structure support

2013-08-06 Thread Michal Simek
From: Jagannadha Sutradharudu Teki Removed stdio structure ops support on arm_dcc driver, and need to register with serial core so-that it can access like remianing serial drivers. Signed-off-by: Jagannadha Sutradharudu Teki Signed-off-by: Michal Simek --- common/stdio.c | 3 --- d

Re: [U-Boot] [PATCH] ARM: mxs: tools: Add mkimage support for MXS bootstream

2013-08-06 Thread Tom Rini
On Wed, Jul 31, 2013 at 03:50:55PM +0200, Marek Vasut wrote: > Add mkimage support for generating and verifying MXS bootstream. > The implementation here is mostly a glue code between MXSSB v0.4 > and mkimage, but the long-term goal is to rectify this and merge > MXSSB with mkimage more tightly. O

[U-Boot] [RESEND PATCH v5 1/1] socfpga: Creating driver for Reset Manager

2013-08-06 Thread Chin Liang See
Consolidating reset code into reset_manager.c. Also separating reset configuration for virtual target and real hardware Cyclone V development kit Signed-off-by: Chin Liang See Reviewed-by: Pavel Machek Cc: Wolfgang Denk CC: Pavel Machek Cc: Dinh Nguyen Cc: Tom Rini Cc: Albert Aribaud --- Cha

Re: [U-Boot] [PATCH 3/4] ARM: OMAP4470: Add Elpida EDB8164B3PF memory configuration

2013-08-06 Thread Lokesh Vutla
Hi Taras, On Tuesday 06 August 2013 05:48 PM, Taras Kondratiuk wrote: > From: Lubomir Popov > > OMAP4470 SDP SoM has EDB8164B3PF PoP memory on board. > This memory has 4Gb x 2CS = 8Gb configuration. > Add configuration for runtime calculation and precalculated cases. > > Patch is based on a draf

Re: [U-Boot] [PATCH] ARM: mxs: tools: Add mkimage support for MXS bootstream

2013-08-06 Thread Marek Vasut
Dear Tom Rini, > On Wed, Jul 31, 2013 at 03:50:55PM +0200, Marek Vasut wrote: > > Add mkimage support for generating and verifying MXS bootstream. > > The implementation here is mostly a glue code between MXSSB v0.4 > > and mkimage, but the long-term goal is to rectify this and merge > > MXSSB wit

[U-Boot] [RESEND PATCH v5 1/1] socfpga: Adding configuration for development kit

2013-08-06 Thread Chin Liang See
Separating the configuration file for Virtual Target and real hardware Cyclone V development kit Signed-off-by: Chin Liang See Reviewed-by: Pavel Machek Cc: Wolfgang Denk CC: Pavel Machek Cc: Dinh Nguyen Cc: Tom Rini Cc: Albert Aribaud --- Changes for v2: - Fixed the word wrap issue withi

[U-Boot] [RESEND PATCH v6 1/2] socfpga: Adding System Manager driver

2013-08-06 Thread Chin Liang See
Adding System Manager driver which will configure the pin mux for real hardware Cyclone V development kit (not Virtual Platform) Signed-off-by: Chin Liang See Reviewed-by: Pavel Machek Cc: Wolfgang Denk CC: Pavel Machek Cc: Dinh Nguyen Cc: Tom Rini Cc: Albert Aribaud --- Changes for v2:

[U-Boot] [RESEND PATCH v5 2/2] socfpga: Adding pin mux handoff files

2013-08-06 Thread Chin Liang See
Adding the generated pin mux configuration by Preloader Generator tool Signed-off-by: Chin Liang See Reviewed-by: Pavel Machek Cc: Wolfgang Denk CC: Pavel Machek Cc: Dinh Nguyen Cc: Tom Rini Cc: Albert Aribaud --- Changes for v2: - Fixed the word wrap issue within patch Changes for v3:

[U-Boot] [PATCH v5 0/2] Add Arndale board support

2013-08-06 Thread Chander Kashyap
The Arndale board is based on samsung's exynos5250 SOC. For spl generation, it depends on the patch at [5]. First patch provides the basic arndale board support. The second patch adds the MMC support. Changes in v2: - split from earlier patchset at [3] as per Minkyu - Removed chec

[U-Boot] [PATCH v5 2/2] exynos5250: arndale: Add mmc support

2013-08-06 Thread Chander Kashyap
From: Inderpal Singh This patch adds mmc support to the arndale board. Signed-off-by: Inderpal Singh --- board/samsung/arndale/arndale.c | 14 ++ board/samsung/dts/exynos5250-arndale.dts | 18 ++ 2 files changed, 32 insertions(+) diff --git a/board/sam

[U-Boot] [PATCH v5 1/2] exynos5250: Add arndale board support

2013-08-06 Thread Chander Kashyap
Arndale board is based on samsung's exynos5250 soc. Signed-off-by: Inderpal Singh Signed-off-by: Chander Kashyap --- MAINTAINERS |4 + board/samsung/arndale/Makefile | 34 board/samsung/arndale/arndale.c | 87 ++ board/samsung

Re: [U-Boot] [PATCH v4 1/2] exynos5250: Add arndale board support

2013-08-06 Thread Chander Kashyap
On 6 August 2013 17:16, Minkyu Kang wrote: > On 25/07/13 21:46, Chander Kashyap wrote: >> Arndale board is based on samsung's exynos5250 soc. >> >> Signed-off-by: Inderpal Singh >> Signed-off-by: Chander Kashyap >> --- >> MAINTAINERS |4 + >> board/samsung/arnda

[U-Boot] [PATCH v6 1/2] exynos5250: Add arndale board support

2013-08-06 Thread Chander Kashyap
Arndale board is based on samsung's exynos5250 soc. Signed-off-by: Inderpal Singh Signed-off-by: Chander Kashyap --- MAINTAINERS |4 + board/samsung/arndale/Makefile | 34 board/samsung/arndale/arndale.c | 87 ++ board/samsung

[U-Boot] [PATCH v6 0/2] Add Arndale board support

2013-08-06 Thread Chander Kashyap
The Arndale board is based on samsung's exynos5250 SOC. For spl generation, it depends on the patch at [5]. First patch provides the basic arndale board support. The second patch adds the MMC support. Changes in v2: - split from earlier patchset at [3] as per Minkyu - Removed chec

[U-Boot] [PATCH v6 2/2] exynos5250: arndale: Add mmc support

2013-08-06 Thread Chander Kashyap
From: Inderpal Singh This patch adds mmc support to the arndale board. Signed-off-by: Inderpal Singh --- board/samsung/arndale/arndale.c | 14 ++ board/samsung/dts/exynos5250-arndale.dts | 18 ++ 2 files changed, 32 insertions(+) diff --git a/board/sam

Re: [U-Boot] [i2c] Pull request

2013-08-06 Thread Tom Rini
On Sat, Aug 03, 2013 at 06:07:15AM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c > > The following changes since commit 245d65b6e503f3a159cffb3392ac3b2c25606d8e: > > Merge branch 'master' of git://git.denx.de/u-boot-usb (2013-08-01 09:19:28 > -0400) > > are avail

Re: [U-Boot] [PATCH 2/7] video, da8xx: move da8xx-fb.h to drivers/video

2013-08-06 Thread Tom Rini
On Sat, Aug 03, 2013 at 07:22:48AM +0200, Heiko Schocher wrote: > the da8xx-fb driver works also on am335x boards. So move > the da8xx-fb.h file from arch/arm/include/asm/arch-davinci > to drivers/video, so this driver can used from am335x > based boards. Also add WVGA panel_type. > > Signed-off-

Re: [U-Boot] [PATCH 1/7] arm, am335x: add some missing registers and defines for lcd and epwm support

2013-08-06 Thread Tom Rini
On Sat, Aug 03, 2013 at 07:22:47AM +0200, Heiko Schocher wrote: [snip] > +struct pwmss_ecap_regs { > + unsigned int tsctr; > + unsigned int ctrphs; > + unsigned int cap1; > + unsigned int cap2; > + unsigned int cap3; > + unsigned int cap4; > + unsigned int reserved[4];

Re: [U-Boot] [PATCH 3/7] arm, am33xx: add clk_get prototype

2013-08-06 Thread Tom Rini
On Sat, Aug 03, 2013 at 07:22:49AM +0200, Heiko Schocher wrote: > the clk_get() function is needed for the da8xx-fb video driver, > which is used on the am3xx based siemens boards. > > Signed-off-by: Heiko Schocher > Cc: Tom Rini Acked-by: Tom Rini -- Tom signature.asc Description: Digita

Re: [U-Boot] [PATCH 4/7] video, da8xx-fb: changes for am335x usage

2013-08-06 Thread Tom Rini
On Sat, Aug 03, 2013 at 07:22:50AM +0200, Heiko Schocher wrote: > to use this driver also on am335x based boards, the following > changes are made: > > - struct lcd_ctrl_config lcd_cfg is now configurable > through board code > > - controller base is configurable through define > DA8XX_LCD_C

Re: [U-Boot] [PATCH 5/7] video, da8xx-fb: show fb addr in bdinfo

2013-08-06 Thread Tom Rini
On Sat, Aug 03, 2013 at 07:22:51AM +0200, Heiko Schocher wrote: > without this patch the bdinfo command shows: > U-Boot# bd > arch_number = 0x10DC > [...] > sp start= 0x8EF32F20 > FB base = 0x > > with this patch it shows the address where the framebuffer > for this video driv

Re: [U-Boot] [PATCH 7/7] video: add an option to skip cfb console init

2013-08-06 Thread Tom Rini
On Sat, Aug 03, 2013 at 07:22:53AM +0200, Heiko Schocher wrote: > This patch add an option to skip cfb console init for boards > who want to show a logo, but not use the cfb console. This is > needed for the siemens boards, which have a bmp bootlogo, but > do not need the cfb console. > > Signed-

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Stephen Warren
On 08/06/2013 05:37 AM, Wolfgang Denk wrote: > Dear Rob Herring, > > In message > you > wrote: >> >>> Why would you ever want to compile this into U-Boot at all? Then any >>> changes you need to make mean compiling and installing a new U-Boot, >>> which is something you normally don't want to

Re: [U-Boot] [PATCH 3/4] ARM: OMAP4470: Add Elpida EDB8164B3PF memory configuration

2013-08-06 Thread Taras Kondratiuk
On 08/06/2013 05:21 PM, Lokesh Vutla wrote: Hi Taras, On Tuesday 06 August 2013 05:48 PM, Taras Kondratiuk wrote: From: Lubomir Popov OMAP4470 SDP SoM has EDB8164B3PF PoP memory on board. This memory has 4Gb x 2CS = 8Gb configuration. Add configuration for runtime calculation and precalculated

Re: [U-Boot] [RESEND PATCH v5 1/1] socfpga: Creating driver for Reset Manager

2013-08-06 Thread Dinh Nguyen
On Tue, 2013-08-06 at 09:09 -0500, Chin Liang See wrote: > Consolidating reset code into reset_manager.c. > Also separating reset configuration for virtual target > and real hardware Cyclone V development kit > > Signed-off-by: Chin Liang See > Reviewed-by: Pavel Machek Add Pavel's email address

Re: [U-Boot] [RESEND PATCH v5 1/1] socfpga: Adding configuration for development kit

2013-08-06 Thread Dinh Nguyen
On Tue, 2013-08-06 at 09:08 -0500, Chin Liang See wrote: > Separating the configuration file for Virtual > Target and real hardware Cyclone V development kit > > Signed-off-by: Chin Liang See > Reviewed-by: Pavel Machek Include Pavel's email address. > Cc: Wolfgang Denk > CC: Pavel Machek > C

Re: [U-Boot] [RFC PATCH 0/2] Moving ARM DCC from stdio to serial

2013-08-06 Thread Wolfgang Denk
Dear Michal Simek, In message you wrote: > > I am not sure about this change but it seems to me > there shouldn't be any problem to remove stdio > support because it can be simple another serial driver > which can use serial multi interface. Does this not mean we lose the capability to use DCC

Re: [U-Boot] [RESEND PATCH v6 1/2] socfpga: Adding System Manager driver

2013-08-06 Thread Dinh Nguyen
On Tue, 2013-08-06 at 09:10 -0500, Chin Liang See wrote: > Adding System Manager driver which will configure the > pin mux for real hardware Cyclone V development kit > (not Virtual Platform) > > Signed-off-by: Chin Liang See > Reviewed-by: Pavel Machek > Cc: Wolfgang Denk > CC: Pavel Machek >

Re: [U-Boot] [RESEND PATCH v5 2/2] socfpga: Adding pin mux handoff files

2013-08-06 Thread Dinh Nguyen
On Tue, 2013-08-06 at 09:10 -0500, Chin Liang See wrote: > Adding the generated pin mux > configuration by Preloader Generator tool > > Signed-off-by: Chin Liang See > Reviewed-by: Pavel Machek > Cc: Wolfgang Denk > CC: Pavel Machek > Cc: Dinh Nguyen > Cc: Tom Rini > Cc: Albert Aribaud > --

Re: [U-Boot] [PATCH 2/4] bootstage: get more BOOTSTAGE_ID* in show_boot_progress()

2013-08-06 Thread Simon Glass
On Mon, Aug 5, 2013 at 8:00 AM, Heiko Schocher wrote: > In case CONFIG_BOOTSTAGE is not defined, call from bootstage_mark_name() > show_boot_progress(), so get more BOOTSTAGE_ID* ids in show_boot_progress() > if CONFIG_BOOTSTAGE is not defined. > > Signed-off-by: Heiko Schocher > Cc: Simon Glass

[U-Boot] [RESEND PATCH v2 02/20] sf: probe: Add new spi_flash_probe support

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added new spi_flash_probe support, currently added N25Q* flash part attributes support. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Defined CONFIG_SPI_FLASH_LEGACY for old probing style which is available on spi_

[U-Boot] [RESEND PATCH v2 00/20] sf: Add common probe support

2013-08-06 Thread Jagannadha Sutradharudu Teki
Hi All, This is a v2 series for "sf: Add common probe support" I am u-boot/spi custodian, I removed all flash drivers files(except ramtron, handled in a separate driver) and implemented a common probe support. Tested SST, STMICR, SPANSION, WINBOND from my side, REQUEST FOR ALL SPI CODE FLASH_UE

[U-Boot] [RESEND PATCH v2 03/20] sf: probe: Add support for M25P* flash parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added M25P* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/

[U-Boot] [RESEND PATCH v2 04/20] sf: probe: Add support for EN25Q* flash parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added EN25Q* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - Enable CONFIG_SPI_FLAS

[U-Boot] [RESEND PATCH v2 05/20] sf: probe: Add support for GD25* flash parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added GD25* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - Enable CONFIG_SPI_FLASH

[U-Boot] [RESEND PATCH v2 19/20] sf: Remove unneeded flash drivers files

2013-08-06 Thread Jagannadha Sutradharudu Teki
Now the common probing is handled in spi_flash_probe.c hence removed the unneeded flash drivers. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/Makefile | 12 +- drivers/mtd/spi/atmel.c | 544 -

[U-Boot] [RESEND PATCH v2 18/20] sf: ramtron: Add support for separate flash driver

2013-08-06 Thread Jagannadha Sutradharudu Teki
Compared to other spi flashes, ramtron has a different probing and implementation on flash ops, hence moved ramtron probe code into ramtron driver. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/Makefile | 6 +- drivers/mtd/spi/r

[U-Boot] [RESEND PATCH v2 15/20] sf: probe: Add support for flag status polling

2013-08-06 Thread Jagannadha Sutradharudu Teki
>From Micron, 512MB onwards, flash requires to poll flag status instead of read status- hence added E_FSR flag on spectific flash parts. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 14 +- include/spi_flash.h

[U-Boot] [RESEND PATCH v2 11/20] sf: probe: Give proper spacing on flash table params

2013-08-06 Thread Jagannadha Sutradharudu Teki
Given proper spacing between flash table params. Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/spi_flash_probe.c | 154 +++--- 1 file changed, 77 insertions(+), 77 deletions(-) diff --git a/drivers/mtd/spi/spi_flash_probe.c b/drivers/mtd/spi/sp

[U-Boot] [RESEND PATCH v2 14/20] sf: probe: Add support for erase sector selection flag

2013-08-06 Thread Jagannadha Sutradharudu Teki
SECT_4K, SECT_32K and SECT_64K opeartions are performed to to specific flash by adding a SECT* flag on respective spi_flash_params.flag param. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/spi_flash_ops.c | 8 +- drivers/mtd/spi/spi_flash_pro

[U-Boot] [RESEND PATCH v2 12/20] sf: probe: Add support for SST_WP

2013-08-06 Thread Jagannadha Sutradharudu Teki
Most of the SST flashes needs to write up using SST_WP, AAI Word Program, so added a flag param on spi_flash_params table. SST flashes, which supports SST_WP need to use a WP write sst_write_wp instead of common flash write. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2:

[U-Boot] [RESEND PATCH v2 08/20] sf: probe: Add support for S25FL* flash parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added S25FL* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - Enable CONFIG_SPI_FLAS

[U-Boot] [RESEND PATCH v2 10/20] sf: probe: Add support for AT45DB* flash parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added AT45DB* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - Enable CONFIG_SPI_FLA

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 12:50 PM, Stephen Warren wrote: > On 08/06/2013 05:37 AM, Wolfgang Denk wrote: >> Dear Rob Herring, >> >> In message >> you >> wrote: >>> Why would you ever want to compile this into U-Boot at all? Then any changes you need to make mean compiling and installing

[U-Boot] [RESEND PATCH v2 06/20] sf: probe: Add support for MX25L* flash parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added MX25L* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - Enable CONFIG_SPI_FLAS

[U-Boot] [RESEND PATCH v2 17/20] sf: Add proper comment style on spi_flash structure

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added proper comment style on spi_flash structure to make more readable. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none include/spi_flash.h | 63 + 1 file changed, 35 insertions(+), 28 deletions(-) diff --git a

  1   2   >