stage1/board.h | raw changeset files shortlog |
1.1 --- a/stage1/board.h Sun Jul 09 19:04:49 2017 +0200 1.2 +++ b/stage1/board.h Tue Jul 11 00:03:30 2017 +0200 1.3 @@ -8,4 +8,17 @@ 1.4 void pll_init(); 1.5 void sdram_init(); 1.6 1.7 +/* Select the CPU definitions according to the configuration. */ 1.8 + 1.9 +#ifdef CONFIG_CPU_JZ4730 1.10 + 1.11 +#include "jz4730.h" 1.12 +#include "jz4730_compat.h" 1.13 + 1.14 +#else 1.15 + 1.16 +#include "jz4740.h" 1.17 + 1.18 +#endif 1.19 + 1.20 #endif /* __BOARD_H__ */