Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/40089 )
Change subject: mainboard/opencellular: Use SPDX for GPL-2.0-only files ......................................................................
mainboard/opencellular: Use SPDX for GPL-2.0-only files
Done with sed and God Lines. Only done for C-like code for now.
Change-Id: Ia4782dccd8c95e173c7920be06e46a611a48a0cc Signed-off-by: Angel Pons th3fanbus@gmail.com --- M src/mainboard/opencellular/elgon/bdk_devicetree.c M src/mainboard/opencellular/elgon/bootblock.c M src/mainboard/opencellular/elgon/death.c M src/mainboard/opencellular/elgon/gbcv2.dts M src/mainboard/opencellular/elgon/mainboard.c M src/mainboard/opencellular/elgon/mainboard.h M src/mainboard/opencellular/elgon/romstage.c 7 files changed, 9 insertions(+), 81 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/40089/1
diff --git a/src/mainboard/opencellular/elgon/bdk_devicetree.c b/src/mainboard/opencellular/elgon/bdk_devicetree.c index 7836c21..c33c106 100644 --- a/src/mainboard/opencellular/elgon/bdk_devicetree.c +++ b/src/mainboard/opencellular/elgon/bdk_devicetree.c @@ -1,16 +1,6 @@ /* * This file is part of the coreboot project. - * - * - * 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. - * + * SPDX-License-Identifier: GPL-2.0-only * */
// This file is automatically generated. diff --git a/src/mainboard/opencellular/elgon/bootblock.c b/src/mainboard/opencellular/elgon/bootblock.c index cce1afa..110807c 100644 --- a/src/mainboard/opencellular/elgon/bootblock.c +++ b/src/mainboard/opencellular/elgon/bootblock.c @@ -1,16 +1,5 @@ -/* - * This file is part of the coreboot project. - * - * - * 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. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* This file is part of the coreboot project. */
#include <bootblock_common.h> #include <soc/soc.h> diff --git a/src/mainboard/opencellular/elgon/death.c b/src/mainboard/opencellular/elgon/death.c index 72be17d..d5675d9 100644 --- a/src/mainboard/opencellular/elgon/death.c +++ b/src/mainboard/opencellular/elgon/death.c @@ -1,16 +1,6 @@ /* * This file is part of the coreboot project. - * - * - * 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. - * + * SPDX-License-Identifier: GPL-2.0-only * */
#include <soc/gpio.h> diff --git a/src/mainboard/opencellular/elgon/gbcv2.dts b/src/mainboard/opencellular/elgon/gbcv2.dts index 04453a2..3cdc7eb 100644 --- a/src/mainboard/opencellular/elgon/gbcv2.dts +++ b/src/mainboard/opencellular/elgon/gbcv2.dts @@ -1,16 +1,5 @@ -/* - * This file is part of the coreboot project. - * - * - * 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. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* This file is part of the coreboot project. */
/dts-v1/;
diff --git a/src/mainboard/opencellular/elgon/mainboard.c b/src/mainboard/opencellular/elgon/mainboard.c index 1441108..87bb3e8 100644 --- a/src/mainboard/opencellular/elgon/mainboard.c +++ b/src/mainboard/opencellular/elgon/mainboard.c @@ -1,16 +1,6 @@ /* * This file is part of the coreboot project. - * - * - * 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. - * + * SPDX-License-Identifier: GPL-2.0-only * * Derived from Cavium's BSD-3 Clause OCTEONTX-SDK-6.2.0. */
diff --git a/src/mainboard/opencellular/elgon/mainboard.h b/src/mainboard/opencellular/elgon/mainboard.h index 2e4d01c..2b33bf3 100644 --- a/src/mainboard/opencellular/elgon/mainboard.h +++ b/src/mainboard/opencellular/elgon/mainboard.h @@ -1,16 +1,6 @@ /* * This file is part of the coreboot project. - * - * - * 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. - * + * SPDX-License-Identifier: GPL-2.0-only * */
#define ELGON_GPIO_ERROR_LED 11 diff --git a/src/mainboard/opencellular/elgon/romstage.c b/src/mainboard/opencellular/elgon/romstage.c index 3e4ba49..f74d1bb 100644 --- a/src/mainboard/opencellular/elgon/romstage.c +++ b/src/mainboard/opencellular/elgon/romstage.c @@ -1,16 +1,6 @@ /* * This file is part of the coreboot project. - * - * - * 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. - * + * SPDX-License-Identifier: GPL-2.0-only * */
#include <arch/exception.h>
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40089 )
Change subject: mainboard/opencellular: Use SPDX for GPL-2.0-only files ......................................................................
Patch Set 2:
(5 comments)
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... File src/mainboard/opencellular/elgon/bdk_devicetree.c:
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... PS2, Line 3: * SPDX-License-Identifier: GPL-2.0-only * wrong order
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... File src/mainboard/opencellular/elgon/death.c:
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... PS2, Line 3: * SPDX-License-Identifier: GPL-2.0-only * same
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... File src/mainboard/opencellular/elgon/mainboard.h:
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... PS2, Line 3: * SPDX-License-Identifier: GPL-2.0-only * same
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... File src/mainboard/opencellular/elgon/mainboard.c:
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... PS2, Line 3: * SPDX-License-Identifier: GPL-2.0-only * same
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... File src/mainboard/opencellular/elgon/romstage.c:
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... PS2, Line 3: * SPDX-License-Identifier: GPL-2.0-only * same
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40089 )
Change subject: mainboard/opencellular: Use SPDX for GPL-2.0-only files ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... File src/mainboard/opencellular/elgon/bdk_devicetree.c:
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... PS2, Line 3: * SPDX-License-Identifier: GPL-2.0-only *
wrong order
Escaped my sed-fu due to the empty comment line. Will fix.
Hello build bot (Jenkins), Patrick Rudolph, Christian Walter,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40089
to look at the new patch set (#3).
Change subject: mainboard/opencellular: Use SPDX for GPL-2.0-only files ......................................................................
mainboard/opencellular: Use SPDX for GPL-2.0-only files
Done with sed and God Lines. Only done for C-like code for now.
Change-Id: Ia4782dccd8c95e173c7920be06e46a611a48a0cc Signed-off-by: Angel Pons th3fanbus@gmail.com --- M src/mainboard/opencellular/elgon/bdk_devicetree.c M src/mainboard/opencellular/elgon/bootblock.c M src/mainboard/opencellular/elgon/death.c M src/mainboard/opencellular/elgon/gbcv2.dts M src/mainboard/opencellular/elgon/mainboard.c M src/mainboard/opencellular/elgon/mainboard.h M src/mainboard/opencellular/elgon/romstage.c 7 files changed, 15 insertions(+), 94 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/40089/3
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40089 )
Change subject: mainboard/opencellular: Use SPDX for GPL-2.0-only files ......................................................................
Patch Set 2:
(5 comments)
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... File src/mainboard/opencellular/elgon/bdk_devicetree.c:
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... PS2, Line 3: * SPDX-License-Identifier: GPL-2.0-only *
Escaped my sed-fu due to the empty comment line. Will fix.
Done
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... File src/mainboard/opencellular/elgon/death.c:
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... PS2, Line 3: * SPDX-License-Identifier: GPL-2.0-only *
same
Done
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... File src/mainboard/opencellular/elgon/mainboard.h:
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... PS2, Line 3: * SPDX-License-Identifier: GPL-2.0-only *
same
Done
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... File src/mainboard/opencellular/elgon/mainboard.c:
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... PS2, Line 3: * SPDX-License-Identifier: GPL-2.0-only *
same
Done
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... File src/mainboard/opencellular/elgon/romstage.c:
https://review.coreboot.org/c/coreboot/+/40089/2/src/mainboard/opencellular/... PS2, Line 3: * SPDX-License-Identifier: GPL-2.0-only *
same
Done
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40089 )
Change subject: mainboard/opencellular: Use SPDX for GPL-2.0-only files ......................................................................
Patch Set 3: Code-Review+2
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/40089 )
Change subject: mainboard/opencellular: Use SPDX for GPL-2.0-only files ......................................................................
mainboard/opencellular: Use SPDX for GPL-2.0-only files
Done with sed and God Lines. Only done for C-like code for now.
Change-Id: Ia4782dccd8c95e173c7920be06e46a611a48a0cc Signed-off-by: Angel Pons th3fanbus@gmail.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/40089 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Felix Held felix-coreboot@felixheld.de --- M src/mainboard/opencellular/elgon/bdk_devicetree.c M src/mainboard/opencellular/elgon/bootblock.c M src/mainboard/opencellular/elgon/death.c M src/mainboard/opencellular/elgon/gbcv2.dts M src/mainboard/opencellular/elgon/mainboard.c M src/mainboard/opencellular/elgon/mainboard.h M src/mainboard/opencellular/elgon/romstage.c 7 files changed, 15 insertions(+), 94 deletions(-)
Approvals: build bot (Jenkins): Verified Felix Held: Looks good to me, approved
diff --git a/src/mainboard/opencellular/elgon/bdk_devicetree.c b/src/mainboard/opencellular/elgon/bdk_devicetree.c index 7836c21..b3c903a 100644 --- a/src/mainboard/opencellular/elgon/bdk_devicetree.c +++ b/src/mainboard/opencellular/elgon/bdk_devicetree.c @@ -1,17 +1,5 @@ -/* - * This file is part of the coreboot project. - * - * - * 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. - * - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* This file is part of the coreboot project. */
// This file is automatically generated. // DO NOT EDIT BY HAND. diff --git a/src/mainboard/opencellular/elgon/bootblock.c b/src/mainboard/opencellular/elgon/bootblock.c index cce1afa..110807c 100644 --- a/src/mainboard/opencellular/elgon/bootblock.c +++ b/src/mainboard/opencellular/elgon/bootblock.c @@ -1,16 +1,5 @@ -/* - * This file is part of the coreboot project. - * - * - * 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. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* This file is part of the coreboot project. */
#include <bootblock_common.h> #include <soc/soc.h> diff --git a/src/mainboard/opencellular/elgon/death.c b/src/mainboard/opencellular/elgon/death.c index 72be17d..ecd661b 100644 --- a/src/mainboard/opencellular/elgon/death.c +++ b/src/mainboard/opencellular/elgon/death.c @@ -1,17 +1,5 @@ -/* - * This file is part of the coreboot project. - * - * - * 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. - * - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* This file is part of the coreboot project. */
#include <soc/gpio.h> #include <console/console.h> diff --git a/src/mainboard/opencellular/elgon/gbcv2.dts b/src/mainboard/opencellular/elgon/gbcv2.dts index 04453a2..3cdc7eb 100644 --- a/src/mainboard/opencellular/elgon/gbcv2.dts +++ b/src/mainboard/opencellular/elgon/gbcv2.dts @@ -1,16 +1,5 @@ -/* - * This file is part of the coreboot project. - * - * - * 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. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* This file is part of the coreboot project. */
/dts-v1/;
diff --git a/src/mainboard/opencellular/elgon/mainboard.c b/src/mainboard/opencellular/elgon/mainboard.c index 1441108..c18aeeb 100644 --- a/src/mainboard/opencellular/elgon/mainboard.c +++ b/src/mainboard/opencellular/elgon/mainboard.c @@ -1,16 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* This file is part of the coreboot project. */ + /* - * This file is part of the coreboot project. - * - * - * 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. - * * Derived from Cavium's BSD-3 Clause OCTEONTX-SDK-6.2.0. */
diff --git a/src/mainboard/opencellular/elgon/mainboard.h b/src/mainboard/opencellular/elgon/mainboard.h index 2e4d01c..a29ceb5 100644 --- a/src/mainboard/opencellular/elgon/mainboard.h +++ b/src/mainboard/opencellular/elgon/mainboard.h @@ -1,17 +1,5 @@ -/* - * This file is part of the coreboot project. - * - * - * 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. - * - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* This file is part of the coreboot project. */
#define ELGON_GPIO_ERROR_LED 11 #define ELGON_GPIO_SPI_MUX 24 diff --git a/src/mainboard/opencellular/elgon/romstage.c b/src/mainboard/opencellular/elgon/romstage.c index 3e4ba49..54fa97d 100644 --- a/src/mainboard/opencellular/elgon/romstage.c +++ b/src/mainboard/opencellular/elgon/romstage.c @@ -1,17 +1,5 @@ -/* - * This file is part of the coreboot project. - * - * - * 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. - * - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* This file is part of the coreboot project. */
#include <arch/exception.h> #include <cbmem.h>