paul@0 | 1 | /* |
paul@0 | 2 | * Ben NanoNote stage 1 payload test. |
paul@0 | 3 | * |
paul@0 | 4 | * Copyright (C) 2015 Paul Boddie <paul@boddie.org.uk> |
paul@0 | 5 | * Copyright (C) Wolfgang Spraul <wolfgang@sharism.cc> |
paul@0 | 6 | * |
paul@63 | 7 | * This program is free software: you can redistribute it and/or modify |
paul@63 | 8 | * it under the terms of the GNU General Public License as published by |
paul@63 | 9 | * the Free Software Foundation, either version 3 of the License, or |
paul@63 | 10 | * (at your option) any later version. |
paul@0 | 11 | * |
paul@63 | 12 | * This program is distributed in the hope that it will be useful, |
paul@63 | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
paul@63 | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
paul@63 | 15 | * GNU General Public License for more details. |
paul@0 | 16 | * |
paul@63 | 17 | * You should have received a copy of the GNU General Public License |
paul@63 | 18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
paul@0 | 19 | */ |
paul@0 | 20 | |
paul@35 | 21 | #include "board.h" |
paul@0 | 22 | |
paul@195 | 23 | void c_main() |
paul@0 | 24 | { |
paul@0 | 25 | load_args(); |
paul@0 | 26 | gpio_init(); |
paul@0 | 27 | pll_init(); |
paul@0 | 28 | sdram_init(); |
paul@0 | 29 | } |