ARCv2: Support dynamic peripheral address space in HS38 rel 3.0 cores
HS release 3.0 provides for even more flexibility in specifying the volatile address space for mapping peripherals. With HS 2.1 @start was made flexible / programmable - with HS 3.0 even @end can be setup (vs. fixed to 0xFFFF_FFFF before). So add code to reflect that and while at it remove an unused struct defintion Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
@@ -19,7 +19,7 @@ static inline bool arc_uncached_addr_space(phys_addr_t paddr)
|
||||
if (is_isa_arcompact()) {
|
||||
if (paddr >= ARC_UNCACHED_ADDR_SPACE)
|
||||
return true;
|
||||
} else if (paddr >= perip_base && paddr <= 0xFFFFFFFF) {
|
||||
} else if (paddr >= perip_base && paddr <= perip_end) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user