Home
last modified time | relevance | path

Searched refs:rev (Results 1 – 25 of 143) sorted by relevance

123456

/u-boot/arch/arm/mach-uniphier/
A Dsoc-info.c16 u32 rev = readl(sg_base + SG_REVISION); in uniphier_get_soc_id() local
18 return FIELD_GET(SG_REVISION_TYPE_MASK, rev); in uniphier_get_soc_id()
23 u32 rev = readl(sg_base + SG_REVISION); in uniphier_get_soc_model() local
25 return FIELD_GET(SG_REVISION_MODEL_MASK, rev); in uniphier_get_soc_model()
30 u32 rev = readl(sg_base + SG_REVISION); in uniphier_get_soc_revision() local
32 return FIELD_GET(SG_REVISION_REV_MASK, rev); in uniphier_get_soc_revision()
A Dcpu-info.c19 unsigned int id, model, rev, required_model = 1, required_rev = 1; in print_cpuinfo() local
28 rev = uniphier_get_soc_revision(); in print_cpuinfo()
66 printf(" (model %d, revision %d)\n", model, rev); in print_cpuinfo()
72 } else if (rev < required_rev) { in print_cpuinfo()
/u-boot/arch/mips/mach-ath79/
A Dcpu.c55 u32 rev = 0, ver = 1; in mach_cpu_init() local
67 rev = id >> AR71XX_REV_ID_REVISION_SHIFT; in mach_cpu_init()
68 rev &= AR71XX_REV_ID_REVISION_MASK; in mach_cpu_init()
83 rev = id & AR71XX_REV_ID_REVISION2_MASK; in mach_cpu_init()
86 rev = id & AR71XX_REV_ID_REVISION_MASK; in mach_cpu_init()
100 gd->arch.rev = rev; in mach_cpu_init()
109 u32 id, rev, ver; in print_cpuinfo() local
121 rev = gd->arch.rev; in print_cpuinfo()
130 ver, rev); in print_cpuinfo()
133 printf("Qualcomm Atheros TP%s rev %u\n", chip, rev); in print_cpuinfo()
[all …]
/u-boot/arch/arm/mach-rmobile/
A Dcpu_info-rcar.c32 const u32 rev = prr & PRR_MASK; in rmobile_get_cpu_rev_integer() local
34 if (rev == R8A7796_REV_1_1 || rev == R8A7796_REV_1_3) in rmobile_get_cpu_rev_integer()
43 const u32 rev = prr & PRR_MASK; in rmobile_get_cpu_rev_fraction() local
45 if (rev == R8A7796_REV_1_1) in rmobile_get_cpu_rev_fraction()
47 else if (rev == R8A7796_REV_1_3) in rmobile_get_cpu_rev_fraction()
A Dcpu_info-sh73a0.c24 u32 rev; in rmobile_get_cpu_rev_integer() local
28 rev = ((id >> 4) & 0xF) + 1; in rmobile_get_cpu_rev_integer()
30 return rev; in rmobile_get_cpu_rev_integer()
36 u32 rev; in rmobile_get_cpu_rev_fraction() local
40 rev = id & 0xF; in rmobile_get_cpu_rev_fraction()
42 return rev; in rmobile_get_cpu_rev_fraction()
A Dcpu_info-r8a7740.c24 u32 rev; in rmobile_get_cpu_rev() local
28 rev = (id >> 4) & 0xF; in rmobile_get_cpu_rev()
30 return rev; in rmobile_get_cpu_rev()
/u-boot/arch/arm/mach-u8500/
A Dcpuinfo.c18 u32 rev = asicid & 0xff; in print_cpuinfo() local
21 if (rev >= 0xa0) in print_cpuinfo()
22 rev -= 0x90; in print_cpuinfo()
24 printf("CPU: ST-Ericsson DB%x V%d.%d\n", cpu, rev >> 4, rev & 0xf); in print_cpuinfo()
/u-boot/board/freescale/common/
A Deeprom.h19 #define MPC85XX_CPU_BOARD_MAJOR(rev) (((rev) >> 8) & 0xff) argument
20 #define MPC85XX_CPU_BOARD_MINOR(rev) ((rev) & 0xff) argument
/u-boot/arch/x86/cpu/ivybridge/
A Dnorthbridge.c82 static void northbridge_dmi_init(struct udevice *dev, int rev) in northbridge_dmi_init() argument
89 if ((rev & BASE_REV_MASK) == BASE_REV_SNB) { in northbridge_dmi_init()
96 if (rev >= SNB_STEP_D0) { in northbridge_dmi_init()
98 } else if (rev >= SNB_STEP_D1) { in northbridge_dmi_init()
104 if ((rev & BASE_REV_MASK) == BASE_REV_SNB) in northbridge_dmi_init()
110 static void northbridge_init(struct udevice *dev, int rev) in northbridge_init() argument
115 northbridge_dmi_init(dev, rev); in northbridge_init()
120 if ((rev & BASE_REV_MASK) == BASE_REV_IVB) { in northbridge_init()
243 int rev; in bd82x6x_northbridge_probe() local
248 rev = bridge_silicon_revision(dev); in bd82x6x_northbridge_probe()
[all …]
/u-boot/drivers/video/
A Divybridge_igd.c285 if (rev < IVB_STEP_C0) { in gma_pm_init_pre_vbios()
302 if (rev >= IVB_STEP_A0) { in gma_pm_init_pre_vbios()
360 if (rev >= SNB_STEP_D1) in gma_pm_init_pre_vbios()
366 (rev >= SNB_STEP_D2)) { in gma_pm_init_pre_vbios()
473 if (rev < IVB_STEP_C0) { in gma_pm_init_post_vbios()
729 int rev; in gma_func0_init() local
752 return rev; in gma_func0_init()
760 int ret, rev; in bd82x6x_video_probe() local
762 rev = gma_func0_init(dev); in bd82x6x_video_probe()
763 if (rev < 0) in bd82x6x_video_probe()
[all …]
/u-boot/lib/efi_loader/
A Dhelloworld.c37 u16 rev[] = L"0.0.0"; in print_uefi_revision() local
39 rev[0] = (systable->hdr.revision >> 16) + '0'; in print_uefi_revision()
40 rev[4] = systable->hdr.revision & 0xffff; in print_uefi_revision()
41 for (; rev[4] >= 10;) { in print_uefi_revision()
42 rev[4] -= 10; in print_uefi_revision()
43 ++rev[2]; in print_uefi_revision()
46 if (rev[4]) in print_uefi_revision()
47 rev[4] += '0'; in print_uefi_revision()
49 rev[3] = 0; in print_uefi_revision()
52 con_out->output_string(con_out, rev); in print_uefi_revision()
/u-boot/arch/arm/mach-orion5x/
A Dcpu.c188 u32 rev = orion5x_device_rev(); in print_cpuinfo() local
192 if (rev == MV88F5181_REV_B1) in print_cpuinfo()
194 else if (rev == MV88F5181L_REV_A1) { in print_cpuinfo()
197 } else if (rev == MV88F5181L_REV_A0) { in print_cpuinfo()
203 if (rev == MV88F5182_REV_A2) in print_cpuinfo()
207 if (rev == MV88F5281_REV_D2) in print_cpuinfo()
209 else if (rev == MV88F5281_REV_D1) in print_cpuinfo()
211 else if (rev == MV88F5281_REV_D0) in print_cpuinfo()
215 if (rev == MV88F6183_REV_B0) in print_cpuinfo()
223 sprintf(rev_str, "0x%02x", rev); in print_cpuinfo()
/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
A Dfdt.c237 int irq_0, int irq_1, int rev) in _fdt_fixup_msi_node() argument
256 if (rev > REV1_0) { in _fdt_fixup_msi_node()
288 if (rev > REV1_0) in _fdt_fixup_msi_node()
301 if (rev > REV1_0) in _fdt_fixup_msi_node()
340 if (rev == REV1_0) { in _fdt_fixup_pci_msi()
364 unsigned int rev; in fdt_fixup_msi() local
366 rev = gur_in32(&gur->svr); in fdt_fixup_msi()
371 rev = SVR_REV(rev); in fdt_fixup_msi()
374 116, 111, rev); in fdt_fixup_msi()
376 126, 121, rev); in fdt_fixup_msi()
[all …]
/u-boot/arch/arm/mach-kirkwood/
A Dcpu.c151 char *rev = "??"; in print_cpuinfo() local
163 rev = "Z0"; in print_cpuinfo()
165 rev = "A0"; in print_cpuinfo()
168 rev = "A1"; in print_cpuinfo()
171 rev = "A0"; in print_cpuinfo()
174 rev = "A1"; in print_cpuinfo()
180 printf("SoC: Kirkwood 88F%04x_%s\n", devid, rev); in print_cpuinfo()
/u-boot/scripts/
A Dsetlocalversion48 head=$(git rev-parse --verify --short HEAD 2>/dev/null); then
118 if rev=$(LANG= LC_ALL= LC_MESSAGES=C svn info 2>/dev/null | grep '^Last Changed Rev'); then
119 rev=$(echo $rev | awk '{print $NF}')
120 printf -- '-svn%s' "$rev"
/u-boot/drivers/usb/host/
A Dehci-omap.c37 u32 rev; in omap_uhh_reset() local
39 rev = readl(&uhh->rev); in omap_uhh_reset()
44 switch (rev) { in omap_uhh_reset()
198 unsigned int i, reg = 0, rev = 0; local
230 rev = readl(&uhh->rev);
231 if (rev == OMAP_USBHS_REV1) {
246 } else if (rev == OMAP_USBHS_REV2) {
259 } else if (rev == OMAP_USBHS_REV2_1) {
279 debug("OMAP UHH_REVISION 0x%x\n", rev);
/u-boot/arch/x86/include/asm/arch-slimbootloader/
A Dslimbootloader.h61 u8 rev; member
84 u8 rev; member
107 u8 rev; member
/u-boot/arch/arm/mach-keystone/
A Dinit.c221 u8 rev = cpu_revision(); in print_cpuinfo() local
253 if (rev == 2) in print_cpuinfo()
255 else if (rev == 1) in print_cpuinfo()
257 else if (rev == 0) in print_cpuinfo()
259 else if (rev == 8) in print_cpuinfo()
/u-boot/board/freescale/ls1012afrdm/
A Dls1012afrdm.c48 int rev; in checkboard()
50 rev = get_board_version(); in checkboard()
56 switch (rev) { in checkboard()
/u-boot/drivers/soc/
A Dsoc_ti_k3.c57 u32 rev; in get_rev_string() local
59 rev = (idreg & JTAG_ID_VARIANT_MASK) >> JTAG_ID_VARIANT_SHIFT; in get_rev_string()
61 switch (rev) { in get_rev_string()
/u-boot/arch/arm/include/asm/mach-imx/
A Dsys_proto.h19 #define is_soc_rev(rev) (soc_rev() == rev) argument
22 #define cpu_type(rev) (((rev) >> 12) & 0x1ff) argument
23 #define soc_type(rev) (((rev) >> 12) & 0xf0) argument
/u-boot/arch/arm/mach-tegra/
A Dap.c25 int rev; in tegra_get_chip() local
34 rev = (readl(&gp->hidrev) & HIDREV_CHIPID_MASK) >> HIDREV_CHIPID_SHIFT; in tegra_get_chip()
35 debug("%s: CHIPID is 0x%02X\n", __func__, rev); in tegra_get_chip()
37 return rev; in tegra_get_chip()
/u-boot/drivers/cpu/
A Dimx8_cpu.c22 const char *rev; member
43 const char *get_imx8_rev(u32 rev) in get_imx8_rev() argument
45 switch (rev) { in get_imx8_rev()
113 plat->type, plat->rev, plat->name, plat->freq_mhz); in cpu_imx_get_desc()
216 plat->rev = get_imx8_rev(cpurev & 0xFFF); in imx8_cpu_probe()
/u-boot/arch/x86/cpu/intel_common/
A Dmicrocode.c133 int rev; in microcode_update_intel() local
173 rev = microcode_read_rev(); in microcode_update_intel()
175 rev, update.date_code & 0xffff, in microcode_update_intel()
178 if (update.update_revision != rev) { in microcode_update_intel()
/u-boot/arch/arm/cpu/arm926ejs/mxs/
A Dmxs.c138 uint8_t rev = readl(&digctl_regs->hw_digctl_chipid) & 0x000000FF; in get_cpu_rev() local
142 switch (rev) { in get_cpu_rev()
148 return (MXC_CPU_MX23 << 12) | (rev + 0x10); in get_cpu_rev()
153 switch (rev) { in get_cpu_rev()

Completed in 28 milliseconds

123456