diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2009-08-14 16:43:22 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-08-14 17:42:05 -0500 |
commit | e393e2e9bc5cd3d5484e193d1380e7cd7587ab5c (patch) | |
tree | c738ad209e4434b0e638fff24f296a7dbd8966f2 /drivers/mtd | |
parent | 7dedefdf749ff02c1086f7ddb8cb83a77b00d030 (diff) | |
download | u-boot-imx-e393e2e9bc5cd3d5484e193d1380e7cd7587ab5c.zip u-boot-imx-e393e2e9bc5cd3d5484e193d1380e7cd7587ab5c.tar.gz u-boot-imx-e393e2e9bc5cd3d5484e193d1380e7cd7587ab5c.tar.bz2 |
85xx: Fix addrmap to include memory
When we init the addrmap based on the TLB we will not end up getting
the TLB that covers memory if we are using SPD. The reason is we
haven't relocated at the point that we setup the memory TLB and thus it
will not get setup in the addrmap.
Instead we can just walk over the TLB array after we've relocated and
see all the TLBs that have been set and use that information to populate
the initial addrmap. By doing this we insure that we get the TLB
entries that cover memory.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions