summaryrefslogtreecommitdiffstats
path: root/include/pbl.h
blob: 787bd8293ff13a7415cc35f4136f82ec76f8fa1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
 *
 * Under GPLv2
 */

#ifndef __PBL_H__
#define __PBL_H__

extern unsigned long free_mem_ptr;
extern unsigned long free_mem_end_ptr;

void pbl_barebox_uncompress(void *dest, void *compressed_start, unsigned int len);

#ifdef __PBL__
#define IN_PBL	1
#else
#define IN_PBL	0
#endif

#endif /* __PBL_H__ */