summaryrefslogtreecommitdiff
path: root/bootloader.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2011-09-22 16:56:36 +0900
committertmk <nobody@nowhere>2011-09-22 16:56:36 +0900
commite65575d4a5f03a90adfa9850cb71a5d0448098cd (patch)
treeea5cea3c3985fb3056233f6b08fa76bf409c1f57 /bootloader.c
parente67c988824f5ec0c965beb412f8ee5953dfd3c8c (diff)
Refactored bootloader jumping. Added USBaspLoader support.
Diffstat (limited to 'bootloader.c')
-rw-r--r--bootloader.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/bootloader.c b/bootloader.c
new file mode 100644
index 0000000000..5cbfc72e5b
--- /dev/null
+++ b/bootloader.c
@@ -0,0 +1,22 @@
+/*
+Copyright 2011 Jun Wako <wakojun@gmail.com>
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#include "bootloader.h"
+
+
+void bootloader_jump(void) __attribute__ ((weak));
+void bootloader_jump(void) {}