1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-06 10:49:18 +01:00
Files
u-boot-megous/include
Paul Gortmaker 3fd673cf36 sbc8548: relocate 64MB user flash to sane boundary
The current situation has the 64MB user flash at an awkward
alignment; shifted back from 0xfc00_0000 by 8M, to leave an 8MB hole
for the soldered on boot flash @ EOM.  But to switch to optionally
supporting booting off the 64MB flash, the 64MB will then be mapped
at the sane address of 0xfc00_0000.

This leads to awkward things when programming the 64MB flash prior
to transitioning to it -- i.e. even though the chip spans from
0xfb80_0000 to 0xff7f_ffff, you would have to program a u-boot image
into the two sectors from 0xfbf0_0000 --> 0xfbff_ffff so that it was
in the right place when JP12/SW2.8 were switched to make the 64MB on
/CS0. (i.e. the chip is only looking at the bits in mask 0x3ff_ffff)

We also have to have three TLB entries responsible for dealing with
mapping the 64MB flash due to this 8MB of misalignment.

In the end, there is address space from 0xec00_0000 to 0xefff_ffff
where we can map it, and then the transition from booting from one
config to the other will be a simple 0xec --> 0xfc mapping.  Plus we
can toss out a TLB entry.

Note that TLB0 is kept at 64MB and not shrunk down to the 8MB boot
flash; this means we won't have to change it when the alternate
config uses the full 64MB for booting, in TLB0.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2012-01-11 13:58:10 -06:00
..
2010-04-13 09:13:04 +02:00
2010-04-13 09:13:04 +02:00
2011-08-01 15:19:40 +02:00
2008-12-15 22:05:36 +01:00
2011-08-04 23:34:02 +02:00
2011-08-01 15:19:40 +02:00
2010-01-27 21:23:14 +01:00
2008-05-21 00:14:08 +02:00
2004-10-10 18:03:33 +00:00
2008-10-18 21:54:03 +02:00
2008-05-10 11:44:55 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2009-10-27 20:58:25 +01:00
2006-04-16 10:51:58 +02:00
2009-01-24 00:23:09 +01:00
2008-05-21 00:14:08 +02:00
2009-09-04 21:54:52 +02:00
2011-10-22 01:22:21 +02:00
2010-09-19 19:29:47 +02:00
2010-12-09 10:24:09 +01:00
2011-10-26 21:40:44 +02:00
2011-08-04 23:34:02 +02:00
2011-10-26 21:39:40 +02:00
2008-03-26 23:38:54 +01:00
2011-08-01 15:19:40 +02:00
2011-05-19 22:22:44 +02:00
2011-12-01 09:10:57 +01:00
2011-10-27 23:54:08 +02:00
2008-10-18 21:54:03 +02:00
2011-04-30 23:29:55 +02:00
2011-12-01 09:45:35 +01:00
2009-10-13 06:17:35 -05:00
2011-09-05 11:41:42 +02:00
2001-11-03 22:15:16 +00:00
2008-10-18 21:54:03 +02:00
2002-09-17 21:37:55 +00:00
2010-01-21 22:26:00 +01:00
2011-09-10 00:04:01 +02:00
2009-04-03 23:47:06 +02:00
2003-06-27 21:31:46 +00:00
2008-10-18 21:54:03 +02:00
2011-11-03 02:14:58 -05:00
2008-10-18 21:54:03 +02:00
2010-10-12 22:44:33 +02:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2011-12-20 22:57:25 +01:00
2012-01-05 20:10:38 +01:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2010-03-21 22:44:42 +01:00
2004-10-10 21:27:30 +00:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-10-18 21:54:03 +02:00
2011-12-10 17:54:04 -05:00
2011-07-26 14:10:14 +02:00
2008-05-21 00:14:08 +02:00
2010-03-12 23:06:04 +01:00
2008-10-18 21:54:03 +02:00
2012-01-05 16:12:26 +01:00
2011-10-27 21:56:31 +02:00
2011-10-05 22:03:11 +02:00
2000-07-19 14:09:16 +00:00
2011-03-27 19:19:54 +02:00
2008-10-18 21:54:03 +02:00
2004-03-25 15:14:43 +00:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2011-08-04 23:34:02 +02:00
2011-08-04 23:34:02 +02:00
2003-06-27 21:31:46 +00:00
2011-08-01 15:19:40 +02:00
2011-06-22 20:00:51 +02:00
2009-10-03 10:17:56 +02:00
2008-05-21 00:14:08 +02:00
2004-02-23 16:11:30 +00:00
2011-12-07 08:45:51 +01:00
2011-04-29 07:32:48 -05:00
2011-09-30 22:00:55 +02:00
2004-12-16 21:44:03 +00:00
2006-06-14 18:14:56 +02:00
2009-01-28 19:57:27 +01:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2001-11-03 22:21:15 +00:00
2011-08-01 15:19:40 +02:00
2008-10-18 21:54:03 +02:00
2010-05-28 10:56:04 -04:00
2011-08-01 15:19:40 +02:00
2006-07-21 15:24:56 +02:00