mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-25 08:03:18 +00:00
mips/bootm: Fix typo in commit c4f9419c
, "initrd_start" replaced by "images->rd_start"
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
9ba2e2c819
commit
72f1b65f1b
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
|
||||||
linux_env_set ("memsize", env_buf);
|
linux_env_set ("memsize", env_buf);
|
||||||
|
|
||||||
sprintf (env_buf, "0x%08X", (uint) UNCACHED_SDRAM (images->rd_start));
|
sprintf (env_buf, "0x%08X", (uint) UNCACHED_SDRAM (images->rd_start));
|
||||||
linux_env_set ("images->rd_start", env_buf);
|
linux_env_set ("initrd_start", env_buf);
|
||||||
|
|
||||||
sprintf (env_buf, "0x%X", (uint) (images->rd_end - images->rd_start));
|
sprintf (env_buf, "0x%X", (uint) (images->rd_end - images->rd_start));
|
||||||
linux_env_set ("initrd_size", env_buf);
|
linux_env_set ("initrd_size", env_buf);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue