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/system-s3c2440.c | |
parent | f1925b70a007b4ea5eda073d802af297042144ef (diff) | |
download | rockbox-b73b067a90edbb3f5eccfe469a9bc4f99813b079.tar.gz rockbox-b73b067a90edbb3f5eccfe469a9bc4f99813b079.zip |
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/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); |