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

2011-01-21 Thread Anton Vorontsov
> > I'm afraid the fix will lead some mis-behavior for boards has uec_phy. > > These definitions were added by commit 91cdaa3a: > > commit 91cdaa3a9d7562b869d96774e9c9ddf142c0848d > Author: Anton Vorontsov > Date: Mon Mar 24 20:46:24 2008 +0300 > > uec: add

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

2010-12-28 Thread Anton Vorontsov
. > commit b33433a63fe08c9e723ea15a7c7c7143bf527c6d > Author: Anton Vorontsov > Date: Wed Jun 10 00:25:29 2009 +0400 > > fsl_esdhc: Add device tree fixups > > Signed-off-by: Chenhui Zhao > Signed-off-by: Li Yang > --- > drivers/mmc/fsl_esdhc.c

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

2010-06-18 Thread Anton Vorontsov
3 Reported-by: York Sun Signed-off-by: Anton Vorontsov --- 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/hwconfig.c @@ -19,

[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 --- common/hwconfig.c | 55 + 1 files changed, 55 insertions(+), 0 deletions(-) diff --git a/common/hwconfig.c b/common/hwconfig.c index

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

2010-02-25 Thread Anton Vorontsov
ess there isn't much 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 htt

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

2010-01-11 Thread Anton Vorontsov
oot/2009-December/065435.html Just FYI... 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] 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 --- board/freescale/mpc8569mds/mpc8569md

[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 --- On Mon, Dec 07, 2009 at 03:10:34PM -0600, Kim Phillips wrote: > > include/configs/MPC8315ERDB.h | 95 > > +++-- > > 6 files changed, 139 insertion

[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 --- On Thu, Nov 19, 2009 at 01:17:36PM -0600, Kumar Gala wrote: [...] > > @$(MKCONFIG) -a MPC8315ERDB ppc mpc83xx mpc8315erdb freescale > >+@if [ "$(findstring _NAND_,$@)" ] ; then

[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 --- MAKEALL |1 + Makefile | 11 board/freescale/mpc8315erdb/config.mk |6 ++ board/freescale/mpc8315erdb/mpc8315erdb.c

Re: [U-Boot] SDCARD Support - MPC8315e

2009-11-13 Thread Anton Vorontsov
27;t yet included into U-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 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 --- board/freescale/mpc8569mds/bcsr.h |4 +++ board/freescale/mpc8569mds/mpc8569mds.c | 32 +++ drivers/qe/fdt.c

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

2009-10-15 Thread Anton Vorontsov
-bits mode. Signed-off-by: Anton Vorontsov --- 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/freescale/mpc8569

[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 --- board/freescale/mpc8569mds/law.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/board/freescale/mpc8569mds/law.c b/board/freescale/mpc8569mds/law.c index e7381aa

[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 --- board/freescale/mpc8569mds/mpc8569mds.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/board/freescale

[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 --- board/freescale/mpc8569mds/tlb.c | 30 +++--- include/configs/MPC8569MDS.h | 23 +++ 2 files changed, 34 insertions(+), 19

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

2009-10-15 Thread Anton Vorontsov
se hwconfig. Signed-off-by: Anton Vorontsov --- board/freescale/mpc8569mds/bcsr.h |3 +- board/freescale/mpc8569mds/mpc8569mds.c | 116 +++ cpu/mpc85xx/speed.c |4 + include/configs/MPC8569MDS.h| 16 4 files cha

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

2009-10-15 Thread Anton Vorontsov
: Anton Vorontsov Acked-by: Gerald Van Baren --- 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

[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] mpc85xx: Fix booting on various boards

2009-10-12 Thread Anton Vorontsov
mpc8541cds mpc8548cds mpc8555cds mpc8560ads mpc8568mds mpc8569mds and maybe more. Signed-off-by: Anton Vorontsov --- 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 --- a/lib_p

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

2009-10-12 Thread Anton Vorontsov
> >+#ifdef CONFIG_MMC > >+#define CONFIG_FSL_ESDHC Here. > >+#define 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...@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 > >--- > >b

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

2009-10-12 Thread Anton Vorontsov
n MPC8569E-MDS NOR flash 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 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 > >>u

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 wrote: > > > On Fri, Sep 18, 2009 at 05:40:45PM -0500, Kim Phillips wrote: > > > sorry, can't accept - this breaks r1.1 based boards: > > >

Re: [U-Boot] MPC875 USB support?

2009-09-24 Thread Anton Vorontsov
CPM2, but there was somewhat successfull attempt to add CPM2 USB support to FHCI driver (so far it supports only QE/"CPM3" USB), made by Laurent Pinchart. I don't quite remember if he posted the patch to some mailinglist, but I have the patch in my mailbox.

Re: [U-Boot] MPC83xx and uec

2009-09-22 Thread Anton Vorontsov
e > wrong prototype ATM). As far as I can tell, I should only have to include > netdev.h to get the required types and macros. Not sure if having all-in-one netdev header is a good idea. It might be a good idea to move uec.h to "include/" though. -- 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] MPC83xx and uec

2009-09-22 Thread Anton Vorontsov
09-September/060821.html You'll also need this patch: http://lists.denx.de/pipermail/u-boot/2009-September/060819.html -- 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/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 wrote: > > > This patch fixes various ethernet issues with gigabit links handling > > in U-Boot. The workarounds originally implemented by Kim Phillips

[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 --- board/freescale/mpc8360emds/mpc8360emds.c | 12 include/configs/MPC8360EMDS.h |2 ++ 2 files changed, 14 insertions(+), 0 deletions(-) diff

[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 --- board/freescale/mpc8360emds/mpc8360emds.c | 56 +--- include/configs

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

2009-09-16 Thread Anton Vorontsov
't discover any issues, 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 --- board/freescale/mpc8360emds/mpc8360emds.c |5 - 1 files changed, 4 insertions

[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 --- drivers/qe/uccf.h |1 + drivers/qe/uec.h |3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) di

[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 --- 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/uec.h index 1568310

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

2009-09-16 Thread Anton Vorontsov
(OR/BR), or UPM array problem. 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

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

2009-09-16 Thread Anton Vorontsov
erial") > 0) strncpy(sername, outname, maxlen); /* eserial? */ if (strcmp(outname + 1, "serial") > 0) strncpy(sername, outname + 1, maxlen); #endif if (!sername[0]) sprintf(sername, "serial%d", CO

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

2009-09-15 Thread Anton Vorontsov
t repository at: > > git://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 _

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

2009-09-02 Thread Anton Vorontsov
no-op nowadays, but Google is surely not a lawyer. 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] 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 --- 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/serdes.c +++ b/c

[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 --- 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 wrot

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

2009-09-01 Thread Anton Vorontsov
on useful? > > > > It's used to avoid GCC warnings, i.e. when GCC isn't 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 gr

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 her

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_ADD

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: Anto

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

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 > >--- > >board/freescale/com

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

2009-09-01 Thread Anton Vorontsov
The warning is bogus, so silence it with uninitialized_var(). Signed-off-by: Anton Vorontsov --- board/freescale/common/sys_eeprom.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/board/freescale/common/sys_eeprom.c b/board/freescale/common/sys_eeprom.c index

[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 --- 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 index 272fd3c..e602cce

[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 --- board/freescale/mpc8569mds/bcsr.h |4 +++ board/freescale/mpc8569mds/mpc8569mds.c | 32 +++ drivers/qe/fdt.c

[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 --- board/freescale/mpc8569mds/bcsr.h |

[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 --- board/freescale/mpc8569mds/mpc8569mds.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/board/freescale

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

2009-08-19 Thread Anton Vorontsov
: Anton Vorontsov --- 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 +22,7

[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 --- board/freescale/mpc8569mds/law.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/board/freescale/mpc8569mds/law.c b/board/freescale/mpc8569mds/law.c index e7381aa

[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 --- board/freescale/mpc8569mds/tlb.c | 30 +++--- include/configs/MPC8569MDS.h | 23 +++ 2 files changed, 34 insertions(+), 19

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

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

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

2009-07-16 Thread Anton Vorontsov
rectly. > > Done. Thanks a lot, Wolfgang! -- 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 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 wrote: > > > "dr_usb.mode = host; .phy_type = ulpi; esdhc;" <- that isn't obvious > > that .phy_type is a continuation of dr_usb. :-/ &g

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

2009-06-11 Thread Anton Vorontsov
ed 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 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 v3 0/8] hwconfig and some its users

2009-06-11 Thread Anton Vorontsov
from the outset? Sure, I'm open to suggestions. Originally you proposed this scheme: set hwconfig "usb=dr; dr_usb_mode=peripheral; dr_usb_phy_type=ulpi" But Wolfgang proposed options and sub-options to save some typing (notice the repetitive dr_usb), so there should be two assignme

[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 --- board/freescale/mpc8569mds/mpc8569mds.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/board/freescale

[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 --- board/freescale/mpc8569mds/tlb.c | 30 +++--- include/configs/MPC8569MDS.h | 23 +++ 2 files changed, 34 insertions(+), 19

[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 --- board/freescale/mpc8569mds/mpc8569mds.c | 85 +++ cpu/mpc85xx/speed.c

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

2009-06-09 Thread Anton Vorontsov
: Anton Vorontsov --- 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 +22,7

[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 --- commo

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

2009-06-09 Thread Anton Vorontsov
and MPC8569MDS") 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 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 --- board/freescale/mpc837xemds/mpc837xemds.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/board/freescale/mpc837xemds/mpc837xe

[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 --- cpu/mpc83xx/cpu.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 --- board/freescale/mpc8315erdb/mpc8315erdb.c | 14 +- include/configs/MPC8315ERDB.h |1 + 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/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
CONFIG_USB_FSL_DR to be consistent with other USB drivers. Signed-off-by: Anton Vorontsov --- Makefile |1 + board/freescale/mpc8315erdb/mpc8315erdb.c |1 + board/freescale/mpc837xemds/mpc837xemds.c |1 + board/freescale/mpc837xerdb/mpc837xerd

[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 --- board/freescale/mpc837xemds

[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 --- drivers/mmc/fsl_esdh

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

2009-06-09 Thread Anton Vorontsov
ld specify '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 Vorontso

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

2009-06-09 Thread Anton Vorontsov
, 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 --- common/Makefile|1 + common/hwconfig.c | 210 in

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

2009-06-09 Thread Anton Vorontsov
; Suggestion: instead of > > set hwconfig dr_usb,dr_usb_mode:peripheral,dr_usb_phy_type:ulpi > > use: > > set hwconfig dr_usb:mode=peripheral,phy_type=ulpi > > What do you think? Sorry for the delay. Done. New patches on the way. Thanks, -- Anton Vorontsov ema

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 > wrote: > > > This patch implements simple hwconfig infrastructure: an > > interface for software knobs to control a hardware. > > > > This is very

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

2009-05-01 Thread Anton Vorontsov
On Fri, May 01, 2009 at 07:32:12PM -0500, Andy Fleming wrote: > > On Apr 29, 2009, at 4:20 PM, Anton Vorontsov wrote: > >> Hi Andy, >> >> Sorry for the late response, >> >> On Fri, Mar 06, 2009 at 07:25:55PM -0600, Andy Fleming wrote: >>>> >>

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

2009-04-30 Thread Anton Vorontsov
t; > dr_usb { > mode = peripheral; > phy { > type = ulpi; > speed = 48; > } > } > " :-) Or we can stop at one nesting level capability, just as you describe. Your suggestion is quite easy to implement, but full fledged parser is needed for the most generic cas

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 wrote: > > > This patch implements simple hwconfig infrastructure: an > > interface for software knobs to control a hardware. > > > > This is ve

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 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 fa

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 wrote: > > > > > On Thu, Apr 30, 2009 at 12:57:52PM -0500, Scott Wood wrote: &

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 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: > > &

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. > > > >

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-B

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 > wrote: > > This patch implements fdt_fixup_esdhc() function that is used to fixup > > the device tree. > > >

[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 --- board/freescale/mpc837xemds

[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 --- board/freescale/mpc837xemds/mpc837xemds.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/board/freescale/mpc837xemds/mpc837xe

[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 --- board/freescale/mpc8315erdb/mpc8315erdb.c | 14 +- include/configs/MPC8315ERDB.h |1 + 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/board

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

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

[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 --- cpu/mpc83xx/cpu.c

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

2009-04-29 Thread Anton Vorontsov
nabling HW feature X we may 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 --- common/Makefile|1 + common/hwconfig.c | 134 +++

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

2009-04-29 Thread Anton Vorontsov
ld specify '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 Vorontso

[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 --- drivers/mmc/fsl_esdh

[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 MPC837

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

2009-03-17 Thread Anton Vorontsov
nd init_uts_ns symbols). I suspected 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 th

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

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

2009-02-19 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, only configure eSDHC if usb_or_esdhc environment variable is set to 'esdhc'. Signed-off-by: Anton Vorontsov --- board

[U-Boot] [PATCH 5/6] mpc83xx: MPC837XERDB: Add support for FSL eSDHC

2009-02-19 Thread Anton Vorontsov
ld specify `usb_or_esdhc' 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 --- board/freescale/mpc837xerdb/

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

2009-02-19 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 --- drivers/mmc/fsl_esdh

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

2009-02-19 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 --- drivers/usb/fsl_

[U-Boot] [PATCH 2/6] Add FSL "Can use" framework

2009-02-19 Thread Anton Vorontsov
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 candidates for future use: 1. USB ULPI PHY vs. TSEC1 on MPC8315E-RDB boards; 2. Marvell vs. Vitesse PHYs on MPC8313E-RDB boards. Signed-off-by: Anton Voro

  1   2   >