mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 07:26:48 +07:00
20e9969b3a
Provide a generic SRAM allocator using genalloc, and vaguely modeled after what AVR32 uses. This builds on top of the static CPU mapping set up in the previous patch, and returns DMA mappings as requested (if possible). Compared to its OMAP cousin, there's no current support for (currently non-existent) DaVinci power management code running in SRAM; and this has ways to deallocate, instead of being allocate-only. The initial user of this should probably be the audio code, because EDMA from DDR is subject to various dropouts on at least DM355 and DM6446 chips. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
26 lines
729 B
Makefile
26 lines
729 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
#
|
|
|
|
# Common objects
|
|
obj-y := time.o clock.o serial.o io.o psc.o \
|
|
gpio.o devices.o dma.o usb.o common.o sram.o
|
|
|
|
obj-$(CONFIG_DAVINCI_MUX) += mux.o
|
|
|
|
# Chip specific
|
|
obj-$(CONFIG_ARCH_DAVINCI_DM644x) += dm644x.o
|
|
obj-$(CONFIG_ARCH_DAVINCI_DM355) += dm355.o
|
|
obj-$(CONFIG_ARCH_DAVINCI_DM646x) += dm646x.o
|
|
|
|
obj-$(CONFIG_AINTC) += irq.o
|
|
obj-$(CONFIG_CP_INTC) += cp_intc.o
|
|
|
|
# Board specific
|
|
obj-$(CONFIG_MACH_DAVINCI_EVM) += board-dm644x-evm.o
|
|
obj-$(CONFIG_MACH_SFFSDR) += board-sffsdr.o
|
|
obj-$(CONFIG_MACH_DAVINCI_DM355_EVM) += board-dm355-evm.o
|
|
obj-$(CONFIG_MACH_DM355_LEOPARD) += board-dm355-leopard.o
|
|
obj-$(CONFIG_MACH_DAVINCI_DM6467_EVM) += board-dm646x-evm.o
|