From 8361ab6537f2335efa18fde8ef369167250127b3 Mon Sep 17 00:00:00 2001 From: Andrea Adami Date: Wed, 29 Jul 2009 02:49:42 +0200 Subject: nandlogical: add nandlogical-klibc-static for Zaurus - code to be used in kexecboot to detect the size of the rootfs in nand --- recipes/nandlogical/files/mtd-user.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 recipes/nandlogical/files/mtd-user.h (limited to 'recipes/nandlogical/files/mtd-user.h') 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 + +/* This file is blessed for inclusion by userspace */ +#include + +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__ */ -- cgit v1.2.3