commit | 4961eafc25d0bfa7ac5f88ec78a7f7501c202fbb | [log] [tgz] |
---|---|---|
author | York Sun <york.sun@nxp.com> | Mon Mar 06 09:02:34 2017 -0800 |
committer | York Sun <york.sun@nxp.com> | Tue Mar 14 08:44:03 2017 -0700 |
tree | f1e66358f067240368b3b3b70514f7b8b3c49dc5 | |
parent | 7f9b9f318ff152bd8d2e8b573708e2bdc088c1b1 [diff] |
armv8: layerscape: Update early MMU for DDR after initialization In early MMU table, DDR has to be mapped as device memory to avoid speculative access. After DDR is initialized, it needs to be updated to normal memory to allow code execution. To simplify the code, dram_init() is moved into a common file as a weak function. Signed-off-by: York Sun <york.sun@nxp.com>