mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-25 04:23:46 +00:00
4961eafc25
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>
10 lines
254 B
C
10 lines
254 B
C
/*
|
|
* Copyright 2015, Freescale Semiconductor
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _ASM_ARMV8_FSL_LAYERSCAPE_MMU_H_
|
|
#define _ASM_ARMV8_FSL_LAYERSCAPE_MMU_H_
|
|
void update_early_mmu_table(void);
|
|
#endif /* _ASM_ARMV8_FSL_LAYERSCAPE_MMU_H_ */
|