Skip to content
  • Andy Fleming's avatar
    Update SVR numbers to expand support · 1ced1216
    Andy Fleming authored
    
    
    FSL has taken to using SVR[16:23] as an SOC sub-version field.  This
    is used to distinguish certain variants within an SOC family.  To
    account for this, we add the SVR_SOC_VER() macro, and update the SVR_*
    constants to reflect the larger value.  We also add SVR numbers for all
    of the current variants.  Finally, to make things neater, rather than
    use an enormous switch statement to print out the CPU type, we create
    and array of SVR/name pairs (using a macro), and print out the CPU name
    that matches the SVR SOC version.
    
    Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
    1ced1216