mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
Add e6500 L2 replacement policy selection
This is compile-time config. Signed-off-by: James Yang <James.Yang@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
parent
c79fd50382
commit
9cd95ac74a
3 changed files with 11 additions and 1 deletions
|
@ -507,6 +507,15 @@
|
|||
#define L2CSR0_L2IO 0x00100000 /* L2 Cache Instruction Only */
|
||||
#define L2CSR0_L2DO 0x00010000 /* L2 Cache Data Only */
|
||||
#define L2CSR0_L2REP 0x00003000 /* L2 Line Replacement Algo */
|
||||
|
||||
/* e6500 */
|
||||
#define L2CSR0_L2REP_SPLRUAGE 0x00000000 /* L2REP Streaming PLRU with Aging */
|
||||
#define L2CSR0_L2REP_FIFO 0x00001000 /* L2REP FIFO */
|
||||
#define L2CSR0_L2REP_SPLRU 0x00002000 /* L2REP Streaming PLRU */
|
||||
#define L2CSR0_L2REP_PLRU 0x00003000 /* L2REP PLRU */
|
||||
|
||||
#define L2CSR0_L2REP_MODE L2CSR0_L2REP_SPLRUAGE
|
||||
|
||||
#define L2CSR0_L2FL 0x00000800 /* L2 Cache Flush */
|
||||
#define L2CSR0_L2LFC 0x00000400 /* L2 Cache Lock Flash Clear */
|
||||
#define L2CSR0_L2LOA 0x00000080 /* L2 Cache Lock Overflow Allocate */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue