commit | b55e07e5656c6838a14453705e90189908ad7d92 | [log] [tgz] |
---|---|---|
author | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Sun Jul 12 00:45:55 2020 +0200 |
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Sat Jul 18 14:23:25 2020 +0200 |
tree | 271aedd8c2f6d311c8469e0249aa9117aa31dce8 | |
parent | 54e7fbd5adef2ca68d3e3723516651fc9f096d0b [diff] |
mips: add KSEG1 wrapper for change_k0_cca change_k0_cca() is called multiple times. Move the code for changing to KSEG1 to a macro to avoid code duplication. Also fix missing change to KSEG1 when changing to CONF_CM_CACHABLE_COW. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de>