commit | 536cb7ce1aca10c326ac864b3e1d05ab57b3ec7e | [log] [tgz] |
---|---|---|
author | Paul Burton <paul.burton@imgtec.com> | Thu Jan 29 01:27:59 2015 +0000 |
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Thu Jan 29 12:55:01 2015 +0100 |
tree | b0550850214891149050109b60ff9b0ed1839353 | |
parent | 4a5d8898bca3e442b61e34b811aec8332752efd3 [diff] |
MIPS: refactor L1 cache config reads to a macro Reduce duplication between reading the configuration of the L1 dcache & icache by performing both using a macro which calculates the appropriate line & cache sizes from the coprocessor 0 Config1 register. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>