]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/environment.c
Fix yet another recently introduced bug.
[karo-tx-uboot.git] / common / environment.c
index a868dccbdc84184298c3b0eca59714cae9c994d2..61a8d245f9e9bff8aa17857142cced243c0f5137 100644 (file)
@@ -53,7 +53,8 @@
      defined(CONFIG_R360MPI)   || \
      defined(CONFIG_TQM8xxL)   || \
      defined(CONFIG_RRVISION)  || \
-     defined(CONFIG_TRAB)   )  && \
+     defined(CONFIG_TRAB)      || \
+     defined(CONFIG_PPCHAMELEONEVB) )  && \
      defined(ENV_CRC) /* Environment embedded in U-Boot .ppcenv section */
 /* XXX - This only works with GNU C */
 #  define __PPCENV__ __attribute__ ((section(".ppcenv")))
@@ -129,6 +130,9 @@ env_t environment __PPCENV__ = {
 #ifdef CONFIG_ETH2ADDR
        "eth2addr="     MK_STR(CONFIG_ETH2ADDR)         "\0"
 #endif
+#ifdef CONFIG_ETH3ADDR
+       "eth3addr="     MK_STR(CONFIG_ETH3ADDR)         "\0"
+#endif
 #ifdef CONFIG_ETHPRIME
        "ethprime="     CONFIG_ETHPRIME                 "\0"
 #endif