[U-Boot] [PATCH v2] andes_spi: add andes_spi interface

2011-04-24 Thread Macpaul Lin
andes_spi is an spi interface developed by Andes Tech. Signed-off-by: Macpaul Lin Cc: Wolfgang Denk Cc: Mike Frysinger --- Changes for v2: - Replace redundant length checking by min(len, 4). - Remove redundant debug marco. - Replace reading register in debug() by local variable. - Add b

Re: [U-Boot] Expanding checkpatch for non-linux (specifically U-Boot) use

2011-04-24 Thread Joe Perches
On Mon, 2011-04-25 at 16:22 +1000, Graeme Russ wrote: > I like this - And checkpatch.pl could set the default options for 'Linux > flavour' so Linux would not need a .conf file :) > > BUT - The question still remains - Will patches for obviously non-Linux > related 'features' of checkpatch be welc

Re: [U-Boot] Expanding checkpatch for non-linux (specifically U-Boot) use

2011-04-24 Thread Graeme Russ
On 25/04/11 16:02, Joe Perches wrote: > On Mon, 2011-04-25 at 15:36 +1000, Graeme Russ wrote: >> There has been a bit of discussion lately on the U-Boot mailing list >> regarding the use of checkpatch for U-Boot patches (see >> http://lists.denx.de/pipermail/u-boot/2011-April/090954.html) >> >> U-B

Re: [U-Boot] Expanding checkpatch for non-linux (specifically U-Boot) use

2011-04-24 Thread Joe Perches
On Mon, 2011-04-25 at 15:36 +1000, Graeme Russ wrote: > There has been a bit of discussion lately on the U-Boot mailing list > regarding the use of checkpatch for U-Boot patches (see > http://lists.denx.de/pipermail/u-boot/2011-April/090954.html) > > U-Boot uses the Linux coding style and checkpat

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

2011-04-24 Thread Mike Frysinger
The following changes since commit f02efacc515e35695e52ecd08762835c8a74a463: Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash (2011-04-25 00:58:45 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-blackfin.git master Mike Frysinger (3): Blackfin:

[U-Boot] [PATCH 3/3] Blackfin: adi boards: add eon to the "all" spi flash list

2011-04-24 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- include/configs/bfin_adi_common.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h index 9e61542..3312681 100644 --- a/include/configs/bfin_adi_common.h +++ b/include/c

[U-Boot] [PATCH 1/3] Blackfin: bf537-stamp/bf527-ad7160-eval: convert to mmc_spi

2011-04-24 Thread Mike Frysinger
Switch to the new common mmc_spi driver. Signed-off-by: Mike Frysinger --- include/configs/bf527-ad7160-eval.h |5 ++--- include/configs/bf537-stamp.h |3 ++- include/configs/bfin_adi_common.h |4 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/include/con

[U-Boot] [PATCH 0/3] Blackfin minor config updates for 2011.06

2011-04-24 Thread Mike Frysinger
Now that the mmc_spi driver has been merged, we can convert the Blackfin boards over to it. And since some other patches have been merged now, we can push the Blackfin config updates as well. Mike Frysinger (3): Blackfin: bf537-stamp/bf527-ad7160-eval: convert to mmc_spi Blackfin: bf506f-ezki

[U-Boot] [PATCH 2/3] Blackfin: bf506f-ezkit: disable import/export env commands

2011-04-24 Thread Mike Frysinger
Space is very tight on this board, so remove more extraneous commands. Signed-off-by: Mike Frysinger --- include/configs/bf506f-ezkit.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/bf506f-ezkit.h b/include/configs/bf506f-ezkit.h index 3580ec6..77b6735

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

2011-04-24 Thread Mike Frysinger
The following changes since commit f02efacc515e35695e52ecd08762835c8a74a463: Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash (2011-04-25 00:58:45 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-blackfin.git spi Thomas Chou (2): spi: add spi_set

[U-Boot] [PATCH 2/2] bfin_spi: add spi_set_speed

2011-04-24 Thread Mike Frysinger
From: Thomas Chou The new speed will be applied by spi_claim_bus. Signed-off-by: Thomas Chou Signed-off-by: Mike Frysinger --- drivers/spi/bfin_spi.c | 32 +++- 1 files changed, 19 insertions(+), 13 deletions(-) diff --git a/drivers/spi/bfin_spi.c b/drivers/spi/

[U-Boot] [PATCH 1/2] spi: add spi_set_speed func

2011-04-24 Thread Mike Frysinger
From: Thomas Chou This func helps mmc_spi driver set correct speed for mmc/sd, as mmc card needs 400KHz clock for spi mode initialization. Signed-off-by: Thomas Chou Signed-off-by: Mike Frysinger --- include/spi.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a

[U-Boot] [PATCH 0/2] SPI updates

2011-04-24 Thread Mike Frysinger
Looks like a few patches were merged from Thomas' series, but the core piece was missed, as well as the new Blackfin support for it. The new mmc_spi driver that has been merged already into mainline uses these for example. Thomas Chou (2): spi: add spi_set_speed func bfin_spi: add spi_set_spee

Re: [U-Boot] [PATCH 2/3] Fix a few gcc warnings.

2011-04-24 Thread Mike Frysinger
On Mon, Apr 25, 2011 at 12:13 AM, Mike Frysinger wrote: > however, that doesnt change my original point ... we shouldnt be > "fixing" things like this that have no relevance in the u-boot world. > disable the warning flags in the build system. see if this fixes your printf warnings: --- a/config.m

Re: [U-Boot] Policy for checkpatch usage?

2011-04-24 Thread Graeme Russ
On 22/04/11 22:46, Wolfgang Denk wrote: > Dear Graeme Russ, > > In message <4db15dd7.8050...@gmail.com> you wrote: >> >>> I think it wouldbe even better if we could push our changes back into >>> the "mainline" version of checkpatch, so that the U-Boot specific >>> behaviour can beenabled by a com

[U-Boot] Expanding checkpatch for non-linux (specifically U-Boot) use

2011-04-24 Thread Graeme Russ
Hi all, There has been a bit of discussion lately on the U-Boot mailing list regarding the use of checkpatch for U-Boot patches (see http://lists.denx.de/pipermail/u-boot/2011-April/090954.html) U-Boot uses the Linux coding style and checkpatch is therefore a very good tool for us to use to check

Re: [U-Boot] [PATCH] powerpc/85xx: Integrated Flash Controller NAND support

2011-04-24 Thread Dudhat Dipen-B09055
Hi Wolfgang, Any comments on this patch... This patch is acked by kumar gala. Regards, Dipen -Original Message- From: Dudhat Dipen-B09055 Sent: Thursday, April 21, 2011 10:02 AM To: u-boot@lists.denx.de Cc: Dudhat Dipen-B09055 Subject: [PATCH] powerpc/85xx: Integrated Flash Controller

Re: [U-Boot] [PATCH] andes_spi: add andes_spi interface

2011-04-24 Thread Mike Frysinger
On Sun, Apr 24, 2011 at 11:37 PM, wrote: >> > --- /dev/null >> > +++ b/drivers/spi/andes_spi.h >> >> i cant think of any reason other code would want to include this ... >> so please put this header in drivers/spi/ > > I am confused with this comment. > > According to the  summary of this patch >

Re: [U-Boot] [PATCH 2/3] Fix a few gcc warnings.

2011-04-24 Thread Mike Frysinger
On Sun, Apr 24, 2011 at 7:42 PM, Joakim Tjernlund wrote: > vapierfil...@gmail.com wrote on 2011/04/25 00:38:31: >> On Sun, Apr 24, 2011 at 6:14 PM, Wolfgang Denk wrote: >> > Joakim Tjernlund wrote: >> >> --- a/examples/standalone/timer.c >> >> +++ b/examples/standalone/timer.c >> >> @@ -186,7 +186,

Re: [U-Boot] Mainlining android fastboot support to upstream u-boot

2011-04-24 Thread Zach Pfeffer
Wolfgang, Would you be able to join us at UDS (https://wiki.linaro.org/Events/2011-05-LDS)? We can also set up a conference line as well. -Zach On 24 April 2011 09:25, Wolfgang Denk wrote: > Dear John Rigby, > > In message you wrote: >> >> So Wolfgang,  let's assume that Fastboot could coexist

Re: [U-Boot] Mainlining android fastboot support to upstream u-boot

2011-04-24 Thread John Rigby
On Sun, Apr 24, 2011 at 8:25 AM, Wolfgang Denk wrote: > Dear John Rigby, > > In message you wrote: >> >> So Wolfgang,  let's assume that Fastboot could coexist with and share >> code with the DFU implementation.  Would that be more acceptable?  Or > > It is always nice if features can share commo

Re: [U-Boot] [PATCH] andes_spi: add andes_spi interface

2011-04-24 Thread macpaul
Hi Mike, > > --- /dev/null > > +++ b/drivers/spi/andes_spi.h > > i cant think of any reason other code would want to include this ... > so please put this header in drivers/spi/ > -mike I am confused with this comment. According to the summary of this patch drivers/spi/Makefile|1 +

Re: [U-Boot] [PATCH V6 2/3] PMIC: Add dialog pmic support

2011-04-24 Thread Jason Hui
Hi, Stefano, On Sat, Apr 23, 2011 at 3:45 PM, stefano babic wrote: > Am 22/04/2011 16:50, schrieb Jason Liu: > > Hi Jason, > >>> As I can see now, this driver is quite a copy of fsl_pmic.c, with >>> slightly changes. Are you sure we cannot simply change the already >>> provided driver, adding sup

Re: [U-Boot] [PATCH] powerpc:Enable compiler debug option for powerpc platforms

2011-04-24 Thread Zang Roy-R61911
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Monday, April 25, 2011 7:17 AM > To: Zang Roy-R61911 > Cc: u-boot@lists.denx.de; Wood Scott-B07421; Kumar Gala > Subject: Re: [PATCH] powerpc:Enable compiler debug option for powerpc > platforms > > Dear Roy Zang, >

Re: [U-Boot] [PATCH 1/2][v3] powerpc: eSPI and eSPI controller support

2011-04-24 Thread Xie Shaohui-B21989
>-Original Message- >From: vapierfil...@gmail.com [mailto:vapierfil...@gmail.com] On Behalf Of >Mike Frysinger >Sent: Saturday, April 23, 2011 4:54 AM >To: Xie Shaohui-B21989 >Cc: u-boot@lists.denx.de; Gala Kumar-B11780; Zang Roy-R61911; Hu Mingkai- >B21284 >Subject: Re: [PATCH 1/2][v3

Re: [U-Boot] [PATCH 9/9] Add README for TS-7800

2011-04-24 Thread Wolfgang Denk
Dear Michael Spang, In message <1300391223-11879-10-git-send-email-msp...@csclub.uwaterloo.ca> you wrote: > Signed-off-by: Michael Spang > --- > doc/README.ts7800 | 84 > + > 1 files changed, 84 insertions(+), 0 deletions(-) > create mode

Re: [U-Boot] [PATCH 8/9] Add NAND support for TS-7800

2011-04-24 Thread Wolfgang Denk
Dear Michael Spang, In message <1300391223-11879-9-git-send-email-msp...@csclub.uwaterloo.ca> you wrote: > The NAND control functions were written by Alexander Clouter and > copied here from Linux. Please provide exact reference, see bullet # 4 at http://www.denx.de/wiki/view/U-Boot/Patches#Attr

Re: [U-Boot] [PATCH 7/9] Add board support for TS-7800

2011-04-24 Thread Wolfgang Denk
Dear Michael Spang, In message <1300391223-11879-8-git-send-email-msp...@csclub.uwaterloo.ca> you wrote: > The TS-7800 is an Orion5x implementation by Technologic Systems. > > Signed-off-by: Michael Spang > --- > MAKEALL |1 + > board/technologic/ts7800/Makefile |

Re: [U-Boot] [PATCH 6/9] ARM: Implement CONFIG_SKIP_LOWLEVEL_INIT for arm926ej-s

2011-04-24 Thread Wolfgang Denk
Dear Michael Spang, In message <1300391223-11879-7-git-send-email-msp...@csclub.uwaterloo.ca> you wrote: > The TS-7800 needs to skip SDRAM initialization since it loads from > RAM, but the CPU should still be initialized to the correct state. > Thus we add an #ifdef around the call to the lowleve

Re: [U-Boot] [PATCH 5/9] ARM: Rename CONFIG_SKIP_LOWLEVEL_INIT to CONFIG_SKIP_CPU_INIT_CRIT

2011-04-24 Thread Wolfgang Denk
Dear Michael Spang, In message <1300391223-11879-6-git-send-email-msp...@csclub.uwaterloo.ca> you wrote: > For ARM, the CONFIG_SKIP_LOWLEVEL_INIT option implies that the > cpu_init_crit and lowlevel_init assembly functions are skipped. We may > want to skip only lowlevel_init, so rename the optio

Re: [U-Boot] [PATCH 2/9] mvgbe: Support preserving the existing MAC address

2011-04-24 Thread Wolfgang Denk
Dear Michael Spang, In message <1300391223-11879-3-git-send-email-msp...@csclub.uwaterloo.ca> you wrote: > The MVGBE driver either gets the MAC from the environment, or invents > one. This allows the driver to leave the existing address alone in > case it is initialized before U-Boot starts. Who

Re: [U-Boot] [PATCH 2/3] Fix a few gcc warnings.

2011-04-24 Thread Joakim Tjernlund
vapierfil...@gmail.com wrote on 2011/04/25 00:38:31: > > On Sun, Apr 24, 2011 at 6:14 PM, Wolfgang Denk wrote: > > Joakim Tjernlund wrote: > >> --- a/examples/standalone/timer.c > >> +++ b/examples/standalone/timer.c > >> @@ -186,7 +186,7 @@ int timer (int argc, char * const argv[]) > >>       /* c

Re: [U-Boot] [RFC] ks8851_mll: add ethernet support

2011-04-24 Thread Wolfgang Denk
Dear Raffaele Recalcati, In message <1300267039-3607-1-git-send-email-lamiapost...@gmail.com> you wrote: > From: Roberto Cerati > > The device interface is 16 bits wide. > All the available packets are read from the incoming fifo. > > Signed-off-by: Roberto Cerati Signed-off-by: Raffaele Recal

Re: [U-Boot] [PATCH 2/3] Fix a few gcc warnings.

2011-04-24 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2011/04/25 00:14:58: > > Dear Joakim Tjernlund, > > In message <1303633774-22961-3-git-send-email-joakim.tjernl...@transmode.se> > you wrote: > > Noticed while building all of mpc8xx > > Please include in the commit message what the compiler warnings were, > and which com

Re: [U-Boot] [PATCH 3/3] powerpc, 8xx: adapt a few linker scripts so it will build.

2011-04-24 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2011/04/24 22:48:09: > > Dear Joakim Tjernlund, > > In message <1303633774-22961-4-git-send-email-joakim.tjernl...@transmode.se> > you wrote: > > Seems like recent linker/fpic changes broke a few 8xx boards. > > This makes them build again. > > > > Signed-off-by: Joakim Tje

Re: [U-Boot] [PATCH v3] Don't grab memory for LCD if FB address is defined

2011-04-24 Thread Wolfgang Denk
Dear Albert, In message <4d8f6229.5040...@free.fr> you wrote: > Le 25/03/2011 01:50, Minkyu Kang a écrit : > > If FB address is defined specific address then don't grab memory for LCD > > > > Signed-off-by: Minkyu Kang > > Cc: Albert Aribaud > > Cc: Wolfgang Denk > > Cc: Stefan Roese > > Cc: Kim P

Re: [U-Boot] [PATCH v3] Don't grab memory for LCD if FB address is defined

2011-04-24 Thread Wolfgang Denk
Dear Minkyu Kang, In message <4d8be6bd.2090...@samsung.com> you wrote: > If FB address is defined specific address then don't grab memory for LCD > > Signed-off-by: Minkyu Kang > Cc: Albert Aribaud > Cc: Wolfgang Denk > Cc: Stefan Roese > Cc: Kim Phillips > Cc: Andy Fleming > Cc: Kumar Gala

Re: [U-Boot] [PATCH] powerpc:Enable compiler debug option for powerpc platforms

2011-04-24 Thread Wolfgang Denk
Dear Roy Zang, In message <1300161222-19050-1-git-send-email-tie-fei.z...@freescale.com> you wrote: > This patch enables compiler debug option for powerpc platforms > by default. Patch is tested on 85xx/QorIQ platforms in u-boot > with CodeWarrior. > > Signed-off-by: Roy Zang > Cc: Wood Scott-

Re: [U-Boot] Please pull u-boot-cfi-flash

2011-04-24 Thread Wolfgang Denk
Dear Stefan Roese, In message <201104211558.30032...@denx.de> you wrote: > Hi Wolfgang, > > please pull the following patches: > > The following changes since commit 735eb0f0e66b544b1dfaf6c43ce6e4bd9ae64b5e: > > tools/env: fix redundant env flag comparison (2011-04-21 00:25:08 +0200) > > are

Re: [U-Boot] Please pull u-boot-ppc4xx/master

2011-04-24 Thread Wolfgang Denk
Dear Stefan Roese, In message <201104211130.12437...@denx.de> you wrote: > Hi Wolfgang, > > please pull the following ppc4xx patches: > > The following changes since commit 735eb0f0e66b544b1dfaf6c43ce6e4bd9ae64b5e: > > tools/env: fix redundant env flag comparison (2011-04-21 00:25:08 +0200) >

Re: [U-Boot] [PATCH 2/3] Fix a few gcc warnings.

2011-04-24 Thread Mike Frysinger
On Sun, Apr 24, 2011 at 6:14 PM, Wolfgang Denk wrote: > Joakim Tjernlund wrote: >> --- a/examples/standalone/timer.c >> +++ b/examples/standalone/timer.c >> @@ -186,7 +186,7 @@ int timer (int argc, char * const argv[]) >>       /* clear all events */ >>       *hwp->terp = (CPMT_EVENT_CAP | CPMT_EVE

Re: [U-Boot] [PATCH 2/3] Fix a few gcc warnings.

2011-04-24 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message <1303633774-22961-3-git-send-email-joakim.tjernl...@transmode.se> you wrote: > Noticed while building all of mpc8xx Please include in the commit message what the compiler warnings were, and which compiler version was used to produce these warnings. > diff --gi

Re: [U-Boot] [PATCH 1/3] powerpc, 8xx: Fix fallout from "Fixup all 8xx u-boot.lds scripts"

2011-04-24 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message <1303633774-22961-2-git-send-email-joakim.tjernl...@transmode.se> you wrote: > Two linker scripts for 8xx was missed. > > Signed-off-by: Joakim Tjernlund > --- > board/matrix_vision/mvsmr/u-boot.lds |2 +- > board/rsdproto/u-boot.lds|7

Re: [U-Boot] [PATCH 3/3] powerpc, 8xx: adapt a few linker scripts so it will build.

2011-04-24 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message <1303633774-22961-4-git-send-email-joakim.tjernl...@transmode.se> you wrote: > Seems like recent linker/fpic changes broke a few 8xx boards. > This makes them build again. > > Signed-off-by: Joakim Tjernlund > --- > board/LEOX/elpt860/u-boot.lds |2 +- > b

Re: [U-Boot] [PATCH] env: allow people to force envcrc building

2011-04-24 Thread Mike Frysinger
On Sun, Apr 24, 2011 at 10:28 AM, Wolfgang Denk wrote: > Mike Frysinger wrote: >> For people who want to manually extract the embedded environment so that >> it can be manually packed into the final u-boot image, add a config opt >> to force building of the envcrc tool. >> >> Signed-off-by: Mike Fr

Re: [U-Boot] [PATCH] command: constify _do_help input tables

2011-04-24 Thread Mike Frysinger
On Sun, Apr 24, 2011 at 5:43 AM, Mike Frysinger wrote: > The _do_help func does not need to write to the command tables passed > to it, so constify the input args. err, forgot this one for now. it requires tinkering in other internal command funcs to avoid compiler warnings, and changes in those

Re: [U-Boot] [PATCH 0/3] Make 8xx build with -msingle-pic-base

2011-04-24 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > Yes, but I have it here locally. With it and any compiler I have handy, the > problematic > board builds OK. It just needs to pass your gcc as well :) > Probably you could just test these new patches as is and if that works well, > could you >

Re: [U-Boot] [PATCH 0/3] Make 8xx build with -msingle-pic-base

2011-04-24 Thread Joakim Tjernlund
Wolfgang Denk wrote on 2011/04/24 16:30:14: > > Dear Joakim Tjernlund, > > In message <1303633774-22961-1-git-send-email-joakim.tjernl...@transmode.se> > you wrote: > > With these patches 8xx willbuild again for me > > with a number of gcc's even with "Add support for -msingle-pic-base" > > I hop

Re: [U-Boot] [PATCH 0/3] Make 8xx build with -msingle-pic-base

2011-04-24 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message <1303633774-22961-1-git-send-email-joakim.tjernl...@transmode.se> you wrote: > With these patches 8xx willbuild again for me > with a number of gcc's even with "Add support for -msingle-pic-base" > I hope WD's gcc will also work. > > Joakim Tjernlund (3): > po

Re: [U-Boot] [PATCH] env: allow people to force envcrc building

2011-04-24 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1303630430-29811-1-git-send-email-vap...@gentoo.org> you wrote: > For people who want to manually extract the embedded environment so that > it can be manually packed into the final u-boot image, add a config opt > to force building of the envcrc tool. > > Signed-

Re: [U-Boot] Mainlining android fastboot support to upstream u-boot

2011-04-24 Thread Wolfgang Denk
Dear John Rigby, In message you wrote: > > So Wolfgang, let's assume that Fastboot could coexist with and share > code with the DFU implementation. Would that be more acceptable? Or It is always nice if features can share common code, but here this is actually completely unrelated to the ques

Re: [U-Boot] repurposing uboot's console UART after booting

2011-04-24 Thread Wolfgang Denk
Dear CAIannello, In message <31463780.p...@talk.nabble.com> you wrote: > > After booting, I would like to use this UART for other things besides shells > and U-Boot status. I want to attach custom peripherals to it instead. > > I tried killing the ttymxc0's shell process from my ssh session, b

Re: [U-Boot] ubi command in u-boot

2011-04-24 Thread Wolfgang Denk
Dear Ratheendran R, please keep the mailing list on Cc: In message you wrote: > > The board I mentioned is similar to popular MINI2440 board based on samsung > s3c2440 SOC,if UBI port exist for uboot please let me know. Maybe these boards are similar. But similar is not identical. But the MIN

[U-Boot] [PATCH] constify default env

2011-04-24 Thread Mike Frysinger
I can't see any obvious needs for the default environment to be writable, so make it const. Signed-off-by: Mike Frysinger --- common/env_common.c |4 ++-- common/env_flash.c|2 +- include/environment.h |2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common

[U-Boot] [PATCH] command: constify _do_help input tables

2011-04-24 Thread Mike Frysinger
The _do_help func does not need to write to the command tables passed to it, so constify the input args. Signed-off-by: Mike Frysinger --- common/command.c |8 include/command.h |4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/command.c b/common/co

[U-Boot] [PATCH] cmd_usage: constify

2011-04-24 Thread Mike Frysinger
The usage helper doesn't modify the command, so constify its input arg. Signed-off-by: Mike Frysinger --- common/command.c |2 +- include/command.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/command.c b/common/command.c index b3ec510..ddaed68 100644 ---

[U-Boot] [PATCH 1/4] sf: unify write enable commands

2011-04-24 Thread Mike Frysinger
Every spi flash uses the same write enable command, so unify this in the common code. Signed-off-by: Mike Frysinger --- drivers/mtd/spi/eon.c|2 +- drivers/mtd/spi/macronix.c |2 +- drivers/mtd/spi/ramtron.c|2 +- drivers/mtd/spi/spansion.c

[U-Boot] [PATCH 2/4] sf: unify write funcs

2011-04-24 Thread Mike Frysinger
Once we add a new page_size field for write lengths, we can unify the write methods for most of the spi flash drivers. Signed-off-by: Mike Frysinger --- drivers/mtd/spi/eon.c| 61 ++- drivers/mtd/spi/macronix.c | 61 ++

[U-Boot] [PATCH 3/4] sf: kill off now-unused local state

2011-04-24 Thread Mike Frysinger
Now that the common spi_flash structure tracks all the info that these drivers need, kill off their local state indirection and use just what the common code provides. Signed-off-by: Mike Frysinger --- drivers/mtd/spi/eon.c | 36 drivers/mtd/spi/macron

[U-Boot] [PATCH 4/4] sf: eon/stmicro: inline useless ID defines

2011-04-24 Thread Mike Frysinger
These defines are used in only one place, so just inline them. Signed-off-by: Mike Frysinger --- drivers/mtd/spi/eon.c |4 +--- drivers/mtd/spi/stmicro.c | 25 - 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/drivers/mtd/spi/eon.c b/drivers/mtd/

[U-Boot] [PATCH 3/3] powerpc, 8xx: adapt a few linker scripts so it will build.

2011-04-24 Thread Joakim Tjernlund
Seems like recent linker/fpic changes broke a few 8xx boards. This makes them build again. Signed-off-by: Joakim Tjernlund --- board/LEOX/elpt860/u-boot.lds |2 +- board/etx094/u-boot.lds |2 +- board/svm_sc8xx/u-boot.lds|2 +- board/tqc/tqm8xx/u-boot.lds |2 ++ 4 fil

[U-Boot] [PATCH 2/3] Fix a few gcc warnings.

2011-04-24 Thread Joakim Tjernlund
Noticed while building all of mpc8xx Signed-off-by: Joakim Tjernlund --- board/netta/codec.c |6 +++--- board/siemens/IAD210/atm.c |4 ++-- examples/standalone/timer.c |4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/board/netta/codec.c b/board/netta/c

[U-Boot] [PATCH 1/3] powerpc, 8xx: Fix fallout from "Fixup all 8xx u-boot.lds scripts"

2011-04-24 Thread Joakim Tjernlund
Two linker scripts for 8xx was missed. Signed-off-by: Joakim Tjernlund --- board/matrix_vision/mvsmr/u-boot.lds |2 +- board/rsdproto/u-boot.lds|7 --- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/board/matrix_vision/mvsmr/u-boot.lds b/board/matrix_visi

[U-Boot] [PATCH 0/3] Make 8xx build with -msingle-pic-base

2011-04-24 Thread Joakim Tjernlund
With these patches 8xx willbuild again for me with a number of gcc's even with "Add support for -msingle-pic-base" I hope WD's gcc will also work. Joakim Tjernlund (3): powerpc, 8xx: Fix fallout from "Fixup all 8xx u-boot.lds scripts" Fix a few gcc warnings. powerpc, 8xx: adapt a few linker

[U-Boot] [PATCH] env: allow people to force envcrc building

2011-04-24 Thread Mike Frysinger
For people who want to manually extract the embedded environment so that it can be manually packed into the final u-boot image, add a config opt to force building of the envcrc tool. Signed-off-by: Mike Frysinger --- README|5 + common/env_embedded.c |2 +- include/co