From: "Joakim Tjernlund" <joakim.tjernlund@lumentis.se>
To: "'David Woodhouse'" <dwmw2@infradead.org>
Cc: <kd@flaga.is>, <mtd@infradead.org>
Subject: RE: CFI with 4 x8/x16 devices on a 32-bit bus
Date: Tue, 17 Apr 2001 17:51:32 +0200 [thread overview]
Message-ID: <000601c0c756$47018250$0a01a8c0@Win1> (raw)
In-Reply-To: <31299.987521006@redhat.com>
Hi again
I can place them at any physical(almost) address since they are connected to
the
cpu's Chip Select logic. I figure I will place them somewhere high starting
at 0xf8000000.
I can also make the address space linear(no holes between the banks).
Now, can I just define WINDOW_ADDR 0xf8000000 and WINDOW_SIZE 0x8000000 and
specifiy my partitions without worrying about flash bank boundries? (In my
dreams or ...)
Jocke
PS.
I meant 4 flash banks below. Each bank is 32 MB
-----Original Message-----
From: David Woodhouse [mailto:dwmw2@redhat.com]On Behalf Of David
Woodhouse
Sent: Tuesday, April 17, 2001 17:23
To: joakim.tjernlund@lumentis.se
Cc: kd@flaga.is; mtd@infradead.org
Subject: Re: CFI with 4 x8/x16 devices on a 32-bit bus
joakim.tjernlund@lumentis.se said:
> We are doing our own custom board(PPC860) with 3 "banks" of Intel
> Flashes. Each bank consists of 2 flashes in 16 bit mode, 2-chip
> interleave, 32-bit data bus. Now I want to make a partition that spans
> more than one flash bank(or at least crosses a bank boundary). Is that
> possible? Any special tricks or just do an add_mtd_partition() call?
Special tricks, if they're really in separate banks and you can't just use
a single mapping driver which will detect all the flash in one go. The code
can deal with aliases appearing between devices, but can't deal with empty
space between them - although you could play tricks in the mapping driver
to make that disappear.
What physical addresses are the flash chips mapped to?
If they have to be in separate mappings, you'll need to write wrapper
functions similar to the ones in mtdpart.c, which munge the offset and pass
through to the function in the appropriate MTD device.
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
next prev parent reply other threads:[~2001-04-17 15:52 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-17 14:59 CFI with 4 x8/x16 devices on a 32-bit bus Joakim Tjernlund
2001-04-17 15:23 ` David Woodhouse
2001-04-17 15:51 ` Joakim Tjernlund [this message]
2001-04-17 15:53 ` David Woodhouse
2001-04-17 16:26 ` Joakim Tjernlund
-- strict thread matches above, loose matches on Subject: below --
2001-04-14 16:54 Kári Davíðsson
2001-04-12 12:41 Kári Davíðsson
2001-04-12 13:52 ` Joakim Tjernlund
2001-04-17 13:57 ` David Woodhouse
2001-04-11 15:05 Joakim Tjernlund
2001-04-10 7:30 Brett Carswell
2001-04-17 14:13 ` David Woodhouse
2001-04-09 23:34 Brett Carswell
2001-04-10 0:27 ` Nicolas Pitre
2001-04-10 1:55 ` David Woodhouse
2001-04-10 1:53 ` David Woodhouse
2001-04-10 2:01 ` David Woodhouse
2001-04-05 22:58 Brett Carswell
2001-04-06 13:45 ` David Woodhouse
2001-04-06 14:12 ` David Woodhouse
2001-04-09 16:24 ` Joakim Tjernlund
2001-04-05 7:32 Brett Carswell
2001-04-05 14:09 ` David Woodhouse
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='000601c0c756$47018250$0a01a8c0@Win1' \
--to=joakim.tjernlund@lumentis.se \
--cc=dwmw2@infradead.org \
--cc=kd@flaga.is \
--cc=mtd@infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox