1.1 --- a/stage2/nanonote_gpm940b0.h Mon Jun 08 00:35:10 2015 +0200
1.2 +++ b/stage2/nanonote_gpm940b0.h Mon Jun 08 00:35:35 2015 +0200
1.3 @@ -24,6 +24,7 @@
1.4
1.5 #include "nanonote.h"
1.6 #include "jz4740_lcd.h"
1.7 +#include "jz4740.h"
1.8
1.9 unsigned long lcd_get_size(void);
1.10 void lcd_ctrl_init(void *lcdbase);
1.11 @@ -121,9 +122,9 @@
1.12 #define __lcd_display_pin_init() \
1.13 do { \
1.14 __cpm_start_tcu(); \
1.15 - __gpio_as_output(SPEN); /* use SPDA */ \
1.16 - __gpio_as_output(SPCK); /* use SPCK */ \
1.17 - __gpio_as_output(SPDA); /* use SPDA */ \
1.18 + __gpio_as_output(SPEN); \
1.19 + __gpio_as_output(SPCK); \
1.20 + __gpio_as_output(SPDA); \
1.21 } while (0)
1.22
1.23 #define __lcd_display_on() \