Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE
[pandora-u-boot.git] / arch / arm / mach-sunxi / spl_spi_sunxi.c
index 520f14e..81159cf 100644 (file)
@@ -341,7 +341,7 @@ static int spl_spi_load_image(struct spl_image_info *spl_image,
        struct legacy_img_hdr *header;
        uint32_t load_offset = sunxi_get_spl_size();
 
-       header = (struct legacy_img_hdr *)CONFIG_SYS_TEXT_BASE;
+       header = (struct legacy_img_hdr *)CONFIG_TEXT_BASE;
        load_offset = max_t(uint32_t, load_offset, CONFIG_SYS_SPI_U_BOOT_OFFS);
 
        spi0_init();