diff options
Diffstat (limited to 'firmware/target/arm/s3c2440/system-s3c2440.c')
-rw-r--r-- | firmware/target/arm/s3c2440/system-s3c2440.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/s3c2440/system-s3c2440.c b/firmware/target/arm/s3c2440/system-s3c2440.c index 6b7609b88b..cb273ad4df 100644 --- a/firmware/target/arm/s3c2440/system-s3c2440.c +++ b/firmware/target/arm/s3c2440/system-s3c2440.c | |||
@@ -123,7 +123,7 @@ static void set_page_tables(void) | |||
123 | map_section(0, 0, 0x1000, CACHE_NONE); | 123 | map_section(0, 0, 0x1000, CACHE_NONE); |
124 | 124 | ||
125 | /* map RAM to 0 and enable caching for it */ | 125 | /* map RAM to 0 and enable caching for it */ |
126 | map_section(0x30000000, 0, 32, CACHE_ALL); | 126 | map_section(0x30000000, 0, MEMORYSIZE, CACHE_ALL); |
127 | 127 | ||
128 | /* enable buffered writing for the framebuffer */ | 128 | /* enable buffered writing for the framebuffer */ |
129 | map_section((int)FRAME, (int)FRAME, 1, BUFFERED); | 129 | map_section((int)FRAME, (int)FRAME, 1, BUFFERED); |