[AML] Be rid of damned cpu type magic numbers

As per title.
@davilla I guessed at the M1 checks, can you verify the correct?