diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2009-07-29 02:49:42 +0200 |
---|---|---|
committer | Andrea Adami <andrea.adami@gmail.com> | 2009-07-29 02:49:42 +0200 |
commit | 8361ab6537f2335efa18fde8ef369167250127b3 (patch) | |
tree | bfa8d44ae39afee07af2435f55bb3adf89ac5b66 /recipes/nandlogical/files/mtd-user.h | |
parent | 977539b14a8aa502824ab7d6a53d6e3ade6d0e0e (diff) |
nandlogical: add nandlogical-klibc-static for Zaurus
- code to be used in kexecboot to detect the size of the rootfs in nand
Diffstat (limited to 'recipes/nandlogical/files/mtd-user.h')
-rw-r--r-- | recipes/nandlogical/files/mtd-user.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/nandlogical/files/mtd-user.h b/recipes/nandlogical/files/mtd-user.h new file mode 100644 index 0000000000..713f34d3e6 --- /dev/null +++ b/recipes/nandlogical/files/mtd-user.h @@ -0,0 +1,21 @@ +/* + * $Id: mtd-user.h,v 1.2 2004/05/05 14:44:57 dwmw2 Exp $ + * + * MTD ABI header for use by user space only. + */ + +#ifndef __MTD_USER_H__ +#define __MTD_USER_H__ + +#include <stdint.h> + +/* This file is blessed for inclusion by userspace */ +#include <mtd/mtd-abi.h> + +typedef struct mtd_info_user mtd_info_t; +typedef struct erase_info_user erase_info_t; +typedef struct region_info_user region_info_t; +typedef struct nand_oobinfo nand_oobinfo_t; +typedef struct nand_ecclayout nand_ecclayout_t; + +#endif /* __MTD_USER_H__ */ |