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
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
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
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
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:
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
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
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
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
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
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/
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
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
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
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
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
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
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
>
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,
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
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
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 +
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
> -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,
>
>-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
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
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
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 |
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
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
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
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
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
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
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
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
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
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-
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
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)
>
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
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
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
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
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
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
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
>
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
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
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-
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
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
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
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
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
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
---
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
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 ++
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
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/
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
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
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
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
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
65 matches
Mail list logo