diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2017-05-01 10:33:56 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2017-10-06 13:48:32 +0000 |
commit | 5930285206ba4fd661a68a0d0d9ccf9850620d82 (patch) | |
tree | 5b54d0286fb5bab2a6e2a6f823d5ce5b7aa6cf67 /util/autoport/ec_lenovo.go | |
parent | 128205fd087cc43f4cf9c7a947af5b951bcf2339 (diff) |
autoport: Add GPL boilerplate header to not empty .c files
The idea behind this not to enforce a license on autogenerated code
but is simply out of convenience in the case one wants to make the
result public (in which case it needs to have these license headers).
Change-Id: I1d6b48762b1249bb0becb178a30e1396bf6978fc
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/19510
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util/autoport/ec_lenovo.go')
-rw-r--r-- | util/autoport/ec_lenovo.go | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/util/autoport/ec_lenovo.go b/util/autoport/ec_lenovo.go index a0d21f13c7..c2dd333c73 100644 --- a/util/autoport/ec_lenovo.go +++ b/util/autoport/ec_lenovo.go @@ -79,25 +79,9 @@ void h8_mainboard_init_dock (void) AddSMMFile("smihandler.c", "") + Add_gpl(smi) smi.WriteString( - `/* - * This file is part of the coreboot project. - * - * Copyright (C) 2008-2009 coresystems GmbH - * Copyright (C) 2014 Vladimir Serbinenko - * - * 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. - * - * 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. - */ - -#include <arch/io.h> + `#include <arch/io.h> #include <console/console.h> #include <cpu/x86/smm.h> #include <ec/acpi/ec.h> |