/openbmc/u-boot/include/ |
H A D | fsl_errata.h | 23 if (((SVR_SOC_VER(svr) == SVR_T4240) && SVR_MAJ(svr) <= 1) || in has_erratum_a006379() 24 ((SVR_SOC_VER(svr) == SVR_T4160) && SVR_MAJ(svr) <= 1) || in has_erratum_a006379() 25 ((SVR_SOC_VER(svr) == SVR_T4080) && SVR_MAJ(svr) <= 1) || in has_erratum_a006379() 26 ((SVR_SOC_VER(svr) == SVR_B4860) && SVR_MAJ(svr) <= 2) || in has_erratum_a006379() 27 ((SVR_SOC_VER(svr) == SVR_B4420) && SVR_MAJ(svr) <= 2) || in has_erratum_a006379() 28 ((SVR_SOC_VER(svr) == SVR_T2080) && SVR_MAJ(svr) <= 1) || in has_erratum_a006379() 29 ((SVR_SOC_VER(svr) == SVR_T2081) && SVR_MAJ(svr) <= 1)) in has_erratum_a006379()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | cmd_errata.c | 56 if (SVR_MAJ(svr) == 2) in check_erratum_a4849() 58 if (SVR_MAJ(svr) == 3) in check_erratum_a4849() 158 if (SVR_MAJ(svr) < 3) in do_errata() 189 if (SVR_MAJ(svr) < 3) in do_errata() 224 if ((SVR_MAJ(svr) == 1) || IS_SVR_REV(svr, 2, 0)) in do_errata() 231 if ((SVR_MAJ(svr) == 1) || IS_SVR_REV(svr, 2, 0)) in do_errata() 251 if (SVR_MAJ(get_svr()) == 1) in do_errata() 255 if (SVR_MAJ(get_svr()) == 1) in do_errata()
|
H A D | cpu_init.c | 455 if ((SVR_MAJ(svr) == 1) || ((SVR_MAJ(svr) == 2 && SVR_MIN(svr) == 0x0))) in cpu_init_f() 749 enable_cpu_a011_workaround = (SVR_MAJ(svr) < 3); in cpu_init_r() 768 (SVR_SOC_VER(svr) == SVR_P4080 && SVR_MAJ(svr) < 3) || in cpu_init_r() 769 (SVR_SOC_VER(svr) != SVR_P4080 && SVR_MAJ(svr) < 2); in cpu_init_r() 866 if (SVR_MAJ(svr) < 3) { in cpu_init_r()
|
H A D | speed.c | 136 if (SVR_MAJ(svr) >= 2) in get_sys_info() 141 if ((SVR_MAJ(svr) > 1) || (SVR_MIN(svr) >= 1)) in get_sys_info()
|
H A D | mp.c | 210 if (SVR_SOC_VER(svr) == SVR_T4240 && SVR_MAJ(svr) < 2) { in determine_mp_bootpg()
|
H A D | cpu.c | 82 major = SVR_MAJ(svr); in checkcpu()
|
/openbmc/u-boot/arch/arm/include/asm/arch-fsl-layerscape/ |
H A D | soc.h | 106 #define SVR_MAJ(svr) (((svr) >> 4) & 0xf) macro 115 ((SVR_MAJ(svr) == (maj)) && (SVR_MIN(svr) == (min)))
|
/openbmc/u-boot/board/freescale/mpc8536ds/ |
H A D | mpc8536ds.c | 41 if ((((SVR_MAJ(get_svr()) & 0x7) == 0x1) && in board_early_init_f() 43 || (SVR_MAJ(get_svr() & 0x7) > 0x1)) in board_early_init_f()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | mpc85xx.h | 12 #define SVR_MAJ(svr) (((svr) >> 4) & 0xF) /* Major revision field*/ macro
|
/openbmc/u-boot/arch/arm/include/asm/arch-ls102xa/ |
H A D | immap_ls102xa.h | 10 #define SVR_MAJ(svr) (((svr) >> 4) & 0xf) macro 15 ((SVR_MAJ(svr) == maj) && (SVR_MIN(svr) == min))
|
/openbmc/u-boot/drivers/ddr/fsl/ |
H A D | mpc85xx_ddr_gen2.c | 38 if ((SVR_MAJ(svr) == 1) || IS_SVR_REV(svr, 2, 0)) { in fsl_ddr_set_memctl_regs()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/ |
H A D | cpu.c | 43 major = SVR_MAJ(svr); in checkcpu()
|
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/ |
H A D | soc.c | 58 major = SVR_MAJ(svr); in get_soc_major_rev()
|
H A D | cpu.c | 236 major = SVR_MAJ(svr); in print_cpuinfo()
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | processor.h | 1029 #define SVR_MAJ(svr) (((svr) >> 4) & 0x7) /* Major revision field*/ macro 1031 #define SVR_MAJ(svr) (((svr) >> 4) & 0xF) /* Major revision field*/ macro 1048 ((SVR_MAJ(svr) == maj) && (SVR_MIN(svr) == min))
|
/openbmc/u-boot/board/freescale/b4860qds/ |
H A D | b4860qds.c | 1063 if (SVR_MAJ(get_svr()) == 1) { in board_early_init_r()
|
/openbmc/u-boot/drivers/net/ |
H A D | tsec.c | 535 if ((SVR_MAJ(svr) == 1) || IS_SVR_REV(svr, 2, 0)) in startup_tsec()
|
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
H A D | cpu.c | 383 SVR_MAJ(svr), SVR_MIN(svr)); in cpu_name()
|