summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:02:19 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:02:19 +0200
commit75a10b942c77c0720b2f81c971672673b944d922 (patch)
treeed70d18b0b9c865c6f00f442b5b7c142c699e6bf /lib
parent862486e6d4d7aae1be30452e8d1835929452a382 (diff)
downloadbarebox-75a10b942c77c0720b2f81c971672673b944d922.tar.gz
barebox-75a10b942c77c0720b2f81c971672673b944d922.tar.xz
svn_rev_706
add file headers
Diffstat (limited to 'lib')
-rw-r--r--lib/driver.c22
-rw-r--r--lib/misc.c21
-rw-r--r--lib/parameter.c22
-rw-r--r--lib/readkey.c23
-rw-r--r--lib/xfuncs.c23
5 files changed, 111 insertions, 0 deletions
diff --git a/lib/driver.c b/lib/driver.c
index 227d06ff6b..386b4328f2 100644
--- a/lib/driver.c
+++ b/lib/driver.c
@@ -1,3 +1,25 @@
+/*
+ * driver.c - U-Boot driver model
+ *
+ * Copyright (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
#include <common.h>
#include <command.h>
#include <driver.h>
diff --git a/lib/misc.c b/lib/misc.c
index 5ba9a0bbfa..b1266e4ba9 100644
--- a/lib/misc.c
+++ b/lib/misc.c
@@ -1,3 +1,24 @@
+/*
+ * misc.c - various assorted functions
+ *
+ * Copyright (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
#include <common.h>
#include <malloc.h>
diff --git a/lib/parameter.c b/lib/parameter.c
index bf5d87ecf5..d0945f6ffe 100644
--- a/lib/parameter.c
+++ b/lib/parameter.c
@@ -1,3 +1,25 @@
+/*
+ * parameter.c - device parameters
+ *
+ * Copyright (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
#include <common.h>
#include <param.h>
#include <errno.h>
diff --git a/lib/readkey.c b/lib/readkey.c
index d4e86ed3eb..acfb0097df 100644
--- a/lib/readkey.c
+++ b/lib/readkey.c
@@ -1,3 +1,26 @@
+/*
+ * readkey.c - read keystrokes and decode standard escape sequences
+ *
+ * Partly based on busybox vi
+ *
+ * Copyright (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
#include <common.h>
#include <linux/ctype.h>
diff --git a/lib/xfuncs.c b/lib/xfuncs.c
index 12b12e28f4..2a2ec75979 100644
--- a/lib/xfuncs.c
+++ b/lib/xfuncs.c
@@ -1,3 +1,26 @@
+/*
+ * xfuncs.c - safe malloc funcions
+ *
+ * based on busybox
+ *
+ * Copyright (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
#include <common.h>
#include <malloc.h>