Re: [U-Boot] [PATCH 1/2] video:cache:fix: Buffer alignment and dcache flush for lcd subsystem

2012-08-08 Thread Mike Frysinger
On Wednesday 08 August 2012 11:10:34 Lukasz Majewski wrote: This commit makes the video subsystem code cache aware. Memory allocated for decompressed BMP memory is now cache line aligned. Flushing of the dcache is also performed after copying BMP data to fb address. i think this is a more

Re: [U-Boot] [PATCH 1/3] COMMON: Add __stringify() function

2012-08-08 Thread Mike Frysinger
On Wednesday 08 August 2012 12:01:07 Marek Vasut wrote: Dear Mike Frysinger, On Wednesday 08 August 2012 06:52:17 Marek Vasut wrote: This function converts static number to string in preprocessor. This is useful as it allows higher usage of puts() in favour of printf() a few more

Re: [U-Boot] [PATCH 01/16] Blackfin: BF60x: new processor port

2012-08-07 Thread Mike Frysinger
On Tuesday 07 August 2012 04:07:40 Bob Liu wrote: From: Mike Frysinger vap...@gentoo.org Add basic support for blackfin new processor BF60x. i had always intended to clean split this 1 change up, but never got a chance before i left arch/blackfin/cpu/cpu.c

Re: [U-Boot] [PATCH 02/16] Blackfin: bf609-ezkit: new board port

2012-08-07 Thread Mike Frysinger
On Tuesday 07 August 2012 04:07:41 Bob Liu wrote: arch/blackfin/cpu/initcode.c | 96 ++- arch/blackfin/cpu/initcode.h |9 ++ arch/blackfin/cpu/serial1.h| 19 +++ arch/blackfin/cpu/serial4.h| 35

Re: [U-Boot] [PATCH 03/16] Blackfin: Bf60x: support big cplb page

2012-08-07 Thread Mike Frysinger
On Tuesday 07 August 2012 04:07:42 Bob Liu wrote: Bf60x support 16K, 64K, 16M and 64M cplb pages, this patch add support for them. So that bf609-ezkit can use it's 128M memory. it's - its arch/blackfin/include/asm/cplb.h | 13 +-

Re: [U-Boot] [PATCH 04/16] Blackfin: Rsi: add support for bf609-ezkit

2012-08-07 Thread Mike Frysinger
On Tuesday 07 August 2012 04:07:43 Bob Liu wrote: --- a/arch/blackfin/include/asm/config-pre.h +++ b/arch/blackfin/include/asm/config-pre.h #define BFIN_BOOT_16HOST_DMA 11 /* boot ldr from 16-bit host dma */ #define BFIN_BOOT_8HOST_DMA 12 /* boot ldr from 8-bit host dma */

Re: [U-Boot] [PATCH 05/16] Blackfin: Paraflash: add support for bf609-ezkit

2012-08-07 Thread Mike Frysinger
On Tuesday 07 August 2012 04:07:44 Bob Liu wrote: --- a/arch/blackfin/include/asm/mach-bf609/portmux.h +++ b/arch/blackfin/include/asm/mach-bf609/portmux.h this should be part of the initial commit of this header (one of the initial bf60x support patches) ---

Re: [U-Boot] [PATCH 06/16] Blackfin: Bf609-ezkit: implement soft switch

2012-08-07 Thread Mike Frysinger
On Tuesday 07 August 2012 04:07:45 Bob Liu wrote: --- a/board/bf609-ezkit/Makefile +++ b/board/bf609-ezkit/Makefile +COBJS-$(CONFIG_BFIN_SOFT_SWITCH) += soft_switch.o is there any reason we *wouldn't* want to build this ? i would just skip making this an option and always enable it.

Re: [U-Boot] [PATCH 08/16] Blackfin: add more print info for Bf60x

2012-08-07 Thread Mike Frysinger
On Tuesday 07 August 2012 04:07:47 Bob Liu wrote: --- a/arch/blackfin/lib/clocks.c +++ b/arch/blackfin/lib/clocks.c +u_long get_dclk(void) +{ +#ifndef CONFIG_BFIN_GET_DCLK + return _get_sclk(cached_dclk); +#else + return CONFIG_BFIN_GET_DCLK; +#endif +} this looks like my

Re: [U-Boot] [PATCH 09/16] Blackfin: Bf60x: add reset support

2012-08-07 Thread Mike Frysinger
please squash into one of the initial bf60x cpu support patches -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 10/16] Blackfin: Bf60x: Check card ready for each RSI command

2012-08-07 Thread Mike Frysinger
On Tuesday 07 August 2012 04:07:49 Bob Liu wrote: Set up RSI data before sending RSI command if data is applicable. squash into the Blackfin: rsi: add bf60x support patch -mike signature.asc Description: This is a digitally signed message part. ___

Re: [U-Boot] [PATCH 11/16] Blackfin: Bf60x: support clock init

2012-08-07 Thread Mike Frysinger
split squash into earlier patches where appropriate -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 12/16] Blackfin: Bf60x: initcode: set up uart baud properly

2012-08-07 Thread Mike Frysinger
On Tuesday 07 August 2012 04:07:51 Bob Liu wrote: Set up uart baud properly for booting u-boot over UART squash into one of the earlier initial bf60x support patches -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot

Re: [U-Boot] [PATCH 07/16] Blackfin: Spi: add bf6xx spi driver

2012-08-07 Thread Mike Frysinger
On Tuesday 07 August 2012 04:07:46 Bob Liu wrote: --- /dev/null +++ b/arch/blackfin/include/asm/mach-common/bits/spi6xx.h @@ -0,0 +1,240 @@ +/* + * Analog Devices SPI3 controller driver i'd prefer to call it bfin_spi3 then since it represents the version of the IP block and not the SoC it

Re: [U-Boot] [PATCH 13/16] Blackfin: Bf60x: add hw watchdog support

2012-08-07 Thread Mike Frysinger
On Tuesday 07 August 2012 04:07:52 Bob Liu wrote: --- a/arch/blackfin/cpu/initcode.c +++ b/arch/blackfin/cpu/initcode.c if (CONFIG_BFIN_BOOT_MODE != BFIN_BOOT_BYPASS) { serial_putc('e'); +#ifdef __ADSPBF60x__ + int i; + bfin_write_SEC_GCTL(0x2);

Re: [U-Boot] [PATCH 16/16] Blackfin: update license to Clear BSD license.

2012-08-07 Thread Mike Frysinger
obviously this is OK regardless of my opinion on it ;) -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [QUESTION] ethaddr env. var. vs. dev-enetaddr

2012-08-06 Thread Mike Frysinger
On Monday 06 August 2012 18:45:58 Joe Hershberger wrote: On Mon, Aug 6, 2012 at 2:02 PM, Benoît Thébaudeau wrote: There's a lot of stuff in U-Boot relying on ethaddr being set, e.g. the bdinfo command, or the linklocal command because of seed_mac. If ethaddr is not set, bdinfo will report

[U-Boot] [PATCH 2/3] nds32: delete unused local variable

2012-08-06 Thread Mike Frysinger
Fixes the build-time warning: board.c: In function 'board_init_r': board.c:304: warning: unused variable 's' Signed-off-by: Mike Frysinger vap...@gentoo.org --- arch/nds32/lib/board.c |1 - 1 file changed, 1 deletion(-) diff --git a/arch/nds32/lib/board.c b/arch/nds32/lib

[U-Boot] [PATCH 1/3] nds32: drop bi_enetaddr from global data

2012-08-06 Thread Mike Frysinger
Nothing is using this, so punt it from the gd. Seems to just be a copy paste wart from the initial port. Signed-off-by: Mike Frysinger vap...@gentoo.org --- arch/nds32/include/asm/u-boot.h |1 - 1 file changed, 1 deletion(-) diff --git a/arch/nds32/include/asm/u-boot.h b/arch/nds32

[U-Boot] [PATCH 3/3] nds32: fix unused pmu_init warning

2012-08-06 Thread Mike Frysinger
Fixes the build-time warning: board.c: At top level: board.c:106: warning: 'pmu_init' defined but not used This makes the ifdef logic at the call site match the logic at the function definition. Signed-off-by: Mike Frysinger vap...@gentoo.org --- arch/nds32/lib/board.c |2

Re: [U-Boot] [PATCH] mkconfig: fix failure on boards that don't define soc

2012-08-06 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 3/7] dfu: DFU backend implementation

2012-08-04 Thread Mike Frysinger
On Saturday 04 August 2012 03:47:34 Marek Vasut wrote: Dear Mike Frysinger, On Thursday 02 August 2012 09:55:24 Lukasz Majewski wrote: Dear Mike Frysinger, On Tuesday 31 July 2012 02:36:59 Lukasz Majewski wrote: +int dfu_config_entities(char *env, char *interface, int num

Re: [U-Boot] [PATCH v3 3/7] dfu: DFU backend implementation

2012-08-03 Thread Mike Frysinger
On Thursday 02 August 2012 09:55:24 Lukasz Majewski wrote: Dear Mike Frysinger, On Tuesday 31 July 2012 02:36:59 Lukasz Majewski wrote: +{ + int i = 0; + + for (; *s; s++) + if (*s == ';') + i++; + + return ++i; +} In this function I count

Re: [U-Boot] [PATCH 2/7 V4] SPI: Add W25Q32 to Winbond SPI flash table

2012-08-02 Thread Mike Frysinger
On Thursday 02 August 2012 03:25:05 Rajeshwari Shinde wrote: SMDK EVT1 has a different Winbond part, added its part details to the SPI flash table thanks, merged in my sf branch -mike signature.asc Description: This is a digitally signed message part.

Re: [U-Boot] [PATCH 5/7 V4] SPI: Add SPI Driver for EXYNOS.

2012-08-02 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 5/7] dfu:cmd: Support for DFU u-boot command

2012-08-02 Thread Mike Frysinger
On Thursday 02 August 2012 03:16:18 Marek Vasut wrote: Dear Mike Frysinger, On Tuesday 31 July 2012 02:37:01 Lukasz Majewski wrote: --- /dev/null +++ b/common/cmd_dfu.c + static char *s = dfu; no need for this to be static It can be pulled out of the function and be made

Re: [U-Boot] [PATCH] config: Always use GNU ld

2012-08-02 Thread Mike Frysinger
-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] GPIO: Extend the cmd_gpio API by gpio_{from, to}_string()

2012-08-02 Thread Mike Frysinger
On Thursday 02 August 2012 06:05:14 Marek Vasut wrote: Dear Mike Frysinger, On Monday 14 May 2012 07:31:35 Marek Vasut wrote: Dear Mike Frysinger, On Tuesday 01 May 2012 16:50:14 Marek Vasut wrote: The gpio_from_string() call shall parse the incoming GPIO name taken from

Re: [U-Boot] [PATCH 2/7 V4] SPI: Add W25Q32 to Winbond SPI flash table

2012-08-02 Thread Mike Frysinger
On Thursday 02 August 2012 11:19:16 Mike Frysinger wrote: On Thursday 02 August 2012 03:25:05 Rajeshwari Shinde wrote: SMDK EVT1 has a different Winbond part, added its part details to the SPI flash table thanks, merged in my sf branch actually, you didn't rebase it. half the fields

Re: [U-Boot] [PATCH v2 1/2] sf: stmicro: support JEDEC standard two-byte signature

2012-08-02 Thread Mike Frysinger
On Thursday 02 August 2012 14:47:29 Stephan Linz wrote: There are more than the M25Pxx serial flashs that can be used with the stmicro driver, for example: the M25PXxx or N25Qxx serie. All these chips have burned in the original stmicro manufacture id 0x20 together with a standard two-byte

Re: [U-Boot] [PATCH] SPI: Remove superfluous semicolon

2012-08-01 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org i've added it to my branch, but if Wolfgang merges it directly, that's fine too -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH 2/7 V3] SPI: Add W25Q32 to Winbond SPI flash table

2012-08-01 Thread Mike Frysinger
On Wednesday 01 August 2012 05:33:27 Rajeshwari Shinde wrote: SMDK EVT1 has a different Winbond part, added its part details to the SPI flash table you'll need to rebase this now onto current mainline -mike signature.asc Description: This is a digitally signed message part.

Re: [U-Boot] [PATCH 5/7 V3] SPI: Add SPI Driver for EXYNOS.

2012-08-01 Thread Mike Frysinger
On Wednesday 01 August 2012 05:33:30 Rajeshwari Shinde wrote: --- /dev/null +++ b/drivers/spi/exynos_spi.c +DECLARE_GLOBAL_DATA_PTR; i don't think you use this, so delete +void spi_flush_fifo(struct spi_slave *slave) static +void spi_init(void) +{ ... + for (i = 0; i

Re: [U-Boot] [PATCH 7/7 V3] Enable SPI booting.

2012-08-01 Thread Mike Frysinger
On Wednesday 01 August 2012 05:33:32 Rajeshwari Shinde wrote: This patch enables SPI Booting for EXYNOS5 patch subject needs a qualifier like EXYNOS: since this is board/arch specific -mike signature.asc Description: This is a digitally signed message part.

Re: [U-Boot] [PATCH v2] net: Make the netconsole buffer size configurable

2012-08-01 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] net: Make netconsole src and dest ports configurable

2012-08-01 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] net: Improve the speed of netconsole

2012-08-01 Thread Mike Frysinger
On Monday 30 July 2012 17:08:41 Joe Hershberger wrote: On Wed, Jul 25, 2012 at 1:49 PM, Mike Frysinger wrote: On Tuesday 24 July 2012 16:11:15 Joe Hershberger wrote: --- a/net/eth.c +++ b/net/eth.c +#ifdef CONFIG_NETCONSOLE_PERSIST_ETH +int eth_init_state_only(bd_t *bis

Re: [U-Boot] [PATCH 1/2] sf: stmicro: support JEDEC standard two-byte signature

2012-08-01 Thread Mike Frysinger
On Friday 13 July 2012 14:07:18 Stephan Linz wrote: There are more than the M25Pxx serial flashs that can be used with the stmicro driver, for example: the M25PXxx or N25Qxx serie. All these chips have burned in the original stmicro manufacture id 0x20 together with a standard two-byte

Re: [U-Boot] [PATCH 2/2] sf: stmicro: add support N25Q128 parts

2012-08-01 Thread Mike Frysinger
On Friday 13 July 2012 14:07:19 Stephan Linz wrote: Adds support for Numonyx's N25Q128 SPI flash. These devices are used on (among others) Avnet Spartan-6 LX9 micro-evaluation boards. Tested with sf commands and CONFIG_ENV_IS_IN_SPI_FLASH. needs to be rebased onto mainline. looks fine

Re: [U-Boot] [U-BOOT]: Add support for numonyx spi flash.

2012-08-01 Thread Mike Frysinger
On Wednesday 25 July 2012 11:57:58 jagan wrote: We have a numonyx spi flash (N25Q128) on my target. Stephan Linz posted some patches recently to make this work -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot

Re: [U-Boot] [PATCH v3 5/7] dfu:cmd: Support for DFU u-boot command

2012-08-01 Thread Mike Frysinger
On Tuesday 31 July 2012 02:37:01 Lukasz Majewski wrote: --- /dev/null +++ b/common/cmd_dfu.c + static char *s = dfu; no need for this to be static -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing

Re: [U-Boot] [PATCH v4 1/2] tools, config.mk: add binutils-version

2012-08-01 Thread Mike Frysinger
On Thursday 19 July 2012 12:54:37 Tom Rini wrote: On 07/19/2012 09:43 AM, Mike Frysinger wrote: On Thursday 19 July 2012 11:38:39 Tom Rini wrote: On 07/19/2012 08:21 AM, Mike Frysinger wrote: On Thursday 19 July 2012 11:08:10 Tom Rini wrote: On 07/18/2012 08:11 PM, Mike Frysinger wrote

Re: [U-Boot] [PATCH v3 1/7] dfu:usb: Support for g_dnl composite download gadget.

2012-08-01 Thread Mike Frysinger
On Tuesday 31 July 2012 02:36:57 Lukasz Majewski wrote: --- /dev/null +++ b/drivers/usb/gadget/g_dnl.c +static const struct usb_descriptor_header *otg_desc[] = { + (struct usb_descriptor_header *) (struct usb_otg_descriptor){ since you're just casting away things, you could just use

Re: [U-Boot] [PATCH v3 2/7] dfu:usb: DFU USB function (f_dfu) support for g_dnl composite gadget

2012-08-01 Thread Mike Frysinger
On Tuesday 31 July 2012 02:36:58 Lukasz Majewski wrote: --- /dev/null +++ b/drivers/usb/gadget/f_dfu.c +static struct usb_interface_descriptor dfu_intf_runtime = { can this be made const ? +static struct usb_descriptor_header *dfu_runtime_descs[] = { + (struct usb_descriptor_header *)

Re: [U-Boot] [PATCH v3 3/7] dfu: DFU backend implementation

2012-08-01 Thread Mike Frysinger
On Tuesday 31 July 2012 02:36:59 Lukasz Majewski wrote: --- /dev/null +++ b/drivers/dfu/dfu.c +static int dfu_find_alt_num(char *s) const char *s +{ + int i = 0; + + for (; *s; s++) + if (*s == ';') + i++; + + return ++i; +} looks kind of

Re: [U-Boot] [PATCH v3 4/7] dfu: MMC specific routines for DFU operation

2012-08-01 Thread Mike Frysinger
On Tuesday 31 July 2012 02:37:00 Lukasz Majewski wrote: --- /dev/null +++ b/drivers/dfu/dfu_mmc.c +static int mmc_block_op(enum dfu_mmc_op op, struct dfu_entity *dfu, + void *buf, long *len) +{ + ALLOC_CACHE_ALIGN_BUFFER(char, cmd_buf, DFU_CMD_BUF_SIZE); ugh, what ?

Re: [U-Boot] [PATCH v4 1/2] tools, config.mk: add binutils-version

2012-08-01 Thread Mike Frysinger
On Wednesday 01 August 2012 18:46:18 Allen Martin wrote: But maybe I'll rewrite it in prolog just to mess with you guys i'd ack it if it were written in bf -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing

[U-Boot] [PATCH 1/2] add ST PSD4256G6V to table of supported legacy flashs

2012-07-31 Thread Mike Frysinger
The BF533-EZKIT boards have this old ST flash. Signed-off-by: Mike Frysinger vap...@gentoo.org --- drivers/mtd/jedec_flash.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/mtd/jedec_flash.c b/drivers/mtd/jedec_flash.c index 2350f36..b6cb037 100644

[U-Boot] [PATCH 2/2] Blackfin: bf533-ezkit: convert to CFI flash driver

2012-07-31 Thread Mike Frysinger
Signed-off-by: Mike Frysinger vap...@gentoo.org --- board/bf533-ezkit/Makefile|2 +- board/bf533-ezkit/bf533-ezkit.c | 22 +- board/bf533-ezkit/flash-defines.h | 124 -- board/bf533-ezkit/flash.c | 489 - include/configs/bf533

Re: [U-Boot] [U-Boot-DM] List of offending drivers

2012-07-31 Thread Mike Frysinger
On Friday 27 July 2012 00:41:45 Wolfgang Denk wrote: Marek Vasut wrote: Check the following list, it's the list of drivers scattered (misplaced) across the tree. The list is not complete and might be inaccurate. But it should give a good impression of what I'm going to break soon:

Re: [U-Boot] [PATCH] dm: mips: Import libgcc components from Linux

2012-07-31 Thread Mike Frysinger
On Friday 27 July 2012 15:10:00 Marek Vasut wrote: Dear Mike Frysinger, On Friday 27 July 2012 14:35:25 Marek Vasut wrote: --- a/arch/mips/lib/Makefile +++ b/arch/mips/lib/Makefile @@ -34,6 +34,8 @@ else COBJS-y += bootm.o endif +COBJS-y += ashldi3.o ashrdi3.o

Re: [U-Boot] [PATCH 1/2] COMMON: Add __stringify() function

2012-07-31 Thread Mike Frysinger
On Saturday 28 July 2012 15:57:33 Wolfgang Denk wrote: Marek Vasut wrote: include/common.h |7 +++ 1 file changed, 7 insertions(+) We have similar things already, and we don't add dead code - you add a macro without users here. It's used in 2/2 ... what macro do

Re: [U-Boot] building u-boot inside buildroot

2012-07-31 Thread Mike Frysinger
On Sunday 29 July 2012 08:43:00 Sabri Altunbas wrote: I installed buildroot as my embedded linux environment. For first time I can build u-boot. But if i change a c-file and try to recompile u-boot. It doesn,t work. Buildroot doesn,t notice this changing and does nothing. this is a buildroot

[U-Boot] [PATCH] fix out of tree building with kallsyms

2012-07-31 Thread Mike Frysinger
The call to SYSTEM_MAP assumes that the u-boot output is in $PWD when it really should be in $(obj). This fixes building out of tree. Signed-off-by: Mike Frysinger vap...@gentoo.org --- Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index

[U-Boot] [PATCH] Blackfin: adjust asm constraints with NMI workaround

2012-07-31 Thread Mike Frysinger
for the input and output variables which corrupts the output assignment triggering an exception. P2 = 0xffe02008;/* EVT2 */ R0 = RETS; CALL 1f; RTN; 1: P2 = RETS; -- BAD RETS = R0; [P2] = P2; -- BAD Signed-off-by: Mike

[U-Boot] [PATCH] Blackfin: initcode: mark uncommon code paths as unlikely

2012-07-31 Thread Mike Frysinger
Putting memory into self refresh only happens when doing development, not during the normal course of things, so mark those code paths as unlikely. Signed-off-by: Mike Frysinger vap...@gentoo.org --- arch/blackfin/cpu/initcode.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions

Re: [U-Boot] [PATCH 5/8] SPI: Add SPI slave mode flag

2012-07-31 Thread Mike Frysinger
On Tuesday 31 July 2012 06:42:37 Rajeshwari Shinde wrote: This patch adds a new SPI mode flags for SPI slave mode. It enables slave mode in a SPI interface, and is set/clear in spi_setup_slave() from the mode parameter. there is no such functionality in the current SPI API. if you want to

Re: [U-Boot] [PATCH 1/2] add ST PSD4256G6V to table of supported legacy flashs

2012-07-31 Thread Mike Frysinger
On Tuesday 31 July 2012 04:50:17 Stefan Roese wrote: On Tuesday 31 July 2012 09:38:32 Mike Frysinger wrote: The BF533-EZKIT boards have this old ST flash. Signed-off-by: Mike Frysinger vap...@gentoo.org Acked-by: Stefan Roese s...@denx.de Mike, do you intend to push this via your

Re: [U-Boot] [PATCH 1/2] COMMON: Add __stringify() function

2012-07-31 Thread Mike Frysinger
On Tuesday 31 July 2012 09:55:55 Marek Vasut wrote: Dear Mike Frysinger, On Saturday 28 July 2012 15:57:33 Wolfgang Denk wrote: Marek Vasut wrote: include/common.h |7 +++ 1 file changed, 7 insertions(+) We have similar things already, and we don't add dead

Re: [U-Boot] [PATCH 1/2] COMMON: Add __stringify() function

2012-07-31 Thread Mike Frysinger
On Tuesday 31 July 2012 10:08:51 Marek Vasut wrote: Dear Mike Frysinger, On Tuesday 31 July 2012 09:55:55 Marek Vasut wrote: Dear Mike Frysinger, would be good to import linux/stringify.h (rather than adding these macros to common.h) and converting all consumers over

[U-Boot] Pull request u-boot-blackfin.git (sf branch)

2012-07-31 Thread Mike Frysinger
geometrical info for N25Q256 from Micron Mike Frysinger (5): sf: inline data constants sf: unify erase commands sf: eon: drop duplicate id sf: sst: inline duplicate write enable helper funcs sf: unify status register writing (and thus block unlocking) common/cmd_sf.c

Re: [U-Boot] [PATCH] dm: mips: Import libgcc components from Linux

2012-07-27 Thread Mike Frysinger
On Friday 27 July 2012 14:35:25 Marek Vasut wrote: --- a/arch/mips/lib/Makefile +++ b/arch/mips/lib/Makefile @@ -34,6 +34,8 @@ else COBJS-y += bootm.o endif +COBJS-y += ashldi3.o ashrdi3.o lshrdi3.o pretty sure this belongs behind USE_PRIVATE_LIBGCC -mike signature.asc

Re: [U-Boot] [PATCH] dts/Makefile: Turn off system-/gcc-specific predefined macros

2012-07-26 Thread Mike Frysinger
On Thursday 26 July 2012 03:06:06 Horst Kronstorfer wrote: On 07/25/2012 06:06 PM, Mike Frysinger wrote: On Tuesday 24 July 2012 15:38:55 Horst Kronstorfer wrote: On 07/24/2012 05:28 PM, Mike Frysinger wrote: On Tuesday 24 July 2012 06:11:04 Horst Kronstorfer wrote: On 07/19/2012 05:22 AM

Re: [U-Boot] [PATCH] dts/Makefile: Turn off system-/gcc-specific predefined macros

2012-07-25 Thread Mike Frysinger
On Tuesday 24 July 2012 15:38:55 Horst Kronstorfer wrote: On 07/24/2012 05:28 PM, Mike Frysinger wrote: On Tuesday 24 July 2012 06:11:04 Horst Kronstorfer wrote: On 07/19/2012 05:22 AM, Mike Frysinger wrote: On Friday 13 July 2012 09:03:40 Horst Kronstorfer wrote: Add '-undef

Re: [U-Boot] [PATCH] net: Make the netconsole buffer size configurable

2012-07-25 Thread Mike Frysinger
On Tuesday 24 July 2012 16:10:56 Joe Hershberger wrote: --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c -static char input_buffer[512]; +#ifdef CONFIG_NETCONSOLE_BUFFER_SIZE +#define BUFFER_SIZE CONFIG_NETCONSOLE_BUFFER_SIZE +#else +#define BUFFER_SIZE 512 +#endif +

Re: [U-Boot] [PATCH] net: Make netconsole src and dest ports configurable

2012-07-25 Thread Mike Frysinger
On Tuesday 24 July 2012 16:11:05 Joe Hershberger wrote: --- a/tools/netconsole +++ b/tools/netconsole +board_in_port=${3:-$board_out_port} board_in_port=${3:-${board_out_port}} +echo Board out port: $board_out_port +echo Board in port: $board_in_port echo Board out port:

Re: [U-Boot] [PATCH] net: Improve the speed of netconsole

2012-07-25 Thread Mike Frysinger
On Tuesday 24 July 2012 16:11:15 Joe Hershberger wrote: --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c @@ -131,8 +131,17 @@ static void nc_send_packet(const char *buf, int len) } if (eth-state != ETH_STATE_ACTIVE) { - if (eth_init(gd-bd) 0) -

Re: [U-Boot] [PATCH] dts/Makefile: Turn off system-/gcc-specific predefined macros

2012-07-24 Thread Mike Frysinger
On Tuesday 24 July 2012 06:11:04 Horst Kronstorfer wrote: On 07/19/2012 05:22 AM, Mike Frysinger wrote: On Friday 13 July 2012 09:03:40 Horst Kronstorfer wrote: Add '-undef' to DTS_CPPFLAGS to avoid unwanted expansion of dts content that matches system-specific or gcc-specific predefined

Re: [U-Boot] building tools/env

2012-07-24 Thread Mike Frysinger
On Tuesday 24 July 2012 11:23:03 Nickos wrote: Had you find a solution to your problem. I have the same problem. this thread (and the source he was using) are ancient. please start a new thread describing *your* setup and the problems you're seeing. -mike signature.asc Description: This is a

Re: [U-Boot] [PATCH 1/7] dfu:usb: Support for g_dnl composite download gadget.

2012-07-24 Thread Mike Frysinger
On Monday 23 July 2012 11:25:25 Lukasz Majewski wrote: Dear Mike Frysinger, On Tuesday 03 July 2012 05:38:05 Lukasz Majewski wrote: +{ + int ret; + static char str[16]; + + memset(str, '\0', sizeof(str)); + + strncpy(str, shortname, sizeof(shortname)); no need

Re: [U-Boot] [PATCH 5/7] dfu:cmd: Support for DFU u-boot command

2012-07-24 Thread Mike Frysinger
On Monday 23 July 2012 12:01:04 Lukasz Majewski wrote: Dear Mike, On Tuesday 03 July 2012 05:38:09 Lukasz Majewski wrote: --- /dev/null +++ b/common/cmd_dfu.c +int do_dfu(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) static It can be static (static int

Re: [U-Boot] Sparc build warnings

2012-07-23 Thread Mike Frysinger
On Sunday 22 July 2012 17:29:49 Peter Tyser wrote: Most the the warnings look pretty trivial to fix, so I could gin something up, but I don't have a Sparc toolchain to actually test any modifications. http://dev.gentoo.org/~vapier/u-boot/sparc.tar.xz -mike signature.asc Description: This is

Re: [U-Boot] [PATCH 5/7] dfu:cmd: Support for DFU u-boot command

2012-07-21 Thread Mike Frysinger
On Friday 20 July 2012 17:11:33 Marek Vasut wrote: Dear Mike Frysinger, On Friday 20 July 2012 07:33:49 Marek Vasut wrote: Dear Mike Frysinger, On Wednesday 04 July 2012 10:39:20 Marek Vasut wrote: Putting there the __func__ name would improve structure and speed up finding

Re: [U-Boot] [PATCH 1/2] common.h: Introduce DEFINE_CACHE_ALIGN_BUFFER

2012-07-21 Thread Mike Frysinger
On Friday 20 July 2012 17:50:33 Tom Rini wrote: On 07/20/2012 02:47 PM, Mike Frysinger wrote: On Friday 20 July 2012 07:31:47 Marek Vasut wrote: Dear Mike Frysinger, On Saturday 07 July 2012 23:08:14 Marek Vasut wrote: +/* DEFINE_CACHE_ALIGN_BUFFER() is similar

Re: [U-Boot] [PATCH v2 1/9] FAT: cosmetic: Remove extra spaces

2012-07-21 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v2] cmd_sf: add size checking to spi flash commands

2012-07-21 Thread Mike Frysinger
warning being issued. So add a consistency checking so not to overflow past the flash size. Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com Signed-off-by: Mike Frysinger vap...@gentoo.org --- v2 - tweaked the printf strings common/cmd_sf.c | 14 ++ 1 file changed, 14

Re: [U-Boot] [PATCH V3 1/2] mtd/spi/spi_flash: support CMD_READ_ID=0x90 case

2012-07-21 Thread Mike Frysinger
On Monday 09 July 2012 14:53:20 Mikhail Kshevetskiy wrote: current code does not support spi flashes that have 0x90 read_id command, so fix this and what SPI flashes exactly is this ? 0x9f is the JEDEC read idcode command and is not SPI flash specific, so you're adding a lot of code that is

Re: [U-Boot] [PATCH V3 2/2] mtd/spi: add sst25l driver

2012-07-21 Thread Mike Frysinger
On Monday 09 July 2012 14:53:21 Mikhail Kshevetskiy wrote: Current SST driver does not support well this types of flash, so introduce a new one. This code is a combination of sst.c driver from u-boot and sst25l.c driver from linux-3.3 release. I try to make a code as close to linux driver

Re: [U-Boot] [PATCH] tools/env: check flash length before probing

2012-07-21 Thread Mike Frysinger
On Thursday 05 April 2012 01:29:18 Mike Frysinger wrote: If we attempt to probe beyond the end of flash, MEMGETBADBLOCK will fail (as well it should), but we end up erroring out with the distracting: Cannot read bad block mark: Invalid argument Instead of the correct error: Too

Re: [U-Boot] [PATCH] nds32: split common cache access from cpu into lib

2012-07-20 Thread Mike Frysinger
On Friday 20 July 2012 04:24:55 Macpaul Lin wrote: Since this discussion hasn't been finished, and we haven't decide the final action about the new policy about cache.h and common.h. I'd like to pick this patch v2 for the coming release for fixing build error for board adp-ag102. What do you

Re: [U-Boot] [PATCH 5/7] dfu:cmd: Support for DFU u-boot command

2012-07-20 Thread Mike Frysinger
On Friday 20 July 2012 07:33:49 Marek Vasut wrote: Dear Mike Frysinger, On Wednesday 04 July 2012 10:39:20 Marek Vasut wrote: Putting there the __func__ name would improve structure and speed up finding right place. And if you want to use even __LINE__, look up __stringify patch

Re: [U-Boot] [PATCH] md5: Export step-by-step API

2012-07-20 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3] global_data: unify global flag defines

2012-07-20 Thread Mike Frysinger
On Sunday 18 March 2012 20:31:24 Mike Frysinger wrote: All the global flag defines are the same across all arches. So unify them in one place, and add a simple way for arches to extend for their needs. this one seems to still apply with `git am -3` to mainline ... -mike signature.asc

Re: [U-Boot] [PATCH 1/2] common.h: Introduce DEFINE_CACHE_ALIGN_BUFFER

2012-07-20 Thread Mike Frysinger
On Friday 20 July 2012 07:31:47 Marek Vasut wrote: Dear Mike Frysinger, On Saturday 07 July 2012 23:08:14 Marek Vasut wrote: +/* DEFINE_CACHE_ALIGN_BUFFER() is similar to ALLOC_CACHE_ALIGN_BUFFER, but it's purpose is to allow allocating aligned buffers outside of function scope

Re: [U-Boot] [PATCH] video: cfb_console: flush dcache for frame buffer in DRAM

2012-07-19 Thread Mike Frysinger
On Tuesday 05 June 2012 03:28:40 Anatolij Gustschin wrote: On Sat, 28 Apr 2012 17:04:07 +0200 Anatolij Gustschin wrote: Data cache flushing is required for frame buffer in RAM to fix the distorted console text output. Currently this text distortion is observed with cfb on beageboard and

Re: [U-Boot] [PATCH] Added watchdog support for davinchi_dm365evm

2012-07-19 Thread Mike Frysinger
On Saturday 02 June 2012 11:32:14 Stijn Souffriau wrote: On 05/20/2012 08:59 PM, Mike Frysinger wrote: On Sunday 20 May 2012 12:50:40 Stijn Souffriau wrote: --- a/board/davinci/dm365evm/dm365evm.c +++ b/board/davinci/dm365evm/dm365evm.c +#ifdef CONFIG_HW_WATCHDOG +static struct

Re: [U-Boot] [PATCH] nds32: split common cache access from cpu into lib

2012-07-19 Thread Mike Frysinger
On Thursday 19 July 2012 05:02:21 Marek Vasut wrote: Dear Mike Frysinger, On Sunday 15 July 2012 04:12:45 Marek Vasut wrote: Dear Macpaul Lin, +void flush_cache(unsigned long addr, unsigned long size) +{ + flush_dcache_range(addr, addr + size

Re: [U-Boot] [PATCH v3 02/18] fdt: Add header guard to fdtdec.h

2012-07-19 Thread Mike Frysinger
On Thursday 12 July 2012 11:25:02 Simon Glass wrote: This makes it easier to include this header from other headers. Acked-by: Mike Frysinger vap...@gentoo.org --- a/include/fdtdec.h +++ b/include/fdtdec.h const u8 *fdtdec_locate_byte_array(const void *blob, int node

Re: [U-Boot] [PATCH v3 03/18] tegra: Use const for pinmux_config_pingroup/table()

2012-07-19 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 04/18] tegra: Add display support to funcmux

2012-07-19 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 07/18] tegra: Add support for PWM

2012-07-19 Thread Mike Frysinger
On Thursday 12 July 2012 11:25:07 Simon Glass wrote: --- a/arch/arm/cpu/armv7/tegra2/Makefile +++ b/arch/arm/cpu/armv7/tegra2/Makefile +COBJS-$(CONFIG_VIDEO_TEGRA) += pwm.o should this get its own knob ? PWM isn't video specific ... -mike signature.asc Description: This is a digitally

Re: [U-Boot] [PATCH v3 12/18] lcd: Add CONFIG_LCD_ALIGNMENT to select frame buffer alignment

2012-07-19 Thread Mike Frysinger
On Thursday 12 July 2012 11:25:12 Simon Glass wrote: --- a/common/lcd.c +++ b/common/lcd.c +#ifdef CONFIG_ARM +#include asm/system.h +#endif this header isn't ARM specific. also, i think most arches just include this in their main points rather than any non-arch places including it

Re: [U-Boot] [PATCH v3 13/18] lcd: Add support for flushing LCD fb from dcache after update

2012-07-19 Thread Mike Frysinger
On Thursday 12 July 2012 11:25:13 Simon Glass wrote: --- a/common/lcd.c +++ b/common/lcd.c +/* Flush LCD activity to the caches */ +void lcd_sync(void) +{ + /* + * flush_dcache_range() is declared in common.h but it seems that some + * architectures do not actually

Re: [U-Boot] [PATCH v3 14/18] tegra: Align LCD frame buffer to section boundary

2012-07-19 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 17/18] lcd: Add CONSOLE_SCROLL_LINES option to speed console

2012-07-19 Thread Mike Frysinger
On Thursday 12 July 2012 11:25:17 Simon Glass wrote: --- a/README +++ b/README + CONSOLE_SCROLL_LINES + + When the console need to be scrolled, this is the number of + lines to scroll by. It defaults to 1. Increasing this makes + the console

Re: [U-Boot] [PATCH v3 11/18] arm: Add control over cachability of memory regions

2012-07-19 Thread Mike Frysinger
On Thursday 12 July 2012 14:12:41 Albert ARIBAUD wrote: On Thu, 12 Jul 2012 08:25:11 -0700, Simon Glass wrote: --- a/arch/arm/include/asm/system.h +++ b/arch/arm/include/asm/system.h +/* options available for data cache on each page */ +enum dcache_option { + DCACHE_OFF, +

Re: [U-Boot] [PATCH v3 08/18] tegra: Add SOC support for display/lcd

2012-07-19 Thread Mike Frysinger
On Thursday 19 July 2012 04:03:04 Adam Jiang wrote: On Thu, Jul 12, 2012 at 11:25:08PM +0800, Simon Glass wrote: + /* Use a ref-to-sync of 1 always, and take this from the front porch */ ref-to-sync is supposed to be 1 here. + back = fdtdec_get_int(blob, rgb, left-margin,

Re: [U-Boot] [PATCH v4 1/1] zfs: Add ZFS filesystem support

2012-07-19 Thread Mike Frysinger
On Thursday 19 July 2012 00:51:23 Jorgen Lundman wrote: Mike Frysinger wrote: i just picked out the first version 3 i saw in your patch. going back to it and searching again shows more than just one file. You are correct, 3 files to be precise: zfs_fletcher.c zfs_lzjb.c zfs_sha256.c

Re: [U-Boot] [PATCH] arm: armv7: add compile option -mno-unaligned-access if available

2012-07-19 Thread Mike Frysinger
On Thursday 19 July 2012 02:28:05 Albert ARIBAUD wrote: On Thu, 19 Jul 2012 00:29:23 -0400, Mike Frysinger wrote: On Monday 02 July 2012 12:14:40 Måns Rullgård wrote: It's slightly more complicated than that. Data can be misaligned for a variety of reasons: 1. Errors in software

Re: [U-Boot] [PATCH v4 1/2] tools, config.mk: add binutils-version

2012-07-19 Thread Mike Frysinger
On Thursday 19 July 2012 11:08:10 Tom Rini wrote: On 07/18/2012 08:11 PM, Mike Frysinger wrote: On Wednesday 18 July 2012 19:45:52 Allen Martin wrote: +MAJOR=$($gas --version | head -1 | awk '{print $NF}' | cut -d . -f 1) +MINOR=$($gas --version | head -1 | awk '{print $NF}' | cut -d . -f 2

<    1   2   3   4   5   6   7   8   9   10   >