1.1 --- a/include/jz4740_lcd.h Mon Jun 08 19:04:43 2015 +0200
1.2 +++ b/include/jz4740_lcd.h Mon Jun 08 19:20:02 2015 +0200
1.3 @@ -70,10 +70,6 @@
1.4 #define LCD_COLOR16 4
1.5 #define LCD_COLOR32 5
1.6
1.7 -#ifndef PAGE_SIZE
1.8 -#define PAGE_SIZE 4096
1.9 -#endif
1.10 -
1.11 /* Calculate nr. of bits per pixel and nr. of colors */
1.12 #define NBITS(bit_code) (1 << (bit_code))
1.13 #define NCOLORS(bit_code) (1 << NBITS(bit_code))
2.1 --- a/include/nanonote.h Mon Jun 08 19:04:43 2015 +0200
2.2 +++ b/include/nanonote.h Mon Jun 08 19:20:02 2015 +0200
2.3 @@ -59,7 +59,12 @@
2.4 #define CONFIG_SYS_DCACHE_SIZE 16384
2.5 #define CONFIG_SYS_ICACHE_SIZE 16384
2.6 #define CONFIG_SYS_CACHELINE_SIZE 32
2.7 +
2.8 +/*
2.9 + * Memory configuration
2.10 + */
2.11 #define KSEG0 0x80000000
2.12 +#define PAGE_SIZE 4096
2.13
2.14 /*
2.15 * GPIO definition