diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-03-28 12:47:50 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-03-28 12:47:50 +0000 |
commit | e6876736d50a9efbabffadd3172bc10c302d0089 (patch) | |
tree | b9f4be919dd805e73a5fee6b44b735fb80201194 /firmware/target/coldfire | |
parent | a8c1fb55a4b2adf25b90521d027246f6c86bdfc4 (diff) | |
download | rockbox-e6876736d50a9efbabffadd3172bc10c302d0089.tar.gz rockbox-e6876736d50a9efbabffadd3172bc10c302d0089.zip |
Correct IRAM attributes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9310 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire')
-rwxr-xr-x | firmware/target/coldfire/iaudio/x5/lcd-x5.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/coldfire/iaudio/x5/lcd-x5.c b/firmware/target/coldfire/iaudio/x5/lcd-x5.c index 813e5b9e96..95c0bc85a5 100755 --- a/firmware/target/coldfire/iaudio/x5/lcd-x5.c +++ b/firmware/target/coldfire/iaudio/x5/lcd-x5.c | |||
@@ -76,7 +76,7 @@ print "$str\n};\n"; | |||
76 | *****************************************************/ | 76 | *****************************************************/ |
77 | 77 | ||
78 | /* Lookup tables for 16->18bit conversion */ | 78 | /* Lookup tables for 16->18bit conversion */ |
79 | const short high8to9[] = { | 79 | const short high8to9[] ICONST_ATTR = { |
80 | 0x000, 0x001, 0x002, 0x003, 0x004, 0x005, 0x006, 0x007, 0x010, 0x011, 0x012, | 80 | 0x000, 0x001, 0x002, 0x003, 0x004, 0x005, 0x006, 0x007, 0x010, 0x011, 0x012, |
81 | 0x013, 0x014, 0x015, 0x016, 0x017, 0x020, 0x021, 0x022, 0x023, 0x024, 0x025, | 81 | 0x013, 0x014, 0x015, 0x016, 0x017, 0x020, 0x021, 0x022, 0x023, 0x024, 0x025, |
82 | 0x026, 0x027, 0x030, 0x031, 0x032, 0x033, 0x034, 0x035, 0x036, 0x037, 0x040, | 82 | 0x026, 0x027, 0x030, 0x031, 0x032, 0x033, 0x034, 0x035, 0x036, 0x037, 0x040, |
@@ -101,8 +101,8 @@ const short high8to9[] = { | |||
101 | 0x1c7, 0x1d0, 0x1d1, 0x1d2, 0x1d3, 0x1d4, 0x1d5, 0x1d6, 0x1d7, 0x1e0, 0x1e1, | 101 | 0x1c7, 0x1d0, 0x1d1, 0x1d2, 0x1d3, 0x1d4, 0x1d5, 0x1d6, 0x1d7, 0x1e0, 0x1e1, |
102 | 0x1e2, 0x1e3, 0x1e4, 0x1e5, 0x1e6, 0x1e7, 0x1f0, 0x1f1, 0x1f2, 0x1f3, 0x1f4, | 102 | 0x1e2, 0x1e3, 0x1e4, 0x1e5, 0x1e6, 0x1e7, 0x1f0, 0x1f1, 0x1f2, 0x1f3, 0x1f4, |
103 | 0x1f5, 0x1f6, 0x1f7, | 103 | 0x1f5, 0x1f6, 0x1f7, |
104 | } ICONST_ATTR; | 104 | }; |
105 | const short low8to9[] = { | 105 | const short low8to9[] ICONST_ATTR = { |
106 | 0x000, 0x002, 0x004, 0x006, 0x008, 0x00a, 0x00c, 0x00e, 0x010, 0x012, 0x014, | 106 | 0x000, 0x002, 0x004, 0x006, 0x008, 0x00a, 0x00c, 0x00e, 0x010, 0x012, 0x014, |
107 | 0x016, 0x018, 0x01a, 0x01c, 0x01e, 0x020, 0x022, 0x024, 0x026, 0x028, 0x02a, | 107 | 0x016, 0x018, 0x01a, 0x01c, 0x01e, 0x020, 0x022, 0x024, 0x026, 0x028, 0x02a, |
108 | 0x02c, 0x02e, 0x030, 0x032, 0x034, 0x036, 0x038, 0x03a, 0x03c, 0x03e, 0x040, | 108 | 0x02c, 0x02e, 0x030, 0x032, 0x034, 0x036, 0x038, 0x03a, 0x03c, 0x03e, 0x040, |
@@ -127,7 +127,7 @@ const short low8to9[] = { | |||
127 | 0x1ce, 0x1d0, 0x1d2, 0x1d4, 0x1d6, 0x1d8, 0x1da, 0x1dc, 0x1de, 0x1e0, 0x1e2, | 127 | 0x1ce, 0x1d0, 0x1d2, 0x1d4, 0x1d6, 0x1d8, 0x1da, 0x1dc, 0x1de, 0x1e0, 0x1e2, |
128 | 0x1e4, 0x1e6, 0x1e8, 0x1ea, 0x1ec, 0x1ee, 0x1f0, 0x1f2, 0x1f4, 0x1f6, 0x1f8, | 128 | 0x1e4, 0x1e6, 0x1e8, 0x1ea, 0x1ec, 0x1ee, 0x1f0, 0x1f2, 0x1f4, 0x1f6, 0x1f8, |
129 | 0x1fa, 0x1fc, 0x1fe, | 129 | 0x1fa, 0x1fc, 0x1fe, |
130 | } ICONST_ATTR; | 130 | }; |
131 | 131 | ||
132 | /* called very frequently - inline! */ | 132 | /* called very frequently - inline! */ |
133 | inline void lcd_write_reg(int reg, int val) | 133 | inline void lcd_write_reg(int reg, int val) |