openrisc: add cache way information to cpuinfo
Motivation for this is to be able to print the way information properly in print_cpuinfo(), instead of hardcoding it to one. Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> Signed-off-by: Jonas Bonn <jonas@southpole.se> [shorne@gmail.com fixed conflict with show_cpuinfo change] Signed-off-by: Stafford Horne <shorne@gmail.com>
This commit is contained in:

committed by
Stafford Horne

parent
c0fcaf554e
commit
3e06a16339
@@ -24,9 +24,11 @@ struct cpuinfo {
|
||||
|
||||
u32 icache_size;
|
||||
u32 icache_block_size;
|
||||
u32 icache_ways;
|
||||
|
||||
u32 dcache_size;
|
||||
u32 dcache_block_size;
|
||||
u32 dcache_ways;
|
||||
};
|
||||
|
||||
extern struct cpuinfo cpuinfo;
|
||||
|
Reference in New Issue
Block a user