]> Git Repo - J-u-boot.git/blobdiff - common/board_r.c
env: Add CONFIG_SYS_RELOC_GD_ENV_ADDR symbol
[J-u-boot.git] / common / board_r.c
index c1ecb06b743d26403a02923f70431133839dac95..65720849cd8e7500e43c166cce463a83521cf571 100644 (file)
@@ -144,7 +144,7 @@ static int initr_reloc_global_data(void)
         */
        fixup_cpu();
 #endif
-#if !defined(CONFIG_ENV_ADDR) || defined(ENV_IS_EMBEDDED)
+#ifdef CONFIG_SYS_RELOC_GD_ENV_ADDR
        /*
         * Relocate the early env_addr pointer unless we know it is not inside
         * the binary. Some systems need this and for the rest, it doesn't hurt.
This page took 0.024645 seconds and 4 git commands to generate.