summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/memory.h
blob: 0729886b8259093a2eebb7017a7b710c11796d0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __ASM_ARM_MEMORY_H
#define __ASM_ARM_MEMORY_H

struct arm_memory {
	struct list_head list;
	struct device_d *dev;
	unsigned long start;
	unsigned long size;
};

extern struct list_head memory_list;

void armlinux_add_dram(struct device_d *dev);

#define for_each_sdram_bank(mem)	list_for_each_entry(mem, &memory_list, list)

#endif	/* __ASM_ARM_MEMORY_H */