From 31de001477d391e99811a31a44d034508d505d02 Mon Sep 17 00:00:00 2001
From: Kenneth Johansson <kenneth.johansson@iopsys.eu>
Date: Tue, 5 Feb 2019 17:25:27 +0100
Subject: [PATCH] Add license headers.

---
 src/board.c       | 19 +++++++++++++++++++
 src/brcm_kernel.c | 19 +++++++++++++++++++
 src/cfe.c         | 19 +++++++++++++++++++
 src/cmd.c         | 19 +++++++++++++++++++
 src/cmd.h         | 19 +++++++++++++++++++
 src/consumer.c    | 19 +++++++++++++++++++
 src/consumer.h    | 19 +++++++++++++++++++
 src/image.c       | 19 +++++++++++++++++++
 src/image.h       | 19 +++++++++++++++++++
 src/log.h         | 19 +++++++++++++++++++
 src/main.c        | 19 +++++++++++++++++++
 src/md5sum.c      | 19 +++++++++++++++++++
 src/ubi.c         | 19 +++++++++++++++++++
 13 files changed, 247 insertions(+)

diff --git a/src/board.c b/src/board.c
index 63226c9..34c4a3e 100644
--- a/src/board.c
+++ b/src/board.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2019 iopsys Software Solutions AB. All rights reserved.
+ *
+ * Author: <Kenneth.Johansson@iopsys.eu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
diff --git a/src/brcm_kernel.c b/src/brcm_kernel.c
index 376196b..9dbb7c9 100644
--- a/src/brcm_kernel.c
+++ b/src/brcm_kernel.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2019 iopsys Software Solutions AB. All rights reserved.
+ *
+ * Author: <Kenneth.Johansson@iopsys.eu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 #include <stdio.h>
 #include <string.h>
 #include <getopt.h>
diff --git a/src/cfe.c b/src/cfe.c
index 1f4882c..f8a7f1b 100644
--- a/src/cfe.c
+++ b/src/cfe.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2019 iopsys Software Solutions AB. All rights reserved.
+ *
+ * Author: <Kenneth.Johansson@iopsys.eu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 /* cfe is split into two partitions. first one is 128Kb and the next is used for the rest. */
 
 /* cfe writing can only be run in post. this is so the digital signing and md5sum can      */
diff --git a/src/cmd.c b/src/cmd.c
index 1f4365c..f0c3a9f 100644
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2019 iopsys Software Solutions AB. All rights reserved.
+ *
+ * Author: <Kenneth.Johansson@iopsys.eu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 #include <stdio.h>
 #include <unistd.h>
 #include <stdlib.h>
diff --git a/src/cmd.h b/src/cmd.h
index 76b39ab..134b510 100644
--- a/src/cmd.h
+++ b/src/cmd.h
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2019 iopsys Software Solutions AB. All rights reserved.
+ *
+ * Author: <Kenneth.Johansson@iopsys.eu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 #ifndef _CMD_H_
 #define _CMD_H_
 
diff --git a/src/consumer.c b/src/consumer.c
index 675860a..9ee0100 100644
--- a/src/consumer.c
+++ b/src/consumer.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2019 iopsys Software Solutions AB. All rights reserved.
+ *
+ * Author: <Kenneth.Johansson@iopsys.eu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 #include <stdio.h>
 #include "list.h"
 #include "consumer.h"
diff --git a/src/consumer.h b/src/consumer.h
index 11b9f14..387a420 100644
--- a/src/consumer.h
+++ b/src/consumer.h
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2019 iopsys Software Solutions AB. All rights reserved.
+ *
+ * Author: <Kenneth.Johansson@iopsys.eu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 #ifndef _CONSUMER_H_
 #define _CONSUMER_H_
 #include "list.h"
diff --git a/src/image.c b/src/image.c
index 5e4bbb7..581afe6 100644
--- a/src/image.c
+++ b/src/image.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2019 iopsys Software Solutions AB. All rights reserved.
+ *
+ * Author: <Kenneth.Johansson@iopsys.eu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 #include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>
diff --git a/src/image.h b/src/image.h
index ce6abd3..fdd8ac9 100644
--- a/src/image.h
+++ b/src/image.h
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2019 iopsys Software Solutions AB. All rights reserved.
+ *
+ * Author: <Kenneth.Johansson@iopsys.eu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 #ifndef _IMAGE_H_
 #define _IMAGE_H_
 
diff --git a/src/log.h b/src/log.h
index 77784d4..95fb8bd 100644
--- a/src/log.h
+++ b/src/log.h
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2019 iopsys Software Solutions AB. All rights reserved.
+ *
+ * Author: <Kenneth.Johansson@iopsys.eu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 #ifndef LOG_H
 #define LOG_H
 /* Use this */
diff --git a/src/main.c b/src/main.c
index 3b8ae0b..2c5556a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2019 iopsys Software Solutions AB. All rights reserved.
+ *
+ * Author: <Kenneth.Johansson@iopsys.eu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 #include <config.h>
 #include <stdio.h>
 #include <getopt.h>
diff --git a/src/md5sum.c b/src/md5sum.c
index cbaf4db..5819037 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2019 iopsys Software Solutions AB. All rights reserved.
+ *
+ * Author: <Kenneth.Johansson@iopsys.eu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
diff --git a/src/ubi.c b/src/ubi.c
index b869c4b..24c303f 100644
--- a/src/ubi.c
+++ b/src/ubi.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2019 iopsys Software Solutions AB. All rights reserved.
+ *
+ * Author: <Kenneth.Johansson@iopsys.eu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 #include <getopt.h>
 #include <stdio.h>
 #include <stdlib.h>
-- 
GitLab