Re: [U-Boot] ??: [PATCH v2] include/linux/mii.h: update for supporting GE

2011-01-21 Thread Anton Vorontsov
. These definitions were added by commit 91cdaa3a: commit 91cdaa3a9d7562b869d96774e9c9ddf142c0848d Author: Anton Vorontsov avoront...@ru.mvista.com Date: Mon Mar 24 20:46:24 2008 +0300 uec: add support for gbit mii status readings Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com

Re: [U-Boot] [PATCH] fsl_esdhc: Fix esdhc disabled problem on some platforms

2010-12-28 Thread Anton Vorontsov
? } +#endif do_fixup_by_compat_u32(blob, compat, clock-frequency, gd-sdhc_clk, 1); Thanks, -- Anton Vorontsov Email: cbouatmai...@gmail.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

[U-Boot] [PATCH 2/2] hwconfig: Add some unit tests

2010-06-18 Thread Anton Vorontsov
I use this for testing, and I think this might be useful in the future. Signed-off-by: Anton Vorontsov avoront...@mvista.com --- common/hwconfig.c | 55 + 1 files changed, 55 insertions(+), 0 deletions(-) diff --git a/common/hwconfig.c b

[U-Boot] [PATCH 1/2] hwconfig: Fix stop characters parsing for subkeys

2010-06-18 Thread Anton Vorontsov
york...@freescale.com Signed-off-by: Anton Vorontsov avoront...@mvista.com --- common/hwconfig.c | 19 ++- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/common/hwconfig.c b/common/hwconfig.c index e5c60ba..85a69da 100644 --- a/common/hwconfig.c +++ b/common

Re: [U-Boot] [PATCH] mpc8315erdb: fix out-of-tree building for NAND config

2010-02-25 Thread Anton Vorontsov
differencies between 831x and 837x SPLs. Maybe there is some way to merge 831x SPL into 83xx SPL? Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] [PATCH v2] mpc83xx: Add NAND boot support for MPC8315E-RDB boards

2010-01-11 Thread Anton Vorontsov
... Thanks! -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v3] mpc83xx: Add NAND boot support for MPC8315E-RDB boards

2009-12-15 Thread Anton Vorontsov
symlink nand_spl/board/freescale/mpc8315erdb to mpc8313erdb. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- On Mon, Dec 07, 2009 at 03:10:34PM -0600, Kim Phillips wrote: include/configs/MPC8315ERDB.h | 95 +++-- 6 files changed, 139 insertions

[U-Boot] [PATCH] mpc85xx: Add 4-bits eSDHC support for MPC8569E-MDS boards

2009-12-15 Thread Anton Vorontsov
Thanks to Errata to MPC8569E PowerQUICC III Integrated Host Processor Family Reference Manual, Rev. 0 document, which describes all eSDHC pins, we can add 4-bits eSDHC support for MPC8569E-MDS boards. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds

[U-Boot] [PATCH v2] mpc83xx: Add NAND boot support for MPC8315E-RDB boards

2009-11-24 Thread Anton Vorontsov
symlink nand_spl/board/freescale/mpc8315erdb to mpc8313erdb. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- On Thu, Nov 19, 2009 at 01:17:36PM -0600, Kumar Gala wrote: [...] @$(MKCONFIG) -a MPC8315ERDB ppc mpc83xx mpc8315erdb freescale +@if [ $(findstring _NAND_

[U-Boot] [PATCH] mpc83xx: Add NAND boot support for MPC8315E-RDB boards

2009-11-19 Thread Anton Vorontsov
symlink nand_spl/board/freescale/mpc8315erdb to mpc8313erdb. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- MAKEALL |1 + Makefile | 11 board/freescale/mpc8315erdb/config.mk |6 ++ board/freescale

Re: [U-Boot] SDCARD Support - MPC8315e

2009-11-13 Thread Anton Vorontsov
-Boot.) Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 0/7] Some patches for MPC8569E-MDS

2009-10-15 Thread Anton Vorontsov
Hello Kumar, Just resending rebased MPC8569E-MDS patches with your comments addressed, plus there some fixes in eSDHC patch for pilot boards (BCSR registers changed). Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2

[U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup

2009-10-15 Thread Anton Vorontsov
-by: Anton Vorontsov avoront...@ru.mvista.com Acked-by: Gerald Van Baren vanba...@cideas.com --- common/fdt_support.c | 22 +- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/common/fdt_support.c b/common/fdt_support.c index 89164a1..e01303a 100644 --- a/common

[U-Boot] [PATCH 2/7] mpc85xx: Add eSDHC support for MPC8569E-MDS boards

2009-10-15 Thread Anton Vorontsov
-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds/bcsr.h |3 +- board/freescale/mpc8569mds/mpc8569mds.c | 116 +++ cpu/mpc85xx/speed.c |4 + include/configs/MPC8569MDS.h| 16 4 files

[U-Boot] [PATCH 3/7] mpc85xx: Add eLBC NAND support for MPC8569E-MDS boards

2009-10-15 Thread Anton Vorontsov
Simply add some defines, and adjust TLBe setup to include some space for eLBC NAND. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds/tlb.c | 30 +++--- include/configs/MPC8569MDS.h | 23 +++ 2 files changed

[U-Boot] [PATCH 5/7] mpc85xx: Setup QE pinmux for SPI Flash on MPC8569E-MDS boards

2009-10-15 Thread Anton Vorontsov
SPI Flash (M25P40) is connected to the SPI1 bus, we need a few qe_iop entries to actually enable SPI1 on these boards. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds/mpc8569mds.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH 4/7] mpc85xx: Setup SRIO memory region LAW for MPC8569E-MDS boards

2009-10-15 Thread Anton Vorontsov
This patch sets memory window for Serial RapidIO on MPC8569E-MDS boards. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds/law.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/board/freescale/mpc8569mds/law.c b/board/freescale

[U-Boot] [PATCH 6/7] mpc85xx: Configure QE UART for MPC8569E-MDS boards

2009-10-15 Thread Anton Vorontsov
. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds/bcsr.h |1 + board/freescale/mpc8569mds/mpc8569mds.c | 98 --- 2 files changed, 78 insertions(+), 21 deletions(-) diff --git a/board/freescale/mpc8569mds/bcsr.h b/board

[U-Boot] [PATCH 7/7] mpc85xx: Configure QE USB for MPC8569E-MDS boards

2009-10-15 Thread Anton Vorontsov
Setup QE pin multiplexing for USB function, configure needed BCSRs and add some fdt fixups. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds/bcsr.h |4 +++ board/freescale/mpc8569mds/mpc8569mds.c | 32 +++ drivers/qe

Re: [U-Boot] [PATCH 3/7] mpc85xx: Add eLBC NAND support for MPC8569E-MDS boards

2009-10-12 Thread Anton Vorontsov
starts at 0xfe00, ends at 0x (32MB). Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 4/7] mpc85xx: Setup SRIO memory region LAW for MPC8569E-MDS boards

2009-10-12 Thread Anton Vorontsov
On Tue, Sep 15, 2009 at 11:18:16PM -0500, Kumar Gala wrote: On Aug 19, 2009, at 1:37 PM, Anton Vorontsov wrote: This patch sets memory window for Serial RapidIO on MPC8569E-MDS boards. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds/law.c |1

Re: [U-Boot] [PATCH 2/7] mpc85xx: Add eSDHC support for MPC8569E-MDS boards

2009-10-12 Thread Anton Vorontsov
CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR +#define CONFIG_CMD_MMC +#define CONFIG_GENERIC_MMC +#define CONFIG_CMD_EXT2 +#define CONFIG_CMD_FAT +#define CONFIG_DOS_PARTITION +#endif + /* * Miscellaneous configurable options */ Thanks! -- Anton Vorontsov email: cbouatmai

[U-Boot] [PATCH] mpc85xx: Fix booting on various boards

2009-10-12 Thread Anton Vorontsov
mpc8548cds mpc8555cds mpc8560ads mpc8568mds mpc8569mds and maybe more. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- lib_ppc/board.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib_ppc/board.c b/lib_ppc/board.c index 8b8ddb5..37f0db9 100644

Re: [U-Boot] [PATCH 2/7] mpc85xx: Add eSDHC support for MPC8569E-MDS boards

2009-10-08 Thread Anton Vorontsov
On Thu, Oct 08, 2009 at 10:52:08AM -0500, Kumar Gala wrote: On Sep 15, 2009, at 11:15 PM, Kumar Gala wrote: On Aug 19, 2009, at 1:37 PM, Anton Vorontsov wrote: eSDHC is mutually exlusive with UART0* and I2C2. When eSDHC is used, we should switch u-boot console to UART1, and make

Re: [U-Boot] [PATCH 4/5] mpc83xx: mpc8360emds: Use RGMII mode, add workarounds for rev. 2.1 CPUs

2009-09-25 Thread Anton Vorontsov
On Fri, Sep 25, 2009 at 06:32:15PM -0500, Kim Phillips wrote: On Sat, 19 Sep 2009 03:29:17 +0400 Anton Vorontsov avoront...@ru.mvista.com wrote: On Fri, Sep 18, 2009 at 05:40:45PM -0500, Kim Phillips wrote: sorry, can't accept - this breaks r1.1 based boards: If it'll work, I'll

Re: [U-Boot] MPC875 USB support?

2009-09-24 Thread Anton Vorontsov
. I don't quite remember if he posted the patch to some mailinglist, but I have the patch in my mailbox. I can post it somewhere if Laurent don't mind. Cc'ing... -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ U-Boot

Re: [U-Boot] [PATCH 4/5] mpc83xx: mpc8360emds: Use RGMII mode, add workarounds for rev. 2.1 CPUs

2009-09-18 Thread Anton Vorontsov
On Fri, Sep 18, 2009 at 05:40:45PM -0500, Kim Phillips wrote: On Wed, 16 Sep 2009 23:21:59 +0400 Anton Vorontsov avoront...@ru.mvista.com wrote: This patch fixes various ethernet issues with gigabit links handling in U-Boot. The workarounds originally implemented by Kim Phillips

Re: [U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup

2009-09-16 Thread Anton Vorontsov
if (!sername[0]) sprintf(sername, serial%d, CONFIG_CONS_INDEX - 1); } Though, I'll do whatever you prefer. Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ U-Boot mailing list U-Boot

Re: [U-Boot] No NAND device found!!! Freescale MPC8544+SAMSUNG 1GB Nand Flash , please help!

2009-09-16 Thread Anton Vorontsov
. Unfortunately it's hard to debug these sort of things without logic analyzer, so if you don't have one, I'd suggest to play 'trial error' game. Cc'ing Wolfgang Grandegger though, maybe he has better ideas. -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2

[U-Boot] [PATCH 1/5] net: uec_phy: Implement TXID and RXID RGMII modes for Marvell PHYs

2009-09-16 Thread Anton Vorontsov
This will be needed for MPC8360E-MDS boards with rev. 2.1 CPUs. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- drivers/qe/uec.h |1 + drivers/qe/uec_phy.c | 15 +-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/qe/uec.h b/drivers/qe

[U-Boot] [PATCH 2/5] net: uec: Fix uccf.h and uec.h headers to include headers they depend on

2009-09-16 Thread Anton Vorontsov
Headers should include headers containing prototypes and defines they depend on, don't assume that they're included by somebody else. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- drivers/qe/uccf.h |1 + drivers/qe/uec.h |3 +++ 2 files changed, 4 insertions(+), 0

[U-Boot] [PATCH 3/5] mpc83xx: mpc8360emds: Don't use LBC SDRAM when DDR is available

2009-09-16 Thread Anton Vorontsov
, is LBC SDRAM just too slow?). With this patch we can still use the board without DDR memory, but if DDR is available, we don't use LBC SDRAM. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8360emds/mpc8360emds.c |5 - 1 files changed, 4 insertions(+), 1

[U-Boot] [PATCH 4/5] mpc83xx: mpc8360emds: Use RGMII mode, add workarounds for rev. 2.1 CPUs

2009-09-16 Thread Anton Vorontsov
This patch fixes various ethernet issues with gigabit links handling in U-Boot. The workarounds originally implemented by Kim Phillips for Linux kernel. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8360emds/mpc8360emds.c | 56

[U-Boot] [PATCH 5/5] mpc83xx: mpc8360emds: Add QE USB device tree fixups

2009-09-16 Thread Anton Vorontsov
With this patch we can change QE USB mode without need to hand-edit the device tree. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8360emds/mpc8360emds.c | 12 include/configs/MPC8360EMDS.h |2 ++ 2 files changed, 14 insertions

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

2009-09-15 Thread Anton Vorontsov
://git.denx.de/u-boot-mpc85xx.git master What about these patches (MPC8569)? http://lists.denx.de/pipermail/u-boot/2009-August/thread.html#58930 Thanks! -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ U-Boot mailing list

[U-Boot] mpc83xx/serdes: License cleanup: remove All Rights Reserved notice

2009-09-02 Thread Anton Vorontsov
All Rights Reserved conflicts with the GPL. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- cpu/mpc83xx/serdes.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cpu/mpc83xx/serdes.c b/cpu/mpc83xx/serdes.c index 283cc3f..64033fe 100644 --- a/cpu/mpc83xx

Re: [U-Boot] [PATCH 2/2] License cleanup: remove all files with All Rights Reserved notices.

2009-09-02 Thread Anton Vorontsov
, -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/2] Move uninitialized_var() macro from ubi_uboot.h to compiler.h

2009-09-01 Thread Anton Vorontsov
This is needed so that we could use this macro for non-UBI code. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- include/compiler.h |3 +++ include/ubi_uboot.h |4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/compiler.h b/include/compiler.h

Re: [U-Boot] [PATCH 2/2] fsl: sys_eeprom: Fix 'may be used uninitialized' warning

2009-09-01 Thread Anton Vorontsov
On Tue, Sep 01, 2009 at 12:30:53PM -0500, Kumar Gala wrote: On Sep 1, 2009, at 11:59 AM, Anton Vorontsov wrote: The warning is bogus, so silence it with uninitialized_var(). Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/common/sys_eeprom.c |4 +++- 1

Re: [U-Boot] [PATCH 2/2] fsl: sys_eeprom: Fix 'may be used uninitialized' warning

2009-09-01 Thread Anton Vorontsov
On Tue, Sep 01, 2009 at 09:38:14PM +0400, Anton Vorontsov wrote: [...] static int prog_eeprom(void) { - int ret, i; + int uninitialized_var(ret); + int i; why don't we init ret = 0; seems like we should be doing that since we might not enter the for loop No, we always enter

Re: [U-Boot] [PATCH 1/2] Move uninitialized_var() macro from ubi_uboot.h to compiler.h

2009-09-01 Thread Anton Vorontsov
On Tue, Sep 01, 2009 at 08:11:41PM +0200, Wolfgang Denk wrote: Dear Anton Vorontsov, In message 20090901165803.ga3...@oksana.dev.rtsoft.ru you wrote: This is needed so that we could use this macro for non-UBI code. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- include

Re: [U-Boot] [PATCH 2/2] fsl: sys_eeprom: Fix ' may be used uninitialized' warningп

2009-09-01 Thread Anton Vorontsov
On Tue, Sep 01, 2009 at 01:09:26PM -0500, Timur Tabi wrote: Anton Vorontsov wrote: - for (i = 0, p = e; i sizeof(e); i += 8, p += 8) { + do { ret = i2c_write(CONFIG_SYS_I2C_EEPROM_ADDR, i, CONFIG_SYS_I2C_EEPROM_ADDR_LEN, - p, min((sizeof(e) - i), 8

Re: [U-Boot] [PATCH 2/2] fsl: sys_eeprom: Fix 'may be used uninitialized' warning

2009-09-01 Thread Anton Vorontsov
On Tue, Sep 01, 2009 at 08:16:26PM +0200, Wolfgang Denk wrote: Dear Anton Vorontsov, In message 20090901165902.ga6...@oksana.dev.rtsoft.ru you wrote: The warning is bogus, so silence it with uninitialized_var(). Which tool chain issues a warning here? gcc version 4.0.0 (DENX ELDK 4.0

Re: [U-Boot] [PATCH 1/2] Move uninitialized_var() macro from ubi_uboot.h to compiler.h

2009-09-01 Thread Anton Vorontsov
smart enough to see that some variable isn't actually used uninitialized. ~/linux-2.6$ git grep uninitialized_var drivers/ | wc -l 94 You seem to be grepping the linux source tree. Yes, which is a great source of best practices. Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.com

[U-Boot] [PATCH v2] fsl: sys_eeprom: Fix 'may be used uninitialized' warning

2009-09-01 Thread Anton Vorontsov
The warning is bogus, so silence it by initializing the 'ret' variable. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- On Tue, Sep 01, 2009 at 09:27:37PM +0200, Wolfgang Denk wrote: Dear Anton Vorontsov, In message 20090901182518.ga17...@oksana.dev.rtsoft.ru you wrote: We

[U-Boot] [PATCH 2/7] mpc85xx: Add eSDHC support for MPC8569E-MDS boards

2009-08-19 Thread Anton Vorontsov
boards. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds/mpc8569mds.c | 85 +++ cpu/mpc85xx/speed.c |2 + include/asm-ppc/global_data.h |3 +- include/configs/MPC8569MDS.h| 16

[U-Boot] [PATCH 3/7] mpc85xx: Add eLBC NAND support for MPC8569E-MDS boards

2009-08-19 Thread Anton Vorontsov
Simply add some defines, and adjust TLBe setup to include some space for eLBC NAND. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds/tlb.c | 30 +++--- include/configs/MPC8569MDS.h | 23 +++ 2 files changed

[U-Boot] [PATCH 4/7] mpc85xx: Setup SRIO memory region LAW for MPC8569E-MDS boards

2009-08-19 Thread Anton Vorontsov
This patch sets memory window for Serial RapidIO on MPC8569E-MDS boards. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds/law.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/board/freescale/mpc8569mds/law.c b/board/freescale

[U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup

2009-08-19 Thread Anton Vorontsov
-by: Anton Vorontsov avoront...@ru.mvista.com --- common/fdt_support.c | 22 +- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/common/fdt_support.c b/common/fdt_support.c index 89164a1..e01303a 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -22,6

[U-Boot] [PATCH 5/7] mpc85xx: Setup QE pinmux for SPI Flash on MPC8569E-MDS boards

2009-08-19 Thread Anton Vorontsov
SPI Flash (M25P40) is connected to the SPI1 bus, we need a few qe_iop entries to actually enable SPI1 on these boards. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds/mpc8569mds.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH 6/7] mpc85xx: Configure QE UART for MPC8569E-MDS boards

2009-08-19 Thread Anton Vorontsov
To make QE UART usable by Linux we should setup pin multiplexing and turn UCC2 Ethernet node into UCC2 QE UART node. Also, QE UART is mutually exclusive with UART0, so we can't enable it if eSDHC is in use. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds

[U-Boot] [PATCH 7/7] mpc85xx: Configure QE USB for MPC8569E-MDS boards

2009-08-19 Thread Anton Vorontsov
Setup QE pin multiplexing for USB function, configure needed BCSRs and add some fdt fixups. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds/bcsr.h |4 +++ board/freescale/mpc8569mds/mpc8569mds.c | 32 +++ drivers/qe

Re: [U-Boot] [PATCH v3 0/8] hwconfig and some its users

2009-07-16 Thread Anton Vorontsov
On Thu, Jul 16, 2009 at 10:52:13PM +0200, Wolfgang Denk wrote: Dear Kim Phillips, In message 20090707173804.acc352f9.kim.phill...@freescale.com you wrote: Any news on this? Wolfgang, if you have no objection, please apply directly. Done. Thanks a lot, Wolfgang! -- Anton

Re: [U-Boot] [PATCH v3 0/8] hwconfig and some its users

2009-07-07 Thread Anton Vorontsov
On Thu, Jun 11, 2009 at 04:53:50PM -0500, Kim Phillips wrote: On Thu, 11 Jun 2009 21:01:23 +0400 Anton Vorontsov avoront...@ru.mvista.com wrote: dr_usb.mode = host; .phy_type = ulpi; esdhc; - that isn't obvious that .phy_type is a continuation of dr_usb. :-/ It's kind of more special

Re: [U-Boot] [PATCH v3 0/8] hwconfig and some its users

2009-06-11 Thread Anton Vorontsov
typing (notice the repetitive dr_usb), so there should be two assignment symbols and two symbols for separation. Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH v3 0/8] hwconfig and some its users

2009-06-11 Thread Anton Vorontsov
pinmux # fdt addr ... # now manually fixup the device tree # fdt set ... ... # fdt mknode ... ... In a final product you barely need the hwconfig stuff, because product boards only define things they use (and that's why we must keep things working without CONFIG_HWCONFIG). Thanks, -- Anton

[U-Boot] [PATCH v3 0/8] hwconfig and some its users

2009-06-09 Thread Anton Vorontsov
=peripheral,phy_type=ulpi What do you think? Sorry for the delay. Done. New patches on the way. Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

[U-Boot] [PATCH 1/8] Add simple hwconfig infrastructure

2009-06-09 Thread Anton Vorontsov
mode (like RMII-only interface for ethernet, no MII). It's quite trivial to implement simple cases though. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- common/Makefile|1 + common/hwconfig.c | 210 include

[U-Boot] [PATCH 3/8] mpc83xx: MPC837XERDB: Add support for FSL eSDHC

2009-06-09 Thread Anton Vorontsov
'esdhc' or 'dr_usb' options in the hwconfig environment variable to choose between the devices. p.s. Now we're very close to a monitor len limit (196 bytes left using gcc-4.2.0), so also increase the monitor len by one sector (64 KB). Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board

[U-Boot] [PATCH 2/8] fsl_esdhc: Add device tree fixups

2009-06-09 Thread Anton Vorontsov
This patch implements fdt_fixup_esdhc() function that is used to fixup the device tree. The function adds status = disabled propery if esdhc pins muxed away, otherwise it fixups clock-frequency for esdhc nodes. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- drivers/mmc/fsl_esdhc.c

[U-Boot] [PATCH 4/8] mpc83xx: MPC837XEMDS: Fixup eSDHC nodes in device tree

2009-06-09 Thread Anton Vorontsov
fdt_fixup_esdhc() will either disable or enable eSDHC nodes, and also will fixup clock-frequency property. Plus, since DR USB and eSDHC are mutually exclusive, we should only configure the eSDHC if asked through hwconfig. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board

[U-Boot] [PATCH 5/8] fdt_support, usb: Move fdt_fixup_dr_usb routine to drivers/usb/otg

2009-06-09 Thread Anton Vorontsov
to be consistent with other USB drivers. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- Makefile |1 + board/freescale/mpc8315erdb/mpc8315erdb.c |1 + board/freescale/mpc837xemds/mpc837xemds.c |1 + board/freescale/mpc837xerdb/mpc837xerdb.c

[U-Boot] [PATCH 7/8] mpc83xx: MPC8315ERDB: Use hwconfig for board type selection

2009-06-09 Thread Anton Vorontsov
This patch simply converts the board to the hwconfig infrastructure. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8315erdb/mpc8315erdb.c | 14 +- include/configs/MPC8315ERDB.h |1 + 2 files changed, 6 insertions(+), 9 deletions

[U-Boot] [PATCH 6/8] fsl_dr_usb: Fixup disabled USB controllers nodes in device tree

2009-06-09 Thread Anton Vorontsov
We should add status = disabled property when USB controller can't be used (for example when USB pins muxed away to another device). Also convert whole fdt_fixup_dr_usb() to use more compact routines from fdt_support.h. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- cpu/mpc83xx

[U-Boot] [PATCH 8/8] mpc83xx: MPC837xEMDS: Use hwconfig instead of pci_external_arbiter variable

2009-06-09 Thread Anton Vorontsov
Since we have simple hwconfig interface now, we don't need pci_external_arbiter variable any longer. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc837xemds/mpc837xemds.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/board/freescale

[U-Boot] [PATCH 0/5] Some patches for MPC8569E-MDS

2009-06-09 Thread Anton Vorontsov
, -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/5] mpc85xx: Add multi-serial support for MPC8569E-MDS boards

2009-06-09 Thread Anton Vorontsov
There are two UARTs on MPC8569E-MDS boards, but UART1 can be muxed away to SD/MMC signals, so we'll need multi-serial support to support eSDHC on these boards (we'll redirect u-boot console to the second UART in case of enabled eSDHC). Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com

[U-Boot] [PATCH 2/5] fdt_support: Add multi-serial support for stdout fixup

2009-06-09 Thread Anton Vorontsov
-by: Anton Vorontsov avoront...@ru.mvista.com --- common/fdt_support.c | 22 +- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/common/fdt_support.c b/common/fdt_support.c index ec6cff1..d9f4693 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -22,6

[U-Boot] [PATCH 3/5] mpc85xx: Add eSDHC support for MPC8569E-MDS boards

2009-06-09 Thread Anton Vorontsov
eSDHC is mutually exlusive with UART1 and I2C2. When eSDHC is used, we should switch u-boot console to UART2, and make the proper device-tree fixups. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds/mpc8569mds.c | 85 +++ cpu

[U-Boot] [PATCH 4/5] mpc85xx: Add eLBC NAND support for MPC8569E-MDS boards

2009-06-09 Thread Anton Vorontsov
Simply add some defines, and adjust TLBe setup to include some space for eLBC NAND. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds/tlb.c | 30 +++--- include/configs/MPC8569MDS.h | 23 +++ 2 files changed

[U-Boot] [PATCH 5/5] mpc85xx: Setup QE pinmux for SPI Flash on MPC8569E-MDS boards

2009-06-09 Thread Anton Vorontsov
SPI Flash (M25P40) is connected to the SPI1 bus, we need a few qe_iop entries to actually enable SPI1 on these boards. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8569mds/mpc8569mds.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git

Re: [U-Boot] [PATCH 1/8] Add simple hwconfig infrastructure

2009-06-02 Thread Anton Vorontsov
On Tue, Jun 02, 2009 at 03:51:29PM -0500, Andy Fleming wrote: On Wed, Apr 29, 2009 at 4:50 PM, Anton Vorontsov avoront...@ru.mvista.comwrote: This patch implements simple hwconfig infrastructure: an interface for software knobs to control a hardware. This is very simple implementation

Re: [U-Boot] [PATCH 4/6] fsl_esdhc: Add device tree fixups

2009-04-30 Thread Anton Vorontsov
On Thu, Apr 30, 2009 at 12:57:52PM -0500, Scott Wood wrote: On Thu, Apr 30, 2009 at 01:20:11AM +0400, Anton Vorontsov wrote: Isn't there a more global means of doing this? I don't like having the 8536/8379 in the driver, itself. But that's how we prefer bindings nowadays. Block

Re: [U-Boot] [PATCH 4/6] fsl_esdhc: Add device tree fixups

2009-04-30 Thread Anton Vorontsov
On Thu, Apr 30, 2009 at 02:28:52PM -0500, Kim Phillips wrote: On Thu, 30 Apr 2009 22:59:59 +0400 Anton Vorontsov avoront...@ru.mvista.com wrote: On Thu, Apr 30, 2009 at 12:57:52PM -0500, Scott Wood wrote: On Thu, Apr 30, 2009 at 01:20:11AM +0400, Anton Vorontsov wrote: Isn't

Re: [U-Boot] [PATCH 4/6] fsl_esdhc: Add device tree fixups

2009-04-30 Thread Anton Vorontsov
On Thu, Apr 30, 2009 at 11:35:34PM +0400, Anton Vorontsov wrote: On Thu, Apr 30, 2009 at 02:28:52PM -0500, Kim Phillips wrote: On Thu, 30 Apr 2009 22:59:59 +0400 Anton Vorontsov avoront...@ru.mvista.com wrote: On Thu, Apr 30, 2009 at 12:57:52PM -0500, Scott Wood wrote: On Thu, Apr

Re: [U-Boot] [PATCH 4/6] fsl_esdhc: Add device tree fixups

2009-04-30 Thread Anton Vorontsov
On Thu, Apr 30, 2009 at 02:59:37PM -0500, Kim Phillips wrote: On Thu, 30 Apr 2009 23:35:34 +0400 Anton Vorontsov avoront...@ru.mvista.com wrote: What if there is some errata in 8377 chip (with 1.0 revision), and not in 8378 chip (also 1.0 revision)? I believe they are in fact the same

Re: [U-Boot] [PATCH 1/8] Add simple hwconfig infrastructure

2009-04-30 Thread Anton Vorontsov
On Thu, Apr 30, 2009 at 03:00:50PM -0500, Kim Phillips wrote: On Thu, 30 Apr 2009 01:50:00 +0400 Anton Vorontsov avoront...@ru.mvista.com wrote: This patch implements simple hwconfig infrastructure: an interface for software knobs to control a hardware. This is very simple

Re: [U-Boot] [PATCH 1/8] Add simple hwconfig infrastructure

2009-04-30 Thread Anton Vorontsov
to implement, but full fledged parser is needed for the most generic case. Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 0/8] hwconfig and some its users (was: Re: [PATCH 2/6] Add FSL Can use framework)

2009-04-29 Thread Anton Vorontsov
On Thu, Feb 19, 2009 at 08:56:50PM +0100, Wolfgang Denk wrote: Dear Anton Vorontsov, In message 20090219154545.gb26...@oksana.dev.rtsoft.ru you wrote: So far it's used for specifying whether we want to use FSL DR USB or FSL eSDHC devices on MPC837X processors. There are two more

[U-Boot] [PATCH 2/8] fsl_esdhc: Add device tree fixups

2009-04-29 Thread Anton Vorontsov
This patch implements fdt_fixup_esdhc() function that is used to fixup the device tree. The function adds status = disabled propery if esdhc pins muxed away, otherwise it fixups clock-frequency for esdhc nodes. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- drivers/mmc/fsl_esdhc.c

[U-Boot] [PATCH 3/8] mpc83xx: MPC837XERDB: Add support for FSL eSDHC

2009-04-29 Thread Anton Vorontsov
'esdhc' or 'dr_usb' options in the hwconfig environment variable to choose between the devices. p.s. Now we're very close to a monitor len limit (196 bytes left using gcc-4.2.0), so also increase the monitor len by one sector (64 KB). Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board

[U-Boot] [PATCH 1/8] Add simple hwconfig infrastructure

2009-04-29 Thread Anton Vorontsov
need to disable Y, and turn Z into reduced mode (like RMII-only interface for ethernet, no MII). It's quite trivial to implement simple cases though. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- common/Makefile|1 + common/hwconfig.c | 134

[U-Boot] [PATCH 6/8] fsl_dr_usb: Fixup disabled USB controllers nodes in device tree

2009-04-29 Thread Anton Vorontsov
We should add status = disabled property when USB controller can't be used (for example when USB pins muxed away to another device). Also convert whole fdt_fixup_dr_usb() to use more compact routines from fdt_support.h. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- cpu/mpc83xx

[U-Boot] [PATCH 5/8] fdt_support, usb: Move fdt_fixup_dr_usb routine to drivers/usb/otg

2009-04-29 Thread Anton Vorontsov
to be consistent with other USB drivers. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- Makefile |1 + board/freescale/mpc8315erdb/mpc8315erdb.c |1 + board/freescale/mpc837xemds/mpc837xemds.c |1 + board/freescale/mpc837xerdb/mpc837xerdb.c

[U-Boot] [PATCH 7/8] mpc83xx: MPC8315ERDB: Use hwconfig for board type selection

2009-04-29 Thread Anton Vorontsov
This patch simply converts the board to the hwconfig infrastructure. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc8315erdb/mpc8315erdb.c | 14 +- include/configs/MPC8315ERDB.h |1 + 2 files changed, 6 insertions(+), 9 deletions

[U-Boot] [PATCH 8/8] mpc83xx: MPC837xEMDS: Use hwconfig instead of pci_external_arbiter variable

2009-04-29 Thread Anton Vorontsov
Since we have simple hwconfig interface now, we don't need pci_external_arbiter variable any longer. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc837xemds/mpc837xemds.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/board/freescale

[U-Boot] [PATCH 4/8] mpc83xx: MPC837XEMDS: Fixup eSDHC nodes in device tree

2009-04-29 Thread Anton Vorontsov
fdt_fixup_esdhc() will either disable or enable eSDHC nodes, and also will fixup clock-frequency property. Plus, since DR USB and eSDHC are mutually exclusive, we should only configure the eSDHC if asked through hwconfig. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board

Re: [U-Boot] [PATCH 4/6] fsl_esdhc: Add device tree fixups

2009-04-29 Thread Anton Vorontsov
Hi Andy, Sorry for the late response, On Fri, Mar 06, 2009 at 07:25:55PM -0600, Andy Fleming wrote: On Thu, Feb 19, 2009 at 9:45 AM, Anton Vorontsov avoront...@ru.mvista.com wrote: This patch implements fdt_fixup_esdhc() function that is used to fixup the device tree. The function adds

Re: [U-Boot] [PATCH 1/8] Add simple hwconfig infrastructure

2009-04-29 Thread Anton Vorontsov
On Thu, Apr 30, 2009 at 01:50:00AM +0400, Anton Vorontsov wrote: [..] +/* Just noticed that I missed kerneldoc starting comment. It should be /**, will fix. -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ U-Boot

Re: [U-Boot] [PATCH] 8313erdb: Set guarded bit on BAT that covers the end of the address space.

2009-03-17 Thread Anton Vorontsov
On Tue, Mar 17, 2009 at 02:49:17PM -0500, Scott Wood wrote: Anton Vorontsov wrote: On Tue, Mar 17, 2009 at 12:09:31PM -0500, Scott Wood wrote: This board currently sets DBAT6 to cover all of the final 256MiB of address space; however, not all of this space is covered by a device

Re: [U-Boot] [PATCH] 8313erdb: Set guarded bit on BAT that covers the end of the address space.

2009-03-17 Thread Anton Vorontsov
the decompression code (what else could it be?), but I didn't manage to track it down to a failing instruction, as the failing kernel was booting *OK* with BDI-2000 attached. Heh. I wonder how you tracked it down to zlib code and a particular loop, please share the technique. ;-) Thanks! -- Anton

[U-Boot] [PATCH 0/7] Some PCIe patches for MPC83xx

2009-02-19 Thread Anton Vorontsov
Hi all, Here are some PCI-E fixes and a patch that adds PCI-E support for MPC837XERDB boards. Thanks, -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

[U-Boot] [PATCH 1/7] mpc83xx: MPC837XEMDS: Initialize SerDes before negating PCIE reset signal

2009-02-19 Thread Anton Vorontsov
The SerDes initialization should be finished before negating the reset signal according to the reference manual. This isn't an issue on real hardware, but we'd better stick to the specifications anyway. Suggested-by: Liu Dave dave...@freescale.com Signed-off-by: Anton Vorontsov avoront

[U-Boot] [PATCH 2/7] PCI: Add pci_last_busno() helper

2009-02-19 Thread Anton Vorontsov
This is just a handy routine that reports last PCI busno: we walk down all the hoses and return last hose's last_busno. Will be used by PCI/PCIe initialization code. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- drivers/pci/pci.c | 13 + include/pci.h |2

[U-Boot] [PATCH 3/7] mpc83xx: PCIe: Don't start bus enumeration at 0

2009-02-19 Thread Anton Vorontsov
-ming.hu...@freescale.com Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- cpu/mpc83xx/pcie.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/cpu/mpc83xx/pcie.c b/cpu/mpc83xx/pcie.c index 12b5f69..1a3b2be 100644 --- a/cpu/mpc83xx/pcie.c +++ b/cpu/mpc83xx/pcie.c

[U-Boot] [PATCH 4/7] mpc83xx: PCIe: Fix CONFIG_PCI_SCAN_SHOW reporting bogus values

2009-02-19 Thread Anton Vorontsov
This patch fixes an issue in config space read accessors: we should fill-in the value even if we fail (e.g. skipping devices), otherwise CONFIG_PCI_SCAN_SHOW reports bogus values during boot up. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- cpu/mpc83xx/pcie.c |9 +++-- 1

[U-Boot] [PATCH 5/7] mpc83xx: PCI: Fix bus-range fdt fixups for PCI1 controllers

2009-02-19 Thread Anton Vorontsov
This patch fixes copy-paste issue: pci_hose[0]'s first and last busnos were used to fixup pci1's nodes. We don't see this bug triggering only because Linux reenumerate buses anyway. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- cpu/mpc83xx/pci.c |4 ++-- 1 files changed, 2

[U-Boot] [PATCH 6/7] mpc83xx: PCI: Fix hard-coded first_busno value

2009-02-19 Thread Anton Vorontsov
CONFIG_MPC85XX_PCI2 hose = pci_hose[1]; hose-first_busno = pci_hose[0].last_busno + 1; And considering that we do the same for MPC83xx PCI-E support, I think this patch is correct. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- cpu/mpc83xx/pci.c |2 +- 1 files changed

[U-Boot] [PATCH 7/7] mpc83xx: MPC837XERDB: Add PCIe support

2009-02-19 Thread Anton Vorontsov
On MPC8377E-RDB and MPC8378E-RDB boards we have PCIe and mini-PCIe slots. Let's support them. Signed-off-by: Anton Vorontsov avoront...@ru.mvista.com --- board/freescale/mpc837xerdb/pci.c | 57 + include/configs/MPC837XERDB.h | 21 + 2

[U-Boot] [PATCH 0/6] eSDHC/DR USB switching on MPC837X boards

2009-02-19 Thread Anton Vorontsov
Hi all, Because of pin multiplexing the eSDHC and DR USB are mutually exclusive on MPC837X processors, so we have to support switching between the two devices, and properly fixup the device tree. Patches on the way... -- Anton Vorontsov email: cbouatmai...@gmail.com irc://irc.freenode.net/bd2

  1   2   >