X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=common%2Fcmd_fdt.c;h=4c18962d853283b501729d0b36c6326548c00a1c;hb=7b95252d82267143e647d5fee96c7d9d5bf74560;hp=682b6553958fe5afcf60fe78af4c3230f5d03915;hpb=0eb25b619699270a8af95c2f76791fd6c4b52972;p=u-boot diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c index 682b655395..4c18962d85 100644 --- a/common/cmd_fdt.c +++ b/common/cmd_fdt.c @@ -45,7 +45,7 @@ void set_working_fdt_addr(ulong addr) buf = map_sysmem(addr, 0); working_fdt = buf; - setenv_ulong("fdtaddr", addr); + setenv_hex("fdtaddr", addr); } /*