1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/stage1/stage1.c Sun Jun 07 23:06:08 2015 +0200
1.3 @@ -0,0 +1,29 @@
1.4 +/*
1.5 + * Ben NanoNote stage 1 payload test.
1.6 + *
1.7 + * Copyright (C) 2015 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) Wolfgang Spraul <wolfgang@sharism.cc>
1.9 + *
1.10 + * This program is free software; you can redistribute it and/or modify it under
1.11 + * the terms of the GNU General Public License as published by the Free Software
1.12 + * Foundation; either version 3 of the License, or (at your option) any later
1.13 + * version.
1.14 + *
1.15 + * This program is distributed in the hope that it will be useful, but WITHOUT
1.16 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
1.17 + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
1.18 + * details.
1.19 + *
1.20 + * You should have received a copy of the GNU General Public License along with
1.21 + * this program. If not, see <http://www.gnu.org/licenses/>.
1.22 + */
1.23 +
1.24 +#include "board-nanonote.h"
1.25 +
1.26 +void c_main(void)
1.27 +{
1.28 + load_args();
1.29 + gpio_init();
1.30 + pll_init();
1.31 + sdram_init();
1.32 +}