diff options
Diffstat (limited to 'package/boot/uboot-kirkwood/patches/008-nsa325-uboot-generic.patch')
-rw-r--r-- | package/boot/uboot-kirkwood/patches/008-nsa325-uboot-generic.patch | 33 |
1 files changed, 7 insertions, 26 deletions
diff --git a/package/boot/uboot-kirkwood/patches/008-nsa325-uboot-generic.patch b/package/boot/uboot-kirkwood/patches/008-nsa325-uboot-generic.patch index 84ea0e709e..0bb79fa4e5 100644 --- a/package/boot/uboot-kirkwood/patches/008-nsa325-uboot-generic.patch +++ b/package/boot/uboot-kirkwood/patches/008-nsa325-uboot-generic.patch @@ -511,10 +511,11 @@ new file mode 100644 index 0000000..48e09cc --- /dev/null +++ b/configs/nsa325_defconfig -@@ -0,0 +1,18 @@ +@@ -0,0 +1,22 @@ +CONFIG_ARM=y +CONFIG_KIRKWOOD=y +CONFIG_TARGET_NSA325=y ++CONFIG_IDENT_STRING="\nZyXEL NSA325 2-Bay Power Media Server" +CONFIG_BOOTDELAY=3 +CONFIG_SYS_PROMPT="NSA325> " +# CONFIG_CMD_IMLS is not set @@ -524,19 +525,21 @@ index 0000000..48e09cc +CONFIG_OF_LIBFDT=y +CONFIG_CMD_SETEXPR=y +CONFIG_CMD_DHCP=y -+CONFIG_CMD_NAND=y ++CONFIG_CMD_MII=y +CONFIG_CMD_PING=y +CONFIG_CMD_USB=y +CONFIG_USB=y ++CONFIG_CMD_EXT2=y +CONFIG_CMD_FAT=y ++CONFIG_EFI_PARTITION=y ++CONFIG_CMD_UBI=y +CONFIG_USB_STORAGE=y -\ No newline at end of file diff --git a/include/configs/nsa325.h b/include/configs/nsa325.h new file mode 100644 index 0000000..e5a8e2a --- /dev/null +++ b/include/configs/nsa325.h -@@ -0,0 +1,170 @@ +@@ -0,0 +1,148 @@ +/* + * (C) Copyright 2016 bodhi <mibodhi@gmail.com> + * @@ -573,11 +576,6 @@ index 0000000..e5a8e2a +#define _CONFIG_NSA325_H + +/* -+ * Version number information -+ */ -+#define CONFIG_IDENT_STRING "\nZyXEL NSA325 2-Bay Power Media Server" -+ -+/* + * High Level Configuration Options (easy to change) + */ +#define CONFIG_FEROCEON_88FR131 1 /* CPU Core subversion */ @@ -594,15 +592,9 @@ index 0000000..e5a8e2a +/* + * Commands configuration + */ -+#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */ -+#define CONFIG_SYS_MVFS /* Picks up Filesystem from mv-common.h */ -+#define CONFIG_CMD_DHCP +#define CONFIG_CMD_ENV +#define CONFIG_CMD_IDE -+#define CONFIG_CMD_MII +#define CONFIG_CMD_NAND -+#define CONFIG_CMD_PING -+#define CONFIG_CMD_USB +#define CONFIG_CMD_DATE +#define CONFIG_SYS_LONGHELP +#define CONFIG_PREBOOT @@ -615,9 +607,6 @@ index 0000000..e5a8e2a + */ +#include "mv-common.h" + -+#undef CONFIG_SYS_PROMPT /* previously defined in mv-common.h */ -+#define CONFIG_SYS_PROMPT "NSA325> " /* Command Prompt */ -+ +/* + * Environment variables configurations + */ @@ -676,13 +665,10 @@ index 0000000..e5a8e2a +/* + * File system + */ -+#define CONFIG_CMD_EXT2 +#define CONFIG_CMD_EXT4 -+#define CONFIG_CMD_FAT +#define CONFIG_CMD_JFFS2 +#define CONFIG_JFFS2_NAND +#define CONFIG_JFFS2_LZO -+#define CONFIG_CMD_UBI +#define CONFIG_CMD_UBIFS +#define CONFIG_RBTREE +#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ @@ -691,11 +677,6 @@ index 0000000..e5a8e2a +#define CONFIG_LZO + +/* -+ * EFI partition -+ */ -+#define CONFIG_EFI_PARTITION -+ -+/* + * Date Time + */ +#ifdef CONFIG_CMD_DATE |