Searched refs:model (Results 1 - 25 of 103) sorted by relevance

12345

/u-boot/board/Marvell/octeontx/
H A Dsoc-utils.c20 const char *model = fdt_get_board_model(); local
22 if (model && !strncmp(model, "ASIM-", 5))
24 if (model && !strncmp(model, "EMUL-", 5))
/u-boot/board/Marvell/octeontx2/
H A Dsoc-utils.c22 const char *model = fdt_get_board_model(); local
24 if (model && !strncmp(model, "ASIM-", 5))
26 if (model && !strncmp(model, "EMUL-", 5))
/u-boot/board/gateworks/gw_ventana/
H A Deeprom.c124 /* determine BOM revision from model */
141 /* determine PCB revision from model */
159 * get dt name based on model and detail level:
163 const char *model = (const char *)ventana_info.model; local
168 if (strncasecmp(model, "gw5906", 6) == 0)
169 model = "gw552x-d";
170 else if (strncasecmp(model, "gw5908", 6) == 0)
171 model = "gw53xx-f";
172 else if (strncasecmp(model, "gw590
[all...]
H A Dgw_ventana.c435 } else if (ventana_info.model[0]) {
524 if (info->model[0]) {
525 printf("Model: %s\n", info->model);
654 if (ventana_info.model[0]) {
677 for (i = 0; i < (sizeof(str)-1) && info->model[i]; i++)
678 str[i] = tolower(info->model[i]);
679 env_set("model", str);
1023 for (i = sizeof(ventana_info.model) - 1; i > 0; i--) {
1024 if (ventana_info.model[i] >= 'A') {
1025 rev = ventana_info.model[
1166 const char *model = env_get("model"); local
[all...]
/u-boot/arch/arm/include/asm/arch-octeontx2/
H A Dsoc.h20 #define otx_is_board(model) (!strcmp(read_board_name(), model))
/u-boot/board/gateworks/venice/
H A Deeprom.c119 /* sanity check valid model */
120 if (info->model[0] != 'G' || info->model[1] != 'W') {
130 /* determine BOM revision from model */
147 /* determine PCB revision from model */
165 * get dt name based on model and detail level:
188 * gw<model>-[pcb-rev][bom-rev]
202 int model, rev_pcb, rev_bom; local
204 model = ((som_info.model[
[all...]
H A Dspl.c124 const char *model = eeprom_get_model(); local
129 if ((!strncmp(model, "GW71", 4)) ||
130 (!strncmp(model, "GW72", 4)) ||
131 (!strncmp(model, "GW73", 4)) ||
132 (!strncmp(model, "GW7905", 6))) {
161 else if (!strncmp(model, "GW74", 4)) {
191 else if ((!strncmp(model, "GW7901", 6)) ||
192 (!strncmp(model, "GW7902", 6)) ||
193 (!strncmp(model, "GW7903", 6)) ||
194 (!strncmp(model, "GW790
[all...]
H A Deeprom.h22 char model[16]; /* 0x30: model string */ member in struct:venice_board_info
/u-boot/arch/arm/mach-uniphier/
H A Dcpu-info.c19 unsigned int id, model, rev, required_model = 1, required_rev = 1; local
27 model = uniphier_get_soc_model();
66 printf(" (model %d, revision %d)\n", model, rev);
68 if (model < required_model) {
69 pr_err("Only model %d or newer is supported.\n",
/u-boot/arch/arm/include/asm/arch-octeontx/
H A Dsoc.h19 #define otx_is_board(model) (!strcmp(read_board_name(), model))
/u-boot/tools/
H A Dmicrocode-tool.py17 """Holds information about the microcode for a particular model of CPU.
22 model: Model code string (this is cpuid(1).eax, e.g. '206a7')
35 # The model is in the 4rd hex word
36 self.model = '%x' % self.words[3]
121 def List(date, microcodes, model):
127 model: Model string to search for, or None
130 if model:
131 mcode_list, tried = FindMicrocode(microcodes, model.lower())
137 print('%-20s: model %s' % (mcode.name, mcode.model))
[all...]
H A Dmicrocode-tool17 """Holds information about the microcode for a particular model of CPU.
22 model: Model code string (this is cpuid(1).eax, e.g. '206a7')
35 # The model is in the 4rd hex word
36 self.model = '%x' % self.words[3]
121 def List(date, microcodes, model):
127 model: Model string to search for, or None
130 if model:
131 mcode_list, tried = FindMicrocode(microcodes, model.lower())
137 print('%-20s: model %s' % (mcode.name, mcode.model))
[all...]
/u-boot/arch/mips/mach-octeon/
H A Dcvmx-qlm-tables.c7 #include <mach/octeon-model.h>
H A Dcvmx-fau-compat.c13 #include <mach/octeon-model.h>
/u-boot/board/out4/o4-imx6ull-nano/
H A Do4-imx6ull-nano.c75 const char *model; local
77 model = fdt_getprop(gd->fdt_blob, 0, "model", NULL);
78 if (model)
79 env_set("board_name", model);
/u-boot/common/
H A Dboard_info.c69 /* Fail back to the main 'model' if available */
71 const char *model; local
73 model = fdt_getprop(gd->fdt_blob, 0, "model", NULL);
74 if (model)
75 printf("Model: %s\n", model);
/u-boot/drivers/net/
H A Dag7xxx.c180 enum ag7xxx_model model; member in struct:ar7xxx_eth_priv
236 if (priv->model == AG7XXX_MODEL_AG933X ||
237 priv->model == AG7XXX_MODEL_AG953X) {
240 } else if (priv->model == AG7XXX_MODEL_AG934X ||
241 priv->model == AG7XXX_MODEL_AG956X) {
247 if (priv->model == AG7XXX_MODEL_AG956X)
255 if (priv->model == AG7XXX_MODEL_AG956X)
266 if (priv->model == AG7XXX_MODEL_AG956X) {
290 if (priv->model == AG7XXX_MODEL_AG933X ||
291 priv->model
[all...]
/u-boot/arch/arm/mach-stm32mp/stm32mp1/
H A Dspl.c81 const char *model; local
86 model = fdt_getprop(gd->fdt_blob, 0, "model", NULL);
87 if (model)
88 log_info("Model: %s\n", model);
/u-boot/board/raspberrypi/rpi/
H A Drpi.c83 "Unknown model",
272 static const struct rpi_model *model; variable in typeref:struct:rpi_model
320 fdtfile = model->fdtfile;
354 if (!model->has_onboard_eth)
390 env_set("board_name", model->name);
484 model = &rpi_model_unknown;
487 model = &rpi_model_unknown;
489 model = &models[rev_type];
492 printf("RPI %s (0x%x)\n", model->name, revision);
548 /* The firmware provides a more precie model; s
[all...]
/u-boot/drivers/clk/owl/
H A Dclk_owl.c73 enum owl_soc model = dev_get_driver_data(clk->dev); local
77 if (model != S900)
85 if (model != S700)
110 enum owl_soc model = dev_get_driver_data(clk->dev); local
114 if (model != S900)
120 if (model != S700)
/u-boot/drivers/pinctrl/renesas/
H A Dpfc.c954 enum sh_pfc_model model = dev_get_driver_data(dev); local
966 if (model == SH_PFC_R8A7790)
970 if (model == SH_PFC_R8A7791)
974 if (model == SH_PFC_R8A7792)
978 if (model == SH_PFC_R8A7793)
982 if (model == SH_PFC_R8A7794)
986 if (model == SH_PFC_R8A7795)
990 if (model == SH_PFC_R8A77960)
994 if (model == SH_PFC_R8A77961)
998 if (model
[all...]
/u-boot/arch/mips/mach-octeon/include/mach/
H A Docteon-model.h17 * determine what model of chip the software is running on. Models ending
19 * that model. If a pass (revision) is specified, then only that revision
37 /* Ignores revision in model checks */
198 /* Masks used for the various types of model/family/revision matching */
226 * model group specified in arg_model.
271 static inline int __octeon_is_model_runtime_internal__(u32 model) argument
275 return __OCTEON_IS_MODEL_COMPILE__(model, cpuid);
278 static inline int __octeon_is_model_runtime__(u32 model) argument
280 return __octeon_is_model_runtime_internal__(model);
284 * The OCTEON_IS_MODEL macro should be used for all Octeon model checkin
[all...]
/u-boot/board/starfive/visionfive2/
H A Dspl.c98 fdt_setprop_string(fdt, fdt_path_offset(fdt, "/"), "model",
135 const char *model; local
142 model = "Milk-V Mars CM Lite";
149 model = "Milk-V Mars CM";
153 fdt_setprop_string(fdt, fdt_path_offset(fdt, "/"), "model", model);
165 fdt_setprop_string(fdt, fdt_path_offset(fdt, "/"), "model",
212 fdt_setprop_string(fdt, fdt_path_offset(fdt, "/"), "model",
/u-boot/board/vscom/baltos/
H A Dboard.c344 char model[4]; local
348 strcpy(model, "211");
350 sprintf(model, "%d", header.SystemId);
368 env_set("board_name", model);
/u-boot/board/google/chromebook_coral/
H A Dcoral.c168 const char *model; local
178 model = fdt_getprop(gd->fdt_blob, 0, "model", NULL);
179 snprintf(val, size, "%s (memconfig %d, SKU %d)", model,

Completed in 277 milliseconds

12345