1 #include <linux/init.h>
2 #include <linux/delay.h>
4 #include "mach/pm_common.h"
9 * board_init: entry point for board initialization.
12 static __init
int board_init(void)
15 * NoteXXX: There are two board init related functions.
16 * One is mt65xx_board_init() and another is custom_board_init().
18 * mt65xx_board_init() is used for chip-dependent code.
19 * It is suggested to put driver code in this function to do:
20 * 1). Capability structure of platform devices.
21 * 2). Define platform devices with their resources.
22 * 3). Register MT65XX platform devices.
24 * custom_board_init() is used for customizable code.
25 * It is suggested to put driver code in this function to do:
26 * 1). Initialize board (PINMUX, GPIOs).
27 * 2). Perform board specific initialization:
28 * 1-1). Register MT65xx platform devices.
29 * 1-2). Register non-MT65xx platform devices.
30 * (e.g. external peripheral GPS, BT, ¡K etc.)
32 // mt6582_power_management_init();
36 /* init low power PMIC setting after PMIC is ready */
37 // mt6582_pmic_low_power_init();
39 /* BUG BUG: temporarily marked since customization is not ready yet */
47 late_initcall(board_init
);