/u-boot/board/gateworks/gw_ventana/ |
A D | eeprom.c | 51 if (info->model[0] != 'G' || info->model[1] != 'W') { in read_eeprom() 70 baseboard = info->model[3]; in read_eeprom() 108 if (info->model[4] == '0' && info->model[5] == '1') in read_eeprom() 110 else if (info->model[4] == '0' && info->model[5] == '2') in read_eeprom() 112 else if (info->model[4] == '0' && info->model[5] == '3') in read_eeprom() 114 else if (info->model[4] == '0' && info->model[5] == '4') in read_eeprom() 116 else if (info->model[4] == '0' && info->model[5] == '5') in read_eeprom() 118 else if (info->model[4] == '0' && info->model[5] == '6') in read_eeprom() 120 else if (info->model[4] == '0' && info->model[5] == '7') in read_eeprom() 122 else if (info->model[4] == '0' && info->model[5] == '8') in read_eeprom() [all …]
|
/u-boot/board/Marvell/octeontx2/ |
A D | soc-utils.c | 22 const char *model = fdt_get_board_model(); in read_platform() local 24 if (model && !strncmp(model, "ASIM-", 5)) in read_platform() 26 if (model && !strncmp(model, "EMUL-", 5)) in read_platform()
|
/u-boot/board/Marvell/octeontx/ |
A D | soc-utils.c | 20 const char *model = fdt_get_board_model(); in read_platform() local 22 if (model && !strncmp(model, "ASIM-", 5)) in read_platform() 24 if (model && !strncmp(model, "EMUL-", 5)) in read_platform()
|
/u-boot/board/coreboot/coreboot/ |
A D | coreboot.c | 40 const char *model = smbios_string(system, t1->product_name); in show_board_info() local 43 if (!model || !manufacturer || !bios_ver) in show_board_info() 47 printf("Model: %s\n", model); in show_board_info() 56 model = fdt_getprop(gd->fdt_blob, 0, "model", NULL); in show_board_info() 58 if (model) in show_board_info() 59 printf("Model: %s\n", model); in show_board_info()
|
/u-boot/common/ |
A D | board_info.c | 22 const char *model; in show_board_info() local 24 model = fdt_getprop(gd->fdt_blob, 0, "model", NULL); in show_board_info() 26 if (model) in show_board_info() 27 printf("Model: %s\n", model); in show_board_info()
|
/u-boot/board/gateworks/venice/ |
A D | gsc.c | 197 if (info->model[0] != 'G' || info->model[1] != 'W') { in gsc_read_eeprom() 390 int model, rev_pcb, rev_bom; in gsc_get_dtb_name() local 392 model = ((som_info.model[2] - '0') * 1000) in gsc_get_dtb_name() 394 + ((som_info.model[4] - '0') * 10) in gsc_get_dtb_name() 395 + (som_info.model[5] - '0'); in gsc_get_dtb_name() 400 if (base_info.model[0]) { in gsc_get_dtb_name() 402 int base = ((base_info.model[2] - '0') * 10) + (base_info.model[3] - '0'); in gsc_get_dtb_name() 482 if (!base_info.model[0]) { in gsc_info() 491 som_info.model[2], /* family */ in gsc_info() 493 base_info.model[4], base_info.model[5], /* subload of baseboard */ in gsc_info() [all …]
|
A D | spl.c | 95 const char *model = gsc_get_model(); in power_init_board() local 100 if ((!strncmp(model, "GW71", 4)) || in power_init_board() 101 (!strncmp(model, "GW72", 4)) || in power_init_board() 102 (!strncmp(model, "GW73", 4))) { in power_init_board()
|
/u-boot/tools/ |
A D | microcode-tool | 36 self.model = '%x' % self.words[3] 121 def List(date, microcodes, model): argument 130 if model: 139 def FindMicrocode(microcodes, model): argument 158 mcode = microcodes.get(model) 165 abbrev = model[:-i] if i else model 168 if mcode.model.startswith(abbrev): 290 List(date, microcodes, options.model) 294 if not options.model: 296 model = options.model.lower() [all …]
|
A D | microcode-tool.py | 36 self.model = '%x' % self.words[3] 121 def List(date, microcodes, model): argument 130 if model: 139 def FindMicrocode(microcodes, model): argument 158 mcode = microcodes.get(model) 165 abbrev = model[:-i] if i else model 168 if mcode.model.startswith(abbrev): 290 List(date, microcodes, options.model) 294 if not options.model: 296 model = options.model.lower() [all …]
|
/u-boot/drivers/demo/ |
A D | Kconfig | 1 menu "Demo for driver model" 7 This uclass allows you to play around with driver model. It provides 13 bool "Enable simple demo device for driver model" 16 This device allows you to play around with driver model. It prints 18 this device. It can be used to help understand how driver model 22 bool "Enable shape demo device for driver model" 25 This device allows you to play around with driver model. It prints 27 this device. It can be used to help understand how driver model
|
/u-boot/doc/device-tree-bindings/exynos/ |
A D | soc.txt | 1 Exynos SoC model 3 The "cpu-model" property is a non-standard extension for the device tree root 12 - cpu-model : Exynos product name 17 model = "Samsung/Google Peach Pi board based on Exynos5800"; 18 cpu-model = "Exynos5800";
|
/u-boot/arch/arm/mach-uniphier/ |
A D | cpu-info.c | 19 unsigned int id, model, rev, required_model = 1, required_rev = 1; in print_cpuinfo() local 27 model = uniphier_get_soc_model(); in print_cpuinfo() 66 printf(" (model %d, revision %d)\n", model, rev); in print_cpuinfo() 68 if (model < required_model) { in print_cpuinfo()
|
/u-boot/doc/driver-model/ |
A D | migration.rst | 6 U-Boot has been migrating to a new driver model since its introduction in 7 2014. This file describes the schedule for deprecation of pre-driver-model 27 switching over to using CONFIG_DM_MMC and other base driver model options in 38 other base driver model options in time for inclusion in the 2019.07 rerelease. 48 other base driver model options in time for inclusion in the 2019.07 rerelease. 84 model options in time for inclusion in the 2019.07 release. 91 The video subsystem has supported driver model since early 2016. Maintainers 93 driver model options in time for inclusion in the 2019.07 release. 99 The network subsystem has supported the driver model since early 2015. 101 other base driver model options in time for inclusion in the 2020.07 release. [all …]
|
A D | serial-howto.rst | 3 How to port a serial driver to driver model 16 model. Please feel free to update this file with your ideas and suggestions. 20 - If the board does not already use driver model, you need CONFIG_DM also 28 - If you convert all existing users of the driver, remove the pre-driver-model 33 - add driver model code 34 - convert at least one existing board to use driver model serial 35 - (if no boards remain that don't use driver model) remove the old code
|
A D | i2c-howto.rst | 3 How to port an I2C driver to driver model 26 model. Please feel free to update this file with your ideas and suggestions. 30 - If the board does not already use driver model, you need CONFIG_DM also 38 - If you convert all existing users of the driver, remove the pre-driver-model 43 - add driver model code 44 - convert at least one existing board to use driver model serial 45 - (if no boards remain that don't use driver model) remove the old code
|
/u-boot/board/dhelectronics/dh_stm32mp1/ |
A D | u-boot-dhcom.its | 48 /* DT+SoM+board model */ 55 /* DT+SoM+board model */ 62 /* DT+SoM+board model */ 69 /* DT+SoM+board model */ 76 /* DT+SoM+board model */ 83 /* DT+SoM+board model */
|
/u-boot/drivers/net/ |
A D | ag7xxx.c | 180 enum ag7xxx_model model; member 236 if (priv->model == AG7XXX_MODEL_AG933X || in ag7xxx_switch_reg_read() 237 priv->model == AG7XXX_MODEL_AG953X) { in ag7xxx_switch_reg_read() 241 priv->model == AG7XXX_MODEL_AG956X) { in ag7xxx_switch_reg_read() 247 if (priv->model == AG7XXX_MODEL_AG956X) in ag7xxx_switch_reg_read() 255 if (priv->model == AG7XXX_MODEL_AG956X) in ag7xxx_switch_reg_read() 301 if (priv->model == AG7XXX_MODEL_AG956X) in ag7xxx_switch_reg_write() 333 if (priv->model == AG7XXX_MODEL_AG956X) in ag7xxx_switch_reg_write() 667 if (priv->model == AG7XXX_MODEL_AG934X) in ag7xxx_mii_setup() 955 priv->model == AG7XXX_MODEL_AG953X || in ag933x_phy_setup_common() [all …]
|
/u-boot/board/raspberrypi/rpi/ |
A D | rpi.c | 263 static const struct rpi_model *model; variable 311 fdtfile = model->fdtfile; in set_fdtfile() 345 if (!model->has_onboard_eth) in set_usbethaddr() 381 env_set("board_name", model->name); in set_board_info() 464 model = &rpi_model_unknown; in get_board_rev() 467 model = &rpi_model_unknown; in get_board_rev() 469 model = &models[rev_type]; in get_board_rev() 472 printf("RPI %s (0x%x)\n", model->name, revision); in get_board_rev()
|
/u-boot/drivers/clk/owl/ |
A D | clk_owl.c | 71 enum owl_soc model = dev_get_driver_data(clk->dev); in owl_clk_enable() local 75 if (model != S900) in owl_clk_enable() 83 if (model != S700) in owl_clk_enable() 105 enum owl_soc model = dev_get_driver_data(clk->dev); in owl_clk_disable() local 109 if (model != S900) in owl_clk_disable() 115 if (model != S700) in owl_clk_disable()
|
/u-boot/arch/arm/mach-stm32mp/ |
A D | spl.c | 79 const char *model; in spl_display_print() local 84 model = fdt_getprop(gd->fdt_blob, 0, "model", NULL); in spl_display_print() 85 if (model) in spl_display_print() 86 log_info("Model: %s\n", model); in spl_display_print()
|
/u-boot/arch/arm/include/asm/arch-octeontx2/ |
A D | soc.h | 20 #define otx_is_board(model) (!strcmp(read_board_name(), model)) argument
|
/u-boot/arch/arm/include/asm/arch-octeontx/ |
A D | soc.h | 19 #define otx_is_board(model) (!strcmp(read_board_name(), model)) argument
|
/u-boot/arch/arm/mach-meson/ |
A D | board-info.c | 130 const char *model; in print_board_model() local 131 model = fdt_getprop(gd->fdt_blob, 0, "model", NULL); in print_board_model() 132 printf("Model: %s\n", model ? model : "Unknown"); in print_board_model()
|
/u-boot/board/freescale/common/ |
A D | sgmii_riser.c | 52 const char *model; in fsl_sgmii_riser_fdt_fixup() local 89 model = fdt_getprop(fdt, enet_node, "model", NULL); in fsl_sgmii_riser_fdt_fixup() 99 if (!strstr(model, "TSEC")) in fsl_sgmii_riser_fdt_fixup()
|
/u-boot/test/dm/ |
A D | Kconfig | 2 bool "Enable driver model unit test command" 6 tests on the driver model code. Each subsystem (uclass) is tested.
|