On Thu, 6 Apr 2023 at 11:50, Tom Rini <[email protected]> wrote: > > When building for ARM64, we need to pass -ffixed-x18 and otherwise pass > -ffixed-r9. Rather than having this logic in two places, we can do this > once in arch/arm/config.mk. Further, while gcc will ignore being passed > both -ffixed-r9 and -ffixed-x18 and simply use -ffixed-x18, clang will > note that -ffixed-r9 is not used. Remove this duplication to also remove > the warning. > > Signed-off-by: Tom Rini <[email protected]> > --- > arch/arm/config.mk | 10 ++++++++-- > arch/arm/cpu/armv8/config.mk | 1 - > 2 files changed, 8 insertions(+), 3 deletions(-)
Reviewed-by: Simon Glass <[email protected]>

