diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:02:19 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:02:19 +0200 |
commit | 75a10b942c77c0720b2f81c971672673b944d922 (patch) | |
tree | ed70d18b0b9c865c6f00f442b5b7c142c699e6bf /arch/linux | |
parent | 862486e6d4d7aae1be30452e8d1835929452a382 (diff) | |
download | barebox-75a10b942c77c0720b2f81c971672673b944d922.tar.gz barebox-75a10b942c77c0720b2f81c971672673b944d922.tar.xz |
svn_rev_706
add file headers
Diffstat (limited to 'arch/linux')
-rw-r--r-- | arch/linux/board/board.c | 22 | ||||
-rw-r--r-- | arch/linux/board/clock.c | 22 | ||||
-rw-r--r-- | arch/linux/board/console.c | 22 | ||||
-rw-r--r-- | arch/linux/board/hostfile.c | 22 | ||||
-rw-r--r-- | arch/linux/lib/common.c | 34 | ||||
-rw-r--r-- | arch/linux/lib/tap.c | 22 |
6 files changed, 141 insertions, 3 deletions
diff --git a/arch/linux/board/board.c b/arch/linux/board/board.c index f214d246eb..f7cde99537 100644 --- a/arch/linux/board/board.c +++ b/arch/linux/board/board.c @@ -1,3 +1,25 @@ +/* + * board.c + * + * 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 <driver.h> #include <malloc.h> diff --git a/arch/linux/board/clock.c b/arch/linux/board/clock.c index 556e69e318..17409eca2a 100644 --- a/arch/linux/board/clock.c +++ b/arch/linux/board/clock.c @@ -1,3 +1,25 @@ +/* + * clock.c - wrapper between a U-Boot clocksource and linux + * + * 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 <init.h> #include <clock.h> diff --git a/arch/linux/board/console.c b/arch/linux/board/console.c index d8b45f9b3a..b6fa9eb97a 100644 --- a/arch/linux/board/console.c +++ b/arch/linux/board/console.c @@ -1,3 +1,25 @@ +/* + * console.c - register a console device + * + * 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 <driver.h> #include <asm/arch/linux.h> diff --git a/arch/linux/board/hostfile.c b/arch/linux/board/hostfile.c index 5618d78d96..af8b82ca19 100644 --- a/arch/linux/board/hostfile.c +++ b/arch/linux/board/hostfile.c @@ -1,3 +1,25 @@ +/* + * hostfile.c - use files from the host to simalute U-Boot devices + * + * 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 <driver.h> #include <malloc.h> diff --git a/arch/linux/lib/common.c b/arch/linux/lib/common.c index 99cbc98fc1..6416a54381 100644 --- a/arch/linux/lib/common.c +++ b/arch/linux/lib/common.c @@ -1,4 +1,29 @@ - +/* + * common.c - common wrapper functions between U-Boot and the host + * + * 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 + */ + +/* + * These are host includes. Never include any U-Boot header + * files here... + */ #include <stdio.h> #include <stdlib.h> #include <stdint.h> @@ -12,11 +37,14 @@ #include <string.h> #include <libgen.h> #include <sys/mman.h> -#include <asm/arch/linux.h> -#include <asm/arch/hostfile.h> #include <errno.h> #include <signal.h> #include <sys/select.h> +/* + * ...except the ones needed to connect with U-Boot + */ +#include <asm/arch/linux.h> +#include <asm/arch/hostfile.h> static struct termios term_orig, term_vi; static char erase_char; /* the users erase character */ diff --git a/arch/linux/lib/tap.c b/arch/linux/lib/tap.c index eba28b3f7b..b620612626 100644 --- a/arch/linux/lib/tap.c +++ b/arch/linux/lib/tap.c @@ -1,3 +1,25 @@ +/* + * tap.c - host side functions for tap driver + * + * 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 <stdio.h> #include <unistd.h> #include <sys/types.h> |