Home
last modified time | relevance | path

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

123456789

/external/u-boot/test/dm/
Deth.c28 ut_asserteq_str("eth@10002000", env_get("ethact")); in dm_test_eth()
32 ut_asserteq_str("eth@10003000", env_get("ethact")); in dm_test_eth()
36 ut_asserteq_str("eth@10004000", env_get("ethact")); in dm_test_eth()
47 ut_asserteq_str("eth@10002000", env_get("ethact")); in dm_test_eth_alias()
51 ut_asserteq_str("eth@10004000", env_get("ethact")); in dm_test_eth_alias()
56 ut_asserteq_str("eth@10002000", env_get("ethact")); in dm_test_eth_alias()
60 ut_asserteq_str("eth@10003000", env_get("ethact")); in dm_test_eth_alias()
74 ut_asserteq_str("eth@10003000", env_get("ethact")); in dm_test_eth_prime()
80 ut_asserteq_str("eth@10002000", env_get("ethact")); in dm_test_eth_prime()
120 strncpy(ethaddr[i], env_get(addrname[i]), 17); in dm_test_eth_act()
[all …]
/external/u-boot/test/
Dcommand_ut.c21 assert(!strcmp("11", env_get("list"))); in do_ut_cmd()
25 assert(!strcmp("111", env_get("list"))); in do_ut_cmd()
30 assert(!strcmp("123", env_get("list"))); in do_ut_cmd()
38 assert(!strcmp("1", env_get("list"))); in do_ut_cmd()
48 assert(env_get("black") != NULL); in do_ut_cmd()
49 assert(!strcmp("1", env_get("black"))); in do_ut_cmd()
50 assert(env_get("adder") != NULL); in do_ut_cmd()
51 assert(!strcmp("2", env_get("adder"))); in do_ut_cmd()
/external/u-boot/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()
/external/u-boot/board/siemens/taurus/
Dtaurus.c382 partitionset_active = env_get("partitionset_active"); in upgrade_failure_fallback()
393 rootfs = env_get("rootfs"); in upgrade_failure_fallback()
394 rootfs_fallback = env_get("rootfs_fallback"); in upgrade_failure_fallback()
398 kern_size = env_get("kernel_size"); in upgrade_failure_fallback()
399 kern_size_fb = env_get("kernel_size_fallback"); in upgrade_failure_fallback()
403 kern_off = env_get("kernel_Off"); in upgrade_failure_fallback()
404 kern_off_fb = env_get("kernel_Off_fallback"); in upgrade_failure_fallback()
423 upgrade_available = simple_strtoul(env_get("upgrade_available"), NULL, in do_upgrade_available()
426 boot_retry = simple_strtoul(env_get("boot_retries"), NULL, 10); in do_upgrade_available()
/external/u-boot/cmd/
Delf.c195 const char *ep = env_get("autostart"); in do_bootelf()
343 tmp = env_get("bootaddr"); in do_bootvx()
360 bootline = env_get("bootargs"); in do_bootvx()
362 tmp = env_get("bootdev"); in do_bootvx()
370 tmp = env_get("bootfile"); in do_bootvx()
380 tmp = env_get("ipaddr"); in do_bootvx()
383 tmp = env_get("netmask"); in do_bootvx()
393 tmp = env_get("serverip"); in do_bootvx()
397 tmp = env_get("gatewayip"); in do_bootvx()
401 tmp = env_get("hostname"); in do_bootvx()
[all …]
Dpxe.c43 ret = env_get(envvar); in from_env()
650 strncpy(bootm_argv[2], env_get("ramdisk_addr_r"), 18); in label_boot()
652 strncat(bootm_argv[2], env_get("filesize"), 9); in label_boot()
663 env_get("ipaddr"), env_get("serverip"), in label_boot()
664 env_get("gatewayip"), env_get("netmask")); in label_boot()
701 bootm_argv[1] = env_get("kernel_addr_r"); in label_boot()
716 bootm_argv[3] = env_get("fdt_addr_r"); in label_boot()
728 f1 = env_get("fdtfile"); in label_boot()
741 f1 = env_get("soc"); in label_boot()
743 f3 = env_get("board"); in label_boot()
[all …]
Dreiser.c90 addr_str = env_get("loadaddr"); in do_reiserload()
96 filename = env_get("bootfile"); in do_reiserload()
101 filename = env_get("bootfile"); in do_reiserload()
Dcramfs.c107 addr = simple_strtoul(env_get("cramfsaddr"), NULL, 16); in do_cramfs_load()
120 filename = env_get("bootfile"); in do_cramfs_load()
172 addr = simple_strtoul(env_get("cramfsaddr"), NULL, 16); in do_cramfs_ls()
/external/u-boot/common/
Dautoboot.c53 const char *sha_env_str = env_get("bootstopkeysha256"); in passwd_abort()
112 { .str = env_get("bootdelaykey"), .retry = 1 }, in passwd_abort()
113 { .str = env_get("bootstopkey"), .retry = 0 }, in passwd_abort()
297 s = env_get("bootdelay"); in bootdelay_process()
314 s = env_get("failbootcmd"); in bootdelay_process()
318 s = env_get("altbootcmd"); in bootdelay_process()
320 s = env_get("bootcmd"); in bootdelay_process()
346 s = env_get("menucmd"); in autoboot_command()
Dandroid_bootloader.c153 const char *fastboot_cmd = env_get("fastbootcmd"); in android_bootloader_boot_bootloader()
163 char *fdt_addr = env_get("fdt_addr"); in android_bootloader_boot_kernel()
222 env_cmdline = env_get("bootargs"); in android_assemble_cmdline()
237 rootdev_input = env_get("android_rootdev"); in android_assemble_cmdline()
Dbootm_os.c24 s = env_get("autostart"); in do_bootm_standalone()
99 cmdline = env_get("bootargs"); in do_bootm_netbsd()
230 s = env_get("confaddr"); in do_bootm_plan9()
237 s = env_get("bootargs"); in do_bootm_plan9()
284 bootline = env_get("bootargs"); in do_bootvx_fdt()
/external/u-boot/board/ti/ks2_evm/
Dboard.c76 env = env_get(env_name); in get_eth_env_param()
153 env = env_get("mem_lpae"); in ft_board_setup()
155 env = env_get("uinitrd_fixup"); in ft_board_setup()
182 env = env_get("mem_reserve_head"); in ft_board_setup()
188 env = env_get("mem_reserve"); in ft_board_setup()
253 env = env_get("mem_lpae"); in ft_board_setup_ex()
/external/u-boot/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()
/external/u-boot/arch/arm/mach-omap2/
Dutils.c81 board_rev = env_get("board_rev"); in omap_set_fastboot_board_rev()
176 if (!env_get("serial#")) { in omap_die_id_serial()
189 serial_string = env_get("serial#"); in omap_die_id_get_board_serial()
209 if (!env_get("usbethaddr")) { in omap_die_id_usbethaddr()
223 if (!env_get("ethaddr")) in omap_die_id_usbethaddr()
/external/u-boot/board/gateworks/gw_ventana/
Dgw_ventana.c301 if (!env_get("ethprime")) { in board_eth_init()
305 printf("set ethprime to %s\n", env_get("ethprime")); in board_eth_init()
582 char *serial = env_get("serial#"); in get_board_serial()
661 p = env_get("quiet"); in checkboard()
749 if (!env_get("fdt_file")) { in misc_init_r()
773 !env_get("ethaddr")) { in misc_init_r()
777 !env_get("eth1addr")) { in misc_init_r()
791 if (!strcmp(env_get("hwconfig"), "_UNKNOWN_")) { in misc_init_r()
1038 tmp = env_get(mac); in fdt_fixup_sky2()
1121 const char *model = env_get("model"); in ft_board_setup()
[all …]
/external/u-boot/board/keymile/common/
Dcommon.c56 p = env_get("rootfssize"); in set_km_env()
238 p = env_get("boardid"); in do_checkboardidhwk()
241 p = env_get("hwkey"); in do_checkboardidhwk()
255 char *bidhwklist = env_get("boardIdListHex"); in do_checkboardidhwk()
357 s = env_get("test_bank"); in do_checktestboot()
/external/u-boot/board/samtec/vining_fpga/
Dsocfpga.c79 if (!env_get("unit_serial")) { in misc_init_r()
88 if (!env_get("unit_ident")) { in misc_init_r()
95 if (!env_get("ethaddr") && is_valid_ethaddr(&data[0x62])) in misc_init_r()
/external/u-boot/board/Arcturus/ucp1020/
Ducp1020.c66 val = env_get(envname); in board_gpio_init()
84 val = env_get("PCIE_OFF"); in board_gpio_init()
93 val = env_get("SDHC_CDWP_OFF"); in board_gpio_init()
216 kval = env_get("kernelargs"); in last_stage_init()
240 sval = env_get("SERIAL"); in last_stage_init()
Dcmd_arc.c151 char *ret = env_get("ethaddr"); in get_arc_info()
171 char *ret = env_get("eth1addr"); in get_arc_info()
190 char *ret = env_get("eth2addr"); in get_arc_info()
/external/u-boot/board/BuS/eb_cpu5282/
Deb_cpu5282.c141 s = env_get("watchdog"); in hw_watchdog_init()
193 s = env_get("displaywidth"); in drv_video_init()
199 s = env_get("displayheight"); in drv_video_init()
213 s = env_get("splashimage"); in drv_video_init()
/external/u-boot/arch/x86/lib/
Dzimage.c51 env_command_line = env_get("bootargs"); in build_command_line()
55 if (!strcmp(env_get("stdout"), "serial")) { in build_command_line()
59 env_get("baudrate")); in build_command_line()
327 s = env_get("fileaddr"); in do_zboot()
/external/u-boot/drivers/net/
Dnetconsole.c82 if (env_get("ncip")) { in refresh_settings_from_env()
86 p = strchr(env_get("ncip"), ':'); in refresh_settings_from_env()
95 p = env_get("ncoutport"); in refresh_settings_from_env()
98 p = env_get("ncinport"); in refresh_settings_from_env()
/external/u-boot/board/theobroma-systems/puma_rk3399/
Dpuma-rk3399.c101 const char *cpuid = env_get("cpuid#"); in setup_macaddr()
107 if (env_get("ethaddr")) in setup_macaddr()
214 serial_string = env_get("serial#"); in get_board_serial()
/external/u-boot/drivers/fastboot/
Dfb_getvar.c97 const char *tmp = env_get("serial#"); in getvar_serialno()
112 const char *board = env_get("board"); in getvar_product()
212 s = env_get(envstr); in fastboot_getvar()
/external/u-boot/board/intel/edison/
Dedison.c95 if (!env_get("serial#")) in board_late_init()
98 if (!env_get("hardware_id")) in board_late_init()

123456789