Remove some features to make image for DIR-505 fit in 64 KB
authorPiotr Dymacz <pepe2k@gmail.com>
Sun, 28 Aug 2016 22:39:37 +0000 (00:39 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Sun, 28 Aug 2016 22:39:37 +0000 (00:39 +0200)
u-boot/include/configs/ap121.h

index ef45c0c56a1bbec465cc0a24281a754218a6b1e7..56bf89673e486a32c9da6a489b8a051ff341c250 100644 (file)
        #define CFG_PROMPT      "BSB> "
 #endif
 
+/* D-Link DIR-505 is limited to 64 KB only and doesn't use env */
+#if defined(CONFIG_FOR_DLINK_DIR505_A1)
+       #define CFG_ENV_IS_NOWHERE      1
+       #undef CFG_ENV_IS_IN_FLASH
+       #undef CONFIG_CMD_DHCP
+       #undef CONFIG_CMD_SNTP
+       #undef CONFIG_CMD_IMI
+       #undef CONFIG_CMD_ENV
+       #undef CONFIG_CMD_LOADB
+       #undef CONFIG_CMD_BUTTON
+       #undef CONFIG_CMD_SLEEP
+#endif
+
 /*
  * ===========================
  * HTTP recovery configuration