aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32/kernel
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-03-21 11:23:41 -0400
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-04-27 07:44:15 -0400
commitd80e2bb12606906fd0b5b5592f519852de8b0113 (patch)
tree37f751e0c020d50abf92eae9dca8ae01c2eba492 /arch/avr32/kernel
parentf9692b9501c339ec90647d8cd6ee5c106f072f9f (diff)
[AVR32] Get rid of board_setup_fbmem()
Since the core setup code takes care of both allocation and reservation of framebuffer memory, there's no need for this board- specific hook anymore. Replace it with two global variables, fbmem_start and fbmem_size, which can be used directly. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/kernel')
-rw-r--r--arch/avr32/kernel/setup.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/avr32/kernel/setup.c b/arch/avr32/kernel/setup.c
index 1682e2d61cf3..b279d66acf5f 100644
--- a/arch/avr32/kernel/setup.c
+++ b/arch/avr32/kernel/setup.c
@@ -228,8 +228,8 @@ alloc_reserved_region(resource_size_t *start, resource_size_t size,
228 * Board-specific code may use these variables to set up platform data 228 * Board-specific code may use these variables to set up platform data
229 * for the framebuffer driver if fbmem_size is nonzero. 229 * for the framebuffer driver if fbmem_size is nonzero.
230 */ 230 */
231static resource_size_t __initdata fbmem_start; 231resource_size_t __initdata fbmem_start;
232static resource_size_t __initdata fbmem_size; 232resource_size_t __initdata fbmem_size;
233 233
234/* 234/*
235 * "fbmem=xxx[kKmM]" allocates the specified amount of boot memory for 235 * "fbmem=xxx[kKmM]" allocates the specified amount of boot memory for
@@ -561,13 +561,10 @@ void __init setup_arch (char **cmdline_p)
561 561
562 setup_bootmem(); 562 setup_bootmem();
563 563
564 board_setup_fbmem(fbmem_start, fbmem_size);
565
566#ifdef CONFIG_VT 564#ifdef CONFIG_VT
567 conswitchp = &dummy_con; 565 conswitchp = &dummy_con;
568#endif 566#endif
569 567
570 paging_init(); 568 paging_init();
571
572 resource_init(); 569 resource_init();
573} 570}