2017-07-11 | Paul Boddie | file changeset files shortlog | Introduced a separate clock and power management module, simplifying the LCD initialisation code, also simplifying the frequency calculations in the stage1 payload. |
paul@35 | 1 | #ifndef __BOARD_H__ |
paul@35 | 2 | #define __BOARD_H__ |
paul@0 | 3 | |
paul@14 | 4 | /* Initialisation functions. */ |
paul@14 | 5 | |
paul@194 | 6 | void load_args(); |
paul@194 | 7 | void gpio_init(); |
paul@194 | 8 | void pll_init(); |
paul@194 | 9 | void sdram_init(); |
paul@0 | 10 | |
paul@230 | 11 | /* Select the CPU definitions according to the configuration. */ |
paul@230 | 12 | |
paul@230 | 13 | #ifdef CONFIG_CPU_JZ4730 |
paul@230 | 14 | |
paul@230 | 15 | #include "jz4730.h" |
paul@230 | 16 | #include "jz4730_compat.h" |
paul@230 | 17 | |
paul@230 | 18 | #else |
paul@230 | 19 | |
paul@230 | 20 | #include "jz4740.h" |
paul@230 | 21 | |
paul@230 | 22 | #endif |
paul@230 | 23 | |
paul@35 | 24 | #endif /* __BOARD_H__ */ |