From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 33/42] Blackfin: cm-bf537e: new board port
Date: Wed, 11 Feb 2009 16:48:36 -0500 [thread overview]
Message-ID: <200902111648.42603.vapier@gentoo.org> (raw)
In-Reply-To: <20090211214351.D240F832E893@gemini.denx.de>
On Wednesday 11 February 2009 16:43:51 Wolfgang Denk wrote:
> In message Mike Frysinger you wrote:
> > +#define SWITCH_BANK do { if (memIndex >= 0x20200000) {\
> > + *pPORTFIO_SET = GPIO_4; \
> > + memIndex -= 0x200000; \
> > + crossed = 1;\
> > + } else { \
> > + *pPORTFIO_CLEAR = GPIO_4; \
> > + } \
> > + asm("ssync;"); } while (0)
> > +
> > +#define SWITCH_BACK do {if (crossed) {\
> > + *pPORTFIO_CLEAR = GPIO_4; \
> > + memIndex += 0x200000; \
> > + crossed = 0;\
> > + asm("ssync;");\
> > + } } while (0)
>
> Please use accessor functions instead of pointer accesses (which alslo
> will allow you to get rid of the "ssync" stuff here).
the ssync would still be required. it's to force the GPIO pins to the proper
state, not to make sure some address request has gone out.
all the flash drivers in the tinyboard dirs (cm-*) are "throw away" ... they
all exist because a common driver does not yet exist to hook CFI compliant
flashes up partially with addressing lines and partially with GPIOs. once i
get around to implementing that, all of these can be summarily scuttled.
sorry, i should have noted this in the summary.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090211/4eeda703/attachment.pgp
next prev parent reply other threads:[~2009-02-11 21:48 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-10 6:20 [U-Boot] [PATCH 00/42] Updates cookin for Blackfin for post 2009.03 Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 01/42] Blackfin: update lockbox api according to latest documentation Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 02/42] Blackfin: safely flush data caches when in writeback mode Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 03/42] Blackfin: add cache_dump commands Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 04/42] Blackfin: print out Flash: before checking it Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 05/42] Blackfin: drop now-unused CONFIG_SYS_BFIN_CMD_XXX Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 06/42] Blackfin: unify duplicate CPU port definitions Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 07/42] Blackfin: drop SPORT_TX read helper macros Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 08/42] Blackfin: fix SIC_RVECT definition: it is 16bits, not 32bits Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 09/42] Blackfin: simplify symbol_lookup() a bit Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 10/42] Blackfin: kill off LDR jump block Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 11/42] Blackfin: handle reboot anomaly 432 Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 12/42] Blackfin: setup a sane default EBIU_SDBCTL for SDRAM controllers Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 13/42] Blackfin: do not program voltage regulator on parts that do not have one Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 14/42] Blackfin: put memory into self-refresh before/after programming clocks Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 15/42] Blackfin: unify common ADI board settings Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 16/42] Blackfin: bf533-stamp: rewrite startup LED notifications Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 17/42] Blackfin: bf533-stamp: bump up default clocks Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 18/42] Blackfin: make sure autoconf.mk is generated early enough Mike Frysinger
2009-02-10 17:54 ` Ben Warren
2009-02-10 18:57 ` Mike Frysinger
2009-02-10 19:23 ` Ben Warren
2009-02-10 19:42 ` Wolfgang Denk
2009-02-10 19:49 ` Mike Frysinger
2009-02-11 21:36 ` Wolfgang Denk
2009-02-11 21:54 ` Mike Frysinger
2009-02-11 22:16 ` Wolfgang Denk
2009-02-11 22:57 ` Mike Frysinger
2009-02-12 0:16 ` Wolfgang Denk
2009-02-10 6:20 ` [U-Boot] [PATCH 19/42] Blackfin: new spibootldr command Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 20/42] Blackfin: add clkin_hz= to default kernel command line for ADI boards Mike Frysinger
2009-02-10 6:20 ` [U-Boot] [PATCH 21/42] Blackfin: bf537-stamp: bump default SCLK up to 125MHz Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 22/42] Blackfin: bf537-stamp: increase monitor size Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 23/42] Blackfin: add hack for crappy m25p80 Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 24/42] Blackfin: add support for SST SPI flashes Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 25/42] Blackfin: overhaul SPI flash handling to speed things up Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 26/42] Blackfin: add support for S25FL128 parts Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 27/42] Blackfin: bf548-ezkit: new board port Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 28/42] Blackfin: bf527-ezkit: " Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 29/42] Blackfin: bf538f-ezkit: " Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 30/42] Blackfin: bf526-ezbrd: " Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 31/42] Blackfin: bf518f-ezbrd: " Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 32/42] Blackfin: cm-bf533: " Mike Frysinger
2009-02-11 21:39 ` Wolfgang Denk
2009-02-10 6:21 ` [U-Boot] [PATCH 33/42] Blackfin: cm-bf537e: " Mike Frysinger
2009-02-11 21:43 ` Wolfgang Denk
2009-02-11 21:48 ` Mike Frysinger [this message]
2009-02-10 6:21 ` [U-Boot] [PATCH 34/42] Blackfin: cm-bf561: " Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 35/42] Blackfin: tcm-bf537: " Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 36/42] Blackfin: cm-bf548: " Mike Frysinger
2009-02-10 17:34 ` Scott Wood
2009-02-10 17:51 ` Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 37/42] Blackfin: cm-bf527: " Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 38/42] Blackfin: bf537-pnav: " Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 39/42] Blackfin: bf537-minotaur: " Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 40/42] Blackfin: bf537-srv1: " Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 41/42] Blackfin: blackstamp: " Mike Frysinger
2009-02-10 6:21 ` [U-Boot] [PATCH 42/42] Blackfin: ibf-dsp561: " Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200902111648.42603.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.