summaryrefslogtreecommitdiff
path: root/net/tftp.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-02-02 10:08:50 -0500
committerTom Rini <trini@konsulko.com>2019-02-02 10:08:50 -0500
commit1b0769f2ed17ffc1cf9b32ad057bc8b160cbcbae (patch)
treeaf6e0bc4de02a443cb08b09e26b472ddc030967c /net/tftp.c
parentdb4a29993d207fec33c07de8b8cb8a3fd22c9e6c (diff)
parentd5512a32f683120f7e2d88b148bad1836f667a3c (diff)
Merge branch '2019-02-01-master-imports'
- Various TI platforms have been updated and DTS files re-synced and options disabled if not used or migrated to the DM versions - Improvements to the dumpimage tool - Rename SPL FAT/EXT filesystem support symbols for consistency and then allow them to be used to save more space in SPL. - More lmb fixes - Partial migration of CONFIG_BUILD_TARGET
Diffstat (limited to 'net/tftp.c')
-rw-r--r--net/tftp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/tftp.c b/net/tftp.c
index eca801aa194..34488b76c84 100644
--- a/net/tftp.c
+++ b/net/tftp.c
@@ -606,8 +606,7 @@ static int tftp_init_load_addr(void)
struct lmb lmb;
phys_size_t max_size;
- lmb_init_and_reserve(&lmb, gd->bd->bi_dram[0].start,
- gd->bd->bi_dram[0].size, (void *)gd->fdt_blob);
+ lmb_init_and_reserve(&lmb, gd->bd, (void *)gd->fdt_blob);
max_size = lmb_get_free_size(&lmb, load_addr);
if (!max_size)