From: Piotr Dymacz Date: Sun, 28 Aug 2016 22:39:37 +0000 (+0200) Subject: Remove some features to make image for DIR-505 fit in 64 KB X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=62540ef4377e82f14acc4a7c4604e02b5ee150c6;p=oweals%2Fu-boot_mod.git Remove some features to make image for DIR-505 fit in 64 KB --- diff --git a/u-boot/include/configs/ap121.h b/u-boot/include/configs/ap121.h index ef45c0c..56bf896 100644 --- a/u-boot/include/configs/ap121.h +++ b/u-boot/include/configs/ap121.h @@ -348,6 +348,19 @@ #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