From d04075478d378d9e15f3e1abfd14b0bd124077d4 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 11:48:36 +0800 Subject: init commit via android 4.4 uboot --- include/sparse.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 include/sparse.h (limited to 'include/sparse.h') diff --git a/include/sparse.h b/include/sparse.h new file mode 100755 index 0000000..56a81ac --- /dev/null +++ b/include/sparse.h @@ -0,0 +1,38 @@ +/* + * (C) Copyright 2011 + * Texas Instruments, + * Author: Vikram Pandita + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + */ + +#ifndef __SPARSE_H +#define __SPARSE_H +#include + +#define __le32 u32 +#define __le16 u16 + +/* This file is taken as such from Android repo */ +#include + +u8 +do_unsparse(unsigned char init, + unsigned char *source, + u32 sector, + u32 section_size, + char *slot_no); +#endif /* __SPARSE_H */ -- cgit