blob: a3d19dd54ad5df7ef8569773c4cf1a8952173fbc (
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
|
/*
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnio@jcrosoft.com>
*
* Under GPLv2
*/
#ifndef __MACH_BOOTSTRAP_H__
#define __MACH_BOOTSTRAP_H__
#ifdef CONFIG_MTD_M25P80
void * bootstrap_board_read_m25p80(void);
#else
static inline void * bootstrap_board_read_m25p80(void)
{
return NULL;
}
#endif
#ifdef CONFIG_MTD_DATAFLASH
void * bootstrap_board_read_dataflash(void);
#else
static inline void * bootstrap_board_read_dataflash(void)
{
return NULL;
}
#endif
#endif /* __MACH_BOOTSTRAP_H__ */
|