<p>Note: The boot up sequence of the LPC2387 is quite weird, with clock setup in the <code>boards/</code> rather than in <code>cpu/</code>. I intend to clean this up with a series of PRs. A side effect from the code organization is that this PR touches files in seemingly unrelated subsystems...</p>
<h3>Contribution description</h3>
<ul>
<li>Removed unused and defunct code from the clock configuration during boot up</li>
<li>Removed obsolete ISR implementations that are not registered anywhere anymore and thus never get triggered</li>
<li>Removed function declarations of functions that are neither used nor implemented anywhere</li>
<li>Previously boot up code and ISR implementations where mixed together in <code>bootloader.c</code>
<ul>
<li>Moved ISR implementations to <code>vector.c</code> and applied naming scheme used by other modules in <code>cpu/</code></li>
<li>Moved boot up code to <code>arm7_init.c</code>.</li>
</ul>
</li>
</ul>
<h3>Testing procedure</h3>
<p>Try to build, flash, and run some applications and tests currently working on the MSB-A2. They should still work</p>
<h3>Issues/PRs references</h3>
<p><a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="472735941" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/11911" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/11911/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/11911">#11911</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/RIOT-OS/RIOT/pull/11920'>https://github.com/RIOT-OS/RIOT/pull/11920</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>boards/msba2,avsextreme: Removed defunct code</li>
  <li>cpu/arm7_common: Removed dead code</li>
  <li>cpu/arm7_common: Cleaned up interrupt vectors</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11920/files#diff-0">boards/avsextrem/board_init.c</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11920/files#diff-1">boards/msba2/board_init.c</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11920/files#diff-2">cpu/arm7_common/arm7_init.c</a>
    (79)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11920/files#diff-3">cpu/arm7_common/common.s</a>
    (1)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11920/files#diff-4">cpu/arm7_common/vectors.c</a>
    (114)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11920/files#diff-5">cpu/lpc2387/startup.s</a>
    (30)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/11920.patch'>https://github.com/RIOT-OS/RIOT/pull/11920.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/11920.diff'>https://github.com/RIOT-OS/RIOT/pull/11920.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11920?email_source=notifications&email_token=ABE7WYDGQ5B7U7UELRPYLRTQBKJ7PA5CNFSM4IHA267KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HBUNSCQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYDUAQSUH32BHJRL6IDQBKJ7PANCNFSM4IHA267A">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYDRTCSREP2LHG5KBADQBKJ7PA5CNFSM4IHA267KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HBUNSCQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11920?email_source=notifications\u0026email_token=ABE7WYDGQ5B7U7UELRPYLRTQBKJ7PA5CNFSM4IHA267KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HBUNSCQ",
"url": "https://github.com/RIOT-OS/RIOT/pull/11920?email_source=notifications\u0026email_token=ABE7WYDGQ5B7U7UELRPYLRTQBKJ7PA5CNFSM4IHA267KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HBUNSCQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>