aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-avr32
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-03-21 11:02:57 -0400
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-04-27 07:44:14 -0400
commitd8011768e6bdd0d9de5cc7bdbd3077b4b4fab8c7 (patch)
tree0d03566388d439edf87432424d4377dbfcbe053f /include/asm-avr32
parent5539f59ac40473730806580f212c4eac6e769f01 (diff)
[AVR32] Simplify early handling of memory regions
Use struct resource to specify both physical memory regions and reserved regions and push everything into the same framework, including kernel code/data and initrd memory. This allows us to get rid of many special cases in the bootmem initialization and will also make it easier to implement more robust handling of framebuffer memory later. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'include/asm-avr32')
-rw-r--r--include/asm-avr32/setup.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/asm-avr32/setup.h b/include/asm-avr32/setup.h
index 59be821cf38f..bca2ee1fc607 100644
--- a/include/asm-avr32/setup.h
+++ b/include/asm-avr32/setup.h
@@ -124,19 +124,13 @@ struct tagtable {
124#define for_each_tag(t,base) \ 124#define for_each_tag(t,base) \
125 for (t = base; t->hdr.size; t = tag_next(t)) 125 for (t = base; t->hdr.size; t = tag_next(t))
126 126
127extern struct tag_mem_range *mem_phys;
128extern struct tag_mem_range *mem_reserved;
129extern struct tag_mem_range *mem_ramdisk;
130
131extern struct tag *bootloader_tags; 127extern struct tag *bootloader_tags;
132 128
133extern void setup_processor(void); 129
130void setup_processor(void);
134extern void board_setup_fbmem(unsigned long fbmem_start, 131extern void board_setup_fbmem(unsigned long fbmem_start,
135 unsigned long fbmem_size); 132 unsigned long fbmem_size);
136 133
137/* Chip-specific hook to enable the use of SDRAM */
138void chip_enable_sdram(void);
139
140#endif /* !__ASSEMBLY__ */ 134#endif /* !__ASSEMBLY__ */
141 135
142#endif /* __KERNEL__ */ 136#endif /* __KERNEL__ */