Home
last modified time | relevance | path

Searched refs:env_get (Results 1 – 25 of 234) sorted by relevance

12345678910

/third_party/uboot/u-boot-2020.01/test/
Dcommand_ut.c22 assert(!strcmp("11", env_get("list"))); in do_ut_cmd()
26 assert(!strcmp("111", env_get("list"))); in do_ut_cmd()
31 assert(!strcmp("123", env_get("list"))); in do_ut_cmd()
39 assert(!strcmp("1", env_get("list"))); in do_ut_cmd()
49 assert(env_get("black") != NULL); in do_ut_cmd()
50 assert(!strcmp("1", env_get("black"))); in do_ut_cmd()
51 assert(env_get("adder") != NULL); in do_ut_cmd()
52 assert(!strcmp("2", env_get("adder"))); in do_ut_cmd()
/third_party/uboot/u-boot-2020.01/test/dm/
Deth.c29 ut_asserteq_str("eth@10002000", env_get("ethact")); in dm_test_eth()
33 ut_asserteq_str("eth@10003000", env_get("ethact")); in dm_test_eth()
37 ut_asserteq_str("eth@10004000", env_get("ethact")); in dm_test_eth()
48 ut_asserteq_str("eth@10002000", env_get("ethact")); in dm_test_eth_alias()
52 ut_asserteq_str("eth@10004000", env_get("ethact")); in dm_test_eth_alias()
57 ut_asserteq_str("eth@10002000", env_get("ethact")); in dm_test_eth_alias()
61 ut_asserteq_str("eth@10003000", env_get("ethact")); in dm_test_eth_alias()
75 ut_asserteq_str("eth@10003000", env_get("ethact")); in dm_test_eth_prime()
81 ut_asserteq_str("eth@10002000", env_get("ethact")); in dm_test_eth_prime()
121 strncpy(ethaddr[i], env_get(addrname[i]), 17); in dm_test_eth_act()
[all …]
/third_party/uboot/u-boot-2020.01/net/
Deth_common.c49 skip_state = env_get(enetvar); in eth_mac_skip()
55 char *act = env_get("ethact"); in eth_current_changed()
63 ethrotate = env_get("ethrotate"); in eth_current_changed()
89 ethrotate = env_get("ethrotate"); in eth_try_another()
115 act = env_get("ethact"); in eth_set_current()
120 char *ethprime = env_get("ethprime"); in eth_set_current()
/third_party/uboot/u-boot-2020.01/board/siemens/taurus/
Dtaurus.c353 partitionset_active = env_get("partitionset_active"); in upgrade_failure_fallback()
364 rootfs = env_get("rootfs"); in upgrade_failure_fallback()
365 rootfs_fallback = env_get("rootfs_fallback"); in upgrade_failure_fallback()
369 kern_size = env_get("kernel_size"); in upgrade_failure_fallback()
370 kern_size_fb = env_get("kernel_size_fallback"); in upgrade_failure_fallback()
374 kern_off = env_get("kernel_Off"); in upgrade_failure_fallback()
375 kern_off_fb = env_get("kernel_Off_fallback"); in upgrade_failure_fallback()
394 upgrade_available = simple_strtoul(env_get("upgrade_available"), NULL, in do_upgrade_available()
397 boot_retry = simple_strtoul(env_get("boot_retries"), NULL, 10); in do_upgrade_available()
/third_party/uboot/u-boot-2020.01/board/softing/vining_fpga/
Dsocfpga.c75 if (!env_get("unit_serial")) { in misc_init_r()
84 if (!env_get("unit_ident")) { in misc_init_r()
91 if (!env_get("ethaddr") && is_valid_ethaddr(&data[0x62])) in misc_init_r()
93 if (!env_get("eth1addr") && is_valid_ethaddr(&data[0x6a])) in misc_init_r()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-omap2/
Dutils.c81 board_rev = env_get("board_rev"); in omap_set_fastboot_board_rev()
137 board_name = env_get("board_name"); in omap_set_fastboot_product()
189 if (!env_get("serial#")) { in omap_die_id_serial()
202 serial_string = env_get("serial#"); in omap_die_id_get_board_serial()
222 if (!env_get("usbethaddr")) { in omap_die_id_usbethaddr()
236 if (!env_get("ethaddr")) in omap_die_id_usbethaddr()
/third_party/uboot/u-boot-2020.01/common/
Dautoboot.c76 const char *sha_env_str = env_get("bootstopkeysha256"); in passwd_abort_sha256()
151 { .str = env_get("bootdelaykey"), .retry = 1 }, in passwd_abort_key()
152 { .str = env_get("bootstopkey"), .retry = 0 }, in passwd_abort_key()
329 s = env_get("bootdelay"); in bootdelay_process()
344 s = env_get("failbootcmd"); in bootdelay_process()
348 s = env_get("altbootcmd"); in bootdelay_process()
350 s = env_get("bootcmd"); in bootdelay_process()
380 s = env_get("menucmd"); in autoboot_command()
Dsplash.c64 splashimage = env_get("splashimage"); in splash_video_logo_load()
95 char *s = env_get("splashpos"); in splash_get_pos()
161 s = env_get("splashimage"); in splash_display()
Dbootm_os.c26 s = env_get("autostart"); in do_bootm_standalone()
101 cmdline = env_get("bootargs"); in do_bootm_netbsd()
232 s = env_get("confaddr"); in do_bootm_plan9()
239 s = env_get("bootargs"); in do_bootm_plan9()
286 bootline = env_get("bootargs"); in do_bootvx_fdt()
349 bootargs = env_get("bootargs"); in do_bootm_vxworks()
/third_party/uboot/u-boot-2020.01/cmd/
Delf.c279 const char *ep = env_get("autostart"); in do_bootelf()
427 tmp = env_get("bootaddr"); in do_bootvx()
444 bootline = env_get("bootargs"); in do_bootvx()
446 tmp = env_get("bootdev"); in do_bootvx()
454 tmp = env_get("bootfile"); in do_bootvx()
464 tmp = env_get("ipaddr"); in do_bootvx()
467 tmp = env_get("netmask"); in do_bootvx()
477 tmp = env_get("serverip"); in do_bootvx()
481 tmp = env_get("gatewayip"); in do_bootvx()
485 tmp = env_get("hostname"); in do_bootvx()
[all …]
Dpxe_utils.c380 strncpy(bootm_argv[2], env_get("ramdisk_addr_r"), 18); in label_boot()
382 strncat(bootm_argv[2], env_get("filesize"), 9); in label_boot()
394 env_get("ipaddr"), env_get("serverip"), in label_boot()
395 env_get("gatewayip"), env_get("netmask")); in label_boot()
433 bootm_argv[1] = env_get("kernel_addr_r"); in label_boot()
460 bootm_argv[3] = env_get("fdt_addr_r"); in label_boot()
472 f1 = env_get("fdtfile"); in label_boot()
485 f1 = env_get("soc"); in label_boot()
487 f3 = env_get("board"); in label_boot()
529 bootm_argv[3] = env_get("fdt_addr"); in label_boot()
Dreiser.c91 addr_str = env_get("loadaddr"); in do_reiserload()
97 filename = env_get("bootfile"); in do_reiserload()
102 filename = env_get("bootfile"); in do_reiserload()
/third_party/uboot/u-boot-2020.01/board/raspberrypi/rpi/
Drpi.c291 if (env_get("fdtfile")) in set_fdtfile()
304 if (env_get("fdt_addr")) in set_fdt_addr()
331 if (env_get("usbethaddr")) in set_usbethaddr()
346 if (!env_get("ethaddr")) in set_usbethaddr()
347 env_set("ethaddr", env_get("usbethaddr")); in set_usbethaddr()
374 if (env_get("serial#")) in set_serial_number()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-rockchip/
Dmisc.c26 const char *cpuid = env_get("cpuid#"); in rockchip_setup_macaddr()
32 if (env_get("ethaddr")) in rockchip_setup_macaddr()
117 oldid = env_get("cpuid#"); in rockchip_cpuid_set()
125 if (!env_get("serial#")) in rockchip_cpuid_set()
/third_party/uboot/u-boot-2020.01/board/ti/ks2_evm/
Dboard.c103 env = env_get("mem_lpae"); in ft_board_setup()
130 env = env_get("mem_reserve_head"); in ft_board_setup()
136 env = env_get("mem_reserve"); in ft_board_setup()
153 env = env_get("mem_lpae"); in ft_board_setup_ex()
155 env = env_get("uinitrd_fixup"); in ft_board_setup_ex()
/third_party/uboot/u-boot-2020.01/product/hiosd/dec/
Djpegd_entry.c94 char *str = env_get("vobuf"); in get_vo_buf_addr()
116 char *str = env_get("jpeg_emar_buf"); in get_emar_buf_addr()
155 char *str = env_get("jpeg_size"); in get_jpeg_size()
177 char *str = env_get("jpeg_addr"); in get_jpeg_stream_addr()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-uniphier/
Dboard_late_init.c44 if (env_get("fdtfile")) in uniphier_set_env_fdt_file()
78 if (env_get(env)) in uniphier_set_env_addr()
82 str = env_get(offset_env); in uniphier_set_env_addr()
/third_party/uboot/u-boot-2020.01/board/keymile/common/
Dcommon.c57 p = env_get("rootfssize"); in set_km_env()
239 p = env_get("boardid"); in do_checkboardidhwk()
242 p = env_get("hwkey"); in do_checkboardidhwk()
256 char *bidhwklist = env_get("boardIdListHex"); in do_checkboardidhwk()
358 s = env_get("test_bank"); in do_checktestboot()
/third_party/uboot/u-boot-2020.01/board/BuS/eb_cpu5282/
Deb_cpu5282.c142 s = env_get("watchdog"); in hw_watchdog_init()
194 s = env_get("displaywidth"); in drv_video_init()
200 s = env_get("displayheight"); in drv_video_init()
214 s = env_get("splashimage"); in drv_video_init()
/third_party/uboot/u-boot-2020.01/board/Arcturus/ucp1020/
Ducp1020.c68 val = env_get(envname); in board_gpio_init()
86 val = env_get("PCIE_OFF"); in board_gpio_init()
95 val = env_get("SDHC_CDWP_OFF"); in board_gpio_init()
222 kval = env_get("kernelargs"); in last_stage_init()
248 sval = env_get("SERIAL"); in last_stage_init()
Dcmd_arc.c256 char *oldserial = env_get("SERIAL"); in do_get_arc_info()
257 char *oldversion = env_get("VERSION"); in do_get_arc_info()
287 char *ret = env_get("ethaddr"); in do_get_arc_info()
310 char *ret = env_get("eth1addr"); in do_get_arc_info()
332 char *ret = env_get("eth2addr"); in do_get_arc_info()
/third_party/uboot/u-boot-2020.01/board/gateworks/gw_ventana/
Dgw_ventana.c302 if (!env_get("ethprime")) { in board_eth_init()
306 printf("set ethprime to %s\n", env_get("ethprime")); in board_eth_init()
605 char *serial = env_get("serial#"); in get_board_serial()
688 p = env_get("quiet"); in checkboard()
776 if (!env_get("fdt_file")) { in misc_init_r()
800 !env_get("ethaddr")) { in misc_init_r()
804 !env_get("eth1addr")) { in misc_init_r()
818 if (!strcmp(env_get("hwconfig"), "_UNKNOWN_")) { in misc_init_r()
1043 tmp = env_get(mac); in fdt_fixup_sky2()
1131 const char *model = env_get("model"); in ft_board_setup()
[all …]
/third_party/uboot/u-boot-2020.01/drivers/fastboot/
Dfb_getvar.c144 const char *tmp = env_get("serial#"); in getvar_serialno()
159 const char *board = env_get("board"); in getvar_product()
169 const char *p = env_get("platform"); in getvar_platform()
279 s = env_get(envstr); in fastboot_getvar()
/third_party/uboot/u-boot-2020.01/drivers/misc/
Dfs_loader.c145 storage_interface = env_get("storage_interface"); in fw_get_filesystem_firmware()
146 dev_part = env_get("fw_dev_part"); in fw_get_filesystem_firmware()
147 ubi_mtdpart = env_get("fw_ubi_mtdpart"); in fw_get_filesystem_firmware()
148 ubi_volume = env_get("fw_ubi_volume"); in fw_get_filesystem_firmware()
/third_party/uboot/u-boot-2020.01/board/gardena/smart-gateway-mt7688/
Dboard.c75 env = env_get(env_var_name); in prepare_uuid_var()
139 env = env_get("wifiaddr"); in factory_data_env_config()
151 env = env_get("ethaddr"); in factory_data_env_config()
194 env = env_get(env_var_name); in copy_or_generate_uuid()

12345678910