diff options
Diffstat (limited to 'common/spl/spl_net.c')
-rw-r--r-- | common/spl/spl_net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/spl/spl_net.c b/common/spl/spl_net.c index 803303249c..30c050c0b3 100644 --- a/common/spl/spl_net.c +++ b/common/spl/spl_net.c @@ -19,14 +19,14 @@ static ulong spl_net_load_read(struct spl_load_info *load, ulong sector, { debug("%s: sector %lx, count %lx, buf %lx\n", __func__, sector, count, (ulong)buf); - memcpy(buf, (void *)(load_addr + sector), count); + memcpy(buf, (void *)(image_load_addr + sector), count); return count; } static int spl_net_load_image(struct spl_image_info *spl_image, struct spl_boot_device *bootdev) { - struct image_header *header = (struct image_header *)load_addr; + struct image_header *header = (struct image_header *)image_load_addr; int rv; env_init(); |