diff options
author | Bob Cousins <bobc@rockbox.org> | 2009-10-31 23:03:34 +0000 |
---|---|---|
committer | Bob Cousins <bobc@rockbox.org> | 2009-10-31 23:03:34 +0000 |
commit | b73b067a90edbb3f5eccfe469a9bc4f99813b079 (patch) | |
tree | 1763ac66c3a8b63cea14b1b5db23bb67d4d8ad00 /firmware/target/arm/s3c2440 | |
parent | f1925b70a007b4ea5eda073d802af297042144ef (diff) |
Replace hard-coded value of memory size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23451 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s3c2440')
-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) map_section(0, 0, 0x1000, CACHE_NONE); /* map RAM to 0 and enable caching for it */ - map_section(0x30000000, 0, 32, CACHE_ALL); + map_section(0x30000000, 0, MEMORYSIZE, CACHE_ALL); /* enable buffered writing for the framebuffer */ map_section((int)FRAME, (int)FRAME, 1, BUFFERED); |