feat(fvp): add cpu power controlMost newer CPU's have DSU and CPU power control core-off bit whichmeans before turning off CPUs from base power controller we need toturn individual cores off from
feat(fvp): add cpu power controlMost newer CPU's have DSU and CPU power control core-off bit whichmeans before turning off CPUs from base power controller we need toturn individual cores off from CPU Power control.However there are certain older CPU's that don't have DSU anddon't support CPUPWRCTRL_EL1, so populate them as a listand ignore setting core-off bit for those older CPU's as all newerCPU's have them.Note: unfortunately there is no mechanism to identify if a DSU ispresent and CPUPWRCTRL_EL1 is supported through any CPU controlregisters and CPUPWRCTRL_EL1 is supported only for ARM64 platformsand not available in ARM32 platforms.Change-Id: Iba6c3c8db60dbeb177cead7ebc65df8265860da7Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
show more ...
Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__NOTE: __ASSEMBLY__ macro is now deprecated in favor of __ASSEMBLER__.All common C compilers predefine a macro called __ASSEMBLER__ whenpre
Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__NOTE: __ASSEMBLY__ macro is now deprecated in favor of __ASSEMBLER__.All common C compilers predefine a macro called __ASSEMBLER__ whenpreprocessing a .S file. There is no reason for TF-A to define it's own__ASSEMBLY__ macro for this purpose instead. To unify code with theexport headers (which use __ASSEMBLER__ to avoid one extra dependency),let's deprecate __ASSEMBLY__ and switch the code base over to thepredefined standard.Change-Id: Id7d0ec8cf330195da80499c68562b65cb5ab7417Signed-off-by: Julius Werner <jwerner@chromium.org>
fvp: pwrc: Move to drivers/ folderChange-Id: I670ea80e0331c2d4b2ccfa563a45469a43f6902dSigned-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>