mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
25
target/linux/rdc/files/drivers/mtd/maps/imghdr.h
Normal file
25
target/linux/rdc/files/drivers/mtd/maps/imghdr.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#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
|
||||
{
|
||||
u8 magic[4]; /* ASICII: GMTK */
|
||||
u32 checksum; /* CRC32 */
|
||||
u32 version; /* x.x.x.x */
|
||||
u32 kernelsz; /* The size of the kernel image */
|
||||
u32 imagesz; /* The length of this image file ( kernel + romfs + this header) */
|
||||
u32 pid; /* Product ID */
|
||||
u32 fastcksum; /* Partial CRC32 on (First(256), medium(256), last(512)) */
|
||||
u32 reserved;
|
||||
}gt_imghdr_t;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user