Lines Matching +full:u +full:- +full:boot +full:- +full:env
4 * PROM library initialisation code, supports YAMON and U-Boot.
6 * Copyright 2000-2001, 2006, 2008 MontaVista Software Inc.
10 * arch/mips/mips-boards/xx files.
54 if (i < (prom_argc - 1)) in prom_init_cmdline()
63 * YAMON uses "name", "value" pairs, while U-Boot uses "name=value". in prom_getenv()
66 char **env = prom_envp; in prom_getenv() local
68 int yamon = (*env && strchr(*env, '=') == NULL); in prom_getenv()
70 while (*env) { in prom_getenv()
72 if (strcmp(envname, *env++) == 0) in prom_getenv()
73 return *env; in prom_getenv()
74 } else if (strncmp(envname, *env, i) == 0 && (*env)[i] == '=') in prom_getenv()
75 return *env + i + 1; in prom_getenv()
76 env++; in prom_getenv()
103 return c - '0'; in str2hexnum()
105 return c - 'a' + 10; in str2hexnum()
107 return c - 'A' + 10; in str2hexnum()
137 return -1; in prom_get_ethernet_addr()