diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-12-16 14:59:22 -0600 |
---|---|---|
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | 2008-12-19 18:20:08 -0600 |
commit | 9d94aff699eed38b286814fcbb335f3eb8516a0e (patch) | |
tree | fdbdcbc6e04238cd16065480aa780b8596f35d77 /board/cm4008 | |
parent | 77c8115b1f1871811633eae77a5a700fac1f0e50 (diff) | |
download | u-boot-imx-9d94aff699eed38b286814fcbb335f3eb8516a0e.zip u-boot-imx-9d94aff699eed38b286814fcbb335f3eb8516a0e.tar.gz u-boot-imx-9d94aff699eed38b286814fcbb335f3eb8516a0e.tar.bz2 |
NAND FSL elbc: Use virt_to_phys to determine which bank is in use
The current code that determines which bank/chipselect is used for a
given NAND instance only worked for 32-bit addresses and assumed
a 1:1 mapping. This breaks in 36-bit physical configs.
The proper way to handle this is to use the virt_to_phys() and
BR_PHYS_ADDR() routinues to match the 34-bit lbc bus address
with the the virtual address the NAND code uses.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'board/cm4008')
0 files changed, 0 insertions, 0 deletions