Remove use of PLATFORM_CACHE_LINE_SIZE
The required platform constant PLATFORM_CACHE_LINE_SIZE is unnecessary since CACHE_WRITEBACK_GRANULE effectively provides the same information. CACHE_WRITEBACK_GRANULE is preferred since this is an architecturally defined term and allows comparison with the corresponding hardware register value. Replace all usage of PLATFORM_CACHE_LINE_SIZE with CACHE_WRITEBACK_GRANULE. Also, add a runtime assert in BL1 to check that the provided CACHE_WRITEBACK_GRANULE matches the value provided in CTR_EL0. Change-Id: If87286be78068424217b9f3689be358356500dcd |
---|
|
bl1/bl1_main.c |
---|
include/lib/aarch64/arch.h |
---|
include/lib/aarch64/arch_helpers.h |
---|
plat/fvp/bl2_fvp_setup.c |
---|
plat/fvp/include/platform_def.h |
---|
plat/juno/bl2_plat_setup.c |
---|
plat/juno/include/platform_def.h |
---|