1 /* SPDX-License-Identifier: GPL-2.0 */ 2 // Copyright (C) 2005-2017 Andes Technology Corporation 3 4 struct cache_info { 5 unsigned char ways; 6 unsigned char line_size; 7 unsigned short sets; 8 unsigned short size; 9 #if defined(CONFIG_CPU_CACHE_ALIASING) 10 unsigned short aliasing_num; 11 unsigned int aliasing_mask; 12 #endif 13 }; 14