devices -> drivers
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @@ -30,7 +30,7 @@ KOBJS := | |||||||
|  |  | ||||||
| # Initialize sub-directory Makefile inclusion | # Initialize sub-directory Makefile inclusion | ||||||
| BASEDIR = $(shell pwd) | BASEDIR = $(shell pwd) | ||||||
| SUBDIRS := boot kernel devices | SUBDIRS := boot kernel drivers | ||||||
| ifneq (,$(SUBDIRS)) | ifneq (,$(SUBDIRS)) | ||||||
| 	include $(patsubst %,%/kernel.mk,$(SUBDIRS)) | 	include $(patsubst %,%/kernel.mk,$(SUBDIRS)) | ||||||
| endif | endif | ||||||
|   | |||||||
| @@ -22,7 +22,7 @@ | |||||||
| #include <framebuffer.h> | #include <framebuffer.h> | ||||||
| #include <kmalloc.h> | #include <kmalloc.h> | ||||||
| #include <print.h> | #include <print.h> | ||||||
| #include <devices/bcm2835_mailbox.h> | #include <drivers/bcm2835_mailbox.h> | ||||||
| 
 | 
 | ||||||
| struct bcm2835_config { | struct bcm2835_config { | ||||||
| 	uint32 width; | 	uint32 width; | ||||||
| @@ -1,4 +1,4 @@ | |||||||
| DIRNAME := devices | DIRNAME := drivers | ||||||
| SUBDIRS := | SUBDIRS := | ||||||
| 
 | 
 | ||||||
| include $(BASEDIR)/header.mk | include $(BASEDIR)/header.mk | ||||||
| @@ -27,13 +27,13 @@ | |||||||
| #include <console.h> | #include <console.h> | ||||||
|  |  | ||||||
| #ifdef CONFIG_VEXPRESS_A9 | #ifdef CONFIG_VEXPRESS_A9 | ||||||
| #include <devices/pl011.h> | #include <drivers/pl011.h> | ||||||
| #include <devices/pl111.h> | #include <drivers/pl111.h> | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #ifdef CONFIG_RPI | #ifdef CONFIG_RPI | ||||||
| #include <devices/pi_mini_uart.h> | #include <drivers/pi_mini_uart.h> | ||||||
| #include <devices/bcm2835_videocore.h> | #include <drivers/bcm2835_videocore.h> | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| struct fb myfb; | struct fb myfb; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user