mips: add coherency argument to identity mapping

Hardware / Coreboot - Ionela Voinescu [imgtec.com] - 29 December 2015 11:02 UTC

In order for a U-boot payload to work properly the soc_registers region (device registers) needs to be mapped as uncached. Therefore, add a coherency argument to the identity mapping funcion which will establish the type of mapping.

Change-Id: I26fc546378acda4f4f8f4757fbc0adb03ac7db9f

e7a336a mips: add coherency argument to identity mapping
src/arch/mips/include/arch/cpu.h | 18 ++++++++++++++----
src/arch/mips/include/arch/mmu.h | 2 +-
src/arch/mips/mmu.c | 8 ++++----
src/soc/imgtec/pistachio/bootblock.c | 6 +++---
4 files changed, 22 insertions(+), 12 deletions(-)

Upstream: review.coreboot.org


  • Share