# HG changeset patch # User Paul Boddie # Date 1433784002 -7200 # Node ID df198fdec3e219571473c8c8ee26afb67090e5df # Parent 57ffc4fab453584273ca661187ae8f1b36bff63c Moved PAGE_SIZE into the NanoNote header file. diff -r 57ffc4fab453 -r df198fdec3e2 include/jz4740_lcd.h --- a/include/jz4740_lcd.h Mon Jun 08 19:04:43 2015 +0200 +++ b/include/jz4740_lcd.h Mon Jun 08 19:20:02 2015 +0200 @@ -70,10 +70,6 @@ #define LCD_COLOR16 4 #define LCD_COLOR32 5 -#ifndef PAGE_SIZE -#define PAGE_SIZE 4096 -#endif - /* Calculate nr. of bits per pixel and nr. of colors */ #define NBITS(bit_code) (1 << (bit_code)) #define NCOLORS(bit_code) (1 << NBITS(bit_code)) diff -r 57ffc4fab453 -r df198fdec3e2 include/nanonote.h --- a/include/nanonote.h Mon Jun 08 19:04:43 2015 +0200 +++ b/include/nanonote.h Mon Jun 08 19:20:02 2015 +0200 @@ -59,7 +59,12 @@ #define CONFIG_SYS_DCACHE_SIZE 16384 #define CONFIG_SYS_ICACHE_SIZE 16384 #define CONFIG_SYS_CACHELINE_SIZE 32 + +/* + * Memory configuration + */ #define KSEG0 0x80000000 +#define PAGE_SIZE 4096 /* * GPIO definition