|
|
@ -23,7 +23,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
--- /dev/null
|
|
|
|
--- /dev/null
|
|
|
|
+++ b/drivers/mtd/devices/ar2315.c
|
|
|
|
+++ b/drivers/mtd/devices/ar2315.c
|
|
|
|
@@ -0,0 +1,517 @@
|
|
|
|
@@ -0,0 +1,519 @@
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+/*
|
|
|
|
+ * MTD driver for the SPI Flash Memory support on Atheros AR2315
|
|
|
|
+ * MTD driver for the SPI Flash Memory support on Atheros AR2315
|
|
|
@ -436,7 +436,9 @@ |
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+#if defined CONFIG_MTD_REDBOOT_PARTS || CONFIG_MTD_MYLOADER_PARTS
|
|
|
|
+#if defined CONFIG_MTD_REDBOOT_PARTS || CONFIG_MTD_MYLOADER_PARTS
|
|
|
|
+static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", "MyLoader", NULL };
|
|
|
|
+static const char * const part_probe_types[] = {
|
|
|
|
|
|
|
|
+ "cmdlinepart", "RedBoot", "MyLoader", NULL
|
|
|
|
|
|
|
|
+};
|
|
|
|
+#endif
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|