aboutsummaryrefslogtreecommitdiffstats
path: root/lib/lpc176x/lpc176x.patch
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-08-21 21:18:44 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-09-06 13:49:16 -0400
commitccb8db5ea17387601e6e22d7aed00c73b45f5b94 (patch)
tree83f7ad447c8a2c6280d86c7543994a9d95206523 /lib/lpc176x/lpc176x.patch
parent83d600d518667038f7c15eada20284115fe7624e (diff)
downloadkutter-ccb8db5ea17387601e6e22d7aed00c73b45f5b94.tar.gz
kutter-ccb8db5ea17387601e6e22d7aed00c73b45f5b94.tar.xz
kutter-ccb8db5ea17387601e6e22d7aed00c73b45f5b94.zip
lib: No need to make lpc176x SystemInit() externally visible
Now that the lpc176x code uses the armcm_boot mechanism, it is no longer necessary for SystemInit to be externally visible. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'lib/lpc176x/lpc176x.patch')
-rw-r--r--lib/lpc176x/lpc176x.patch9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/lpc176x/lpc176x.patch b/lib/lpc176x/lpc176x.patch
index f8995d3f..00babe91 100644
--- a/lib/lpc176x/lpc176x.patch
+++ b/lib/lpc176x/lpc176x.patch
@@ -28,12 +28,3 @@
#define PCLKSEL0_Val 0x00000000
#define PCLKSEL1_Val 0x00000000
-@@ -514,7 +511,7 @@
- * @brief Setup the microcontroller system.
- * Initialize the System.
- */
--void SystemInit (void)
-+void __attribute__((externally_visible)) SystemInit (void)
- {
- #if (CLOCK_SETUP) /* Clock Setup */
- LPC_SC->SCS = SCS_Val;