59d3a193f1
Adds support for Cortina Systems Gemini family CPUs: http://www.cortina-systems.com/products/category/18 v3: - fixed __io(a) to be defined as __typesafe_io(a) v2: - #include <asm/io.h> -> <linux/io.h> - remove asm/system.h include - revorked mm.c to use named initializers - removed "empty" dma.h - updated copyrights Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
28 lines
820 B
C
28 lines
820 B
C
/*
|
|
* Common Gemini architecture functions
|
|
*
|
|
* Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
#ifndef __GEMINI_COMMON_H__
|
|
#define __GEMINI_COMMON_H__
|
|
|
|
struct mtd_partition;
|
|
|
|
extern void gemini_map_io(void);
|
|
extern void gemini_init_irq(void);
|
|
extern void gemini_timer_init(void);
|
|
|
|
/* Common platform devices registration functions */
|
|
extern int platform_register_uart(void);
|
|
extern int platform_register_pflash(unsigned int size,
|
|
struct mtd_partition *parts,
|
|
unsigned int nr_parts);
|
|
|
|
#endif /* __GEMINI_COMMON_H__ */
|