Skip to content

Commit 3bc2651

Browse files
committed
Add missing CMA files
1 parent d38f800 commit 3bc2651

File tree

5 files changed

+951
-0
lines changed

5 files changed

+951
-0
lines changed

drivers/char/broadcom/Kconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# Broadcom char driver config
3+
#
4+
5+
menuconfig BRCM_CHAR_DRIVERS
6+
tristate "Broadcom Char Drivers"
7+
depends on PROC_FS
8+
help
9+
Broadcom's char drivers
10+
11+
config BCM_VC_CMA
12+
tristate "Videocore CMA"
13+
#depends on BCM_VC_SERVICES
14+
depends on CMA
15+
default n
16+
help
17+
Helper for videocore CMA access.
18+

drivers/char/broadcom/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
obj-$(CONFIG_BCM_VC_CMA) += vc_cma/
2+

drivers/char/broadcom/vc_cma/Makefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
EXTRA_CFLAGS += -Wall -Wstrict-prototypes -Wno-trigraphs
2+
EXTRA_CFLAGS += -Werror
3+
EXTRA_CFLAGS += -I"include/linux/broadcom"
4+
EXTRA_CFLAGS += -I"drivers/misc/vc04_services"
5+
EXTRA_CFLAGS += -I"drivers/misc/vc04_services/interface/vchi"
6+
EXTRA_CFLAGS += -I"drivers/misc/vc04_services/interface/vchiq_arm"
7+
8+
EXTRA_CFLAGS += -D__KERNEL__
9+
EXTRA_CFLAGS += -D__linux__
10+
EXTRA_CFLAGS += -Werror
11+
12+
obj-$(CONFIG_BCM_VC_CMA) += vc-cma.o
13+
14+
vc-cma-objs := vc_cma.o
15+

0 commit comments

Comments
 (0)