Searched refs:rev (Results 1 - 25 of 114) sorted by relevance

12345

/u-boot/arch/arm/mach-uniphier/
H A Dsoc-info.c16 u32 rev = readl(sg_base + SG_REVISION); local
18 return FIELD_GET(SG_REVISION_TYPE_MASK, rev);
23 u32 rev = readl(sg_base + SG_REVISION); local
25 return FIELD_GET(SG_REVISION_MODEL_MASK, rev);
30 u32 rev = readl(sg_base + SG_REVISION); local
32 return FIELD_GET(SG_REVISION_REV_MASK, rev);
H A Dcpu-info.c19 unsigned int id, model, rev, required_model = 1, required_rev = 1; local
28 rev = uniphier_get_soc_revision();
66 printf(" (model %d, revision %d)\n", model, rev);
72 } else if (rev < required_rev) {
/u-boot/board/freescale/common/
H A Deeprom.h19 #define MPC85XX_CPU_BOARD_MAJOR(rev) (((rev) >> 8) & 0xff)
20 #define MPC85XX_CPU_BOARD_MINOR(rev) ((rev) & 0xff)
/u-boot/arch/arm/mach-u8500/
H A Dcpuinfo.c18 u32 rev = asicid & 0xff; local
21 if (rev >= 0xa0)
22 rev -= 0x90;
24 printf("CPU: ST-Ericsson DB%x V%d.%d\n", cpu, rev >> 4, rev & 0xf);
/u-boot/arch/arm/mach-renesas/
H A Dcpu_info-rcar.c32 const u32 rev = prr & PRR_MASK; local
34 if (rev == R8A7796_REV_1_1 || rev == R8A7796_REV_1_3 ||
35 rev == R8A77995_REV_1_1)
44 const u32 rev = prr & PRR_MASK; local
46 if (rev == R8A7796_REV_1_1 || rev == R8A77995_REV_1_1)
48 else if (rev == R8A7796_REV_1_3)
/u-boot/arch/mips/mach-ath79/
H A Dcpu.c54 u32 rev = 0, ver = 1; local
66 rev = id >> AR71XX_REV_ID_REVISION_SHIFT;
67 rev &= AR71XX_REV_ID_REVISION_MASK;
82 rev = id & AR71XX_REV_ID_REVISION2_MASK;
85 rev = id & AR71XX_REV_ID_REVISION_MASK;
99 gd->arch.rev = rev;
108 u32 id, rev, ver; local
120 rev = gd->arch.rev;
[all...]
/u-boot/drivers/soc/
H A Dsoc_ti_k3.c71 u32 rev; local
74 rev = (idreg & JTAG_ID_VARIANT_MASK) >> JTAG_ID_VARIANT_SHIFT;
79 if (rev >= ARRAY_SIZE(j721e_rev_string_map))
81 return j721e_rev_string_map[rev];
84 if (rev >= ARRAY_SIZE(typical_rev_string_map))
86 return typical_rev_string_map[rev];
/u-boot/include/
H A Ddt_table.h45 u32 rev; /* optional, must be zero if unused */ member in struct:dt_table_entry
/u-boot/arch/mips/include/asm/
H A Dglobal_data.h26 unsigned long rev; member in struct:arch_global_data
/u-boot/arch/x86/include/asm/arch-slimbootloader/
H A Dslimbootloader.h54 * @rev : revision of memory_map_info structure. currently 1.
60 u8 rev; member in struct:sbl_memory_map_info
73 * @rev : revision of serial_port_info structure. currently 1.
83 u8 rev; member in struct:sbl_serial_port_info
98 * @rev : revision of performance_info structure. currently 1.
106 u8 rev; member in struct:sbl_performance_info
/u-boot/arch/arm/mach-stm32mp/stm32mp1/
H A Dstm32mp15x.c288 unsigned int *rev)
318 *rev = 1;
321 *rev = 2;
324 *rev = 3;
327 *rev = 4;
330 *rev = 0;
337 unsigned int type, pkg, rev; local
339 get_cpu_string_offsets(&type, &pkg, &rev);
343 soc_type[type], soc_pkg[pkg], soc_rev[rev]);
362 unsigned int type, pkg, rev; local
287 get_cpu_string_offsets(unsigned int *type, unsigned int *pkg, unsigned int *rev) argument
[all...]
/u-boot/scripts/
H A Dsetlocalversion47 if test -z "$(git rev-parse --show-cdup 2>/dev/null)" &&
48 head=$(git rev-parse --verify --short HEAD 2>/dev/null); then
73 printf -- '-svn%s' "$(git svn find-rev $head)"
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/
H A Dehci-omap.c37 u32 rev; local
39 rev = readl(&uhh->rev);
44 switch (rev) {
152 unsigned int i, reg = 0, rev = 0; local
185 rev = readl(&uhh->rev);
186 if (rev == OMAP_USBHS_REV1) {
201 } else if (rev == OMAP_USBHS_REV2) {
214 } else if (rev
[all...]
/u-boot/arch/x86/cpu/ivybridge/
H A Dnorthbridge.c82 static void northbridge_dmi_init(struct udevice *dev, int rev) argument
89 if ((rev & BASE_REV_MASK) == BASE_REV_SNB) {
96 if (rev >= SNB_STEP_D0) {
98 } else if (rev >= SNB_STEP_D1) {
104 if ((rev & BASE_REV_MASK) == BASE_REV_SNB)
110 static void northbridge_init(struct udevice *dev, int rev) argument
115 northbridge_dmi_init(dev, rev);
120 if ((rev & BASE_REV_MASK) == BASE_REV_IVB) {
243 int rev; local
248 rev
[all...]
/u-boot/arch/arm/mach-kirkwood/
H A Dcpu.c151 char *rev = "??"; local
163 rev = "Z0";
165 rev = "A0";
168 rev = "A1";
171 rev = "A0";
174 rev = "A1";
180 printf("SoC: Kirkwood 88F%04x_%s\n", devid, rev);
/u-boot/arch/arm/mach-orion5x/
H A Dcpu.c188 u32 rev = orion5x_device_rev(); local
192 if (rev == MV88F5181_REV_B1)
194 else if (rev == MV88F5181L_REV_A1) {
197 } else if (rev == MV88F5181L_REV_A0) {
203 if (rev == MV88F5182_REV_A2)
207 if (rev == MV88F5281_REV_D2)
209 else if (rev == MV88F5281_REV_D1)
211 else if (rev == MV88F5281_REV_D0)
215 if (rev == MV88F6183_REV_B0)
223 sprintf(rev_str, "0x%02x", rev);
[all...]
/u-boot/board/ronetix/imx7-cm/
H A Dimx7-cm.c36 unsigned int reg, rev; local
47 rev = pmic_reg_read(dev, PFUZE3000_REVID);
48 printf("PMIC: PFUZE3000 DEV_ID=0x%x REV_ID=0x%x\n", reg, rev);
/u-boot/arch/arm/cpu/armv8/
H A Dsec_firmware_asm.S26 rev w3, w3
31 rev w3, w3
/u-boot/drivers/video/
H A Divybridge_igd.c279 static int gma_pm_init_pre_vbios(void *gtt_bar, int rev) argument
283 debug("GT Power Management Init, silicon = %#x\n", rev);
285 if (rev < IVB_STEP_C0) {
295 if ((rev & BASE_REV_MASK) == BASE_REV_SNB) {
302 if (rev >= IVB_STEP_A0) {
311 if ((rev & BASE_REV_MASK) == BASE_REV_SNB) {
360 if (rev >= SNB_STEP_D1)
365 if (((rev & BASE_REV_MASK) == BASE_REV_SNB) &&
366 (rev >= SNB_STEP_D2)) {
378 if ((rev
464 gma_pm_init_post_vbios(struct udevice *dev, int rev, void *gtt_bar) argument
729 int rev; local
760 int ret, rev; local
[all...]
/u-boot/arch/arm/mach-keystone/
H A Dinit.c220 u8 rev = cpu_revision(); local
252 if (rev == 2)
254 else if (rev == 1)
256 else if (rev == 0)
258 else if (rev == 8)
/u-boot/drivers/cpu/
H A Dimx8_cpu.c24 const char *rev; member in struct:cpu_imx_plat
61 static const char *get_imx_rev_str(u32 rev) argument
66 switch (rev) {
77 revision[0] = '1' + (((rev & 0xf0) - CHIP_REV_1_0) >> 4);
79 revision[2] = '0' + (rev & 0xf);
155 plat->type, plat->rev, plat->name, plat->freq_mhz);
290 plat->rev = get_imx_rev_str(cpurev & 0xFFF);
/u-boot/arch/arm/mach-mvebu/alleycat5/
H A Dsoc.c172 static int get_soc_type_rev(u32 *type, u32 *rev) argument
175 *rev = (readl(DEVICE_ID_REG) & REV_ID_MASK) >> REV_ID_OFFSET;
193 u32 soc_type, rev; local
196 get_soc_type_rev(&soc_type, &rev);
207 u32 rev, i, ret = 1; local
210 get_soc_type_rev(&soc_type, &rev);
214 rev != soc_info_table[i].rev_id)
/u-boot/board/purism/librem5/
H A Dlibrem5.c406 u32 rev, dtb_rev = 4; local
411 if (fuse_read(9, 0, &rev)) {
413 } else if (rev == 0) {
421 } else if (rev > 0) {
422 if (rev == 1)
424 else if (rev < dtb_rev)
425 dtb_rev = rev;
431 else if (rev == 5)
433 sprintf(rev_str, "%u", rev);
438 printf("Board rev
[all...]
/u-boot/board/imgtec/malta/
H A Dmalta.c63 u32 corid, rev; local
66 rev = __raw_readl(reg);
67 corid = (rev & MALTA_REVISION_CORID_MSK) >> MALTA_REVISION_CORID_SHF;
/u-boot/arch/arm/mach-omap2/am33xx/
H A Dsys_info.c26 * get_cpu_rev(void) - extract rev info
31 u32 rev; local
34 rev = (id >> 28) & 0xff;
36 return rev;
130 printf("CPU : %s-%s rev %s\n", cpu_s, sec_s, rev_s);

Completed in 387 milliseconds

12345