Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06aae867 authored by Scott Wood's avatar Scott Wood Committed by Avi Kivity
Browse files

powerpc/e500: split CPU_FTRS_ALWAYS/CPU_FTRS_POSSIBLE



Split e500 (v1/v2) and e500mc/e5500 to allow optimization of feature
checks that differ between the two.

Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 52b066fa
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -487,8 +487,10 @@ enum {
	    CPU_FTRS_E200 |
#endif
#ifdef CONFIG_E500
	    CPU_FTRS_E500 | CPU_FTRS_E500_2 | CPU_FTRS_E500MC |
	    CPU_FTRS_E5500 | CPU_FTRS_E6500 |
	    CPU_FTRS_E500 | CPU_FTRS_E500_2 |
#endif
#ifdef CONFIG_PPC_E500MC
	    CPU_FTRS_E500MC | CPU_FTRS_E5500 | CPU_FTRS_E6500 |
#endif
	    0,
};
@@ -532,8 +534,10 @@ enum {
	    CPU_FTRS_E200 &
#endif
#ifdef CONFIG_E500
	    CPU_FTRS_E500 & CPU_FTRS_E500_2 & CPU_FTRS_E500MC &
	    CPU_FTRS_E5500 & CPU_FTRS_E6500 &
	    CPU_FTRS_E500 & CPU_FTRS_E500_2 &
#endif
#ifdef CONFIG_PPC_E500MC
	    CPU_FTRS_E500MC & CPU_FTRS_E5500 & CPU_FTRS_E6500 &
#endif
	    CPU_FTRS_POSSIBLE,
};