Update rdc-2.6 patches for 2.6.19
[openwrt.git] / target / linux / rdc-2.6 / patches / 001-rdc3210_flash_map.patch
index 5e1a2fb..6b4b2af 100644 (file)
@@ -2,31 +2,31 @@ diff -urN linux-2.6.17/drivers/mtd/maps/imghdr.h linux-2.6.17.new/drivers/mtd/ma
 --- linux-2.6.17/drivers/mtd/maps/imghdr.h     1970-01-01 01:00:00.000000000 +0100
 +++ linux-2.6.17.new/drivers/mtd/maps/imghdr.h 2006-09-24 20:29:20.000000000 +0200
 @@ -0,0 +1,25 @@
-+#ifndef GT_IMGHDR_H\r
-+#define GT_IMGHDR_H\r
-+\r
-+#define GTIMG_MAGIC           "GMTK"\r
-+\r
-+/* Product ID */\r
-+#define PID_RTL_AIRGO         1\r
-+#define PID_RTL_RALINK                2\r
-+#define PID_RDC_AIRGO         3\r
-+#define PID_RDC_RALINK                5       /* White Lable */\r
-+\r
-+/* Gemtek */\r
-+typedef struct\r
-+{\r
-+      UINT8           magic[4];               /* ASICII: GMTK */\r
-+      UINT32          checksum;               /* CRC32 */\r
-+      UINT32          version;                /* x.x.x.x */\r
-+      UINT32          kernelsz;               /* The size of the kernel image */\r
-+      UINT32          imagesz;                /* The length of this image file ( kernel + romfs + this header) */\r
-+      UINT32          pid;                    /* Product ID */\r
-+      UINT32          fastcksum;              /* Partial CRC32 on (First(256), medium(256), last(512)) */\r
-+      UINT32          reserved;\r
-+}gt_imghdr_t;\r
-+\r
-+#endif\r
++#ifndef GT_IMGHDR_H
++#define GT_IMGHDR_H
++
++#define GTIMG_MAGIC           "GMTK"
++
++/* Product ID */
++#define PID_RTL_AIRGO         1
++#define PID_RTL_RALINK                2
++#define PID_RDC_AIRGO         3
++#define PID_RDC_RALINK                5       /* White Lable */
++
++/* Gemtek */
++typedef struct
++{
++      UINT8           magic[4];               /* ASICII: GMTK */
++      UINT32          checksum;               /* CRC32 */
++      UINT32          version;                /* x.x.x.x */
++      UINT32          kernelsz;               /* The size of the kernel image */
++      UINT32          imagesz;                /* The length of this image file ( kernel + romfs + this header) */
++      UINT32          pid;                    /* Product ID */
++      UINT32          fastcksum;              /* Partial CRC32 on (First(256), medium(256), last(512)) */
++      UINT32          reserved;
++}gt_imghdr_t;
++
++#endif
 diff -urN linux-2.6.17/drivers/mtd/maps/Kconfig linux-2.6.17.new/drivers/mtd/maps/Kconfig
 --- linux-2.6.17/drivers/mtd/maps/Kconfig      2006-06-18 03:49:35.000000000 +0200
 +++ linux-2.6.17.new/drivers/mtd/maps/Kconfig  2006-09-24 20:28:11.000000000 +0200
@@ -74,7 +74,7 @@ diff -urN linux-2.6.17/drivers/mtd/maps/rdc3210.c linux-2.6.17.new/drivers/mtd/m
 +#include <linux/mtd/mtd.h>
 +#include <linux/mtd/map.h>
 +#include <linux/mtd/partitions.h>
-+#include <linux/config.h>
++#include <linux/autoconf.h>
 +
 +#define WINDOW_ADDR             0xFFC00000
 +#define WINDOW_SIZE             0x00400000
This page took 0.028197 seconds and 4 git commands to generate.