diff options
author | Paul Burton <paul.burton@imgtec.com> | 2015-01-29 01:27:59 +0000 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2015-01-29 12:55:01 +0100 |
commit | 536cb7ce1aca10c326ac864b3e1d05ab57b3ec7e (patch) | |
tree | b0550850214891149050109b60ff9b0ed1839353 /arch/sandbox | |
parent | 4a5d8898bca3e442b61e34b811aec8332752efd3 (diff) | |
download | u-boot-imx-536cb7ce1aca10c326ac864b3e1d05ab57b3ec7e.zip u-boot-imx-536cb7ce1aca10c326ac864b3e1d05ab57b3ec7e.tar.gz u-boot-imx-536cb7ce1aca10c326ac864b3e1d05ab57b3ec7e.tar.bz2 |
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>
Diffstat (limited to 'arch/sandbox')
0 files changed, 0 insertions, 0 deletions