From 22f7d1716e18e8ca6a575cd13ef6fd8d432445cb Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 24 May 2012 19:22:27 +0200 Subject: [PATCH] Remove some boilerplate --- common/sfl.h | 17 --------------- software/bios/boot.c | 17 --------------- software/bios/boot.h | 17 --------------- software/bios/ddrinit.c | 17 --------------- software/bios/ddrinit.h | 17 --------------- software/bios/isr.c | 17 --------------- software/bios/main.c | 17 --------------- software/bios/microudp.c | 17 --------------- software/bios/microudp.h | 23 +++----------------- software/bios/tftp.c | 17 --------------- software/bios/tftp.h | 23 +++----------------- software/include/base/assert.h | 18 ---------------- software/include/base/board.h | 17 --------------- software/include/base/console.h | 17 --------------- software/include/base/crc.h | 17 --------------- software/include/base/ctype.h | 17 --------------- software/include/base/endian.h | 17 --------------- software/include/base/irq.h | 17 --------------- software/include/base/limits.h | 18 ---------------- software/include/base/stdarg.h | 18 ---------------- software/include/base/stdio.h | 17 --------------- software/include/base/system.h | 17 --------------- software/include/base/timer.h | 17 --------------- software/include/base/uart.h | 17 --------------- software/include/hw/capabilities.h | 34 ------------------------------ software/include/hw/common.h | 17 --------------- software/include/hw/dfii.h | 17 --------------- software/include/hw/flash.h | 17 --------------- software/include/hw/gpio.h | 17 --------------- software/include/hw/id.h | 17 --------------- software/include/hw/mem.h | 17 --------------- software/include/hw/minimac.h | 17 --------------- software/include/hw/timer.h | 17 --------------- software/include/hw/uart.h | 17 --------------- software/libbase/board.c | 17 --------------- software/libbase/console.c | 17 --------------- software/libbase/softfloat-glue.c | 17 --------------- software/libbase/system.c | 17 --------------- software/libbase/timer.c | 17 --------------- software/libbase/uart.c | 17 --------------- verilog/generic/psync.v | 17 --------------- verilog/m1crg/m1crg.v | 17 --------------- verilog/minimac3/minimac3.v | 17 --------------- verilog/minimac3/minimac3_memory.v | 17 --------------- verilog/minimac3/minimac3_rx.v | 17 --------------- verilog/minimac3/minimac3_sync.v | 17 --------------- verilog/minimac3/minimac3_tx.v | 17 --------------- 47 files changed, 6 insertions(+), 825 deletions(-) delete mode 100644 software/include/hw/capabilities.h diff --git a/common/sfl.h b/common/sfl.h index 90a205fd..c496aed3 100644 --- a/common/sfl.h +++ b/common/sfl.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC - * Copyright (C) 2007, 2008, 2009 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __SFL_H #define __SFL_H diff --git a/software/bios/boot.c b/software/bios/boot.c index 74b0f558..aefc25a3 100644 --- a/software/bios/boot.c +++ b/software/bios/boot.c @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #include #include #include diff --git a/software/bios/boot.h b/software/bios/boot.h index 58a33f55..97a30e52 100644 --- a/software/bios/boot.h +++ b/software/bios/boot.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __BOOT_H #define __BOOT_H diff --git a/software/bios/ddrinit.c b/software/bios/ddrinit.c index 5c2a040c..ce53f050 100644 --- a/software/bios/ddrinit.c +++ b/software/bios/ddrinit.c @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #include #include diff --git a/software/bios/ddrinit.h b/software/bios/ddrinit.h index e1085fc4..32d157ae 100644 --- a/software/bios/ddrinit.h +++ b/software/bios/ddrinit.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __DDRINIT_H #define __DDRINIT_H diff --git a/software/bios/isr.c b/software/bios/isr.c index 400de233..74dbe342 100644 --- a/software/bios/isr.c +++ b/software/bios/isr.c @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #include #include #include diff --git a/software/bios/main.c b/software/bios/main.c index 21b6aee9..275017f0 100644 --- a/software/bios/main.c +++ b/software/bios/main.c @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #include #include #include diff --git a/software/bios/microudp.c b/software/bios/microudp.c index 44d58a62..676e17ed 100644 --- a/software/bios/microudp.c +++ b/software/bios/microudp.c @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010, 2011 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #include #include #include diff --git a/software/bios/microudp.h b/software/bios/microudp.h index 46cac233..194bd7df 100644 --- a/software/bios/microudp.h +++ b/software/bios/microudp.h @@ -1,22 +1,5 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010, 2011 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#ifndef __NET_MICROUDP_H -#define __NET_MICROUDP_H +#ifndef __MICROUDP_H +#define __MICROUDP_H #define IPTOINT(a, b, c, d) ((a << 24)|(b << 16)|(c << 8)|d) @@ -31,4 +14,4 @@ int microudp_send(unsigned short src_port, unsigned short dst_port, unsigned int void microudp_set_callback(udp_callback callback); void microudp_service(void); -#endif /* __NET_MICROUDP_H */ +#endif /* __MICROUDP_H */ diff --git a/software/bios/tftp.c b/software/bios/tftp.c index d155b9fc..1a34ac4c 100644 --- a/software/bios/tftp.c +++ b/software/bios/tftp.c @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #include #include "microudp.h" diff --git a/software/bios/tftp.h b/software/bios/tftp.h index 27609332..b27fb50f 100644 --- a/software/bios/tftp.h +++ b/software/bios/tftp.h @@ -1,24 +1,7 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#ifndef __NET_TFTP_H -#define __NET_TFTP_H +#ifndef __TFTP_H +#define __TFTP_H int tftp_get(unsigned int ip, const char *filename, char *buffer); -#endif /* __NET_TFTP_H */ +#endif /* __TFTP_H */ diff --git a/software/include/base/assert.h b/software/include/base/assert.h index 6bfaba6c..7b80a287 100644 --- a/software/include/base/assert.h +++ b/software/include/base/assert.h @@ -1,21 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009 Sebastien Bourdeauducq - * Copyright (C) Linux kernel developers - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __ASSERT_H #define __ASSERT_H diff --git a/software/include/base/board.h b/software/include/base/board.h index 02b23cf6..ef873160 100644 --- a/software/include/base/board.h +++ b/software/include/base/board.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010, 2011 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __BOARD_H #define __BOARD_H diff --git a/software/include/base/console.h b/software/include/base/console.h index 79517637..182a80a3 100644 --- a/software/include/base/console.h +++ b/software/include/base/console.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __CONSOLE_H #define __CONSOLE_H diff --git a/software/include/base/crc.h b/software/include/base/crc.h index 3f239546..61cc036b 100644 --- a/software/include/base/crc.h +++ b/software/include/base/crc.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __CRC_H #define __CRC_H diff --git a/software/include/base/ctype.h b/software/include/base/ctype.h index 926b761a..a6c0dfbe 100644 --- a/software/include/base/ctype.h +++ b/software/include/base/ctype.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __CTYPE_H #define __CTYPE_H diff --git a/software/include/base/endian.h b/software/include/base/endian.h index 9cdf98c5..03a0d449 100644 --- a/software/include/base/endian.h +++ b/software/include/base/endian.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __ENDIAN_H #define __ENDIAN_H diff --git a/software/include/base/irq.h b/software/include/base/irq.h index 33bd05be..e2599614 100644 --- a/software/include/base/irq.h +++ b/software/include/base/irq.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __IRQ_H #define __IRQ_H diff --git a/software/include/base/limits.h b/software/include/base/limits.h index aaf97213..3f40c3c3 100644 --- a/software/include/base/limits.h +++ b/software/include/base/limits.h @@ -1,21 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009 Sebastien Bourdeauducq - * Copyright (C) Linux kernel developers - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __LIMITS_H #define __LIMITS_H diff --git a/software/include/base/stdarg.h b/software/include/base/stdarg.h index 7729b7e5..4e11f283 100644 --- a/software/include/base/stdarg.h +++ b/software/include/base/stdarg.h @@ -1,21 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009 Sebastien Bourdeauducq - * Copyright (C) Linux kernel developers - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __STDARG_H #define __STDARG_H diff --git a/software/include/base/stdio.h b/software/include/base/stdio.h index f80e3a6f..869c6498 100644 --- a/software/include/base/stdio.h +++ b/software/include/base/stdio.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __STDIO_H #define __STDIO_H diff --git a/software/include/base/system.h b/software/include/base/system.h index 5eb6a219..fbdd78c2 100644 --- a/software/include/base/system.h +++ b/software/include/base/system.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __SYSTEM_H #define __SYSTEM_H diff --git a/software/include/base/timer.h b/software/include/base/timer.h index a7810ed2..91546255 100644 --- a/software/include/base/timer.h +++ b/software/include/base/timer.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __TIMER_H #define __TIMER_H diff --git a/software/include/base/uart.h b/software/include/base/uart.h index 0c03c02a..86c61a84 100644 --- a/software/include/base/uart.h +++ b/software/include/base/uart.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __UART_H #define __UART_H diff --git a/software/include/hw/capabilities.h b/software/include/hw/capabilities.h deleted file mode 100644 index a6dba088..00000000 --- a/software/include/hw/capabilities.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#ifndef __HW_CAPABILITIES -#define __HW_CAPABILITIES - -#define CAP_MEMORYCARD (0x00000001) -#define CAP_AC97 (0x00000002) -#define CAP_PFPU (0x00000004) -#define CAP_TMU (0x00000008) -#define CAP_ETHERNET (0x00000010) -#define CAP_FMLMETER (0x00000020) -#define CAP_VIDEOIN (0x00000040) -#define CAP_MIDI (0x00000080) -#define CAP_DMX (0x00000100) -#define CAP_IR (0x00000200) -#define CAP_USB (0x00000400) -#define CAP_MEMTEST (0x00000800) - -#endif /* __HW_CAPABILITIES */ diff --git a/software/include/hw/common.h b/software/include/hw/common.h index 5d9c61a5..e5f9b51e 100644 --- a/software/include/hw/common.h +++ b/software/include/hw/common.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __HW_COMMON_H #define __HW_COMMON_H diff --git a/software/include/hw/dfii.h b/software/include/hw/dfii.h index 4cf07f3c..d90c75a8 100644 --- a/software/include/hw/dfii.h +++ b/software/include/hw/dfii.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __HW_DFII_H #define __HW_DFII_H diff --git a/software/include/hw/flash.h b/software/include/hw/flash.h index 1e5ddea5..f5603906 100644 --- a/software/include/hw/flash.h +++ b/software/include/hw/flash.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __HW_FLASH_H #define __HW_FLASH_H diff --git a/software/include/hw/gpio.h b/software/include/hw/gpio.h index 7ebb0c83..18a2eac9 100644 --- a/software/include/hw/gpio.h +++ b/software/include/hw/gpio.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __HW_GPIO_H #define __HW_GPIO_H diff --git a/software/include/hw/id.h b/software/include/hw/id.h index ae564e5f..574dbb62 100644 --- a/software/include/hw/id.h +++ b/software/include/hw/id.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __HW_ID_H #define __HW_ID_H diff --git a/software/include/hw/mem.h b/software/include/hw/mem.h index b440a48e..3142b679 100644 --- a/software/include/hw/mem.h +++ b/software/include/hw/mem.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __HW_MEM_H #define __HW_MEM_H diff --git a/software/include/hw/minimac.h b/software/include/hw/minimac.h index c9c9d4d1..fb58032d 100644 --- a/software/include/hw/minimac.h +++ b/software/include/hw/minimac.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __HW_MINIMAC_H #define __HW_MINIMAC_H diff --git a/software/include/hw/timer.h b/software/include/hw/timer.h index 3f987e62..a4b14c4d 100644 --- a/software/include/hw/timer.h +++ b/software/include/hw/timer.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __HW_TIMER_H #define __HW_TIMER_H diff --git a/software/include/hw/uart.h b/software/include/hw/uart.h index 1ee37869..279ace28 100644 --- a/software/include/hw/uart.h +++ b/software/include/hw/uart.h @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #ifndef __HW_UART_H #define __HW_UART_H diff --git a/software/libbase/board.c b/software/libbase/board.c index fc9a122d..b58900a2 100644 --- a/software/libbase/board.c +++ b/software/libbase/board.c @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2011, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #include #include #include diff --git a/software/libbase/console.c b/software/libbase/console.c index 19d0a97b..f6887bb7 100644 --- a/software/libbase/console.c +++ b/software/libbase/console.c @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #include #include #include diff --git a/software/libbase/softfloat-glue.c b/software/libbase/softfloat-glue.c index 2efa5011..500f57f3 100644 --- a/software/libbase/softfloat-glue.c +++ b/software/libbase/softfloat-glue.c @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #include "milieu.h" #include "softfloat.h" diff --git a/software/libbase/system.c b/software/libbase/system.c index c39d2561..41a30395 100644 --- a/software/libbase/system.c +++ b/software/libbase/system.c @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #include #include diff --git a/software/libbase/timer.c b/software/libbase/timer.c index 98bb879d..c2c4b9da 100644 --- a/software/libbase/timer.c +++ b/software/libbase/timer.c @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #include #include diff --git a/software/libbase/uart.c b/software/libbase/uart.c index 57ed4922..f66dc2b6 100644 --- a/software/libbase/uart.c +++ b/software/libbase/uart.c @@ -1,20 +1,3 @@ -/* - * Milkymist SoC (Software) - * Copyright (C) 2007, 2008, 2009, 2010, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - #include #include #include diff --git a/verilog/generic/psync.v b/verilog/generic/psync.v index bc0343f9..26597bb7 100644 --- a/verilog/generic/psync.v +++ b/verilog/generic/psync.v @@ -1,20 +1,3 @@ -/* - * Milkymist SoC - * Copyright (C) 2007, 2008, 2009, 2010, 2011 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - module psync( input clk1, input i, diff --git a/verilog/m1crg/m1crg.v b/verilog/m1crg/m1crg.v index 58229996..ba5519b6 100644 --- a/verilog/m1crg/m1crg.v +++ b/verilog/m1crg/m1crg.v @@ -1,20 +1,3 @@ -/* - * Milkymist-NG SoC - * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - module m1crg #( parameter in_period = 0.0, parameter f_mult = 0, diff --git a/verilog/minimac3/minimac3.v b/verilog/minimac3/minimac3.v index 22b3d143..a1e6bd8a 100644 --- a/verilog/minimac3/minimac3.v +++ b/verilog/minimac3/minimac3.v @@ -1,20 +1,3 @@ -/* - * Milkymist SoC - * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - module minimac3( input sys_clk, input sys_rst, diff --git a/verilog/minimac3/minimac3_memory.v b/verilog/minimac3/minimac3_memory.v index 57f16183..f527bb39 100644 --- a/verilog/minimac3/minimac3_memory.v +++ b/verilog/minimac3/minimac3_memory.v @@ -1,20 +1,3 @@ -/* - * Milkymist SoC - * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - /* TODO: use behavioral BRAM models (Xst can extract byte WE) */ module minimac3_memory( diff --git a/verilog/minimac3/minimac3_rx.v b/verilog/minimac3/minimac3_rx.v index 70cc7426..6007fa65 100644 --- a/verilog/minimac3/minimac3_rx.v +++ b/verilog/minimac3/minimac3_rx.v @@ -1,20 +1,3 @@ -/* - * Milkymist SoC - * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - module minimac3_rx( input phy_rx_clk, diff --git a/verilog/minimac3/minimac3_sync.v b/verilog/minimac3/minimac3_sync.v index 83b7bae6..c169ce29 100644 --- a/verilog/minimac3/minimac3_sync.v +++ b/verilog/minimac3/minimac3_sync.v @@ -1,20 +1,3 @@ -/* - * Milkymist SoC - * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - module minimac3_sync( input sys_clk, input phy_rx_clk, diff --git a/verilog/minimac3/minimac3_tx.v b/verilog/minimac3/minimac3_tx.v index 46ab2163..caf901a1 100644 --- a/verilog/minimac3/minimac3_tx.v +++ b/verilog/minimac3/minimac3_tx.v @@ -1,20 +1,3 @@ -/* - * Milkymist SoC - * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Sebastien Bourdeauducq - * - * 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 3 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - module minimac3_tx( input phy_tx_clk, -- 2.30.2