Re: [U-Boot] [ANN] git server, FTP server

2015-07-15 Thread thomas.langer
Hello Wolfgang, Wolfgang Denk wrote on 2015-07-15: 2. For some time now, we provide not only the classic FTP server for download of the U-Boot release tarballs, but also a public directory in the Amazon Cloud Drive [1]. The ACD is supposed to provide much better connectivity

Re: [U-Boot] [PATCH] zynq: timer: Fix wrong timer calculation

2015-04-16 Thread thomas.langer
Hello Michal, Michal Simek wrote on 2015-04-16: From: Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com Fix wrong timer calculation in get_timer_masked incase of overflow. This fixes the issue of getting wrong time from get_timer() calls. Signed-off-by: Siva Durga Prasad Paladugu

Re: [U-Boot] [PATCH 18/20] Add Chrome OS config header

2015-02-26 Thread thomas.langer
Hello Stephen, diff --git a/include/configs/chromeos.h b/include/configs/chromeos.h +/* Stringify a token */ +#ifndef STRINGIFY +#define _STRINGIFY(x) #x +#define STRINGIFY(x)_STRINGIFY(x) +#endif Shouldn't that be in some common header so it isn't ever duplicated?

[U-Boot] [PATCH] MIPS: use common code from lib/time.c

2015-01-14 Thread thomas.langer
From: Thomas Langer thomas.lan...@lantiq.com The common code just needs the C0_COUNT as free running counter, without the need of writing and checking C0_COMPARE. The function get_tbclk() is still implemented here instead of changing all places of CONFIG_SYS_MIPS_TIMER_FREQ to

Re: [U-Boot] [PATCH] cmd_sf: add handler for +len arg for all commands

2014-10-05 Thread thomas.langer
Hello Maxime, can you explain the usecase? I think, only the erase is executed per sector, all other commands are working fine with a byte oriented length. Best regards, Thomas --- Sent from my phone. Maxime Hadjinlian maxime.hadjinl...@gmail.com hat geschrieben: This patch adds [+]len

Re: [U-Boot] [PATCH] cmd_sf: add handler for +len arg for all commands

2014-10-05 Thread thomas.langer
On Sunday, October 05, 2014 at 08:40:26 PM, Maxime Hadjinlian wrote: Hi Thomas, all, On Sun, Oct 5, 2014 at 7:43 PM, thomas.lan...@lantiq.com wrote: Hello Maxime, can you explain the usecase? I think, only the erase is executed per sector, all other commands are working fine

Re: [U-Boot] [PATCH 4/7] sunxi: Add CONFIG_MACPWR option

2014-07-28 Thread thomas.langer
Hello Hans, Hans de Goede wrote on 2014-07-27: On some boards the phy needs to be powered up through a gpio, add support for this. @@ -129,6 +129,11 @@ int cpu_eth_init(bd_t *bis) { __maybe_unused int rc; +#ifdef CONFIG_MACPWR If this is powering a phy, maybe CONFIG_PHYPWR or

Re: [U-Boot] [PATCH] lib: Add CONFIG_FDT_IGNORE_FIXUP_MEMORY_NODE

2014-04-08 Thread thomas.langer
Hello Tom, Note that ARM provides arch_fixup_memory_node to make sure we have all of the bank information populated and then calls fdt_fixup_memory_banks, while PowerPC just calls fdt_fixup_memory which calls banks with a '1' for number of banks. MIPS (and everyone else) isn't doing anything

Re: [U-Boot] [PATCH] board_r - fixup functions table after relocation

2014-01-15 Thread thomas.langer
Hello Alexey, Alexey Brodkin wrote on 2014-01-15: init_sequence_r is just an array that consists of compile-time adresses of init functions. Since this is basically an array of integers (pointers to void to be more precise) it won't be modified during relocation - it will be just copied to

Re: [U-Boot] [PATCH] board_r - fixup functions table after relocation

2014-01-15 Thread thomas.langer
Alexey Brodkin wrote on 2014-01-15: On Wed, 2014-01-15 at 11:27 +, thomas.lan...@lantiq.com wrote: I think this is only required/possible for architectures which define CONFIG_NEEDS_MANUAL_RELOC, others don't have gd-reloc_off if (initcall_run_list(init_sequence_r))

Re: [U-Boot] [PATCH 10/34] spi: Add zynq qspi controller driver

2013-11-05 Thread thomas.langer
Hello Jagan, I have some comments and questions: Am 05.11.2013 18:51, schrieb Jagannadha Sutradharudu Teki: + +/* Definitions of the flash commands - Flash insts in ascending order */ +#define ZYNQ_QSPI_FLASH_INST_WRSR0x01/* Write status register */ +#define ZYNQ_QSPI_FLASH_INST_PP

Re: [U-Boot] [PATCH v4 31/36] sf: Add extended read commands support

2013-09-26 Thread thomas.langer
Hello Jagan, it seems an almost ready patch for m25p80 driver in the kernel was posted today: [PATCHv2] drivers: mtd: devices: Add quad read support. http://thread.gmane.org/gmane.linux.drivers.mtd/48552/focus=48557 Please see how there in the function m25p80_quad_read the rx_nbits in the

Re: [U-Boot] [PATCH v4 31/36] sf: Add extended read commands support

2013-09-25 Thread thomas.langer
Hello Jagan, From: Jagan Teki [mailto:jagannadh.t...@gmail.com] Sent: Wednesday, September 25, 2013 11:36 AM To: Langer Thomas (LQDE RD ST PON SW) Cc: Jagannadha Sutradharudu Teki; Tom Rini; jaganna; u-boot@lists.denx.de; Todd Legler (tlegler); Willis Max; Syed Hussain; Sascha Silbe

Re: [U-Boot] [PATCH v4 31/36] sf: Add extended read commands support

2013-09-25 Thread thomas.langer
Hello Jagan, Jagan Teki wrote on 2013-09-25: On Wed, Sep 25, 2013 at 3:14 PM, thomas.lan...@lantiq.com wrote: Hello Jagan, From: Jagan Teki [mailto:jagannadh.t...@gmail.com] Sent: Wednesday, September 25, 2013 11:36 AM To: Langer Thomas (LQDE RD ST PON SW) Cc: Jagannadha Sutradharudu

Re: [U-Boot] [PATCH v4 00/36] sf: Add common probe and extended/quad read/write cmds support

2013-09-25 Thread thomas.langer
Hello Jagan, Jagan Teki wrote on 2013-09-25: Thanks for your comments, see below On Wed, Sep 25, 2013 at 1:02 AM, thomas.lan...@lantiq.com wrote: Hello Jagan, Am 24.09.2013 20:38, schrieb Jagannadha Sutradharudu Teki: This patch series is a combination of sf: Add common probe support

Re: [U-Boot] [PATCH v4 31/36] sf: Add extended read commands support

2013-09-25 Thread thomas.langer
Hello Jagan, Jagan Teki wrote on 2013-09-25: On Wed, Sep 25, 2013 at 3:34 PM, thomas.lan...@lantiq.com wrote: Hello Jagan, Jagan Teki wrote on 2013-09-25: On Wed, Sep 25, 2013 at 3:14 PM, thomas.lan...@lantiq.com wrote: Hello Jagan, From: Jagan Teki [mailto:jagannadh.t...@gmail.com]

Re: [U-Boot] [PATCH v4 00/36] sf: Add common probe and extended/quad read/write cmds support

2013-09-24 Thread thomas.langer
Hello Jagan, Am 24.09.2013 20:38, schrieb Jagannadha Sutradharudu Teki: This patch series is a combination of sf: Add common probe support sf: Add support for extended/quad read and write commands http://www.mail-archive.com/u-boot@lists.denx.de/msg121668.html

Re: [U-Boot] [PATCH v4 31/36] sf: Add extended read commands support

2013-09-24 Thread thomas.langer
Hello Jagan, Am 24.09.2013 20:36, schrieb Jagannadha Sutradharudu Teki: diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index ea39d1a..0ac9fab 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -7,6 +7,7 @@ #include common.h #include malloc.h #include spi.h +#include

Re: [U-Boot] [PATCH v1 0/5]

2013-09-02 Thread thomas.langer
Hello Stefano, Stefano Babic wrote on 2013-09-02: Some phys have additional registers that are not covered by standard. Access to this registers can be done via specific sequence according to the phy datasheet. The driver for Micrel phy contains some additional function, that the board

Re: [U-Boot] [PATCH] powerpc: Fix CamelCase checkpatch warnings

2013-08-16 Thread thomas.langer
Hello Prabhakar, Prabhakar Kushwaha wrote on 2013-08-16: 85xx, 86xx PowerPC folders have code variables with CamelCase naming conventions. because of this code checkpatch script generates WARNING: Avoid CamelCase. This patch set Convert variables name to normal naming convention and modify

Re: [U-Boot] [PATCH 1/3] spi: Add zynq qspi controller driver

2013-08-11 Thread thomas.langer
Hi Jagan, + +/* Definitions of the flash commands - Flash insts in ascending order */ +#define ZYNQ_QSPI_FLASH_INST_WRSR0x01/* Write status register */ +#define ZYNQ_QSPI_FLASH_INST_PP 0x02/* Page program */ +#define ZYNQ_QSPI_FLASH_INST_WRDS0x04/* Write

Re: [U-Boot] [PATCH 11/11] MIPS: MAKEALL: fix lists for MIPSel and MIPS boards

2011-11-25 Thread thomas.langer
Hello Daniel, Daniel Schwierzeck wrote on 2011-11-25: On Fri, Nov 25, 2011 at 9:49 AM, Marek Vasut marek.va...@gmail.com wrote: On Thursday 24 November 2011 08:57:56 Daniel Schwierzeck wrote: Build dbau1550_el only in LIST_au1xx0_el and LIST_mips_el. Also remove obsolete lists for mips5kc.

Re: [U-Boot] [PATCH 2/4] net: tweak eth_device layout to simplify enetaddr use

2011-11-11 Thread thomas.langer
Hello Mike, + union { + u32 enetaddr32; + u16 enetaddr16[3]; + unsigned char enetaddr[6]; + }; This will work only as long the endianess is matching. Picking single chars from enetaddr[] and combine them to a u32 register will be more independent

Re: [U-Boot] [PATCH 0/4] MIPS: make config options more generic

2011-07-28 Thread thomas.langer
Hi Daniel, Daniel Schwierzeck wrote on 2011-07-27: This patch series contains cleanups and enhancements to consolidate the INCA-IP related config options and to make them more generic. Additionally, the cache operation mode is now configurable. All changes are needed to prepare the support

[U-Boot] [PATCH] fix redundant environment for serial flash

2011-03-29 Thread thomas.langer
This patch fixes problems in the handling of redundant environment in env_sf.c The major problem are double calls of free() on the allocated buffers, which damages the internal data of malloc and crashes on next call. In addition, the selection of the active environment had errors and compiler

Re: [U-Boot] [RFC] cfi_flash and complex address mapping

2009-03-26 Thread thomas.langer
In message 200903261103.28452...@denx.de you wrote: #define FLASH_FIXUP_ADDR_8(addr) ((void*)((ulong)(addr)^2)) #define FLASH_FIXUP_ADDR_16(addr) ((void*)((ulong)(addr)^2)) ... Yes, I think this could be accepted. The overall impact on the driver is not too big. Let's see if

[U-Boot] [RFC] cfi_flash and complex address mapping

2009-03-25 Thread thomas.langer
Hi, I'm in the process of preparing some code for a new board and want to use the generic cfi flash driver. The problem is EBU (External Bus Unit) of the chip, which is internally 32bit. The access to 8/16bit values are always mapped by the EBU, but in a little endian way, which is bad on a big