Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c328e47 authored by Magnus Damm's avatar Magnus Damm Committed by Paul Mundt
Browse files

sh: invalidate icache and tlbs during boot on kfr2r09



Add instruction cache and TLB invalidation code for the
the kfr2r09 romimage target.

Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 045a4b7e
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -16,6 +16,12 @@ LIST "--------------------------------"
LIST "disable watchdog"
LIST "disable watchdog"
EW 0xa4520004, 0xa507
EW 0xa4520004, 0xa507


LIST "invalidate instruction cache"
ED 0xff00001c, 0x00000800

LIST "invalidate TLBs"
ED 0xff000010, 0x00000004

LIST "select mode for cs5 + cs6"
LIST "select mode for cs5 + cs6"
ED 0xff800020, 0xa5a50001
ED 0xff800020, 0xa5a50001
ED 0xfec10000, 0x0000001b
ED 0xfec10000, 0x0000001b