summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-06-04 10:26:53 +0900
committerTom Rini <trini@ti.com>2014-06-05 17:01:59 -0400
commit66948c25bb7d90d561c1b8be3d69696ef649358f (patch)
tree0d122684567ed18481c50408c2529e9b5d52b294 /common
parent7445207f0fa495108736a5642b5b98aef3aed757 (diff)
downloadtalos-obmc-uboot-66948c25bb7d90d561c1b8be3d69696ef649358f.tar.gz
talos-obmc-uboot-66948c25bb7d90d561c1b8be3d69696ef649358f.zip
nand_spl: remove nand_spl infrastructure
Remove the common infrastructure of nand_spl and clean-up the code inside ifdef(CONFIG_NAND_U_BOOT)..endif. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'common')
-rw-r--r--common/env_embedded.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_embedded.c b/common/env_embedded.c
index 1c4f915b79..56a13cb882 100644
--- a/common/env_embedded.c
+++ b/common/env_embedded.c
@@ -33,7 +33,7 @@
* a seperate section. Note that ENV_CRC is only defined when building
* U-Boot itself.
*/
-#if (defined(CONFIG_SYS_USE_PPCENV) || defined(CONFIG_NAND_U_BOOT)) && \
+#if defined(CONFIG_SYS_USE_PPCENV) && \
defined(ENV_CRC) /* Environment embedded in U-Boot .ppcenv section */
/* XXX - This only works with GNU C */
# define __PPCENV__ __attribute__ ((section(".ppcenv")))
OpenPOWER on IntegriCloud