1 /* 2 * Copyright (c) 2014 Travis Geiselbrecht 3 * 4 * Use of this source code is governed by a MIT-style 5 * license that can be found in the LICENSE file or at 6 * https://opensource.org/licenses/MIT 7 */ 8 #pragma once 9 10 #include <platform/zynq.h> 11 12 /* configuration for the PL310 L2 cache controller */ 13 #define PL310_BASE L2CACHE_BASE 14 #define PL310_TAG_RAM_LATENCY ((1 << 8) | (1 << 4) | (1 << 0)) 15 #define PL310_DATA_RAM_LATENCY ((1 << 8) | (2 << 4) | (1 << 0)) 16 17