Re: [U-Boot] [PATCH] asm-offsets: generate bd_t size

2011-01-09 Thread Michal Simek
Hi Wolfgang and Mike, Wolfgang Denk wrote: > Dear Mike Frysinger, > > In message <1293213443-11027-1-git-send-email-vap...@gentoo.org> you wrote: >> Some ports set up the board info structure at the same time as the global >> data structure, and largely keep them together. So generate a define f

Re: [U-Boot] [PATCH RFC] armv7: fixloop: don't fixup if location is NULL

2011-01-09 Thread Minkyu Kang
Hello, On 8 January 2011 19:49, Albert ARIBAUD wrote: >>> diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S >>> index 684f2d2..4eeb12a 100644 >>> --- a/arch/arm/cpu/armv7/start.S >>> +++ b/arch/arm/cpu/armv7/start.S >>> @@ -195,6 +195,8 @@ copy_loop: >>>      add     r3, r3, r0

[U-Boot] [PATCH 4/4] sf: unify read functions

2011-01-09 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- drivers/mtd/spi/atmel.c | 18 +- drivers/mtd/spi/eon.c| 22 +- drivers/mtd/spi/macronix.c | 22 +- drivers/mtd/spi/spansion.c | 26 +- drivers

[U-Boot] [PATCH 2/4] sf: unify status polling for ready bit

2011-01-09 Thread Mike Frysinger
All of the spi flash drivers implement the status register polling for detecting the device ready state, so unify them all in a new helper function -- spi_flash_wait_ready. Signed-off-by: Mike Frysinger --- drivers/mtd/spi/atmel.c | 31 +--- drivers/mtd/spi/eon.c

[U-Boot] [PATCH 3/4] sf: unify erase functions

2011-01-09 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- drivers/mtd/spi/eon.c| 55 ++--- drivers/mtd/spi/macronix.c | 60 ++-- drivers/mtd/spi/spansion.c | 57 ++- drivers/mtd/spi/spi_flash.c

[U-Boot] [PATCH 1/4] sf: unify read/write helpers

2011-01-09 Thread Mike Frysinger
These functions largely do the same exact thing, so unify them all into one basic function. Signed-off-by: Mike Frysinger --- drivers/mtd/spi/spi_flash.c | 67 -- 1 files changed, 19 insertions(+), 48 deletions(-) diff --git a/drivers/mtd/spi/spi_flash.

[U-Boot] [WIP/PATCH 0/4] unify SPI flash drivers

2011-01-09 Thread Mike Frysinger
The amount of duplication across SPI flash driver has always annoyed me, and we've seen bugs that affect multiple drivers fixed in only some, and I figure if the Linux kernel driver can unify these things, then there is really no reason we can't too. So this here are a few incremental patches to g

Re: [U-Boot] [PATCH 1/2] common: introduce a genutils.h file

2011-01-09 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: > In message <1292232393-26481-1-git-send-email...@denx.de> you wrote: >> as discussed in thread >> http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/76654 >> >> and as a result of this discussion Michael Zaidman >> proposed to create a genutils.h, see: >>

Re: [U-Boot] [U-Boot,PATCHv4] pca953x: support 16-pin devices

2011-01-09 Thread Heiko Schocher
Hello Chris, Sorry for the late reply, but just looked in patchwork and found that I am responsible for your patch, so ... Chris Packham wrote: > This adds support for for the PCA9535/PCA9539 family of gpio devices which > have 16 output pins. > > To let the driver know which devices are 16-pin

[U-Boot] [PATCH] env: make import/export optional

2011-01-09 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- common/cmd_nvedit.c |8 include/config_cmd_defaults.h |2 ++ 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index fb69c24..715dffd 100644 --- a/common/cmd_nvedit.c +++ b/common/

[U-Boot] [PATCH] sf: punt unused spi_flash_region struct

2011-01-09 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- include/spi_flash.h |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/include/spi_flash.h b/include/spi_flash.h index 1f8ba29..89cc3a7 100644 --- a/include/spi_flash.h +++ b/include/spi_flash.h @@ -26,11 +26,6 @@ #include #include

Re: [U-Boot] git merge summary

2011-01-09 Thread Mike Frysinger
On Sunday, January 09, 2011 11:25:52 Wolfgang Denk wrote: > Detlev Zundel wrote: > > > may I ask again for opinions about enabling that feature? > > > > I also would like to see it. Wolfgang, is there anything that you > > don't like about this option? > > Do you have any comments or pros or con

[U-Boot] Pull request u-boot-blackfin.git

2011-01-09 Thread Mike Frysinger
The following changes since commit 89c95f0cd3f8140f3b8a82a22a6a144c148d09c6: asm-offsets: generate bd_t size (2011-01-09 18:08:20 +0100) are available in the git repository at: git://www.denx.de/git/u-boot-blackfin.git master Andreas Schallenberg (1): Blackfin: dnp5370: new board port

[U-Boot] [PATCH] Blackfin: adi boards: enable CONFIG_MONITOR_IS_IN_RAM

2011-01-09 Thread Mike Frysinger
Our monitor is always in RAM, so enable this define for the CFI layer. Signed-off-by: Mike Frysinger --- include/configs/bf506f-ezkit.h|1 + include/configs/bfin_adi_common.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/bf506f-ezkit.h b/include

Re: [U-Boot] [PATCH 2/8] armv7: cache maintenance operations for armv7

2011-01-09 Thread Aneesh V
Dear Wolfgang, On Monday 10 January 2011 04:11 AM, Wolfgang Denk wrote: > Dear Albert ARIBAUD, > > In message<4d286f58.9010...@free.fr> you wrote: >> >> I know we consider multi-board u-boot binaries when boards are variant >> of a given SoC, that's one reason why we wanted relocation. I'm not su

[U-Boot] [PATCH V2 5/5] Pantheon: Add Board Support for Marvell dkb board

2011-01-09 Thread Lei Wen
DKB is a Development Board for PANTHEON TD/TTC(pxa920/pxa910) with * Processor upto 806Mhz * LPDDR1/2 * x8/x16 SLC/MLC NAND * Footprints for eMMC & MMC x8 card With Peripherals: * Parallel LCD I/F * Audio codecs (88PM8607) * MIPI CSI-2 camera * Marvell 88W8787 802.11n/BT module * Marvell 2G/3G RF

[U-Boot] [PATCH V2 3/5] serial: add pantheon soc support

2011-01-09 Thread Lei Wen
Signed-off-by: Lei Wen --- drivers/serial/serial.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c index cd3439e..4032dfd 100644 --- a/drivers/serial/serial.c +++ b/drivers/serial/serial.c @@ -33,6 +33,8 @@ #include #e

[U-Boot] [PATCH V2 4/5] mvmfp: add MFP configuration support for PANTHEON

2011-01-09 Thread Lei Wen
This patch adds the support MFP support for Marvell PANTHEON SoCs Signed-off-by: Lei Wen --- arch/arm/include/asm/arch-pantheon/mfp.h | 42 ++ drivers/gpio/mvmfp.c |2 + 2 files changed, 44 insertions(+), 0 deletions(-) create mode 100644 ar

[U-Boot] [PATCH V2 2/5] ARM: Add Support for Marvell Pantheon Familiy SoCs

2011-01-09 Thread Lei Wen
Pantheon Family processors are highly integrated SoCs based on Sheeva_88SV331x-v5 PJ1 cpu core. Ref: http://www.marvell.com/products/processors/communications/marvell_pantheon_910_920_pb.pdf SoC versions Supported: 1) PANTHEON920 (TD) 2) PANTHEON910 (TTC) Signed-off-by: Lei Wen

[U-Boot] [PATCH V2 1/5] mv: seperate kirkwood and armada from common setting

2011-01-09 Thread Lei Wen
Since there are lots of difference between kirkwood and armada series, it is better to seperate them but still keep the most common file shared by all marvell platform in the mv-common configure file. This patch move the kirkwood only driver definitoin in mv-common to the /config.h. This patch is

[U-Boot] [PATCH V2 0/5] Add Pantheon soc and dkb board support

2011-01-09 Thread Lei Wen
This patch set add the Pantheon soc and dkb board support. V2: This patch seris update the seperate mv_common part as suggested. Lei Wen (5): mv: seperate kirkwood and armada from common setting ARM: Add Support for Marvell Pantheon Familiy SoCs serial: add pantheon soc support mvmfp: add

[U-Boot] [PATCH v2] spi: add new driver for OpenCores tiny_spi

2011-01-09 Thread Thomas Chou
This patch adds support for OpenCores tiny_spi. http://opencores.org/project,tiny_spi Signed-off-by: Thomas Chou --- for u-boot v2, use const and clean up as Mike suggested. drivers/spi/Makefile |1 + drivers/spi/oc_tiny_spi.c | 240 + 2 fi

Re: [U-Boot] [PATCH] S5P: timer: replace bss variable by gd

2011-01-09 Thread Minkyu Kang
Dear Wolfgang Denk, On 10 January 2011 01:14, Wolfgang Denk wrote: > Dear Minkyu Kang, > > In message <4d22d59b.7030...@samsung.com> you wrote: >> Use the global data instead of bss variable, replace as follow. >> count_value -> timer_rate_hz >> timestamp -> timer_reset_value >> lastdec -> lastin

Re: [U-Boot] [PATCH v2 1/3] MX5: Add initial support for MX53 processor

2011-01-09 Thread Jason Liu
Hi, Wolfgang, 2011/1/10 Wolfgang Denk : > Dear Jason Liu, > > In message <1293024212-4858-1-git-send-email-r64...@freescale.com> you wrote: >> Add initial support for Freescale MX53 processor, >> >> - Add the iomux support and the pin definition, >> - Add the regs definition, clean up some unused

Re: [U-Boot] [PATCH v4 1/8] MX5: Add initial support for MX53 processor

2011-01-09 Thread Jason Liu
Hi, Wolfgang, 2011/1/10 Wolfgang Denk : > Dear Jason Liu, > > In message <1294129662-680-1-git-send-email-r64...@freescale.com> you wrote: >> Add initial support for Freescale MX53 processor, >> >> - Add the iomux support and the pin definition, >> - Add the regs definition, clean up some unused d

Re: [U-Boot] [PATCH 1/4] mpc83xx: Make start.S true PIC

2011-01-09 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2011/01/10 00:25:59: > > Dear Joakim Tjernlund, > > In message > you > wrote: > > > > > But your new code does not reference CONFIG_SYS_MONITOR_BASE at all, > > > but uses CONFIG_SYS_FLASH_BASE instead. > > > > You can't assume a fixed address when doing PIC therefore the

Re: [U-Boot] [PATCH 1/4] mpc83xx: Make start.S true PIC

2011-01-09 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > > But your new code does not reference CONFIG_SYS_MONITOR_BASE at all, > > but uses CONFIG_SYS_FLASH_BASE instead. > > You can't assume a fixed address when doing PIC therefore the change. I understand this change is intentionally, then? > > O

Re: [U-Boot] [PATCH v4 1/8] MX5: Add initial support for MX53 processor

2011-01-09 Thread Wolfgang Denk
Dear Jason Liu, In message <1294129662-680-1-git-send-email-r64...@freescale.com> you wrote: > Add initial support for Freescale MX53 processor, > > - Add the iomux support and the pin definition, > - Add the regs definition, clean up some unused def from mx51, > - Add the low level init support,

Re: [U-Boot] [PATCH v2 1/3] MX5: Add initial support for MX53 processor

2011-01-09 Thread Wolfgang Denk
Dear Jason Liu, In message <1293024212-4858-1-git-send-email-r64...@freescale.com> you wrote: > Add initial support for Freescale MX53 processor, > > - Add the iomux support and the pin definition, > - Add the regs definition, clean up some unused def from mx51, > - Add the low level init support

Re: [U-Boot] [PATCH 7/8] armv7: adapt omap3 to the new cache maintenance framework

2011-01-09 Thread Wolfgang Denk
Dear Aneesh V, In message <1293018898-13253-8-git-send-email-ane...@ti.com> you wrote: > adapt omap3 to the new layered cache maintenance framework ... > +/* Declarations */ Please drop this comment. Everybody sees what this is. > +#ifndef CONFIG_L2_OFF > /* > - * Writing to AuxCR i

Re: [U-Boot] [PATCH 6/8] armv7: adapt omap4 to the new cache maintenance framework

2011-01-09 Thread Wolfgang Denk
Dear Aneesh V, In message <1293018898-13253-7-git-send-email-ane...@ti.com> you wrote: > adapt omap4 to the new layered cache maintenance framework > > Signed-off-by: Aneesh V > +/* > + * Outer cache related functions > + */ > +#ifndef CONFIG_SYS_NO_DCACHE Do we really need such a #define? Wh

Re: [U-Boot] [PATCH 5/8] armv7: add PL310 support to u-boot

2011-01-09 Thread Wolfgang Denk
Dear Aneesh V, In message <1293018898-13253-6-git-send-email-ane...@ti.com> you wrote: > Add support for some of the key maintenance operations > - Invalidate all > - Invalidate range > - Flush(clean & invalidate) all > - Flush range Can you please use a more descriptive s

Re: [U-Boot] [PATCH 2/8] armv7: cache maintenance operations for armv7

2011-01-09 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4d286f58.9010...@free.fr> you wrote: > > I know we consider multi-board u-boot binaries when boards are variant > of a given SoC, that's one reason why we wanted relocation. I'm not sure > about multi-SoC when SoC is a variant of a given cpu, though. Wolfgang,

Re: [U-Boot] [PATCH v3] ARM: Avoid compiler optimization for usages of readb, writeb and friends.

2011-01-09 Thread Wolfgang Denk
Dear Dirk Behme, In message <4d1f1841.5060...@googlemail.com> you wrote: > > Do you like to test the patch in the attachment? I named it 'v4'. Please send patches inline. > After some thinking and testing, it seems to me that the volatile > optimization issue this patch shall fix is only with t

[U-Boot] [PATCH v4] ARM: Avoid compiler optimization for readb, writeb and friends.

2011-01-09 Thread Wolfgang Denk
From: Alexander Holler gcc 4.5.1 seems to ignore (at least some) volatile definitions, avoid that as done in the kernel. Reading C99 6.7.3 8 and the comment 114) there, I think it is a bug of that gcc version to ignore the volatile type qualifier used e.g. in __arch_getl(). Anyway, using a defin

Re: [U-Boot] [RFC PATCH v2] ARM: Avoid compiler optimization for usages of readb, writeb and friends.

2011-01-09 Thread Wolfgang Denk
Dear Alessandro Rubini, In message <20101229231004.ga17...@mail.gnudd.com> you wrote: > > > #define writeb(v,c) ({ __iowmb(); __arch_putb(v,c); v;}) > > > > (note the additional 'v;') should result in correct code, too. > > Yes, that's good. Also "0" may work, and may be more readable, (

Re: [U-Boot] [PATCH v2] microblaze: Disabling interrupt should return 1 if was enabled

2011-01-09 Thread Wolfgang Denk
Dear Michal Simek, In message <1292936565-24677-1-git-send-email-mon...@monstr.eu> you wrote: > Microblaze implement enable/disable interrupts through MSR > that's why disable_interrupts function should return 1 when interrupt > was enabled. Return 0 when interrupt was disabled. > > Signed-off-by

Re: [U-Boot] [PATCH RFC] armv7: fixloop: don't fixup if location is NULL

2011-01-09 Thread Andreas Bießmann
Hi Albert, Am 09.01.2011 um 10:00 schrieb Albert ARIBAUD: > Hi Andreas, > > Le 08/01/2011 17:51, Andreas Bießmann a écrit : >> Dear Albert ARIBAUD, >> >> Am 08.01.2011 um 13:18 schrieb Albert ARIBAUD: >> >>> Le 08/01/2011 11:49, Albert ARIBAUD a écrit : >>> > In my investigations for 'NUL

Re: [U-Boot] [PATCH] update VCMA9 port

2011-01-09 Thread Wolfgang Denk
Dear =?UTF-8?q?David=20M=C3=BCller?=, In message <1292926154-19802-1-git-send-email-d.muel...@elsoft.ch> you wrote: > > This patch brings the VCMA9 port in sync with the latest U-Boot > version by doing the following: > - do the necessary adjustments to support the ARM relocation feature > - us

Re: [U-Boot] [PATCH v2 3/9] mpc8xxx: Enable ECC on/off control in hwconfig

2011-01-09 Thread Kumar Gala
On Dec 17, 2010, at 5:59 PM, York Sun wrote: > diff --git a/arch/powerpc/cpu/mpc8xxx/ddr/options.c > b/arch/powerpc/cpu/mpc8xxx/ddr/options.c > index 774c0e4..38260f5 100644 > --- a/arch/powerpc/cpu/mpc8xxx/ddr/options.c > +++ b/arch/powerpc/cpu/mpc8xxx/ddr/options.c > @@ -81,10 +81,13 @@ unsign

Re: [U-Boot] [PATCH v2 8/9] mpc85xx: Implement workaround for erratum DDR-A003

2011-01-09 Thread Kumar Gala
On Dec 17, 2010, at 5:59 PM, York Sun wrote: > Erratum DDR-A003 requires workaround to correctly set RCW10 for registered > DIMM. > Also adding polling after enabling DDR controller to ensure completion. > > Signed-off-by: York Sun > --- > arch/powerpc/cpu/mpc85xx/cmd_errata.c|4 ++ > a

[U-Boot] [PATCH 2/3] fsl_esdhc: Add the workaround for erratum ESDHC135 (enable on P4080)

2011-01-09 Thread Kumar Gala
From: Roy Zang The default value of the SRS, VS18 and VS30 and ADMAS fields in the host controller capabilities register (HOSTCAPBLT) are incorrect. The default of these bits should be zero instead of one. Clear these bits out when we read HOSTCAPBLT. Signed-off-by: Roy Zang Signed-off-by: Kum

[U-Boot] [PATCH 1/3] fsl_esdhc: Add the workaround for erratum ESDHC111 (enable on P4080)

2011-01-09 Thread Kumar Gala
From: Jerry Huang Do not issue a manual asynchronous CMD12. Instead, use a (software) synchronous CMD12 or AUTOCMD12 to abort data transfer. Signed-off-by: Jerry Huang Signed-off-by: Roy Zang Signed-off-by: Kumar Gala --- arch/powerpc/cpu/mpc85xx/cmd_errata.c |5 - drivers/mmc/fsl_es

[U-Boot] [PATCH 3/3] fsl_esdhc: Add the workaround for erratum ESDHC136 (enable on P4080)

2011-01-09 Thread Kumar Gala
From: Roy Zang False multi-bit ECC errors will be reported by the eSDHC buffer which can trigger a reset request. We disable all ECC error checking on SDHC. Signed-off-by: Roy Zang Signed-off-by: Kumar Gala --- arch/powerpc/cpu/mpc85xx/cmd_errata.c |3 +++ arch/powerpc/cpu/mpc85xx/cpu_in

Re: [U-Boot] [PATCH v3] ftgmac100: support of gigabit eth ftgmac100

2011-01-09 Thread Wolfgang Denk
Dear Macpaul Lin, In message <1292921986-23419-1-git-send-email-macp...@andestech.com> you wrote: > Add Faraday's ftgmac100 (gigabit ethernet) > MAC controller's driver. > > Signed-off-by: Macpaul Lin > --- > Changes for v2: >- Coding Style cleanup >- Makefile Order sorted >- Volatil

[U-Boot] [PATCH v2 5/7] powerpc/86xx: Enable common SRIO init code

2011-01-09 Thread Kumar Gala
Add the needed defines and code to utilize the common 8xxx srio init code to setup LAWs and modify device tree if we have SRIO enabled on a board. Signed-off-by: Kumar Gala --- * Removed ifdef protection around extern per Sergei * Added missing call to srio_init arch/powerpc/cpu/mpc86xx/cpu_ini

[U-Boot] [PATCH v2 1/7] powerpc/8xxx: Refactor SRIO initialization into common code

2011-01-09 Thread Kumar Gala
Moved the SRIO init out of corenet_ds and into common code for 8xxx/QorIQ processors that have SRIO. We mimic what we do with PCIe controllers for SRIO. We utilize the fact that SRIO is over serdes to determine if its configured or not and thus can setup the LAWs needed for it dynamically. We ad

Re: [U-Boot] [RFC PATCH] ARM: print gcc version

2011-01-09 Thread Wolfgang Denk
Dear Alexander Holler, In message <1292863117-3175-1-git-send-email-hol...@ahsoftware.de> you wrote: > It might be useful to see what compiler version was used to compile u-boot. > --- > arch/arm/lib/board.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/

Re: [U-Boot] [PATCH 3/4] mpc83xx: Add true PIC support.

2011-01-09 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2011/01/09 21:54:34: > > Dear Joakim Tjernlund, > > In message <1292838435-14958-3-git-send-email-joakim.tjernl...@transmode.se> > you wrote: > > By copying the GOT to the end of the INIT_RAM(dcache) > > and relocating it there, it is much esier to > > support true PIC on u

Re: [U-Boot] [PATCH] powerpc/85xx: Rework corenet_ds pci_init_board to use common FSL PCIe code

2011-01-09 Thread Kumar Gala
On Jan 6, 2011, at 10:41 AM, Kumar Gala wrote: > Remove duplicated code in corenet_ds boards and utilize the common > fsl_pcie_init_board(). > > Signed-off-by: Kumar Gala > --- > board/freescale/corenet_ds/pci.c | 118 +- > 1 files changed, 2 insertions(+), 1

Re: [U-Boot] [PATCH v2 2/9] make the hwconfig buffer deeper

2011-01-09 Thread Kumar Gala
On Jan 7, 2011, at 5:23 PM, Kumar Gala wrote: > > On Jan 7, 2011, at 11:52 AM, Wolfgang Denk wrote: > >> Dear York Sun, >> >> In message <1294418957.8466.8.ca...@oslab-l1> you wrote: >>> >>> fsl_ddr:ctlr_intlv=cacheline,bank_intlv=cs0_cs1_cs2_cs3,ecc=off,addr_hash=false >>> >>> With the buff

Re: [U-Boot] [PATCH v2 08/15] powerpc/8xxx: Rework XES boards pci_init_board to use common FSL PCIe code

2011-01-09 Thread Kumar Gala
On Jan 9, 2011, at 2:54 PM, Kumar Gala wrote: > Remove duplicated code in MPC8xxx XES boards and utilize the common > fsl_pcie_init_board(). > > Signed-off-by: Kumar Gala > CC: Peter Tyser > --- > * Fix commit message copy/paste issue per Peter T. > * Fixed utilize typo per Peter T. > * remove

[U-Boot] [PATCH v2 08/15] powerpc/8xxx: Rework XES boards pci_init_board to use common FSL PCIe code

2011-01-09 Thread Kumar Gala
Remove duplicated code in MPC8xxx XES boards and utilize the common fsl_pcie_init_board(). Signed-off-by: Kumar Gala CC: Peter Tyser --- * Fix commit message copy/paste issue per Peter T. * Fixed utilize typo per Peter T. * removed PCI2 on xpedite520x per Peter T. * Removed duplicate/now unused

Re: [U-Boot] [PATCH 3/4] mpc83xx: Add true PIC support.

2011-01-09 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message <1292838435-14958-3-git-send-email-joakim.tjernl...@transmode.se> you wrote: > By copying the GOT to the end of the INIT_RAM(dcache) > and relocating it there, it is much esier to > support true PIC on u-boot. This cannot handle > FIXUP so C code that depends on

Re: [U-Boot] [PATCH 1/4] mpc83xx: Make start.S true PIC

2011-01-09 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2011/01/09 21:44:08: > > Dear Joakim Tjernlund, > > In message <1292838435-14958-1-git-send-email-joakim.tjernl...@transmode.se> > you wrote: > > Remove dependencies on link address. Use GOT and > > add an new function to calculate the actual address. > > > > Signed-off-by:

Re: [U-Boot] [PATCH 15/15] powerpc/85xx: Rework SBC8548 pci_init_board to use common FSL PCIe code

2011-01-09 Thread Kumar Gala
On Dec 17, 2010, at 5:50 PM, Kumar Gala wrote: > Remove duplicated code in SBC8548 board and utliize the common > fsl_pcie_init_board(). We also now dynamically setup the LAWs for PCI > controllers based on which PCIe controllers are enabled. > > Signed-off-by: Kumar Gala > CC: Paul Gortmaker

Re: [U-Boot] [PATCH 14/15] powerpc/86xx: Rework SBC8641 pci_init_board to use common FSL PCIe code

2011-01-09 Thread Kumar Gala
On Dec 17, 2010, at 5:50 PM, Kumar Gala wrote: > Remove duplicated code in SBC8641 board and utliize the common > fsl_pcie_init_board(). We also now dynamically setup the LAWs for PCI > controllers based on which PCIe controllers are enabled. > > Signed-off-by: Kumar Gala > CC: Paul Gortmaker

Re: [U-Boot] [PATCH 13/15] powerpc/86xx: Rework MPC8610HPCD pci_init_board to use common FSL PCIe code

2011-01-09 Thread Kumar Gala
On Dec 17, 2010, at 5:50 PM, Kumar Gala wrote: > Remove duplicated code in MPC8610HPCD board and utliize the common > fsl_pcie_init_board(). We also now dynamically setup the LAWs for PCI > controllers based on which PCIe controllers are enabled. > > Signed-off-by: Kumar Gala > --- > board/fre

Re: [U-Boot] [PATCH 12/15] powerpc/85xx: Rework P1_P2_RDB pci_init_board to use common FSL PCIe code

2011-01-09 Thread Kumar Gala
On Dec 17, 2010, at 5:50 PM, Kumar Gala wrote: > Remove duplicated code in P1_P2_RDB boards and utliize the common > fsl_pcie_init_board(). We also now dynamically setup the LAWs for PCI > controllers based on which PCIe controllers are enabled. > > Signed-off-by: Kumar Gala > --- > board/free

Re: [U-Boot] [PATCH 11/15] powerpc/85xx: Rework MPC8569MDS pci_init_board to use common FSL PCIe code

2011-01-09 Thread Kumar Gala
On Dec 17, 2010, at 5:50 PM, Kumar Gala wrote: > Remove duplicated code in MPC8569MDS board and utliize the common > fsl_pcie_init_board(). We also now dynamically setup the LAWs for PCI > controllers based on which PCIe controllers are enabled. > > Signed-off-by: Kumar Gala > --- > board/free

Re: [U-Boot] [PATCH 10/15] powerpc/85xx: Rework MPC8568MDS pci_init_board to use common FSL PCIe code

2011-01-09 Thread Kumar Gala
On Dec 17, 2010, at 5:50 PM, Kumar Gala wrote: > Remove duplicated code in MPC8568MDS board and utliize the common > fsl_pcie_init_board(). We also now dynamically setup the LAWs for PCI > controllers based on which PCIe controllers are enabled. > > Signed-off-by: Kumar Gala > --- > board/free

Re: [U-Boot] [PATCH 09/15] powerpc/85xx: Rework TQM boards pci_init_board to use common FSL PCIe code

2011-01-09 Thread Kumar Gala
On Dec 17, 2010, at 5:50 PM, Kumar Gala wrote: > Remove duplicated code in TQM 85xx boards and utliize the common > fsl_pcie_init_board(). > > Signed-off-by: Kumar Gala > CC: w...@denx.de > --- > board/tqc/tqm85xx/law.c |9 + > board/tqc/tqm85xx/tqm85xx.c | 41 -

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-09 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2011/01/09 21:29:04: > > Dear Joakim Tjernlund, > > In message <1292838435-14958-4-git-send-email-joakim.tjernl...@transmode.se> > you wrote: > > Only these 2 call sites depends on fixups for my mpc8321 based > > board. > > > > Signed-off-by: Joakim Tjernlund > > --- > >

Re: [U-Boot] [PATCH 07/15] powerpc/85xx: Rework MPC8548CDS pci_init_board to use common FSL PCIe code

2011-01-09 Thread Kumar Gala
On Dec 17, 2010, at 5:50 PM, Kumar Gala wrote: > Remove duplicated code in MPC8548CDS board and utliize the common > fsl_pcie_init_board(). We also now dynamically setup the LAWs for PCI > controllers based on which PCIe controllers are enabled. > > Signed-off-by: Kumar Gala > --- > board/free

Re: [U-Boot] [PATCH 06/15] powerpc/86xx: Rework MPC8641HPCN pci_init_board to use common FSL PCIe code

2011-01-09 Thread Kumar Gala
On Dec 17, 2010, at 5:50 PM, Kumar Gala wrote: > Remove duplicated code in MPC8641HPCN board and utliize the common > fsl_pcie_init_board(). We also now dynamically setup the LAWs for PCI > controllers based on which PCIe controllers are enabled. > > Signed-off-by: Kumar Gala > --- > board/fre

Re: [U-Boot] [PATCH 05/15] powerpc/85xx: Rework MPC8536DS pci_init_board to use common FSL PCIe code

2011-01-09 Thread Kumar Gala
On Dec 17, 2010, at 5:50 PM, Kumar Gala wrote: > Remove duplicated code in MPC8536DS board and utliize the common > fsl_pcie_init_board(). > > Signed-off-by: Kumar Gala > --- > board/freescale/mpc8536ds/mpc8536ds.c | 125 ++-- > 1 files changed, 24 insertions(+), 101

Re: [U-Boot] [PATCH 04/15] powerpc/85xx: Rework MPC8544DS pci_init_board to use common FSL PCIe code

2011-01-09 Thread Kumar Gala
On Dec 17, 2010, at 5:50 PM, Kumar Gala wrote: > Remove duplicated code in MPC8544DS board and utliize the common > fsl_pcie_init_ctrl(). We also now dynamically setup the LAWs for PCI > controllers based on which PCIe controllers are enabled. > > We don't use the full fsl_pcie_init_ctrl() sinc

Re: [U-Boot] [PATCH 03/15] powerpc/85xx: Rework P2020DS pci_init_board to use common FSL PCIe code

2011-01-09 Thread Kumar Gala
On Dec 17, 2010, at 5:50 PM, Kumar Gala wrote: > Remove duplicated code in P2020DS board and utliize the common > fsl_pcie_init_board(). We also now dynamically setup the LAWs for PCI > controllers based on which PCIe controllers are enabled. > > Signed-off-by: Kumar Gala > --- > board/freesca

Re: [U-Boot] [PATCH 02/15] powerpc/85xx: Rework MPC8572DS pci_init_board to use common FSL PCIe code

2011-01-09 Thread Kumar Gala
On Dec 17, 2010, at 5:50 PM, Kumar Gala wrote: > Remove duplicated code in MPC8572DS board and utliize the common > fsl_pcie_init_board(). We also now dynamically setup the LAWs for PCI > controllers based on which PCIe controllers are enabled. > > Signed-off-by: Kumar Gala > --- > board/frees

Re: [U-Boot] [PATCH 01/15] powerpc/fsl-pci: Add generic code to setup PCIe controllers

2011-01-09 Thread Kumar Gala
On Dec 17, 2010, at 5:50 PM, Kumar Gala wrote: > Since all the PCIe controllers are connected over SERDES on the SoCs we > can utilize is_serdes_configured() to determine if a controller is > enabled. After which we can setup the ATMUs and LAWs for the controller > in a common fashion and allow

Re: [U-Boot] [PATCH v2] powerpc/fsl-pci: Determine pci_controller based on cfg addr for dts fixup

2011-01-09 Thread Kumar Gala
On Jan 9, 2011, at 2:01 PM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <1294183251-4905-1-git-send-email-ga...@kernel.crashing.org> you > wrote: >> Previously we passed in a specifically named struct pci_controller to >> determine if we had setup the particular PCI bus. Now we can

Re: [U-Boot] [PATCH 1/4] mpc83xx: Make start.S true PIC

2011-01-09 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message <1292838435-14958-1-git-send-email-joakim.tjernl...@transmode.se> you wrote: > Remove dependencies on link address. Use GOT and > add an new function to calculate the actual address. > > Signed-off-by: Joakim Tjernlund > --- > arch/powerpc/cpu/mpc83xx/start.S

Re: [U-Boot] [PATCH] fsl_pci: Update PCIe boot ouput

2011-01-09 Thread Kumar Gala
On Dec 28, 2010, at 5:47 PM, Peter Tyser wrote: > This change does the following: > - Adds printing of negotiated link width. This information can be > useful when debugging PCIe issues. > - Makes it optional for boards to implement board_serdes_name(). > Previously boards that did not impleme

[U-Boot] [PATCH v2 2/2] powerpc/8xxx: Add new hwconfig APIs to address early parsing used by DDR init

2011-01-09 Thread Kumar Gala
There are several users of the hwconfig APIs (8xxx DDR) before we have the environment properly setup. This causes issues because of the numerous ways the environment might be accessed because of the non-volatile memory it might be stored in. Additionally the access might be so early that memory

Re: [U-Boot] [PATCH 4/4] powerpc: Add LINK_OFF calls in early C-code.

2011-01-09 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message <1292838435-14958-4-git-send-email-joakim.tjernl...@transmode.se> you wrote: > Only these 2 call sites depends on fixups for my mpc8321 based > board. > > Signed-off-by: Joakim Tjernlund > --- > arch/powerpc/cpu/mpc83xx/cpu_init.c |2 +- > arch/powerpc/lib

[U-Boot] [PATCH 1/2] powerpc/8xxx: Move fsl_is_spd() into generic 8xxx ddr code

2011-01-09 Thread Kumar Gala
Move the parsing of hwconfig to determine if to use spd into common code so we can share it across all boards instead of duplicating it everywhere. Signed-off-by: Kumar Gala --- arch/powerpc/cpu/mpc8xxx/ddr/options.c | 22 +- arch/powerpc/include/asm/fsl_ddr_sdram.h |

[U-Boot] [PATCH 2/2] powerpc/8xxx: Add new hwconfig APIs to address early parsing used by DDR init

2011-01-09 Thread Kumar Gala
There are several users of the hwconfig APIs (8xxx DDR) before we have the environment properly setup. This causes issues because of the numerous ways the environment might be accessed because of the non-volatile memory it might be stored in. Additionally the access might be so early that memory

Re: [U-Boot] [PATCH] MAINTAINERS: sort Blackfin entries

2011-01-09 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1292796854-2842-1-git-send-email-vap...@gentoo.org> you wrote: > Signed-off-by: Mike Frysinger > --- > MAINTAINERS | 49 ++--- > 1 files changed, 22 insertions(+), 27 deletions(-) Applied, thanks. Best regards, Wol

Re: [U-Boot] [PATCH v2] powerpc/fsl-pci: Determine pci_controller based on cfg addr for dts fixup

2011-01-09 Thread Wolfgang Denk
Dear Kumar Gala, In message <1294183251-4905-1-git-send-email-ga...@kernel.crashing.org> you wrote: > Previously we passed in a specifically named struct pci_controller to > determine if we had setup the particular PCI bus. Now we can search for > the struct so we dont have to depend on the name

Re: [U-Boot] [PATCH] asm-offsets: generate bd_t size

2011-01-09 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1293213443-11027-1-git-send-email-vap...@gentoo.org> you wrote: > Some ports set up the board info structure at the same time as the global > data structure, and largely keep them together. So generate a define for > the board info struct too. > > Signed-off-by:

Re: [U-Boot] [PATCH] miiphy: convert to linux/mii.h

2011-01-09 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1293136812-8577-1-git-send-email-vap...@gentoo.org> you wrote: > The include/miiphy.h header duplicates a lot of things from linux/mii.h. > So punt all the things that overlap to keep the API simple and to make > merging between U-Boot and Linux simpler. > > Signe

Re: [U-Boot] [PATCH] cfi_flash: avoid flash_verbose when possible

2011-01-09 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1293028873-16231-1-git-send-email-vap...@gentoo.org> you wrote: > The flash_verbose logic is only used by the CFI MTD layer, so if we aren't > using that, disable the logic completely. > > Signed-off-by: Mike Frysinger > --- > drivers/mtd/cfi_flash.c |6

Re: [U-Boot] [PATCH] cmd editing: mark erase/tab seqs constant

2011-01-09 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1293028845-16111-1-git-send-email-vap...@gentoo.org> you wrote: > These strings are only read, so no need to have them be writable. > > Signed-off-by: Mike Frysinger > --- > common/main.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Applied,

Re: [U-Boot] [PATCH] cmd_mem: localize state variables

2011-01-09 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1293028829-16057-1-git-send-email-vap...@gentoo.org> you wrote: > These "last" variables aren't used outside of this file, so add static. > > Signed-off-by: Mike Frysinger > --- > common/cmd_mem.c |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-)

Re: [U-Boot] [PATCH] load_addr: move to common env code

2011-01-09 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1292958507-5584-1-git-send-email-vap...@gentoo.org> you wrote: > Rather than keep the load_addr definition with the bootm code (which > just happens to use this), move it to the common env code. This way > we can disable bootm support completely while retaining lo

Re: [U-Boot] [PATCH] config_cmd_defaults.h: new header for common u-boot command defaults

2011-01-09 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1292889429-19902-1-git-send-email-vap...@gentoo.org> you wrote: > We have config_defaults.h which are random configuration settings that > everyone gets by default. We also have config_cmd_default.h which is a > recommended list of defaults but boards have to opt

Re: [U-Boot] [PATCH v2] Clarify applicable licensing terms in COPYING file.

2011-01-09 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1292706041-7010-1-git-send-email...@denx.de> you wrote: > Signed-off-by: Wolfgang Denk > --- > v2: Rephrase as suggested by Scott Wood in > http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/71743/focus=71761 Applied. Best regards, Wolfgang Denk --

Re: [U-Boot] [PATCH v2] env: re-add support for auto-completion

2011-01-09 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1292622719-28646-1-git-send-email-vap...@gentoo.org> you wrote: > Currently, only basic completion is supported (no globs), but this is > what we had previously. > > Signed-off-by: Mike Frysinger > --- > v2 > - sort the results > > common/command.c|

Re: [U-Boot] [PATCH] tqm5200.c: fix warning: 'edid_buf' defined but not used

2011-01-09 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1293130738-19657-1-git-send-email...@denx.de> you wrote: > Commit 98e6956 "mpc52xx: add support for tqm52xx based board charon" > casued build warnings on some systems. Fix these. > > Signed-off-by: Wolfgang Denk > Cc: Heiko Schocher > --- > board/tqc/tqm5200/t

Re: [U-Boot] [PATCH] examples: update do_reset prototype

2011-01-09 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1292797013-2940-1-git-send-email-vap...@gentoo.org> you wrote: > One more place that was missed during the do_reset() unification. > > Signed-off-by: Mike Frysinger > --- > examples/api/libgenwrap.c |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-)

Re: [U-Boot] [PATCH] cmd_net.c: fix build breakage

2011-01-09 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1293120266-28753-1-git-send-email...@denx.de> you wrote: > Commit 722b061 "autocomplete: remove runtime handler install" caused > some boards (like NETTA2_V2) to break with errors like these: > > cmd_net.c:296: error: expected expression before ',' token > > Fix t

Re: [U-Boot] [PATCH 2/2 v2] hwmon: do not init sensors on startup

2011-01-09 Thread Wolfgang Denk
Dear Heiko Schocher, In message <1292232401-26523-1-git-send-email...@denx.de> you wrote: > The U-Boot Design Principles[1] clearly say: > > Initialize devices only when they are needed within U-Boot, i.e. don't > initialize the Ethernet interface(s) unless U-Boot performs a download > over

Re: [U-Boot] [PATCH 1/2] common: introduce a genutils.h file

2011-01-09 Thread Wolfgang Denk
Dear Heiko Schocher, In message <1292232393-26481-1-git-send-email...@denx.de> you wrote: > as discussed in thread > http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/76654 > > and as a result of this discussion Michael Zaidman > proposed to create a genutils.h, see: > > http://thread.gmane

Re: [U-Boot] git merge summary

2011-01-09 Thread Wolfgang Denk
Hi all, In message Detlev Zundel wrote: > > > may I ask again for opinions about enabling that feature? > > I also would like to see it. Wolfgang, is there anything that you > don't like about this option? Do you have any comments or pros or cons for/against this request? Thanks. Best regar

[U-Boot] [PATCH v5 8/8] add software usbboot

2011-01-09 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu Acked-by: Daniel Acked-by: ChangWei Jia --- drivers/mtd/nand/jz4740_nand.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand/jz4740_nand.c index 32b41ef..b15c4ea 100644 --- a/drivers/

Re: [U-Boot] [PATCH] S3C64XX: timer: replace bss variable by gd

2011-01-09 Thread Wolfgang Denk
Dear Reinhard Meyer, In message <4d2582f6.2040...@emk-elektronik.de> you wrote: > > >> timer_load_val -> timer_rate_hz > >> timestamp -> timer_reset_value > > I am not too happy about this "misuse" of gd->variables making them > "misnomers" and the code harder to read. I'm not ha

[U-Boot] [PATCH v5 7/8] modify files for ben nanonote board

2011-01-09 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu Acked-by: Daniel Acked-by: ChangWei Jia --- MAKEALL |4 +++- Makefile| 10 ++ arch/mips/include/asm/global_data.h |9 + arch/mips/lib/board.c |8 arch/mips/lib

[U-Boot] [PATCH v5 6/8] add entry to MAINTAINERS and boards.cfg

2011-01-09 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu Acked-by: Daniel Acked-by: ChangWei Jia --- MAINTAINERS |4 boards.cfg |1 + 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index ba83f71..0482a5f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -906,6 +906,10 @@

[U-Boot] [PATCH v5 5/8] add Ben NanoNote board

2011-01-09 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu Acked-by: Daniel Acked-by: ChangWei Jia --- board/xburst/nanonote/Makefile| 45 +++ board/xburst/nanonote/config.mk | 31 + board/xburst/nanonote/nanonote.c | 96 +++ board/xburst/nanonote/u-boot-nand.lds | 63 ++

[U-Boot] [PATCH v5 4/8] jz4740 nand driver

2011-01-09 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu Acked-by: Daniel Acked-by: ChangWei Jia --- drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/jz4740_nand.c | 315 2 files changed, 316 insertions(+), 0 deletions(-) create mode 100644 drivers/mtd/nand/jz4740_nand.c

  1   2   >