Home
last modified time | relevance | path

Searched refs:spridr (Results 1 – 11 of 11) sorted by relevance

/u-boot/arch/powerpc/cpu/mpc83xx/
A Dcpu.c41 u32 spridr; in checkcpu() local
99 spridr = immr->sysconf.spridr; in checkcpu()
102 if (cpu_type_list[i].partid == PARTID_NO_E(spridr)) { in checkcpu()
105 if (IS_E_PROCESSOR(spridr)) in checkcpu()
107 if ((SPR_FAMILY(spridr) == SPR_834X_FAMILY || in checkcpu()
108 SPR_FAMILY(spridr) == SPR_836X_FAMILY) && in checkcpu()
109 REVID_MAJOR(spridr) >= 2) in checkcpu()
111 printf(", Rev: %d.%d", REVID_MAJOR(spridr), in checkcpu()
112 REVID_MINOR(spridr)); in checkcpu()
117 printf("(SPRIDR %08x unknown), ", spridr); in checkcpu()
A Dfdt.c38 int spridr = immr->sysconf.spridr; in ft_cpu_setup() local
46 if (!IS_E_PROCESSOR(spridr)) in ft_cpu_setup()
48 else if (IS_E_PROCESSOR(spridr) && in ft_cpu_setup()
49 (SPR_FAMILY(spridr) == SPR_834X_FAMILY || in ft_cpu_setup()
50 SPR_FAMILY(spridr) == SPR_836X_FAMILY) && in ft_cpu_setup()
51 REVID_MAJOR(spridr) >= 2) in ft_cpu_setup()
63 if (REVID_MAJOR(immr->sysconf.spridr) >= 2) { in ft_cpu_setup()
/u-boot/drivers/cpu/
A Dmpc83xx_cpu.c56 return in_be32(&immr->sysconf.spridr); in get_spridr()
206 u32 spridr = get_spridr(); in determine_revid() local
216 priv->revid.major = bitfield_extract_by_mask(spridr, REVID_MAJOR_MASK); in determine_revid()
217 priv->revid.minor = bitfield_extract_by_mask(spridr, REVID_MINOR_MASK); in determine_revid()
228 u32 spridr = get_spridr(); in determine_cpu_data() local
239 priv->is_e_processor = !bitfield_extract_by_mask(spridr, E_FLAG_MASK); in determine_cpu_data()
/u-boot/board/freescale/mpc837xerdb/
A Dpci.c73 u32 spridr = in_be32(&immr->sysconf.spridr); in pci_init_board() local
89 if (PARTID_NO_E(spridr) == SPR_8379) in pci_init_board()
A Dmpc837xerdb.c144 u32 spridr = in_be32(&immr->sysconf.spridr); in board_early_init_f() local
147 switch (PARTID_NO_E(spridr)) { in board_early_init_f()
166 "%04x\n", spridr >> 16); in board_early_init_f()
/u-boot/board/freescale/mpc837xemds/
A Dpci.c88 u32 spridr = in_be32(&immr->sysconf.spridr); in pci_init_board() local
110 if (PARTID_NO_E(spridr) == SPR_8379) in pci_init_board()
A Dmpc837xemds.c40 u32 spridr = in_be32(&immr->sysconf.spridr); in board_early_init_f() local
43 switch (PARTID_NO_E(spridr)) { in board_early_init_f()
60 "%04x\n", spridr >> 16); in board_early_init_f()
/u-boot/include/
A Dmpc83xx.h54 #define REVID_MAJOR(spridr) ((spridr & 0x0000FF00) >> 8) argument
55 #define REVID_MINOR(spridr) (spridr & 0x000000FF) argument
57 #define REVID_MAJOR(spridr) ((spridr & 0x000000F0) >> 4) argument
58 #define REVID_MINOR(spridr) (spridr & 0x0000000F) argument
61 #define PARTID_NO_E(spridr) ((spridr & 0xFFFE0000) >> 16) argument
62 #define SPR_FAMILY(spridr) ((spridr & 0xFFF00000) >> 20) argument
/u-boot/board/tqc/tqm834x/
A Dtqm834x.c406 if ((im->sysconf.spridr & SPRIDR_REVID) < 0x200) { in set_ddr_config()
/u-boot/arch/powerpc/include/asm/
A Dprocessor.h1043 #define IS_E_PROCESSOR(spridr) (!(spridr & 0x00010000)) argument
A Dimmap_83xx.h49 u32 spridr; /* System Part and Revision ID Register */ member

Completed in 32 milliseconds