From c515898b338a5bd0a08c75d3dc7d55c9eeab8261 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sat, 26 May 2018 18:42:05 -0600 Subject: src/soc: Add and update license headers This change adds and updates headers in all of the soc files that had missing or unrecognized headers. After this goes in, we can turn on lint checking for headers in all soc directories. Change-Id: I8b34dcd10c692f1048bd8d6c0fe3bfce13d54967 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/26569 Tested-by: build bot (Jenkins) Reviewed-by: Werner Zeh --- src/soc/qualcomm/ipq806x/clock.c | 11 +++++++++++ src/soc/qualcomm/ipq806x/include/soc/cdp.h | 16 ++++++++++++++-- src/soc/qualcomm/ipq806x/include/soc/ebi2.h | 13 +++++++++++++ src/soc/qualcomm/ipq806x/include/soc/spi.h | 16 +++++++++++++++- src/soc/qualcomm/ipq806x/spi.c | 11 +++++++++++ 5 files changed, 64 insertions(+), 3 deletions(-) (limited to 'src/soc/qualcomm/ipq806x') diff --git a/src/soc/qualcomm/ipq806x/clock.c b/src/soc/qualcomm/ipq806x/clock.c index 7b46ef9dd8..9a010d112f 100644 --- a/src/soc/qualcomm/ipq806x/clock.c +++ b/src/soc/qualcomm/ipq806x/clock.c @@ -1,5 +1,16 @@ /* + * This file is part of the coreboot project. + * * Copyright (c) 2012 - 2013 The Linux Foundation. All rights reserved. + * + * 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 diff --git a/src/soc/qualcomm/ipq806x/include/soc/cdp.h b/src/soc/qualcomm/ipq806x/include/soc/cdp.h index bdfeb89403..f6afb313cc 100644 --- a/src/soc/qualcomm/ipq806x/include/soc/cdp.h +++ b/src/soc/qualcomm/ipq806x/include/soc/cdp.h @@ -1,5 +1,17 @@ -/* * Copyright (c) 2012 The Linux Foundation. All rights reserved.* */ - +/* + * This file is part of the coreboot project. + * + * Copyright (c) 2012 The Linux Foundation. All rights reserved. + * + * 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. + */ #ifndef _IPQ806X_CDP_H_ #define _IPQ806X_CDP_H_ diff --git a/src/soc/qualcomm/ipq806x/include/soc/ebi2.h b/src/soc/qualcomm/ipq806x/include/soc/ebi2.h index 770ac1093d..3e99c3bd26 100644 --- a/src/soc/qualcomm/ipq806x/include/soc/ebi2.h +++ b/src/soc/qualcomm/ipq806x/include/soc/ebi2.h @@ -1,6 +1,19 @@ /* + * This file is part of the coreboot project. + * * Copyright (c) 2012 The Linux Foundation. All rights reserved. * + * 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. + */ + +/* * Taken from U-Boot. */ #ifndef __SOC_QUALCOMM_IPQ806X_EBI2_H_ diff --git a/src/soc/qualcomm/ipq806x/include/soc/spi.h b/src/soc/qualcomm/ipq806x/include/soc/spi.h index 98a15b8c30..3005fa2d1f 100644 --- a/src/soc/qualcomm/ipq806x/include/soc/spi.h +++ b/src/soc/qualcomm/ipq806x/include/soc/spi.h @@ -1,6 +1,20 @@ /* - * Register definitions for the IPQ GSBI Controller + * This file is part of the coreboot project. + * * Copyright (c) 2012 The Linux Foundation. All rights reserved. + * + * 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. + */ + +/* + * Register definitions for the IPQ GSBI Controller */ #ifndef _IPQ806X_SPI_H_ diff --git a/src/soc/qualcomm/ipq806x/spi.c b/src/soc/qualcomm/ipq806x/spi.c index f9a89fcfed..28f068d898 100644 --- a/src/soc/qualcomm/ipq806x/spi.c +++ b/src/soc/qualcomm/ipq806x/spi.c @@ -1,5 +1,16 @@ /* + * This file is part of the coreboot project. + * * Copyright (c) 2012 The Linux Foundation. All rights reserved. + * + * 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 -- cgit v1.2.3