From b28f466a7bde9d5b928982e6e6f27005966711ad Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sat, 26 May 2018 17:58:47 -0600 Subject: src/mainboard: Add and update license headers This change adds and updates headers in all of the mainboard files that had missing or unrecognized headers. After this goes in, we can turn on lint checking for headers in all mainboard directories. Change-Id: Ibe038a8f7468253b21fd2ac90c045d0c9cc89dfc Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/26568 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/mainboard/cubietech/cubieboard/bootblock.c | 19 ++++++++++++++++--- src/mainboard/cubietech/cubieboard/romstage.c | 19 ++++++++++++++++--- 2 files changed, 32 insertions(+), 6 deletions(-) (limited to 'src/mainboard/cubietech') diff --git a/src/mainboard/cubietech/cubieboard/bootblock.c b/src/mainboard/cubietech/cubieboard/bootblock.c index 1f6a77fd1d..d70e52e835 100644 --- a/src/mainboard/cubietech/cubieboard/bootblock.c +++ b/src/mainboard/cubietech/cubieboard/bootblock.c @@ -1,9 +1,22 @@ /* - * Minimal bootblock for Cubieboard - * It sets up CPU clock, and enables the bootblock console. + * This file is part of the coreboot project. * * Copyright (C) 2013 Alexandru Gagniuc - * Subject to the GNU GPL v2, or (at your option) any later version. + * + * 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; 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. + */ + +/* + * Minimal bootblock for Cubieboard + * It sets up CPU clock, and enables the bootblock console. */ #include diff --git a/src/mainboard/cubietech/cubieboard/romstage.c b/src/mainboard/cubietech/cubieboard/romstage.c index fa660c82f5..6af46d9755 100644 --- a/src/mainboard/cubietech/cubieboard/romstage.c +++ b/src/mainboard/cubietech/cubieboard/romstage.c @@ -1,3 +1,19 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2013 Alexandru Gagniuc + * + * 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; 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. + */ + /* * Basic romstage for Cubieboard * @@ -5,9 +21,6 @@ * to ramstage. The CPU VDD needs to be properly set before it can run at full * speed. Setting the CPU at full speed helps lzma-decompress ramstage a lot * faster. - * - * Copyright (C) 2013 Alexandru Gagniuc - * Subject to the GNU GPL v2, or (at your option) any later version. */ #include -- cgit v1.2.3