Browse Source

Remove device header files unneeded after initcall setup and generlization

Aaron Lindsay 7 years ago
parent
commit
d7f354221f

+ 0 - 28
include/drivers/bcm2835_videocore.h

@@ -1,28 +0,0 @@
1
-/*
2
-    Copyright (C) 2012, Aaron Lindsay <aaron@aclindsay.com>
3
-
4
-    This file is part of Aedrix.
5
-
6
-    This program is free software; you can redistribute it and/or modify
7
-    it under the terms of the GNU General Public License as published by
8
-    the Free Software Foundation; either version 2 of the License, or
9
-    (at your option) any later version.
10
-
11
-    This program is distributed in the hope that it will be useful,
12
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
13
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
-    GNU General Public License for more details.
15
-
16
-    You should have received a copy of the GNU General Public License along
17
-    with this program; if not, write to the Free Software Foundation, Inc.,
18
-    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
- */
20
-
21
-#include <framebuffer.h>
22
-
23
-#ifndef BCM2835_VIDEOCORE_H
24
-#define BCM2835_VIDEOCORE_H
25
-
26
-int bcm2835_videocore_init(struct fb *f, unsigned int color_depth);
27
-
28
-#endif /* BCM2835_VIDEOCORE_H */

+ 0 - 27
include/drivers/pi_mini_uart.h

@@ -1,27 +0,0 @@
1
-/*
2
-    Copyright (C) 2012, Aaron Lindsay <aaron@aclindsay.com>
3
-
4
-    This file is part of Aedrix.
5
-
6
-    This program is free software; you can redistribute it and/or modify
7
-    it under the terms of the GNU General Public License as published by
8
-    the Free Software Foundation; either version 2 of the License, or
9
-    (at your option) any later version.
10
-
11
-    This program is distributed in the hope that it will be useful,
12
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
13
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
-    GNU General Public License for more details.
15
-
16
-    You should have received a copy of the GNU General Public License along
17
-    with this program; if not, write to the Free Software Foundation, Inc.,
18
-    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
- */
20
-
21
-#ifndef PI_MINI_UART_H
22
-#define PI_MINI_UART_H
23
-
24
-void mini_uart_init();
25
-void mini_uart_putc(char c);
26
-
27
-#endif /* PI_MINI_UART_H */

+ 0 - 26
include/drivers/pl011.h

@@ -1,26 +0,0 @@
1
-/*
2
-    Copyright (C) 2012, Aaron Lindsay <aaron@aclindsay.com>
3
-
4
-    This file is part of Aedrix.
5
-
6
-    This program is free software; you can redistribute it and/or modify
7
-    it under the terms of the GNU General Public License as published by
8
-    the Free Software Foundation; either version 2 of the License, or
9
-    (at your option) any later version.
10
-
11
-    This program is distributed in the hope that it will be useful,
12
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
13
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
-    GNU General Public License for more details.
15
-
16
-    You should have received a copy of the GNU General Public License along
17
-    with this program; if not, write to the Free Software Foundation, Inc.,
18
-    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
- */
20
-
21
-#ifndef PL011_H
22
-#define PL011_H
23
-
24
-void pl011_putc(char c);
25
-
26
-#endif /* PL011_H */

+ 0 - 23
include/drivers/pl110.h

@@ -1,23 +0,0 @@
1
-/*
2
-    Copyright (C) 2012, Aaron Lindsay <aaron@aclindsay.com>
3
-
4
-    This file is part of Aedrix.
5
-
6
-    This program is free software; you can redistribute it and/or modify
7
-    it under the terms of the GNU General Public License as published by
8
-    the Free Software Foundation; either version 2 of the License, or
9
-    (at your option) any later version.
10
-
11
-    This program is distributed in the hope that it will be useful,
12
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
13
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
-    GNU General Public License for more details.
15
-
16
-    You should have received a copy of the GNU General Public License along
17
-    with this program; if not, write to the Free Software Foundation, Inc.,
18
-    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
- */
20
-
21
-#include <framebuffer.h>
22
-
23
-int pl110_init(struct fb *f, unsigned int color_depth);

+ 0 - 23
include/drivers/pl111.h

@@ -1,23 +0,0 @@
1
-/*
2
-    Copyright (C) 2012, Aaron Lindsay <aaron@aclindsay.com>
3
-
4
-    This file is part of Aedrix.
5
-
6
-    This program is free software; you can redistribute it and/or modify
7
-    it under the terms of the GNU General Public License as published by
8
-    the Free Software Foundation; either version 2 of the License, or
9
-    (at your option) any later version.
10
-
11
-    This program is distributed in the hope that it will be useful,
12
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
13
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
-    GNU General Public License for more details.
15
-
16
-    You should have received a copy of the GNU General Public License along
17
-    with this program; if not, write to the Free Software Foundation, Inc.,
18
-    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
- */
20
-
21
-#include <framebuffer.h>
22
-
23
-int pl111_init(struct fb *f, unsigned int color_depth);

+ 0 - 8
kernel/start_kernel.c

@@ -30,14 +30,6 @@
30 30
 #include <drivers/serial.h>
31 31
 #include <drivers/fb.h>
32 32
 
33
-#ifdef CONFIG_VEXPRESS_A9
34
-#include <drivers/pl111.h>
35
-#endif
36
-
37
-#ifdef CONFIG_RPI
38
-#include <drivers/bcm2835_videocore.h>
39
-#endif
40
-
41 33
 struct fb console_fb;
42 34
 
43 35
 void print_console_logo() {