1.1 --- a/stage2/board-minipc.h Sun Jun 14 21:32:05 2015 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,12 +0,0 @@
1.4 -#ifndef __BOARD_MINIPC_H__
1.5 -#define __BOARD_MINIPC_H__
1.6 -
1.7 -/* Initialisation functions. */
1.8 -
1.9 -void gpio_init2(void);
1.10 -void cpm_init(void);
1.11 -void rtc_init(void);
1.12 -int timer_init(void);
1.13 -int is_started(void);
1.14 -
1.15 -#endif /* __BOARD_MINIPC_H__ */
2.1 --- a/stage2/board-nanonote.h Sun Jun 14 21:32:05 2015 +0200
2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2.3 @@ -1,12 +0,0 @@
2.4 -#ifndef __BOARD_NANONOTE_H__
2.5 -#define __BOARD_NANONOTE_H__
2.6 -
2.7 -/* Initialisation functions. */
2.8 -
2.9 -void gpio_init2(void);
2.10 -void cpm_init(void);
2.11 -void rtc_init(void);
2.12 -void timer_init(void);
2.13 -int is_started(void);
2.14 -
2.15 -#endif /* __BOARD_NANONOTE_H__ */
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/stage2/board-specific.h Mon Jun 15 11:54:15 2015 +0200
3.3 @@ -0,0 +1,12 @@
3.4 +#ifndef __BOARD_SPECIFIC_H__
3.5 +#define __BOARD_SPECIFIC_H__
3.6 +
3.7 +/* Initialisation functions. */
3.8 +
3.9 +void gpio_init2(void);
3.10 +void cpm_init(void);
3.11 +void rtc_init(void);
3.12 +void timer_init(void);
3.13 +int is_started(void);
3.14 +
3.15 +#endif /* __BOARD_SPECIFIC_H__ */
4.1 --- a/stage2/stage2.c Sun Jun 14 21:32:05 2015 +0200
4.2 +++ b/stage2/stage2.c Mon Jun 15 11:54:15 2015 +0200
4.3 @@ -18,11 +18,7 @@
4.4 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4.5 */
4.6
4.7 -#ifdef CONFIG_CPU_JZ4730_MINIPC
4.8 -#include "board-minipc.h"
4.9 -#else
4.10 -#include "board-nanonote.h"
4.11 -#endif
4.12 +#include "board-specific.h"
4.13
4.14 #include "lcd.h"
4.15