mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-22 18:09:03 +09:00
![York Sun](/assets/img/avatar_default.png)
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>
11 lines
254 B
C
11 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_ */
|