History

ARM: mmp: remove custom sram code

The MMP_SRAM code is no longer used by the tdma driver because the Kconfig symbol is not selected, so remove it along with its former callsite.

Arnd Bergmann committed 4 years ago

Commit 028908f1 parent 06f11df5 files · +2 −222Browse files

Showing the changes to include/linux/platform_data (1 of 5 files). Show all

Unified · Split

include/linux/platform_data/dma-mmp_tdma.h+0−36
@@ -1,36 +0,0 @@
1−/* SPDX-License-Identifier: GPL-2.0-only */
2−/*
3− * SRAM Memory Management
4− *
5− * Copyright (c) 2011 Marvell Semiconductors Inc.
6− */
7−
8−#ifndef __DMA_MMP_TDMA_H
9−#define __DMA_MMP_TDMA_H
10−
11−#include <linux/genalloc.h>
12−
13−/* ARBITRARY: SRAM allocations are multiples of this 2^N size */
14−#define SRAM_GRANULARITY 512
15−
16−enum sram_type {
17− MMP_SRAM_UNDEFINED = 0,
18− MMP_ASRAM,
19− MMP_ISRAM,
20−};
21−
22−struct sram_platdata {
23− char *pool_name;
24− int granularity;
25−};
26−
27−#ifdef CONFIG_MMP_SRAM
28−extern struct gen_pool *sram_get_gpool(char *pool_name);
29−#else
30−static inline struct gen_pool *sram_get_gpool(char *pool_name)
31−{
32− return NULL;
33−}
34−#endif
35−
36−#endif /* __DMA_MMP_TDMA_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t