summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Moń <desowin@gmail.com>2011-12-22 18:03:44 +0000
committerTomasz Moń <desowin@gmail.com>2011-12-22 18:03:44 +0000
commit5b5871bd011095e11cc31a247dc9b2e104c79d79 (patch)
tree8865039b84836f0a40e5fae9b412732b65765896
parent8942bf874c370f1a81f2863dfdb21f83ae1898e3 (diff)
downloadrockbox-5b5871bd011095e11cc31a247dc9b2e104c79d79.tar.gz
rockbox-5b5871bd011095e11cc31a247dc9b2e104c79d79.zip
TMS320DM320: Disable CLOCKOUT signal to save some power.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31404 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/tms320dm320/dsp/dsp-image.h278
-rw-r--r--firmware/target/arm/tms320dm320/dsp/main.c5
2 files changed, 141 insertions, 142 deletions
diff --git a/firmware/target/arm/tms320dm320/dsp/dsp-image.h b/firmware/target/arm/tms320dm320/dsp/dsp-image.h
index f49704bd7b..3319d85a11 100644
--- a/firmware/target/arm/tms320dm320/dsp/dsp-image.h
+++ b/firmware/target/arm/tms320dm320/dsp/dsp-image.h
@@ -20,110 +20,108 @@
20 * 20 *
21 */ 21 */
22static const unsigned short _section_text[] = { 22static const unsigned short _section_text[] = {
23 0xf495, 0x74f8, 0x0008, 0x0281, 0xf040, 0x0001, 0x75f8, 0x0008, 23 0x4a11, 0x60f8, 0x05b9, 0x0001, 0xfa30, 0x008d, 0xf495, 0xeefe,
24 0x0281, 0xe808, 0x75f8, 0x0008, 0x0280, 0x74f8, 0x0008, 0x0281, 24 0x60f8, 0x05b9, 0x0002, 0xf820, 0x00a2, 0x7711, 0x0054, 0x6881,
25 0xf030, 0xfffe, 0x75f8, 0x0008, 0x0281, 0xfc00, 0x4a11, 0x60f8, 25 0xfffe, 0xf074, 0x02f3, 0xe800, 0x75f8, 0x0008, 0x8006, 0x76f8,
26 0x05cb, 0x0001, 0xfa30, 0x00a3, 0xf495, 0xeefe, 0x60f8, 0x05cb, 26 0x05b6, 0x0000, 0x76f8, 0x05b5, 0x0000, 0x76f8, 0x05b7, 0x0000,
27 0x0002, 0xf820, 0x00b8, 0x7711, 0x0054, 0x6881, 0xfffe, 0xf074, 27 0xf073, 0x010f, 0x10f8, 0x05b6, 0x08f8, 0x05b4, 0xf844, 0x00b3,
28 0x0309, 0xe800, 0x75f8, 0x0008, 0x8006, 0x76f8, 0x05c8, 0x0000, 28 0x76f8, 0x05b6, 0x0000, 0x76f8, 0x0560, 0x0002, 0x76f8, 0x05ba,
29 0x76f8, 0x05c7, 0x0000, 0x76f8, 0x05c9, 0x0000, 0xf073, 0x0125, 29 0x0001, 0xf074, 0x025d, 0x10f8, 0x05ba, 0xf844, 0x010f, 0x10f8,
30 0x10f8, 0x05c8, 0x08f8, 0x05c6, 0xf844, 0x00c9, 0x76f8, 0x05c8, 30 0x05b4, 0x00f8, 0x05b5, 0x08f8, 0x05b6, 0x8811, 0xf495, 0x7710,
31 0x0000, 0x76f8, 0x0572, 0x0002, 0x76f8, 0x05cc, 0x0001, 0xf074, 31 0x1000, 0xf6a9, 0xf820, 0x00ca, 0xf020, 0x1000, 0xf273, 0x00ce,
32 0x0080, 0x10f8, 0x05cc, 0xf844, 0x0125, 0x10f8, 0x05c6, 0x00f8, 32 0x08f8, 0x05b5, 0x10f8, 0x05b4, 0x08f8, 0x05b6, 0x80f8, 0x05b7,
33 0x05c7, 0x08f8, 0x05c8, 0x8811, 0xf495, 0x7710, 0x1000, 0xf6a9, 33 0xf6b8, 0x10f8, 0x05b8, 0xf000, 0x8000, 0x6ff8, 0x05b5, 0x0c1f,
34 0xf820, 0x00e0, 0xf020, 0x1000, 0xf273, 0x00e4, 0x08f8, 0x05c7, 34 0x75f8, 0x0008, 0x8002, 0xe800, 0x75f8, 0x0008, 0x8003, 0x10f8,
35 0x10f8, 0x05c6, 0x08f8, 0x05c8, 0x80f8, 0x05c9, 0xf6b8, 0x10f8, 35 0x05b2, 0xf1ef, 0xf3e1, 0x10f8, 0x05b3, 0xf2a0, 0x00f8, 0x05b6,
36 0x05ca, 0xf000, 0x8000, 0x6ff8, 0x05c7, 0x0c1f, 0x75f8, 0x0008, 36 0x4e00, 0xf020, 0xffff, 0x5700, 0xf280, 0x75f8, 0x0008, 0x8000,
37 0x8002, 0xe800, 0x75f8, 0x0008, 0x8003, 0x10f8, 0x05c4, 0xf1ef, 37 0x5600, 0xf0f0, 0x75f8, 0x0008, 0x8001, 0xe800, 0x75f8, 0x05b7,
38 0xf3e1, 0x10f8, 0x05c5, 0xf2a0, 0x00f8, 0x05c8, 0x4e00, 0xf020, 38 0x8004, 0x75f8, 0x0008, 0x8005, 0xe801, 0x74f8, 0x0562, 0x8006,
39 0xffff, 0x5700, 0xf280, 0x75f8, 0x0008, 0x8000, 0x5600, 0xf0f0, 39 0x74f8, 0x0563, 0x8001, 0x74f8, 0x0564, 0x8000, 0x74f8, 0x0565,
40 0x75f8, 0x0008, 0x8001, 0xe800, 0x75f8, 0x05c9, 0x8004, 0x75f8, 40 0x8003, 0x74f8, 0x0566, 0x8002, 0x75f8, 0x0008, 0x8006, 0xee02,
41 0x0008, 0x8005, 0xe801, 0x74f8, 0x0574, 0x8006, 0x74f8, 0x0575, 41 0x8a11, 0xfc00, 0xf495, 0x4a08, 0x4a09, 0x4a0a, 0x4a0b, 0x4a0c,
42 0x8001, 0x74f8, 0x0576, 0x8000, 0x74f8, 0x0577, 0x8003, 0x74f8,
43 0x0578, 0x8002, 0x75f8, 0x0008, 0x8006, 0xee02, 0x8a11, 0xfc00,
44 0xf495, 0x4a08, 0x4a09, 0x4a0a, 0x4a0b, 0x4a0c, 0x4a0d, 0x4a10,
45 0x4a11, 0x4a12, 0x4a13, 0x4a14, 0x4a15, 0x4a16, 0x4a17, 0x4a17,
46 0x4a19, 0x4a0e, 0x4a06, 0x4a07, 0x4a1a, 0x4a1d, 0x4a1b, 0x4a1c,
47 0x68f8, 0x0007, 0x7d3f, 0x69f8, 0x0007, 0x4000, 0x68f8, 0x001d,
48 0xfffc, 0x4818, 0x68f8, 0x0018, 0xfffe, 0x7711, 0x0001, 0x4a08,
49 0xeeff, 0xf020, 0x0800, 0x7681, 0x0040, 0x7711, 0x0055, 0x7681,
50 0x0000, 0x7711, 0x0057, 0x1881, 0x8000, 0xf020, 0x0800, 0x1c00,
51 0x80f8, 0x05ca, 0x76f8, 0x05c7, 0x0000, 0xf074, 0x0096, 0xee01,
52 0x8a18, 0xf495, 0x8a1c, 0x8a1b, 0x8a1d, 0x8a1a, 0x8a07, 0x8a06,
53 0x8a0e, 0x8a19, 0x8a17, 0x8a17, 0x8a16, 0x8a15, 0x8a14, 0x8a13,
54 0x8a12, 0x8a11, 0x8a10, 0x8a0d, 0x8a0c, 0x8a0b, 0x8a0a, 0x8a09,
55 0x8a08, 0xf4eb, 0xf495, 0x4a08, 0x4a09, 0x4a0a, 0x4a0b, 0x4a0c,
56 0x4a0d, 0x4a10, 0x4a11, 0x4a12, 0x4a13, 0x4a14, 0x4a15, 0x4a16, 42 0x4a0d, 0x4a10, 0x4a11, 0x4a12, 0x4a13, 0x4a14, 0x4a15, 0x4a16,
57 0x4a17, 0x4a17, 0x4a19, 0x4a0e, 0x4a06, 0x4a07, 0x4a1a, 0x4a1d, 43 0x4a17, 0x4a17, 0x4a19, 0x4a0e, 0x4a06, 0x4a07, 0x4a1a, 0x4a1d,
58 0x4a1b, 0x4a1c, 0x68f8, 0x0007, 0x7d3f, 0x69f8, 0x0007, 0x4000, 44 0x4a1b, 0x4a1c, 0x68f8, 0x0007, 0x7d3f, 0x69f8, 0x0007, 0x4000,
59 0x68f8, 0x001d, 0xfffc, 0x4818, 0x68f8, 0x0018, 0xfffe, 0x7711, 45 0x68f8, 0x001d, 0xfffc, 0x4818, 0x68f8, 0x0018, 0xfffe, 0x7711,
60 0x0001, 0x4a08, 0x7681, 0x0800, 0x10f8, 0x05c9, 0x00f8, 0x05c7, 46 0x0001, 0x4a08, 0xeeff, 0xf020, 0x0800, 0x7681, 0x0040, 0x7711,
61 0x80f8, 0x05c7, 0x10f8, 0x05c9, 0x00f8, 0x05c8, 0x80f8, 0x05c8, 47 0x0055, 0x7681, 0x0000, 0x7711, 0x0057, 0x1881, 0x8000, 0xf020,
62 0x7211, 0x05c7, 0x7710, 0x1000, 0xf5a9, 0xfa20, 0x01c3, 0xf495, 48 0x0800, 0x1c00, 0x80f8, 0x05b8, 0x76f8, 0x05b5, 0x0000, 0xf074,
63 0xeeff, 0xf074, 0x0096, 0xee01, 0x8a18, 0xf495, 0x8a1c, 0x8a1b, 49 0x0080, 0xee01, 0x8a18, 0xf495, 0x8a1c, 0x8a1b, 0x8a1d, 0x8a1a,
64 0x8a1d, 0x8a1a, 0x8a07, 0x8a06, 0x8a0e, 0x8a19, 0x8a17, 0x8a17, 50 0x8a07, 0x8a06, 0x8a0e, 0x8a19, 0x8a17, 0x8a17, 0x8a16, 0x8a15,
65 0x8a16, 0x8a15, 0x8a14, 0x8a13, 0x8a12, 0x8a11, 0x8a10, 0x8a0d, 51 0x8a14, 0x8a13, 0x8a12, 0x8a11, 0x8a10, 0x8a0d, 0x8a0c, 0x8a0b,
66 0x8a0c, 0x8a0b, 0x8a0a, 0x8a09, 0x8a08, 0xf4eb, 0x4a11, 0x7711, 52 0x8a0a, 0x8a09, 0x8a08, 0xf4eb, 0xf495, 0x4a08, 0x4a09, 0x4a0a,
67 0x0054, 0x7681, 0x0000, 0x7711, 0x0055, 0x7681, 0x0003, 0x7711, 53 0x4a0b, 0x4a0c, 0x4a0d, 0x4a10, 0x4a11, 0x4a12, 0x4a13, 0x4a14,
68 0x0057, 0x7681, 0x2800, 0x7711, 0x0055, 0x7681, 0x0004, 0x7711, 54 0x4a15, 0x4a16, 0x4a17, 0x4a17, 0x4a19, 0x4a0e, 0x4a06, 0x4a07,
69 0x0057, 0x7681, 0x7141, 0x7711, 0x0055, 0x7681, 0x0000, 0x7711, 55 0x4a1a, 0x4a1d, 0x4a1b, 0x4a1c, 0x68f8, 0x0007, 0x7d3f, 0x69f8,
70 0x0057, 0x7681, 0x8000, 0x7711, 0x0055, 0x7681, 0x0001, 0x7711, 56 0x0007, 0x4000, 0x68f8, 0x001d, 0xfffc, 0x4818, 0x68f8, 0x0018,
71 0x0057, 0x7681, 0x0022, 0x7711, 0x0055, 0x7681, 0x0002, 0x7711, 57 0xfffe, 0x7711, 0x0001, 0x4a08, 0x7681, 0x0800, 0x10f8, 0x05b7,
72 0x0057, 0x7681, 0x1000, 0x7711, 0x0054, 0x7681, 0x0080, 0x8a11, 58 0x00f8, 0x05b5, 0x80f8, 0x05b5, 0x10f8, 0x05b7, 0x00f8, 0x05b6,
73 0xfc00, 0xf495, 0x4a08, 0x4a09, 0x4a0a, 0x4a0b, 0x4a0c, 0x4a0d, 59 0x80f8, 0x05b6, 0x7211, 0x05b5, 0x7710, 0x1000, 0xf5a9, 0xfa20,
74 0x4a10, 0x4a11, 0x4a12, 0x4a13, 0x4a14, 0x4a15, 0x4a16, 0x4a17, 60 0x01ad, 0xf495, 0xeeff, 0xf074, 0x0080, 0xee01, 0x8a18, 0xf495,
75 0x4a17, 0x4a19, 0x4a0e, 0x4a06, 0x4a07, 0x4a1a, 0x4a1d, 0x4a1b, 61 0x8a1c, 0x8a1b, 0x8a1d, 0x8a1a, 0x8a07, 0x8a06, 0x8a0e, 0x8a19,
76 0x4a1c, 0x68f8, 0x0007, 0x7d3f, 0x69f8, 0x0007, 0x4000, 0x68f8, 62 0x8a17, 0x8a17, 0x8a16, 0x8a15, 0x8a14, 0x8a13, 0x8a12, 0x8a11,
77 0x001d, 0xfffc, 0x4818, 0x68f8, 0x0018, 0xfffe, 0x7711, 0x0001, 63 0x8a10, 0x8a0d, 0x8a0c, 0x8a0b, 0x8a0a, 0x8a09, 0x8a08, 0xf4eb,
78 0x4a08, 0x7681, 0x0001, 0x6bf8, 0x05c3, 0x0001, 0x76f8, 0x05cc, 64 0x4a11, 0x7711, 0x0054, 0x7681, 0x0000, 0x7711, 0x0055, 0x7681,
79 0x0000, 0x10f8, 0x05cb, 0xfa44, 0x0256, 0xf495, 0xeeff, 0x7712, 65 0x0003, 0x7711, 0x0057, 0x7681, 0x2800, 0x7711, 0x0055, 0x7681,
80 0x0054, 0x960f, 0xf830, 0x0256, 0xf074, 0x0096, 0x7711, 0x0054, 66 0x0004, 0x7711, 0x0057, 0x7681, 0x7141, 0x7711, 0x0055, 0x7681,
81 0x6981, 0x0001, 0xf074, 0x02fe, 0xf073, 0x0258, 0xf074, 0x0096, 67 0x0000, 0x7711, 0x0057, 0x7681, 0x8000, 0x7711, 0x0055, 0x7681,
82 0xee01, 0x8a18, 0xf495, 0x8a1c, 0x8a1b, 0x8a1d, 0x8a1a, 0x8a07, 68 0x0001, 0x7711, 0x0057, 0x7681, 0x0022, 0x7711, 0x0055, 0x7681,
83 0x8a06, 0x8a0e, 0x8a19, 0x8a17, 0x8a17, 0x8a16, 0x8a15, 0x8a14, 69 0x0002, 0x7711, 0x0057, 0x7681, 0x1000, 0x7711, 0x0054, 0x7681,
84 0x8a13, 0x8a12, 0x8a11, 0x8a10, 0x8a0d, 0x8a0c, 0x8a0b, 0x8a0a, 70 0x0080, 0x8a11, 0xfc00, 0xf495, 0x4a08, 0x4a09, 0x4a0a, 0x4a0b,
85 0x8a09, 0x8a08, 0xf4eb, 0xf495, 0x74f8, 0x0008, 0x0281, 0xf040, 71 0x4a0c, 0x4a0d, 0x4a10, 0x4a11, 0x4a12, 0x4a13, 0x4a14, 0x4a15,
86 0x0001, 0x75f8, 0x0008, 0x0281, 0xe808, 0x75f8, 0x0008, 0x0280, 72 0x4a16, 0x4a17, 0x4a17, 0x4a19, 0x4a0e, 0x4a06, 0x4a07, 0x4a1a,
87 0x74f8, 0x0008, 0x0281, 0xf030, 0xfffe, 0x75f8, 0x0008, 0x0281, 73 0x4a1d, 0x4a1b, 0x4a1c, 0x68f8, 0x0007, 0x7d3f, 0x69f8, 0x0007,
88 0xfc00, 0xf7be, 0xf6b9, 0xf4a0, 0xf6b7, 0xf6b5, 0xf6b6, 0xf7b8, 74 0x4000, 0x68f8, 0x001d, 0xfffc, 0x4818, 0x68f8, 0x0018, 0xfffe,
89 0x7718, 0x0372, 0x6bf8, 0x0018, 0x01ff, 0x68f8, 0x0018, 0xfffe, 75 0x7711, 0x0001, 0x4a08, 0x7681, 0x0001, 0x6bf8, 0x05b1, 0x0001,
90 0xf020, 0x05d1, 0xf100, 0x0001, 0xf84d, 0x02b5, 0xf6b8, 0xf495, 76 0x76f8, 0x05ba, 0x0000, 0x10f8, 0x05b9, 0xfa44, 0x0240, 0xf495,
91 0xf020, 0x05d1, 0xf073, 0x02af, 0x7ef8, 0x0012, 0xf000, 0x0001, 77 0xeeff, 0x7712, 0x0054, 0x960f, 0xf830, 0x0240, 0xf074, 0x0080,
92 0x47f8, 0x0011, 0x7e92, 0x00f8, 0x0011, 0xf000, 0x0001, 0x7ef8, 78 0x7711, 0x0054, 0x6981, 0x0001, 0xf074, 0x02e8, 0xf073, 0x0242,
93 0x0011, 0xf000, 0x0001, 0x6c89, 0x02a4, 0xf7b8, 0xeefc, 0xf020, 79 0xf074, 0x0080, 0xee01, 0x8a18, 0xf495, 0x8a1c, 0x8a1b, 0x8a1d,
94 0xffff, 0xf100, 0x0001, 0xf84d, 0x02cd, 0xf6b8, 0xf495, 0xf020, 80 0x8a1a, 0x8a07, 0x8a06, 0x8a0e, 0x8a19, 0x8a17, 0x8a17, 0x8a16,
95 0xffff, 0xf273, 0x02c7, 0x4e02, 0xf495, 0xf5e3, 0x5602, 0x7e00, 81 0x8a15, 0x8a14, 0x8a13, 0x8a12, 0x8a11, 0x8a10, 0x8a0d, 0x8a0c,
96 0x1100, 0xfa4c, 0x02c5, 0x6b03, 0x0001, 0xf6b8, 0xee04, 0xf074, 82 0x8a0b, 0x8a0a, 0x8a09, 0x8a08, 0xf4eb, 0xf495, 0x74f8, 0x0008,
97 0x0314, 0xf074, 0x0337, 0x4a11, 0x7711, 0x0038, 0x7681, 0x0000, 83 0x0281, 0xf040, 0x0001, 0x75f8, 0x0008, 0x0281, 0xe808, 0x75f8,
98 0x7711, 0x0039, 0x7681, 0x0000, 0x7711, 0x0038, 0x7681, 0x0001, 84 0x0008, 0x0280, 0x74f8, 0x0008, 0x0281, 0xf030, 0xfffe, 0x75f8,
99 0x7711, 0x0039, 0x7681, 0x0030, 0x7711, 0x0038, 0x7681, 0x000e, 85 0x0008, 0x0281, 0xfc00, 0xf7be, 0xf6b9, 0xf4a0, 0xf6b7, 0xf6b5,
100 0x7711, 0x0039, 0x7681, 0x0002, 0x7711, 0x0038, 0x7681, 0x0004, 86 0xf6b6, 0xf7b8, 0x7718, 0x0360, 0x6bf8, 0x0018, 0x01ff, 0x68f8,
101 0x7711, 0x0039, 0x7681, 0x00a0, 0x7711, 0x0038, 0x7681, 0x0005, 87 0x0018, 0xfffe, 0xf020, 0x05bf, 0xf100, 0x0001, 0xf84d, 0x029f,
102 0x7711, 0x0039, 0x7681, 0x0000, 0x8a11, 0xfc00, 0x4a11, 0x7711, 88 0xf6b8, 0xf495, 0xf020, 0x05bf, 0xf073, 0x0299, 0x7ef8, 0x0012,
103 0x0038, 0x7681, 0x0001, 0x7711, 0x0039, 0x6981, 0x0001, 0x8a11, 89 0xf000, 0x0001, 0x47f8, 0x0011, 0x7e92, 0x00f8, 0x0011, 0xf000,
104 0xfc00, 0x4a11, 0x7711, 0x0038, 0x7681, 0x0001, 0x7711, 0x0039, 90 0x0001, 0x7ef8, 0x0011, 0xf000, 0x0001, 0x6c89, 0x028e, 0xf7b8,
105 0x6881, 0xfffe, 0x8a11, 0xfc00, 0xf6b8, 0xf495, 0xf162, 0xffff, 91 0xeefc, 0xf020, 0xffff, 0xf100, 0x0001, 0xf84d, 0x02b7, 0xf6b8,
106 0xf340, 0xffff, 0xf640, 0xf0e0, 0xf010, 0xffff, 0xf061, 0xffff, 92 0xf495, 0xf020, 0xffff, 0xf273, 0x02b1, 0x4e02, 0xf495, 0xf5e3,
107 0xfa44, 0x0328, 0x4a11, 0xeefe, 0xf273, 0x032e, 0xe800, 0xe900, 93 0x5602, 0x7e00, 0x1100, 0xfa4c, 0x02af, 0x6b03, 0x0001, 0xf6b8,
108 0x8911, 0xf495, 0x4911, 0x1081, 0xf300, 0x0001, 0x8100, 0xf074, 94 0xee04, 0xf074, 0x02fe, 0xf074, 0x0321, 0x4a11, 0x7711, 0x0038,
109 0x0353, 0xee02, 0x8a11, 0xfc00, 0xf495, 0xf073, 0x0335, 0x4a11, 95 0x7681, 0x0000, 0x7711, 0x0039, 0x7681, 0x0000, 0x7711, 0x0038,
110 0x8811, 0x10f8, 0x05cd, 0xf4e3, 0x10f8, 0x05d0, 0xf845, 0x0345, 96 0x7681, 0x0001, 0x7711, 0x0039, 0x7681, 0x0030, 0x7711, 0x0038,
111 0x11f8, 0x05d0, 0xf7e3, 0xf495, 0x4811, 0x10f8, 0x05cf, 0xf845, 97 0x7681, 0x000e, 0x7711, 0x0039, 0x7681, 0x0002, 0x7711, 0x0038,
112 0x034c, 0x10f8, 0x05cf, 0xf4e3, 0x10f8, 0x05ce, 0xf4e3, 0xf074, 98 0x7681, 0x0004, 0x7711, 0x0039, 0x7681, 0x00a0, 0x7711, 0x0038,
113 0x0334, 0x8a11, 0xfc00, 0x4a11, 0x7711, 0x0026, 0x7712, 0x0001, 99 0x7681, 0x0005, 0x7711, 0x0039, 0x7681, 0x0000, 0x8a11, 0xfc00,
114 0x7713, 0x0001, 0x7681, 0x0010, 0x7711, 0x0000, 0x7681, 0xffff, 100 0x4a11, 0x7711, 0x0038, 0x7681, 0x0001, 0x7711, 0x0039, 0x6981,
115 0xe501, 0xf495, 0xf6bb, 0xf074, 0x02d3, 0xf074, 0x01de, 0xf4e1, 101 0x0001, 0x8a11, 0xfc00, 0x4a11, 0x7711, 0x0038, 0x7681, 0x0001,
116 0xf495, 0xf073, 0x0367, 0x80f8, 0x05ce, 0xfc00, 0x80f8, 0x05cd, 102 0x7711, 0x0039, 0x6881, 0xfffe, 0x8a11, 0xfc00, 0xf6b8, 0xf495,
117 0xfc00, 0xfc00, 103 0xf162, 0xffff, 0xf340, 0xffff, 0xf640, 0xf0e0, 0xf010, 0xffff,
104 0xf061, 0xffff, 0xfa44, 0x0312, 0x4a11, 0xeefe, 0xf273, 0x0318,
105 0xe800, 0xe900, 0x8911, 0xf495, 0x4911, 0x1081, 0xf300, 0x0001,
106 0x8100, 0xf074, 0x033d, 0xee02, 0x8a11, 0xfc00, 0xf495, 0xf073,
107 0x031f, 0x4a11, 0x8811, 0x10f8, 0x05bb, 0xf4e3, 0x10f8, 0x05be,
108 0xf845, 0x032f, 0x11f8, 0x05be, 0xf7e3, 0xf495, 0x4811, 0x10f8,
109 0x05bd, 0xf845, 0x0336, 0x10f8, 0x05bd, 0xf4e3, 0x10f8, 0x05bc,
110 0xf4e3, 0xf074, 0x031e, 0x8a11, 0xfc00, 0x4a11, 0x7711, 0x0026,
111 0x7681, 0x0010, 0x7712, 0x0001, 0x7713, 0x0001, 0x7711, 0x0000,
112 0x7681, 0xffff, 0x7711, 0x001d, 0xe501, 0x6981, 0x0004, 0xf495,
113 0xf6bb, 0xf074, 0x02bd, 0xf074, 0x01c8, 0xf4e1, 0xf495, 0xf073,
114 0x0355, 0x80f8, 0x05bc, 0xfc00, 0x80f8, 0x05bb, 0xfc00, 0xfc00,
115
118}; 116};
119 117
120static const unsigned short _section_cinit[] = { 118static const unsigned short _section_cinit[] = {
121 0x0001, 0x05cd, 0x0371, 0x0001, 0x05ce, 0x0371, 0x0001, 0x05cf, 119 0x0001, 0x05bb, 0x035f, 0x0001, 0x05bc, 0x035f, 0x0001, 0x05bd,
122 0x0000, 0x0001, 0x05d0, 0x0000, 0x0000, 120 0x0000, 0x0001, 0x05be, 0x0000, 0x0000,
123}; 121};
124 122
125static const unsigned short _section_vectors[] = { 123static const unsigned short _section_vectors[] = {
126 0xf273, 0x0289, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495, 124 0xf273, 0x0273, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495,
127 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 125 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
128 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 126 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
129 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 127 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
@@ -131,73 +129,73 @@ static const unsigned short _section_vectors[] = {
131 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 129 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
132 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 130 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
133 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 131 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
134 0xf273, 0x0211, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495, 132 0xf273, 0x01fb, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495,
135 0xf4eb, 0xf495, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495, 133 0xf4eb, 0xf495, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495,
136 0xf4eb, 0xf495, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495, 134 0xf4eb, 0xf495, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495,
137 0xf273, 0x0128, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495, 135 0xf273, 0x0112, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495,
138 0xf4eb, 0xf495, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495, 136 0xf4eb, 0xf495, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495,
139 0xf4eb, 0xf495, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495, 137 0xf4eb, 0xf495, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495,
140 0xf4eb, 0xf495, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495, 138 0xf4eb, 0xf495, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495,
141 0xf273, 0x0182, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495, 139 0xf273, 0x016c, 0xf495, 0xf495, 0xf4eb, 0xf495, 0xf495, 0xf495,
142 140
143}; 141};
144 142
145/* Program Mapping */ 143/* Program Mapping */
146static const struct dsp_section dsp_image[] = { 144static const struct dsp_section dsp_image[] = {
147 145
148 {_section_text, 0x0080, 0x02f2}, 146 {_section_text, 0x0080, 0x02e0},
149 {_section_cinit, 0x05d1, 0x000d}, 147 {_section_cinit, 0x05bf, 0x000d},
150 {NULL /* .bss */, 0x0572, 0x005f}, 148 {NULL /* .bss */, 0x0560, 0x005f},
151 {NULL /* .stack */, 0x0372, 0x0200}, 149 {NULL /* .stack */, 0x0360, 0x0200},
152 {_section_vectors, 0x7f80, 0x0080}, 150 {_section_vectors, 0x7f80, 0x0080},
153 {NULL /* .dma */, 0x8000, 0x1000}, 151 {NULL /* .dma */, 0x8000, 0x1000},
154 {NULL, 0, 0} 152 {NULL, 0, 0}
155}; 153};
156 154
157/* Symbol table, usable with the DSP_() macro (see dsp-target.h). */ 155/* Symbol table, usable with the DSP_() macro (see dsp-target.h). */
158#define cinit 0x05d1 156#define cinit 0x05bf
159#define ___cinit__ 0x05d1 157#define ___cinit__ 0x05bf
160#define ___text__ 0x0080 158#define ___text__ 0x0080
161#define etext 0x0372 159#define etext 0x0360
162#define ___etext__ 0x0372 160#define ___etext__ 0x0360
163#define ___data__ 0x0080 161#define ___data__ 0x0080
164#define edata 0x0080 162#define edata 0x0080
165#define ___edata__ 0x0080 163#define ___edata__ 0x0080
166#define ___bss__ 0x0572 164#define ___bss__ 0x0560
167#define end 0x05d1 165#define end 0x05bf
168#define ___end__ 0x05d1 166#define ___end__ 0x05bf
169#define _int0_count 0x05c3 167#define _int0_count 0x05b1
170#define _status 0x0572 168#define _status 0x0560
171#define _handle_int0 0x0211 169#define _handle_int0 0x01fb
172#define _int_arm 0x0273 170#define _int_arm 0x025d
173#define _main 0x0353 171#define _main 0x033d
174#define _handle_dmac 0x0182 172#define _handle_dmac 0x016c
175#define _waiting 0x05cc 173#define _waiting 0x05ba
176#define _sdem_addrh 0x05c4 174#define _sdem_addrh 0x05b2
177#define _sdem_addrl 0x05c5 175#define _sdem_addrl 0x05b3
178#define _dma0_stopped 0x05cb 176#define _dma0_stopped 0x05b9
179#define _dma0_unlocked 0x05ca 177#define _dma0_unlocked 0x05b8
180#define _sdem_dsp_size 0x05c6 178#define _sdem_dsp_size 0x05b4
181#define _handle_dma0 0x0128 179#define _handle_dma0 0x0112
182#define _dsp_level 0x05c7 180#define _dsp_level 0x05b5
183#define _dma_init 0x01de 181#define _dma_init 0x01c8
184#define _sdem_level 0x05c8 182#define _sdem_level 0x05b6
185#define _rebuffer 0x0096 183#define _rebuffer 0x0080
186#define _last_size 0x05c9 184#define _last_size 0x05b7
187#define _audiohw_start 0x02fe 185#define _audiohw_start 0x02e8
188#define _audiohw_init 0x02d3 186#define _audiohw_init 0x02bd
189#define _audiohw_stop 0x0309 187#define _audiohw_stop 0x02f3
190#define _c_int00 0x0289 188#define _c_int00 0x0273
191#define __dtors_ptr 0x05d0 189#define __dtors_ptr 0x05be
192#define _abort 0x0334 190#define _abort 0x031e
193#define _exit 0x0337 191#define _exit 0x0321
194#define __cleanup_ptr 0x05cf 192#define __cleanup_ptr 0x05bd
195#define __lock 0x05cd 193#define __lock 0x05bb
196#define __register_unlock 0x036b 194#define __register_unlock 0x0359
197#define __nop 0x0371 195#define __nop 0x035f
198#define __register_lock 0x036e 196#define __register_lock 0x035c
199#define __unlock 0x05ce 197#define __unlock 0x05bc
200#define __args_main 0x0314 198#define __args_main 0x02fe
201 199
202#endif 200#endif
203 201
diff --git a/firmware/target/arm/tms320dm320/dsp/main.c b/firmware/target/arm/tms320dm320/dsp/main.c
index a62bb50ba2..8dfd2b6e9f 100644
--- a/firmware/target/arm/tms320dm320/dsp/main.c
+++ b/firmware/target/arm/tms320dm320/dsp/main.c
@@ -29,10 +29,11 @@ void main(void) {
29 TCR = 1 << 4; /* Stop the timer. */ 29 TCR = 1 << 4; /* Stop the timer. */
30 IMR = 0xffff; /* Unmask all interrupts. */ 30 IMR = 0xffff; /* Unmask all interrupts. */
31 IFR = IFR; /* Clear all pending interrupts. */ 31 IFR = IFR; /* Clear all pending interrupts. */
32 PMST |= 1 << 2; /* Turn CLOCKOUT off to save power */
32 asm(" rsbx INTM"); /* Globally enable interrupts. */ 33 asm(" rsbx INTM"); /* Globally enable interrupts. */
33 34
34 audiohw_init(); 35 audiohw_init();
35 36
36 dma_init(); 37 dma_init();
37 38
38#if defined(HAVE_DEBUG) 39#if defined(HAVE_DEBUG)