summaryrefslogtreecommitdiff
path: root/include/sparse.h
blob: 56a81ac4b3b96da7032823a51d6e174566f3f6b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * (C) Copyright 2011
 * Texas Instruments, <www.ti.com>
 * Author: Vikram Pandita <vikram.pandita@ti.com>
 *
 * 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 <asm-arm/types.h>

#define __le32 u32
#define __le16 u16

/* This file is taken as such from Android repo */
#include <sparse_format.h>

u8
do_unsparse(unsigned char init,
				unsigned char *source,
                u32 sector,
                u32 section_size,
                char *slot_no);
#endif /* __SPARSE_H */