Blackfin: bf537-stamp: comment CF-Flash Card Support better
[oweals/u-boot.git] / include / configs / bfin_adi_common.h
index b82456632d9902fd0a96919b402eac3d020283fc..ceb130c813de4dc7c21464f67b6b4a1f18b68b12 100644 (file)
@@ -38,6 +38,9 @@
 #  define CONFIG_CMD_USB_STORAGE
 #  define CONFIG_DOS_PARTITION
 # endif
+# ifdef CONFIG_NAND_PLAT
+#  define CONFIG_CMD_NAND
+# endif
 # ifdef CONFIG_POST
 #  define CONFIG_CMD_DIAG
 # endif
                "nand write $(loadaddr) 0 0x40000"
 # else
 #  define UBOOT_ENV_UPDATE \
-               "protect off 0x20000000 0x2003FFFF;" \
-               "erase 0x20000000 0x2003FFFF;" \
+               "protect off 0x20000000 +$(filesize);" \
+               "erase 0x20000000 +$(filesize);" \
                "cp.b $(loadaddr) 0x20000000 $(filesize)"
 # endif
 # define NETWORK_ENV_SETTINGS \
 # define CONFIG_NET_RETRY_COUNT 20
 #endif
 
+/*
+ * Misc Settings
+ */
+#define CONFIG_LZMA
+
 #endif