[riot-notifications] [RIOT-OS/RIOT] cpu/lpc2387: clean up the platform (#12229)

benpicco notifications at github.com
Sat Sep 14 14:58:34 CEST 2019


### Contribution description
For historic reasons, clock setup for lpc2387 was done in the board folder. This lead to code duplication between the two lpc2387 boards. The setup routines are exactly the same, `avsextrem` added two safety guards, I decided to keep those (even though `msba2` seemed to be doing fine without all those years).

There should be no code changes, code was only moved around.
Compile-tested only as I don't have the hardware.

### Testing procedure

Check that `msba2` and `avsextrem` still work.

### Issues/PRs references
`avsextrem` was forgotten in #11367, so this should also fix stdio.
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/12229

-- Commit Summary --

  * cpu/lpc2387: clean up the platform

-- File Changes --

    M boards/avsextrem/board_init.c (52)
    M boards/avsextrem/include/board.h (5)
    D boards/common/msba2/board_common_init.c (75)
    M boards/common/msba2/include/msba2_common.h (10)
    M boards/msba2/board_init.c (41)
    M boards/msba2/include/board.h (5)
    M cpu/arm7_common/arm7_init.c (12)
    A cpu/lpc2387/clocks.c (113)
    M cpu/lpc2387/cpu.c (21)
    M cpu/lpc2387/include/cpu.h (4)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/12229.patch
https://github.com/RIOT-OS/RIOT/pull/12229.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12229
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190914/b6141418/attachment.htm>


More information about the notifications mailing list