Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE
[pandora-u-boot.git] / arch / arm / mach-exynos / spl_boot.c
index 93fea9c..f518539 100644 (file)
@@ -251,7 +251,7 @@ void copy_uboot_to_ram(void)
 #ifdef CONFIG_SPI_BOOTING
        case BOOT_MODE_SERIAL:
                /* Customised function to copy u-boot from SF */
-               exynos_spi_copy(param->uboot_size, CONFIG_SYS_TEXT_BASE);
+               exynos_spi_copy(param->uboot_size, CONFIG_TEXT_BASE);
                break;
 #endif
        case BOOT_MODE_SD:
@@ -267,7 +267,7 @@ void copy_uboot_to_ram(void)
                copy_bl2_from_emmc = get_irom_func(EMMC44_INDEX);
                end_bootop_from_emmc = get_irom_func(EMMC44_END_INDEX);
 
-               copy_bl2_from_emmc(BL2_SIZE_BLOC_COUNT, CONFIG_SYS_TEXT_BASE);
+               copy_bl2_from_emmc(BL2_SIZE_BLOC_COUNT, CONFIG_TEXT_BASE);
                end_bootop_from_emmc();
                break;
 #endif
@@ -279,7 +279,7 @@ void copy_uboot_to_ram(void)
                 */
                is_cr_z_set = config_branch_prediction(0);
                usb_copy = get_irom_func(USB_INDEX);
-               usb_copy(0, (u32 *)CONFIG_SYS_TEXT_BASE);
+               usb_copy(0, (u32 *)CONFIG_TEXT_BASE);
                config_branch_prediction(is_cr_z_set);
                break;
 #endif
@@ -288,7 +288,7 @@ void copy_uboot_to_ram(void)
        }
 
        if (copy_bl2)
-               copy_bl2(offset, size, CONFIG_SYS_TEXT_BASE);
+               copy_bl2(offset, size, CONFIG_TEXT_BASE);
 }
 
 void memzero(void *s, size_t n)
@@ -329,7 +329,7 @@ void board_init_f(unsigned long bootflag)
        copy_uboot_to_ram();
 
        /* Jump to U-Boot image */
-       uboot = (void *)CONFIG_SYS_TEXT_BASE;
+       uboot = (void *)CONFIG_TEXT_BASE;
        (*uboot)();
        /* Never returns Here */
 }