/openbmc/u-boot/board/freescale/common/ |
H A D | qixis.c | 59 minor = QIXIS_READ(tagdata); in qixis_read_minor() 61 minor += QIXIS_READ(tagdata) << 8; in qixis_read_minor() 74 time = (time << 8) + QIXIS_READ(tagdata); in qixis_read_time() 87 tag = QIXIS_READ(tagdata); in qixis_read_tag() 124 rst = QIXIS_READ(rst_frc[0]); in board_assert_mem_reset() 133 rst = QIXIS_READ(rst_frc[0]); in board_deassert_mem_reset() 155 reg = QIXIS_READ(brdcfg[QIXIS_LBMAP_BRDCFG_REG]); in set_lbmap() 164 reg = QIXIS_READ(dutcfg[1]); in set_rcw_src() 174 printf("id = %02x\n", QIXIS_READ(id)); in qixis_dump_regs() 175 printf("arch = %02x\n", QIXIS_READ(arch)); in qixis_dump_regs() [all …]
|
H A D | qixis.h | 103 #define QIXIS_READ(reg) qixis_read_i2c(offsetof(struct qixis, reg)) macro 107 #define QIXIS_READ(reg) qixis_read(offsetof(struct qixis, reg)) macro
|
/openbmc/u-boot/board/freescale/t208xqds/ |
H A D | t208xqds.c | 38 sw = QIXIS_READ(arch); in checkboard() 39 printf("Sys ID: 0x%02x, Board Arch: V%d, ", QIXIS_READ(id), sw >> 4); in checkboard() 47 sw = QIXIS_READ(brdcfg[0]); in checkboard() 60 printf("FPGA: v%d (%s), build %d", (int)QIXIS_READ(scver), in checkboard() 66 sw = QIXIS_READ(brdcfg[2]); in checkboard() 358 QIXIS_WRITE(brdcfg[5], QIXIS_READ(brdcfg[5]) & ~BRDCFG5_IRE); in board_early_init_r() 375 u8 sysclk_conf = QIXIS_READ(brdcfg[1]); in get_board_sys_clk() 378 int freq = QIXIS_READ(clk_freq[0]) << 8 | QIXIS_READ(clk_freq[1]); in get_board_sys_clk() 379 int base = QIXIS_READ(clk_base[0]) << 8 | QIXIS_READ(clk_base[1]); in get_board_sys_clk() 413 u8 ddrclk_conf = QIXIS_READ(brdcfg[1]); in get_board_ddr_clk() [all …]
|
H A D | spl.c | 28 u8 sysclk_conf = QIXIS_READ(brdcfg[1]); in get_board_sys_clk() 51 u8 ddrclk_conf = QIXIS_READ(brdcfg[1]); in get_board_ddr_clk()
|
/openbmc/u-boot/board/freescale/lx2160a/ |
H A D | lx2160a.c | 223 sw = QIXIS_READ(arch); in checkboard() 229 sw = QIXIS_READ(brdcfg[0]); in checkboard() 250 (int)QIXIS_READ(scver), qixis_read_tag(buf), in checkboard() 256 sw = QIXIS_READ(brdcfg[2]); in checkboard() 262 sw = QIXIS_READ(brdcfg[3]); in checkboard() 269 sw = QIXIS_READ(brdcfg[12]); in checkboard() 274 printf("FPGA: v%d.%d\n", QIXIS_READ(scver), QIXIS_READ(tagdata)); in checkboard() 301 return ((QIXIS_READ(res1[1]) & QIXIS_SDID_MASK) != in qixis_esdhc_detect_quirk() 324 reg5 = QIXIS_READ(brdcfg[5]); in config_board_mux() 337 reg11 = QIXIS_READ(brdcfg[11]); in config_board_mux() [all …]
|
/openbmc/u-boot/board/freescale/t4qds/ |
H A D | t4240qds.c | 48 QIXIS_READ(id), QIXIS_READ(arch)); in checkboard() 50 sw = QIXIS_READ(brdcfg[0]); in checkboard() 63 (int)QIXIS_READ(scver), qixis_read_tag(buf), in checkboard() 77 sw = QIXIS_READ(brdcfg[2]); in checkboard() 294 vid_current = QIXIS_READ(brdcfg[6]); in adjust_vdd() 442 brdcfg = QIXIS_READ(brdcfg[12]); in config_backside_crossbar_mux() 464 brdcfg = QIXIS_READ(brdcfg[12]); in config_backside_crossbar_mux() 485 brdcfg = QIXIS_READ(brdcfg[12]); in config_backside_crossbar_mux() 497 brdcfg = QIXIS_READ(brdcfg[12]); in config_backside_crossbar_mux() 512 brdcfg = QIXIS_READ(brdcfg[12]); in config_backside_crossbar_mux() [all …]
|
H A D | spl.c | 29 u8 sysclk_conf = QIXIS_READ(brdcfg[1]); in get_board_sys_clk() 52 u8 ddrclk_conf = QIXIS_READ(brdcfg[1]); in get_board_ddr_clk()
|
H A D | eth.c | 101 brdcfg4 = QIXIS_READ(brdcfg[4]); in t4240qds_mux_mdio() 625 if (QIXIS_READ(present2) & (1 << (slot - 1))) in board_eth_init() 668 if (QIXIS_READ(present2) & (1 << (slot - 1))) in board_eth_init() 803 if (QIXIS_READ(present2) & (1 << (slot - 1))) in board_eth_init() 849 if (QIXIS_READ(present2) & (1 << (slot - 1))) in board_eth_init()
|
/openbmc/u-boot/board/freescale/t1040qds/ |
H A D | t1040qds.c | 39 QIXIS_READ(id), QIXIS_READ(arch)); in checkboard() 41 sw = QIXIS_READ(brdcfg[0]); in checkboard() 56 (int)QIXIS_READ(scver), qixis_read_tag(buf), in checkboard() 70 sw = QIXIS_READ(brdcfg[2]); in checkboard() 97 brdcfg15 = QIXIS_READ(brdcfg[15]); in qe_board_setup() 104 brdcfg15 = QIXIS_READ(brdcfg[15]); in qe_board_setup() 105 brdcfg9 = QIXIS_READ(brdcfg[9]); in qe_board_setup() 161 u8 sysclk_conf = QIXIS_READ(brdcfg[1]); in get_board_sys_clk() 186 u8 ddrclk_conf = QIXIS_READ(brdcfg[1]); in get_board_ddr_clk() 208 sw = QIXIS_READ(brdcfg[2]); in misc_init_r() [all …]
|
H A D | diu.c | 76 sw = QIXIS_READ(brdcfg[5]); in platform_diu_init() 81 sw = QIXIS_READ(brdcfg[15]); in platform_diu_init()
|
/openbmc/u-boot/board/freescale/t102xqds/ |
H A D | t102xqds.c | 33 u8 sw = QIXIS_READ(arch); in checkboard() 36 printf("Sys ID: 0x%02x, Board Arch: V%d, ", QIXIS_READ(id), sw >> 4); in checkboard() 44 sw = QIXIS_READ(brdcfg[0]); in checkboard() 60 (int)QIXIS_READ(scver), qixis_read_tag(buf), in checkboard() 66 sw = QIXIS_READ(brdcfg[2]); in checkboard() 99 brdcfg9 = QIXIS_READ(brdcfg[9]); in board_mux_lane_to_slot() 159 brdcfg15 = QIXIS_READ(brdcfg[15]); in board_mux_setup() 166 QIXIS_WRITE(brdcfg[5], (QIXIS_READ(brdcfg[5]) & in board_mux_setup() 182 QIXIS_WRITE(brdcfg[5], (QIXIS_READ(brdcfg[5]) & in board_mux_setup() 293 u8 sysclk_conf = QIXIS_READ(brdcfg[1]); in get_board_sys_clk() [all …]
|
H A D | spl.c | 28 u8 sysclk_conf = QIXIS_READ(brdcfg[1]); in get_board_sys_clk() 51 u8 ddrclk_conf = QIXIS_READ(brdcfg[1]); in get_board_ddr_clk()
|
H A D | eth_t102xqds.c | 96 brdcfg4 = QIXIS_READ(brdcfg[4]); in t1024qds_mux_mdio() 384 if (QIXIS_READ(present2) & (1 << (slot - 1))) in board_eth_init()
|
/openbmc/u-boot/board/freescale/ls2080ardb/ |
H A D | ls2080ardb.c | 72 sw = QIXIS_READ(arch); in checkboard() 75 sw = QIXIS_READ(brdcfg[0]); in checkboard() 102 printf("FPGA: v%d.%d\n", QIXIS_READ(scver), QIXIS_READ(tagdata)); in checkboard() 109 sw = QIXIS_READ(arch); in checkboard() 113 sw = QIXIS_READ(brdcfg[0]); in checkboard() 123 printf("FPGA: v%d.%d\n", QIXIS_READ(scver), QIXIS_READ(tagdata)); in checkboard() 140 u8 sysclk_conf = QIXIS_READ(brdcfg[1]); in get_board_sys_clk() 185 reg5 = QIXIS_READ(brdcfg[5]); in config_board_mux() 455 nr_of_cfgsw = QIXIS_READ(cms[1]); in qixis_dump_switch() 460 printf("SW%d = (0x%02x)\n", i, QIXIS_READ(cms[1])); in qixis_dump_switch() [all …]
|
/openbmc/u-boot/board/freescale/ls2080aqds/ |
H A D | ls2080aqds.c | 70 sw = QIXIS_READ(arch); in checkboard() 76 sw = QIXIS_READ(brdcfg[0]); in checkboard() 93 (int)QIXIS_READ(scver), qixis_read_tag(buf), in checkboard() 107 sw = QIXIS_READ(brdcfg[2]); in checkboard() 124 u8 sysclk_conf = QIXIS_READ(brdcfg[1]); in get_board_sys_clk() 147 u8 ddrclk_conf = QIXIS_READ(brdcfg[1]); in get_board_ddr_clk() 177 reg5 = QIXIS_READ(brdcfg[5]); in config_board_mux() 219 (QIXIS_READ(brdcfg[9]) & 0xf8) | in board_init() 353 nr_of_cfgsw = QIXIS_READ(cms[1]); in qixis_dump_switch() 358 printf("SW%d = (0x%02x)\n", i, QIXIS_READ(cms[1])); in qixis_dump_switch()
|
/openbmc/u-boot/board/freescale/ls1046aqds/ |
H A D | ls1046aqds.c | 186 sw = QIXIS_READ(brdcfg[0]); in checkboard() 205 QIXIS_READ(id), QIXIS_READ(arch)); in checkboard() 208 (int)QIXIS_READ(scver), qixis_read_tag(buf), in checkboard() 216 u8 diff_conf = QIXIS_READ(brdcfg[11]); in if_board_diff_clk() 223 u8 sysclk_conf = QIXIS_READ(brdcfg[1]); in get_board_sys_clk() 249 u8 ddrclk_conf = QIXIS_READ(brdcfg[1]); in get_board_ddr_clk() 337 uart = QIXIS_READ(brdcfg[14]); in board_early_init_f() 364 reg14 = QIXIS_READ(brdcfg[14]); in config_board_mux() 454 reg = QIXIS_READ(brdcfg[0]); in ft_board_setup()
|
H A D | eth.c | 82 brdcfg4 = QIXIS_READ(brdcfg[4]); in ls1046aqds_mux_mdio() 365 brdcfg12 = QIXIS_READ(brdcfg[12]); in board_eth_init() 373 brdcfg12 = QIXIS_READ(brdcfg[12]); in board_eth_init() 390 if (QIXIS_READ(present2) & (1 << (slot - 1))) in board_eth_init()
|
/openbmc/u-boot/board/freescale/ls1043aqds/ |
H A D | ls1043aqds.c | 195 sw = QIXIS_READ(brdcfg[0]); in checkboard() 214 QIXIS_READ(id), QIXIS_READ(arch)); in checkboard() 217 (int)QIXIS_READ(scver), qixis_read_tag(buf), in checkboard() 225 u8 diff_conf = QIXIS_READ(brdcfg[11]); in if_board_diff_clk() 232 u8 sysclk_conf = QIXIS_READ(brdcfg[1]); in get_board_sys_clk() 258 u8 ddrclk_conf = QIXIS_READ(brdcfg[1]); in get_board_ddr_clk() 395 uart = QIXIS_READ(brdcfg[14]); in board_early_init_f() 422 reg14 = QIXIS_READ(brdcfg[14]); in config_board_mux() 497 reg = QIXIS_READ(brdcfg[0]); in ft_board_setup()
|
/openbmc/u-boot/board/freescale/ls1088a/ |
H A D | ls1088a.c | 189 board_id = QIXIS_READ(id); in is_pb_board() 224 sw = QIXIS_READ(arch); in checkboard() 235 sw = QIXIS_READ(brdcfg[0]); in checkboard() 269 sw = QIXIS_READ(brdcfg[0]); in checkboard() 286 (int)QIXIS_READ(scver), qixis_read_tag(buf), in checkboard() 291 printf("CPLD: v%d.%d\n", QIXIS_READ(scver), QIXIS_READ(tagdata)); in checkboard() 303 sw = QIXIS_READ(brdcfg[2]); in checkboard() 322 u8 diff_conf = QIXIS_READ(brdcfg[11]); in if_board_diff_clk() 325 u8 diff_conf = QIXIS_READ(dutcfg[11]); in if_board_diff_clk() 332 u8 sysclk_conf = QIXIS_READ(brdcfg[1]); in get_board_sys_clk() [all …]
|
/openbmc/u-boot/board/freescale/ls1012aqds/ |
H A D | eth.c | 56 brdcfg4 = QIXIS_READ(brdcfg[4]); in ls1012aqds_mux_mdio() 177 data8 = QIXIS_READ(rst_frc[0]); in pfe_eth_board_init() 180 data8 = QIXIS_READ(rst_frc[0]); in pfe_eth_board_init() 182 data8 = QIXIS_READ(res8[6]); in pfe_eth_board_init() 185 data8 = QIXIS_READ(res8[6]); in pfe_eth_board_init() 227 data8 = QIXIS_READ(rst_frc[2]); in pfe_eth_board_init() 231 data8 = QIXIS_READ(rst_frc[2]); in pfe_eth_board_init() 248 data8 = QIXIS_READ(brdcfg[12]); in pfe_eth_board_init()
|
H A D | ls1012aqds.c | 40 sw = QIXIS_READ(arch); in checkboard() 44 sw = QIXIS_READ(brdcfg[QIXIS_LBMAP_BRDCFG_REG]); in checkboard() 52 (int)QIXIS_READ(scver), qixis_read_tag(buf), in checkboard() 163 card_id = (QIXIS_READ(present2) & 0xe0) >> 5; in esdhc_status_fixup()
|
/openbmc/u-boot/board/freescale/ls1021aqds/ |
H A D | ls1021aqds.c | 73 sw = QIXIS_READ(brdcfg[0]); in checkboard() 90 QIXIS_READ(id), QIXIS_READ(arch)); in checkboard() 93 (int)QIXIS_READ(scver), qixis_read_tag(buf), in checkboard() 102 u8 sysclk_conf = QIXIS_READ(brdcfg[1]); in get_board_sys_clk() 127 u8 ddrclk_conf = QIXIS_READ(brdcfg[1]); in get_board_ddr_clk() 281 reg12 = QIXIS_READ(brdcfg[12]); in config_board_mux() 282 reg14 = QIXIS_READ(brdcfg[14]); in config_board_mux()
|
/openbmc/u-boot/board/freescale/b4860qds/ |
H A D | b4860qds.c | 46 QIXIS_READ(id), QIXIS_READ(arch)); in checkboard() 48 sw = QIXIS_READ(brdcfg[0]); in checkboard() 59 (int)QIXIS_READ(scver), qixis_read_tag(buf), in checkboard() 73 sw = QIXIS_READ(brdcfg[2]); in checkboard() 76 sw = QIXIS_READ(brdcfg[4]); in checkboard() 1084 u8 sysclk_conf = QIXIS_READ(brdcfg[1]); in get_board_sys_clk() 1099 u8 ddrclk_conf = QIXIS_READ(brdcfg[1]); in get_board_ddr_clk() 1119 brdcfg4 = QIXIS_READ(brdcfg[4]); in serdes_refclock() 1164 sw = QIXIS_READ(brdcfg[2]); in misc_init_r() 1171 sw = QIXIS_READ(brdcfg[4]); in misc_init_r()
|
H A D | spl.c | 25 u8 sysclk_conf = QIXIS_READ(brdcfg[1]); in get_board_sys_clk() 40 u8 ddrclk_conf = QIXIS_READ(brdcfg[1]); in get_board_ddr_clk()
|
/openbmc/u-boot/board/freescale/bsc9132qds/ |
H A D | bsc9132qds.c | 205 QIXIS_READ(id), QIXIS_READ(arch), QIXIS_READ(scver)); in checkboard() 207 sw = QIXIS_READ(brdcfg[0]); in checkboard()
|