Lines Matching refs:env_buf
176 char env_buf[12]; in linux_env_legacy() local
181 sprintf(env_buf, "%lu", (ulong)gd->ram_size); in linux_env_legacy()
185 sprintf(env_buf, "%lu", (ulong)(gd->ram_size >> 20)); in linux_env_legacy()
195 linux_env_set("memsize", env_buf); in linux_env_legacy()
197 sprintf(env_buf, "0x%08lX", rd_start); in linux_env_legacy()
198 linux_env_set("initrd_start", env_buf); in linux_env_legacy()
200 sprintf(env_buf, "0x%lX", rd_size); in linux_env_legacy()
201 linux_env_set("initrd_size", env_buf); in linux_env_legacy()
203 sprintf(env_buf, "0x%08X", (uint) (gd->bd->bi_flashstart)); in linux_env_legacy()
204 linux_env_set("flash_start", env_buf); in linux_env_legacy()
206 sprintf(env_buf, "0x%X", (uint) (gd->bd->bi_flashsize)); in linux_env_legacy()
207 linux_env_set("flash_size", env_buf); in linux_env_legacy()
218 sprintf(env_buf, "%un8r", gd->baudrate); in linux_env_legacy()
219 linux_env_set("modetty0", env_buf); in linux_env_legacy()