Add license headers to armsrc/bootrom/common stuff

I have kept whatever copyright notices exist. Please add your own
copyright notice if you have made any nontrivial changes or additions to
the code. There are several files without any attribution, currently.
This commit is contained in:
marcansoft 2010-02-21 00:12:52 +00:00
commit bd20f8f478
44 changed files with 359 additions and 68 deletions

View file

@ -1,4 +1,10 @@
#-----------------------------------------------------------------------------
# This code is licensed to you under the terms of the GNU GPL, version 2 or,
# at your option, any later version. See the LICENSE.txt file for the text of
# the license.
#-----------------------------------------------------------------------------
# Makefile for bootrom, see ../common/Makefile.common for common settings
#-----------------------------------------------------------------------------
# DO NOT use thumb mode in the phase 1 bootloader since that generates a section with glue code
ARMSRC = fromflash.c

View file

@ -1,3 +1,11 @@
//-----------------------------------------------------------------------------
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
// at your option, any later version. See the LICENSE.txt file for the text of
// the license.
//-----------------------------------------------------------------------------
// Main code for the bootloader
//-----------------------------------------------------------------------------
#include <proxmark3.h>
struct common_area common_area __attribute__((section(".commonarea")));

View file

@ -1,3 +1,11 @@
@-----------------------------------------------------------------------------
@ This code is licensed to you under the terms of the GNU GPL, version 2 or,
@ at your option, any later version. See the LICENSE.txt file for the text of
@ the license.
@-----------------------------------------------------------------------------
@ Reset vector for running from FLASH
@-----------------------------------------------------------------------------
.extern CopyBootToRAM
.section .startup,"ax"

View file

@ -1,3 +1,11 @@
//-----------------------------------------------------------------------------
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
// at your option, any later version. See the LICENSE.txt file for the text of
// the license.
//-----------------------------------------------------------------------------
// Helper function for launching the bootloader from FLASH
//-----------------------------------------------------------------------------
#include <proxmark3.h>
extern char __bootphase2_src_start__, __bootphase2_start__, __bootphase2_end__;

View file

@ -1,3 +1,13 @@
/*
-----------------------------------------------------------------------------
This code is licensed to you under the terms of the GNU GPL, version 2 or,
at your option, any later version. See the LICENSE.txt file for the text of
the license.
-----------------------------------------------------------------------------
Bootrom linker script
-----------------------------------------------------------------------------
*/
INCLUDE ../common/ldscript.common
ENTRY(flashstart)

View file

@ -1,3 +1,11 @@
@-----------------------------------------------------------------------------
@ This code is licensed to you under the terms of the GNU GPL, version 2 or,
@ at your option, any later version. See the LICENSE.txt file for the text of
@ the license.
@-----------------------------------------------------------------------------
@ RAM reset vector for relaunching the bootloader
@-----------------------------------------------------------------------------
.extern BootROM
.section .startphase2,"ax"

View file

@ -1,6 +1,12 @@
/*
* Replacement stdint.h because GCC doesn't come with it yet (C99)
*/
//-----------------------------------------------------------------------------
// Copyright (C) 2010 Hector Martin "marcan" <marcan@marcansoft.com>
//
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
// at your option, any later version. See the LICENSE.txt file for the text of
// the license.
//-----------------------------------------------------------------------------
// Replacement stdint.h because GCC doesn't come with it yet (C99)
//-----------------------------------------------------------------------------
#ifndef __STDINT_H
#define __STDINT_H