[U-Boot] [PATCH v6] spi: add TI QSPI driver

2013-10-07 Thread Jagannadha Sutradharudu Teki
From: Matt Porter Adds a SPI master driver for the TI QSPI peripheral. - Added quad read support. - Added memory mapped support. Signed-off-by: Matt Porter Signed-off-by: Sourav Poddar Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v6: - Added ti related comments

[U-Boot] [PATCH] include: delete include/linux/config.h

2013-10-07 Thread Masahiro Yamada
Linux Kernel abolished include/linux/config.h long time ago. (around version v2.6.18..v2.6.19) We don't need to provide Linux copatibility any more. This commit deletes include/linux/config.h and fixes source files not to include this. Signed-off-by: Masahiro Yamada --- arch/arm/include/asm/ar

Re: [U-Boot] [UBOOT][PATCHv5 4/6] spi: add TI QSPI driver

2013-10-07 Thread Jagan Teki
Observed some checkpatch.pl issues and others too. I have fixed some issues, and rearranged the code as well. see v6 isent, let me know about your comments. On Mon, Oct 7, 2013 at 10:46 AM, Sourav Poddar wrote: > From: Matt Porter > > Adds a SPI master driver for the TI QSPI peripheral. > > Sig

[U-Boot] [PATCH V2 4/6] SMDK5420: S2MPS11: Adds the register settings for S2MPS11

2013-10-07 Thread Leela Krishna Amudala
Adds the register settings, addresses and voltages associated with S2MPS11 Signed-off-by: Alim Akhtar Signed-off-by: Leela Krishna Amudala Reviewed-by: Vadim Bendebury --- include/power/s2mps11_pmic.h | 141 ++ 1 file changed, 141 insertions(+) create

[U-Boot] [PATCH V2 3/6] FDT: Exynos5420: Add compatible srings for PMIC

2013-10-07 Thread Leela Krishna Amudala
Add required compatible strings for PMIC S2MPS11 Signed-off-by: Leela Krishna Amudala --- include/fdtdec.h |1 + lib/fdtdec.c |1 + 2 files changed, 2 insertions(+) diff --git a/include/fdtdec.h b/include/fdtdec.h index 6bf83bf..6290078 100644 --- a/include/fdtdec.h +++ b/include/fd

[U-Boot] [PATCH V2 2/6] power: Explicitly select pmic device's bus

2013-10-07 Thread Leela Krishna Amudala
The current pmic i2c code assumes the current i2c bus is the same as the pmic device's bus. There is nothing ensuring that to be true. Therefore, select the proper bus before performing a transaction. Signed-off-by: Aaron Durbin Signed-off-by: Simon Glass Signed-off-by: Leela Krishna Amudala Re

[U-Boot] [PATCH V2 0/6] SMDK5420: Add S2MPS11 pmic support to SMDK5420

2013-10-07 Thread Leela Krishna Amudala
This patchset adds support for S2MPS11 pmic on SMDK5420 This patchset has dependency on Rajeshwari's base patchset: [V4] EXYNOS5420: Add SMDK5420 board support http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/170582 Also, for testing we need Naveen's i2c patchset as well: i2c: improve s3c

[U-Boot] [PATCH V2 1/6] exynos: Use common pmic_reg_update() definition

2013-10-07 Thread Leela Krishna Amudala
This function is used by different Exynos platforms, put it in the common file. Signed-off-by: Vadim Bendebury Signed-off-by: Leela Krishna Amudala Reviewed-by: Doug Anderson --- board/samsung/common/board.c | 19 --- drivers/power/power_core.c | 19 +++ i

Re: [U-Boot] [UBOOT][PATCHv5 3/6] sf: Add memory mapped read support

2013-10-07 Thread Jagan Teki
On Mon, Oct 7, 2013 at 10:46 AM, Sourav Poddar wrote: > Qspi controller can have a memory mapped port which can be used for > data read. Added support to enable memory mapped port read. > > This patch enables the following: > - It enables exchange of memory map address between mtd and qspi > throu

[U-Boot] [PATCH V2 6/6] config: SMDK5420: Enable S2MPS11 pmic

2013-10-07 Thread Leela Krishna Amudala
configure S2MPS11 pmic on SMDK5420 Signed-off-by: Leela Krishna Amudala --- include/configs/smdk5420.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/smdk5420.h b/include/configs/smdk5420.h index 447f8e5..46aeec0 100644 --- a/include/configs/smdk5420.h +++ b/include/c

[U-Boot] [PATCH V2 5/6] exynos: Add a common DT based PMIC driver initialization

2013-10-07 Thread Leela Krishna Amudala
Most of i2c PMIC drivers follow the same initialization sequence, let's generalize it in a common file. The initialization function finds the PMIC in the device tree, and if found - registers it in the list of known PMICs and initializes it, iterating through the table of settings supplied by the

Re: [U-Boot] [PATCH v6] spi: add TI QSPI driver

2013-10-07 Thread Sourav Poddar
On Monday 07 October 2013 12:33 PM, Jagannadha Sutradharudu Teki wrote: From: Matt Porter Adds a SPI master driver for the TI QSPI peripheral. - Added quad read support. - Added memory mapped support. Signed-off-by: Matt Porter Signed-off-by: Sourav Poddar Signed-off-by: Jagannadha Sutradharudu

Re: [U-Boot] Pull request for u-boot-marvell.git

2013-10-07 Thread Holger Brunck
Hi, On 10/02/2013 02:51 PM, Albert ARIBAUD wrote: > Hi Prafulla, > > On Wed, 25 Sep 2013 04:20:24 -0700, Prafulla Wadaskar > wrote: > >> Hi Albert, >> Please kindly pull >> The following changes since commit 12eba1b49380988fd87cc0b3af44014cca8b71c4: >> Jeroen Hofstee (1): >> README: u

Re: [U-Boot] [PATCH v2] mxc_spi: bugfix for double incrementing read pointer on unaligned buffers in spi_xchg_single

2013-10-07 Thread Jagan Teki
Did you test this on u-boot-spi.git with master-probe branch? On Mon, Oct 7, 2013 at 12:20 PM, Timo Herbrecher wrote: > If dout buffer is not 32 bit-aligned or data to transmit is not multiple > of 32 bit the read data pointer is already incremented on single byte reads. > > Signed-off-by: Timo H

Re: [U-Boot] [PATCH] env_mmc: fix buffer allocation for armv7

2013-10-07 Thread Markus Niebel
Hello, Am 04.10.2013 19:02, wrote Tom Rini: > On Fri, Oct 04, 2013 at 03:48:03PM +0200, Markus Niebel wrote: > >> From: Markus Niebel >> >> commit d196bd880347373237d73e0d115b4d51c68cf2ad adds >> redundand environment to mmc. The usage of malloc in >> env_relocate_spec triggers cache errors on a

Re: [U-Boot] [PATCH] ARM: align MVBAR on 32 byte boundary

2013-10-07 Thread Andre Przywara
On 10/07/2013 04:46 AM, Masahiro Yamada wrote: The lower 5 bit of MVBAR is UNK/SBZP. So, Monitor Vector Base Address must be 32-byte aligned. On the other hand, the secure monitor handler does not need 32-byte alignment. This commit moves ".algin 5" directive to the correct place. Signed-off-by

[U-Boot] [PATCH] ARM: virtualization: replace verbose license with SPDX identifier

2013-10-07 Thread Andre Przywara
The original creation of arch/arm/cpu/armv7/{virt-v7.c,nonsec_virt.S} predates the SPDX conversion, so the original elaborate license statements sneaked in. Fix this by replacing them with the proper abbreviation. Signed-off-by: Andre Przywara --- arch/arm/cpu/armv7/nonsec_virt.S | 18 +-

Re: [U-Boot] [PATCH] ARM: align MVBAR on 32 byte boundary

2013-10-07 Thread Masahiro Yamada
Hello Andre, > Masahiro, > > good catch, thanks for spotting! > > I am wondering whether we need the alignment statements in the various > start.S files also, because the lower 5 bits are reserved for VBAR too. I think start.o is always located at the begnning of .text section. So, we do not

[U-Boot] [PATCH 0/2] powerpc/t104xrdb: Add support for T1040RDB and T1042RDB_PI

2013-10-07 Thread Priyanka Jain
Signed-off-by: Poonam Aggrwal Signed-off-by: Prabhakar Kushwaha Signed-off-by: Priyanka Jain --- Add support for T1040RDB and T1042RDB_PI boards T1040RDB and T1042RDB_PI are similar boards with few differences like -T1040RDB is reference design board for T1040Soc whereas T1042RDB_PI is referen

[U-Boot] [PATCH 2/2] powerpc/t104xrdb: Add T1042RDB_PI board support

2013-10-07 Thread Priyanka Jain
T1042RDB_PI is Freescale Reference Design Board supporting the T1042 QorIQ Power Architecture™ processor. T1042 is a reduced personality of T1040 SoC without Integrated 8-port Gigabit. The board is designed with low power features targeted for Printing Image Market. T1042RDB_PI is similar to T104

Re: [U-Boot] [PATCH 7/9][v2] net: tsec: Use portable types and accessors for BDs

2013-10-07 Thread Claudiu Manoil
On 10/5/2013 5:49 PM, Timur Tabi wrote: On Sat, Oct 5, 2013 at 9:31 AM, Timur Tabi wrote: + out_be32(®s->tbase, (u32)&txbd[0]); + out_be32(®s->rbase, (u32)&rxbd[0]); &rxbd[0] is a virtual address. Doesn't rbase require a physical address? You're assuming that virt == phys. Also: - out_

Re: [U-Boot] [PATCH 7/9][v2] net: tsec: Use portable types and accessors for BDs

2013-10-07 Thread Claudiu Manoil
On 10/5/2013 5:31 PM, Timur Tabi wrote: On Fri, Oct 4, 2013 at 11:25 AM, Claudiu Manoil wrote: [v3] declaring the BDs as __iomem to avoid casting submitted: http://patchwork.ozlabs.org/patch/280664/ + out_be32(®s->tbase, (u32)&txbd[0]); + out_be32(®s->rbase, (u32)&rxbd[0]); &rxbd[0] is a vi

[U-Boot] [UBOOT][PATCHv6 2/6] armv7: hw_data: change clock divider setting.

2013-10-07 Thread Sourav Poddar
Clock requirement for qspi clk is 192 Mhz. According to the below formulae, f dpll = f ref * 2 * m /(n + 1) clockoutx2_Hmn = f dpll / (hmn+ 1) fref = 20 Mhz, m = 96, n = 4 gives f dpll = 768 Mhz For clockoutx2_Hmn to be 768, hmn + 1 should be 4. Signed-off-by: Sourav Poddar --- arch/arm/cpu/ar

[U-Boot] [UBOOT][PATCHv6 0/6] Add TI qspi controller with memory mapped support.

2013-10-07 Thread Sourav Poddar
This patch series add support for TI qspi controller and in the process also add support for quad read and memory mapped read in mtd spi framework. Testing details: Did a boot from qspi mode on DRA7xx. Testing details present in the last patch of the series. Currently, TI qpsi controller supports

[U-Boot] [UBOOT][PATCHv6 4/6] spi: add TI QSPI driver

2013-10-07 Thread Sourav Poddar
From: Matt Porter Adds a SPI master driver for the TI QSPI peripheral. - Added quad read support. - Added memory mapped support. Signed-off-by: Matt Porter Signed-off-by: Sourav Poddar Signed-off-by: Jagannadha Sutradharudu Teki --- v5->v6: - Added ti related comments - Create

[U-Boot] [UBOOT][PATCHv6 1/6] omap5: add qspi support

2013-10-07 Thread Sourav Poddar
From: Matt Porter Add QSPI definitions and clock configuration support. Signed-off-by: Matt Porter Signed-off-by: Sourav Poddar --- arch/arm/cpu/armv7/omap5/hw_data.c |8 arch/arm/cpu/armv7/omap5/prcm-regs.c |1 + arch/arm/include/asm/arch-omap5/omap.h |3 +++ arch/

[U-Boot] [UBOOT][PATCHv6 3/6] sf: Add memory mapped read support

2013-10-07 Thread Sourav Poddar
Qspi controller can have a memory mapped port which can be used for data read. Added support to enable memory mapped port read. This patch enables the following: - It enables exchange of memory map address between mtd and qspi through the introduction of "memory_map" flag. - Add support to communi

[U-Boot] [UBOOT][PATCHv6 6/6] README: qspi usecase and testing documentation.

2013-10-07 Thread Sourav Poddar
Contains documentation and testing details for qspi flash interface. Signed-off-by: Sourav Poddar --- doc/SPI/README.ti_qspi_dra_test | 48 +++ doc/SPI/README.ti_qspi_flash| 47 ++ 2 files changed, 95 insertions(+),

[U-Boot] [UBOOT][PATCHv6 5/6] dra7xx_evm: add SPL API, QSPI, and serial flash support

2013-10-07 Thread Sourav Poddar
From: Matt Porter Enables support for SPI SPL, QSPI and Spansion serial flash device on the EVM. Configures pin muxes for QSPI mode. Signed-off-by: Matt Porter Signed-off-by: Sourav Poddar --- v5->v6: change MMAP name to amore readable name. board/ti/dra7xx/mux_data.h | 10 ++ inc

Re: [U-Boot] [PATCH v6] usb: new board-specific USB init interface

2013-10-07 Thread Mateusz Zalega
On 10/05/13 02:48, Troy Kisky wrote: > On 10/4/2013 10:22 AM, Mateusz Zalega wrote: >> +/* >> + * You can initialize platform's USB host or device >> + * ports by passing this enum as an argument to >> + * board_usb_init(). >> + */ >> +enum board_usb_init_type { >> +USB_INIT_HOST, >> +USB

Re: [U-Boot] [PATCH 1/4] Coding Style cleanup: remove trailing white space

2013-10-07 Thread Wolfgang Denk
Dear Michal Simek, In message <52524f3f.4040...@monstr.eu> you wrote: > > > tools/easylogo/linux_blackfin.tga | Bin 158718 -> 158697 > > bytes > > tools/easylogo/linux_logo.tga | Bin 19244 -> 19236 > > bytes > > Are these two correct changes? Oops, no. T

[U-Boot] Please pull u-boot-ti/master

2013-10-07 Thread Tom Rini
Hello, The following changes since commit e261c83aa04ce0396d57aaecf8dfe0970ffac03e: ARM: VExpress: enable ARMv7 virt support for VExpress A15 (2013-10-03 21:28:57 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to ddd025bb6

Re: [U-Boot] [PATCH 7/9][v2] net: tsec: Use portable types and accessors for BDs

2013-10-07 Thread Timur Tabi
Claudiu Manoil wrote: I think you're suggesting that virt_to_phys() should be used to fix that, right? Yes. However, virt_to_phys() is equivalent to that simple cast in most cases as there's no CONFIG_PHYS_64BIT for the platforms with eTSEC. I'm actually not sure if there's a platform with eT

Re: [U-Boot] [PATCH 01/11] fw_env.c: Increase max dev path to 32

2013-10-07 Thread Tom Rini
On Mon, Oct 07, 2013 at 07:47:13AM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20131006205527.GP15917@bill-the-cat> you wrote: > > > > > Do we really need a static size here? Can we not auto-adjust to the > > > needed size, say by dynamically allocating the buffer? > > > > Doesn't l

[U-Boot] [PATCH 2/3] sf: ramtron: Remove page_size print

2013-10-07 Thread Jagannadha Sutradharudu Teki
There is no page_size for ramtron flashes, so just print the detected flash and it's size. Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/ramtron.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mtd/spi/ramtron.c b/drivers/mtd/spi/ramtron.c index 5

[U-Boot] [PATCH 3/3] doc: SPI: Update SPI status track

2013-10-07 Thread Jagannadha Sutradharudu Teki
Updated SPI/status.txt, with memory_map and TODO. Signed-off-by: Jagannadha Sutradharudu Teki --- doc/SPI/status.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/SPI/status.txt b/doc/SPI/status.txt index 6050e4a..62c3c85 100644 --- a/doc/SPI/status.txt +++ b/doc/SP

[U-Boot] [PATCH 1/3] sf: Minor cleanups

2013-10-07 Thread Jagannadha Sutradharudu Teki
- Add spaces, tabs - Commenting. - Rearrange code. - Add static qualifier for missing func. - Remove memory_map from ramtron.c Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/ramtron.c | 2 -- drivers/mtd/spi/sf_internal.h | 8 drivers/mtd/spi/sf_probe.c| 7 ++

Re: [U-Boot] fs/fs.c - error handling needed?

2013-10-07 Thread Tom Rini
On Sat, Oct 05, 2013 at 09:49:41PM +0200, Wolfgang Denk wrote: > Dear Simon, > > with commit a8f6ab5 "fs: Add support for saving data to filesystems" > you add the function do_save() to U-Boot. This includes the following > code (line numbers as of current master): > > "fs/fs.c": > > ... > 331

Re: [U-Boot] [PATCH] env_mmc: fix buffer allocation for armv7

2013-10-07 Thread Tom Rini
On Mon, Oct 07, 2013 at 07:34:24AM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20131006204214.GO15917@bill-the-cat> you wrote: > > > > > Why do you hesitate to use the stack? > > > > Mainly to allow us to work in restricted stack areas like SPL where we > > simply may not have that m

Re: [U-Boot] [PATCHv2 5/8] drivers: mtd: spi: Modify read/write command for sfl256s flash.

2013-10-07 Thread Jagan Teki
On Wed, Aug 7, 2013 at 8:46 PM, Sourav Poddar wrote: > > On Wednesday 07 August 2013 08:35 PM, Jagan Teki wrote: >> >> On Wed, Aug 7, 2013 at 5:34 PM, Sourav Poddar >> wrote: >>> >>> Hi Jagan, >>> >>> On Wednesday 07 August 2013 05:21 PM, Jagan Teki wrote: Hi, On Wed, Aug 7, 20

Re: [U-Boot] Prevent null pointer dereference originating in cmd_pxe.c

2013-10-07 Thread Tom Rini
On Wed, Sep 25, 2013 at 09:35:30PM -0400, Steven Falco wrote: > Pass a valid cmdtp into do_tftpb(), do_ext2load(), and do_get_fat(), to avoid > possible crashes due to null pointer dereferencing. > > Signed-off-by: Steven A. Falco This doesn't apply cleanly, nor with --ignore-whitespace for me.

Re: [U-Boot] [PATCHv2 5/8] drivers: mtd: spi: Modify read/write command for sfl256s flash.

2013-10-07 Thread Sourav Poddar
On Monday 07 October 2013 05:51 PM, Jagan Teki wrote: On Wed, Aug 7, 2013 at 8:46 PM, Sourav Poddar wrote: On Wednesday 07 August 2013 08:35 PM, Jagan Teki wrote: On Wed, Aug 7, 2013 at 5:34 PM, Sourav Poddar wrote: Hi Jagan, On Wednesday 07 August 2013 05:21 PM, Jagan Teki wrote: Hi, On W

Re: [U-Boot] [PATCHv2 5/8] drivers: mtd: spi: Modify read/write command for sfl256s flash.

2013-10-07 Thread Jagan Teki
On Mon, Oct 7, 2013 at 5:58 PM, Sourav Poddar wrote: > On Monday 07 October 2013 05:51 PM, Jagan Teki wrote: >> >> On Wed, Aug 7, 2013 at 8:46 PM, Sourav Poddar >> wrote: >>> >>> On Wednesday 07 August 2013 08:35 PM, Jagan Teki wrote: On Wed, Aug 7, 2013 at 5:34 PM, Sourav Poddar wr

Re: [U-Boot] [PATCHv2 5/8] drivers: mtd: spi: Modify read/write command for sfl256s flash.

2013-10-07 Thread Sourav Poddar
On Monday 07 October 2013 05:59 PM, Jagan Teki wrote: On Mon, Oct 7, 2013 at 5:58 PM, Sourav Poddar wrote: On Monday 07 October 2013 05:51 PM, Jagan Teki wrote: On Wed, Aug 7, 2013 at 8:46 PM, Sourav Poddar wrote: On Wednesday 07 August 2013 08:35 PM, Jagan Teki wrote: On Wed, Aug 7, 2013 at

Re: [U-Boot] Pull request for u-boot-marvell.git

2013-10-07 Thread Prafulla Wadaskar
> -Original Message- > From: Holger Brunck [mailto:holger.bru...@keymile.com] > Sent: 07 October 2013 12:48 > To: Prafulla Wadaskar > Cc: Albert ARIBAUD; 'u-boot@lists.denx.de'; Manas > Saksena > Subject: Re: Pull request for u-boot-marvell.git > > Hi, > > On 10/02/2013 02:51 PM, Albert

[U-Boot] [PATCH] arm/km: fix i2c mux define for km_kirkwood_128m16 target

2013-10-07 Thread Holger Brunck
Due to the i2c mux rework in u-boot we now have only to specify the busnumber and not the whole mux configuration. Signed-off-by: Holger Brunck --- include/configs/km_kirkwood.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/km_kirkwood.h b/include/configs/

[U-Boot] [PATCH v2] sf: Minor cleanups

2013-10-07 Thread Jagannadha Sutradharudu Teki
- Add spaces, tabs - Commenting. - Rearrange code. - Add static qualifier for missing func. - Remove memory_map from ramtron.c - Ramtron: spi_flash_internal.h -> sf_internal.h Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - Replace rantron: spi_flash_internal.h -> sf_int

Re: [U-Boot] Prevent null pointer dereference originating in cmd_pxe.c

2013-10-07 Thread Steven Falco
Pass a valid cmdtp into do_tftpb(), do_ext2load(), and do_get_fat(), to avoid possible crashes due to null pointer dereferencing. Signed-off-by: Steven A. Falco --- > This doesn't apply cleanly, nor with --ignore-whitespace for me. Can > you please re-check and re-send the patch? Thanks. Sor

Re: [U-Boot] fs/fs.c - error handling needed?

2013-10-07 Thread Wolfgang Denk
Dear Tom, In message <20131007121252.GS15917@bill-the-cat> you wrote: > > > 331 filename = argv[3]; > > 332 addr = simple_strtoul(argv[4], NULL, cmdline_base); > > 333 bytes = simple_strtoul(argv[5], NULL, cmdline_base); > > 334 if (argc >= 7) > > 335

Re: [U-Boot] [PATCH] env_mmc: fix buffer allocation for armv7

2013-10-07 Thread Wolfgang Denk
Dear Tom, In message <20131007122020.GT15917@bill-the-cat> you wrote: > > > But malloc() is drawing from the very same resource as the stack, even > > more so: with a buffer on the stack, the memory isfreed completeky > > upon return from the fucntion, with no reminders left. With malloc() > > y

Re: [U-Boot] Prevent null pointer dereference originating in cmd_pxe.c

2013-10-07 Thread Jagan Teki
It's good to write commit message head for easy to track the fix from where. cmd_pxe: Prevent null pointer deference For more info, please look at here. http://www.denx.de/wiki/U-Boot/Patches On Mon, Oct 7, 2013 at 7:21 PM, Steven Falco wrote: > Pass a valid cmdtp into do_tftpb(), do_ext2load(

[U-Boot] [PATCH v3] sf: Minor cleanups

2013-10-07 Thread Jagannadha Sutradharudu Teki
- Add spaces, tabs - Commenting. - Rearrange code. - Add static qualifier for missing func. - Remove memory_map from ramtron.c - Ramtron: spi_flash_internal.h -> sf_internal.h Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v3: - Remove exctra added "update.txt" file Changes f

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

2013-10-07 Thread Jagannadha Sutradharudu Teki
Hi Tom, Just released pull request with new sf probe support. Tested these changes on stmicro, winbond, spansion and sst. -- Thanks, Jagan. The following changes since commit f835c77fb7e57508ffe8d8ca3a092ee28add77b2: Merge branch 'master' of git://git.denx.de/u-boot-arm (2013-10-04 13:17:48

Re: [U-Boot] fs/fs.c - error handling needed?

2013-10-07 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/07/2013 09:55 AM, Wolfgang Denk wrote: > Dear Tom, > > In message <20131007121252.GS15917@bill-the-cat> you wrote: >> >>> 331 filename = argv[3]; 332 addr = >>> simple_strtoul(argv[4], NULL, cmdline_base); 333 bytes >>>

Re: [U-Boot] [PATCH v3] sf: Minor cleanups

2013-10-07 Thread Jagan Teki
Applied to u-boot-spi/master -- Thanks, Jagan. On Mon, Oct 7, 2013 at 7:47 PM, Jagannadha Sutradharudu Teki wrote: > - Add spaces, tabs > - Commenting. > - Rearrange code. > - Add static qualifier for missing func. > - Remove memory_map from ramtron.c > - Ramtron: spi_flash_internal.h -> sf_inte

Re: [U-Boot] [PATCH 2/3] sf: ramtron: Remove page_size print

2013-10-07 Thread Jagan Teki
Applied to u-boot-spi/master -- Thanks, Jagan. On Mon, Oct 7, 2013 at 5:42 PM, Jagannadha Sutradharudu Teki wrote: > There is no page_size for ramtron flashes, > so just print the detected flash and it's size. > > Signed-off-by: Jagannadha Sutradharudu Teki > --- > drivers/mtd/spi/ramtron.c |

Re: [U-Boot] [PATCH 3/3] doc: SPI: Update SPI status track

2013-10-07 Thread Jagan Teki
Applied to u-boot-spi/master -- Thanks, Jagan. On Mon, Oct 7, 2013 at 5:42 PM, Jagannadha Sutradharudu Teki wrote: > Updated SPI/status.txt, with memory_map and TODO. > > Signed-off-by: Jagannadha Sutradharudu Teki > --- > doc/SPI/status.txt | 5 - > 1 file changed, 4 insertions(+), 1 dele

Re: [U-Boot] Prevent null pointer dereference originating in cmd_pxe.c

2013-10-07 Thread Fabio Estevam
On Mon, Oct 7, 2013 at 10:51 AM, Steven Falco wrote: > Sorry - I've been having trouble getting Thunderbird to leave my text > alone. There was some insane "flowed text" setting that I just discovered > and disabled. Better send patches via 'git send-email' as this can avoid these kind of email

Re: [U-Boot] [UBOOT][PATCHv6 0/6] Add TI qspi controller with memory mapped support.

2013-10-07 Thread Jagan Teki
On Mon, Oct 7, 2013 at 3:52 PM, Sourav Poddar wrote: > This patch series add support for TI qspi controller and in the process also > add support for quad read and memory mapped read > in mtd spi framework. > > Testing details: > Did a boot from qspi mode on DRA7xx. > Testing details present in th

[U-Boot] [PATCH 3/3] cm_t35: update lcd predefines

2013-10-07 Thread Nikita Kiryanov
Current predefines do not fit cm-t3730 very well (some of them produce artifacts in the image). Update LCD predefines to accommodate both cm-t35 and cm-t3730 modules. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- board/compulab/cm_t35/display.c | 8 +++- 1 file changed, 7

[U-Boot] [PATCH 2/3] cm_t35: turn on GPIO commands

2013-10-07 Thread Nikita Kiryanov
Turn on GPIO commands for cm-t35 and cm-t3730. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- include/configs/cm_t35.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h index f74ccdc..eff35b9 100644 --- a/include/configs/cm_

[U-Boot] [PATCH 1/3] cm_t35: reduce default bootdelay to 3 seconds

2013-10-07 Thread Nikita Kiryanov
Current default bootdelay of 10 seconds is too long. Reduce default bootdelay to 3 seconds. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- include/configs/cm_t35.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/cm_t35.h b/include/configs/cm_

[U-Boot] [PATCH 0/3] cm_t35 tune up

2013-10-07 Thread Nikita Kiryanov
This patchset is a collection of short cm_t35 updates. It changes some configuration parameters and turns on GPIO commands. Nikita Kiryanov (3): cm_t35: reduce default bootdelay to 3 seconds cm_t35: turn on GPIO commands cm_t35: update lcd predefines board/compulab/cm_t35/display.c | 8 +++

Re: [U-Boot] [UBOOT][PATCHv6 0/6] Add TI qspi controller with memory mapped support.

2013-10-07 Thread Sourav Poddar
On Monday 07 October 2013 08:01 PM, Jagan Teki wrote: On Mon, Oct 7, 2013 at 3:52 PM, Sourav Poddar wrote: This patch series add support for TI qspi controller and in the process also add support for quad read and memory mapped read in mtd spi framework. Testing details: Did a boot from qspi m

Re: [U-Boot] [Uboot][PATCH] drivers: spi: macronix: Add MX66L51235L data

2013-10-07 Thread Sourav Poddar
On Thursday 03 October 2013 09:19 PM, Jagan Teki wrote: Hi Sourav, Can you test this macronix part w.r.t latest code base on u-boot-spi.git with master-probe branch. Please let me know about any issues/concerns. Regarding the number of blocks, it should be 1024 only. I will do other testing a

Re: [U-Boot] [Uboot][PATCH] drivers: spi: macronix: Add MX66L51235L data

2013-10-07 Thread Jagan Teki
On Mon, Oct 7, 2013 at 8:50 PM, Sourav Poddar wrote: > On Thursday 03 October 2013 09:19 PM, Jagan Teki wrote: >> >> Hi Sourav, >> >> Can you test this macronix part w.r.t latest code base on >> u-boot-spi.git with master-probe branch. >> Please let me know about any issues/concerns. >> > Regardin

[U-Boot] [PATCH V2 3/3] cm_t35: update lcd predefines

2013-10-07 Thread Nikita Kiryanov
Current predefines do not fit cm-t3730 very well (some of them produce artifacts in the image). Update LCD predefines to accommodate both cm-t35 and cm-t3730 modules. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- Changes in V2: - In V1 an old version of the patch was se

Re: [U-Boot] : SPI patches

2013-10-07 Thread Jagan Teki
On Fri, Oct 4, 2013 at 1:34 AM, Jagan Teki wrote: > Hi Rajeswari, > > Below is a list of pending patches on my queue: > http://patchwork.ozlabs.org/patch/247461/ > http://patchwork.ozlabs.org/patch/247457/ > http://patchwork.ozlabs.org/patch/247452/ > http://patchwork.ozlabs.org/patch/247451/ > ht

Re: [U-Boot] [PATCH] Fix number base handling of "load" command

2013-10-07 Thread Stephen Warren
On 10/05/2013 01:07 PM, Wolfgang Denk wrote: > A documented, almost all U-Boot commands expect numbers to be entered s/A/As/ (btw, where?) > in hexadecimal input format. (Exception: for historical reasons, the > "sleep" command takes its argument in decimal input format.) > > This rule was broke

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

2013-10-07 Thread Albert ARIBAUD
Hi Tom, On Mon, 7 Oct 2013 07:44:56 -0400, Tom Rini wrote: > Hello, > > The following changes since commit e261c83aa04ce0396d57aaecf8dfe0970ffac03e: > > ARM: VExpress: enable ARMv7 virt support for VExpress A15 (2013-10-03 > 21:28:57 +0200) > > are available in the git repository at: > >

Re: [U-Boot] [PATCH 0/4] arm64: rela relocation

2013-10-07 Thread Scott Wood
On Sat, 2013-10-05 at 09:55 +0200, Albert ARIBAUD wrote: > Hi FengHua, > > On Fri, 4 Oct 2013 23:55:01 +0800 (GMT+08:00), FengHua > wrote: > > > > > > > > arm64: rela relocation > > > > > > This lets us remove the manual relocation stuff from the arm64 patchset > > > (the symbol itself is rem

Re: [U-Boot] [PATCH 7/9][v2] net: tsec: Use portable types and accessors for BDs

2013-10-07 Thread Scott Wood
On Mon, 2013-10-07 at 13:16 +0300, Claudiu Manoil wrote: > On 10/5/2013 5:31 PM, Timur Tabi wrote: > > On Fri, Oct 4, 2013 at 11:25 AM, Claudiu Manoil > > wrote: > > > >> [v3] declaring the BDs as __iomem to avoid casting submitted: > >> http://patchwork.ozlabs.org/patch/280664/ > > > > + out_be32

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

2013-10-07 Thread Albert ARIBAUD
Hi Chin, On Wed, 11 Sep 2013 11:26: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 > Acked-by: Dinh Nguyen > Cc: Wolfgang Denk > CC: Pavel Machek > Cc: Dinh Nguyen > Cc

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

2013-10-07 Thread Albert ARIBAUD
Hi Chin, On Wed, 11 Sep 2013 11:24:48 -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 > Acked-by: Dinh Nguyen > Cc

[U-Boot] Bootdelay -1 for none autoboot does not work

2013-10-07 Thread Mario Albrecht
Hi, i am using u-boot 213.07 and hav set CONFIG_BOOTDELAY to -1 to prevent autoboot. But u-boot seems to ignore the parameter and do autoboot after 1 second. Could someon please help why I cannot disable autoboot? Regards Mario ___ U-Boot mailing list U

[U-Boot] [PATCH] drivers/net/e1000: Introduce CONFIG_E1000_NO_NVM

2013-10-07 Thread Rojhalat Ibrahim
The e1000 driver expects to always have some kind of non-volatile memory attached directly to the ethernet controller chip. This means that I would have to add an additional separate flash chip to my custom board just to store essentially the MAC address. Since I don't want to do that, this patch i

[U-Boot] SPL initialization for DDR memory

2013-10-07 Thread Laszlo Papp
Hi all, I tried to ask for some help last week about the basics, but got no responses in here, unfortunately: http://lists.denx.de/pipermail/u-boot/2013-September/163875.html I decided to give it one more go. My current question: if I have a working u-boot for our board, and I only added the lin

Re: [U-Boot] Bootdelay -1 for none autoboot does not work

2013-10-07 Thread Eric Nelson
Hi Mario, On 10/07/2013 09:05 AM, Mario Albrecht wrote: Hi, i am using u-boot 213.07 and hav set CONFIG_BOOTDELAY to -1 to prevent autoboot. But u-boot seems to ignore the parameter and do autoboot after 1 second. Could someon please help why I cannot disable autoboot? Do you by chance have

Re: [U-Boot] Bootdelay -1 for none autoboot does not work

2013-10-07 Thread Robert P. J. Day
On Mon, 7 Oct 2013, Eric Nelson wrote: > Hi Mario, > > On 10/07/2013 09:05 AM, Mario Albrecht wrote: > > Hi, > > > > i am using u-boot 213.07 and hav set CONFIG_BOOTDELAY to -1 > > to prevent autoboot. But u-boot seems to ignore the parameter and > > do autoboot after 1 second. Could someon please

Re: [U-Boot] [PATCH] Fix number base handling of "load" command

2013-10-07 Thread Wolfgang Denk
Dear Stephen, In message <5252ddd4.8030...@wwwdotorg.org> you wrote: > On 10/05/2013 01:07 PM, Wolfgang Denk wrote: > > A documented, almost all U-Boot commands expect numbers to be entered Thanks for pointing out. > s/A/As/ (btw, where?) In TFM, section "5.9. U-Boot Command Line Interface", no

[U-Boot] [PATCH V2] Fix number base handling of "load" command

2013-10-07 Thread Wolfgang Denk
As documented, almost all U-Boot commands expect numbers to be entered in hexadecimal input format. (Exception: for historical reasons, the "sleep" command takes its argument in decimal input format.) This rule was broken for the "load" command; for details please see especially commits 045fa1e "

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

2013-10-07 Thread Albert ARIBAUD
Hello Tom, The following changes since commit e261c83aa04ce0396d57aaecf8dfe0970ffac03e: ARM: VExpress: enable ARMv7 virt support for VExpress A15 (2013-10-03 21:28:57 +0200) are available in the git repository at: git://git.denx.De/u-boot-arm master for you to fetch changes up to 572886a

Re: [U-Boot] ARM: virtualization: replace verbose license with SPDX identifier

2013-10-07 Thread Tom Rini
On Mon, Oct 07, 2013 at 10:56:51AM +0200, Andre Przywara wrote: > The original creation of arch/arm/cpu/armv7/{virt-v7.c,nonsec_virt.S} > predates the SPDX conversion, so the original elaborate license > statements sneaked in. > Fix this by replacing them with the proper abbreviation. > > Signed-

Re: [U-Boot] [PATCH] Fix number base handling of "load" command

2013-10-07 Thread Tom Rini
On Sat, Oct 05, 2013 at 09:07:25PM +0200, Wolfgang Denk wrote: > A documented, almost all U-Boot commands expect numbers to be entered > in hexadecimal input format. (Exception: for historical reasons, the > "sleep" command takes its argument in decimal input format.) > > This rule was broken for

Re: [U-Boot] pci: Properly configure prefetchable memory region

2013-10-07 Thread Tom Rini
On Fri, Sep 20, 2013 at 03:50:50PM +0200, Thierry Reding wrote: > Forcibly set hose->pci_prefetch to NULL to make sure it will be setup. > This will help if for any reason callers didn't make sure themselves to > NULL the field. > > Signed-off-by: Thierry Reding Applied to u-boot/master, thanks

Re: [U-Boot] [U-Boot, v3, 2/3] include/linux/fb.h: Add a missing include for 'list.h'

2013-10-07 Thread Tom Rini
On Thu, Oct 03, 2013 at 08:04:39AM -0300, Otavio Salvador wrote: > The modelist data uses the list definition but the 'list.h' header > were not being included. The build failure is bellow: > > , > | In file included from .c:16:0: > | .../u-boot/include/linux/fb.h:503:19: error: field 'mo

Re: [U-Boot] [U-Boot, v3, 1/3] mtd: Fix function description in part_validate comment

2013-10-07 Thread Tom Rini
On Thu, Oct 03, 2013 at 08:04:38AM -0300, Otavio Salvador wrote: > The part_validate comment had a wrong description of the actions it > does and referenced to non-existent functions while in fact it calls > 'part_validate_eraseblock()'. > > Signed-off-by: Otavio Salvador Applied to u-boot/mast

Re: [U-Boot] power:pmic: prevent data abort for pmic bat command

2013-10-07 Thread Tom Rini
On Thu, Sep 26, 2013 at 02:43:35PM +0200, Piotr Wilczek wrote: > This patch prevents data abort when pmic bat command is called > on non-batery pmic device. > > Signed-off-by: Piotr Wilczek > Signed-off-by: Kyungmin Park > CC: Lukasz Majewski > CC: Minkyu Kang Applied to u-boot/master, thank

Re: [U-Boot] [U-Boot, v3, 3/3] doc: Fix a typo in the description in doc/README.JFFS2_NAND

2013-10-07 Thread Tom Rini
On Thu, Oct 03, 2013 at 08:04:40AM -0300, Otavio Salvador wrote: > Signed-off-by: Otavio Salvador > > --- > Changes in v3: None > Changes in v2: None > > doc/README.JFFS2_NAND | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/doc/README.JFFS2_NAND b/doc/README.JFFS2_NAN

[U-Boot] [PATCH] Tegra114: Dalmore: Add voltage reg/PMIC init for various periphs

2013-10-07 Thread Tom Warren
These powerrails are currently needed for kernel boot. This will be move to a pmic-specific driver (or even better moved to the kernel) at a later date. Signed-off-by: Tom Warren Change-Id: Id1654e6338b11cb22715fa3caba644cfe6e2410b --- arch/arm/include/asm/arch-tegra/board.h | 3 + board/nvidi

Re: [U-Boot] [PATCH] Tegra114: Dalmore: Add voltage reg/PMIC init for various periphs

2013-10-07 Thread Stephen Warren
On 10/07/2013 01:49 PM, Tom Warren wrote: > These powerrails are currently needed for kernel boot. This will > be move to a pmic-specific driver (or even better moved to the > kernel) at a later date. Which kernel? The upstream kernel has been booting on Dalmore without issue for quite a long time

[U-Boot] [PATCH] Tegra114: Add support for more clock sources for T1x4 periphs

2013-10-07 Thread Tom Warren
Some T1x4 peripherals can take up to 8 different clock sources (parents), including 4 new ones that don't exist on previous chips (PLLC2/C3/MEM2/SRC2). Expand clock/pll code/tables to support these additional bits/sources. Changes were made to some common code. Testing on T30/T20 showed no changes

[U-Boot] [PATCH] Tegra: T1x4: SPI: Use a common name (t1x4) for SPI driver

2013-10-07 Thread Tom Warren
Tegra124 is compatible w/T114 SPI, so try to commonize as much as possible. TEST=built all T1x4 boards, tested on Venice1 & 2 OK. There's no real binary change here, just names/includes. Signed-off-by: Tom Warren --- .../tegra114_spi.h => arch-tegra/tegra1x4_spi.h} | 6 +++--- drivers/spi/Ma

[U-Boot] [PATCH] Tegra114: spl: Set system clock to clk_m

2013-10-07 Thread Tom Warren
From: Jimmy Zhang Based on Tegra114 TRM, system clock can run up to 275MHz. On power on, the default sytem clock source is set to pllp_out0. In function clock_early_init(), pllp_out0 will be set to 480MHz which is beyond system clock's upper limit. The fix is to set the system clock to CLK_M bef

Re: [U-Boot] declaring and initializing variables

2013-10-07 Thread Kim Phillips
On Mon, 30 Sep 2013 17:04:33 -0700 York Sun wrote: > Kim, et al., > > I know I have asked this before. Pardon me as I don't consider myself a > savy programmer. > > I am cleaning up the DDR driver for mpc83xx, mpc85xx and mpc86xx. The > question is the accetable formats of declaring and initial

[U-Boot] [PATCH 2/8] Tegra124: Add changes to common arch-tegra header files

2013-10-07 Thread Tom Warren
Minor changes to support T124 chip and sku IDs. Change-Id: I44092a2ec558e01952be8cc7c0534e384a810ffd Signed-off-by: Tom Warren --- arch/arm/include/asm/arch-tegra/gp_padctrl.h | 1 + arch/arm/include/asm/arch-tegra/tegra.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/arch/arm/incl

[U-Boot] [PATCH 8/8] Tegra124: Add Venice2 (T124) build

2013-10-07 Thread Tom Warren
These are the board files for Venice2 (t124), plus the AS3722 PMIC files. PMIC init will be moved to pmic_common_init later. This builds/boots on Venice2, SPI/MMC/USB/I2C all work. Audio and display and WB/LP0 are not supported yet. Change-Id: Ic9f023c0d62e2ee24b9189d93e61c2f492e568fd Signed-off-

[U-Boot] [PATCH 4/8] Tegra124: Add CPU (armv7) files

2013-10-07 Thread Tom Warren
These files are for code that runs on the CPU (A15) on T124 boards. At this time, there is no A15-specific code here. The warmboot/LP0 files aren't included as that code hasn't been ported yet. Change-Id: I299409ca1b051f8a76df641be73f1f4489d491ab Signed-off-by: Tom Warren --- arch/arm/cpu/armv7/

[U-Boot] [PATCH 7/8] Tegra124: Venice2: fdt: Add device-tree files

2013-10-07 Thread Tom Warren
These are fairly complete, and near-clones of T114 Venice, with an additional I2C port, and MMC address changes for T124. Change-Id: Icf9d34a2ebf15b5389bbc5293a067a08938ef16a Signed-off-by: Tom Warren --- arch/arm/dts/tegra124.dtsi| 328 ++ board/nvidi

[U-Boot] [PATCH 5/8] Tegra124: Add common CPU (shared) files

2013-10-07 Thread Tom Warren
These files are used by both SPL and main U-Boot. Change-Id: I5b762fc3f9886f588372c7706feaf80c50305c75 Signed-off-by: Tom Warren --- arch/arm/cpu/tegra-common/ap.c| 11 +-- arch/arm/cpu/tegra-common/board.c | 8 +++- arch/arm/cpu/tegra-common/cache.c | 38 +++

  1   2   >