[BACK]Return to cpu.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / arch / arm / mach-s3c2410

File: [Development] / linux-2.6-xfs / arch / arm / mach-s3c2410 / Attic / cpu.h (download)

Revision 1.1, Fri Oct 1 15:10:15 2004 UTC (13 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN

Upgrade kernel to 2.6.9-rc3 and kdb to 4.4
Merge of 2.6.x-xfs-melb:linux:19628a by kenmcd.

/* arch/arm/mach-s3c2410/cpu.h
 *
 * Copyright (c) 2004 Simtec Electronics
 * Ben Dooks <ben@simtec.co.uk>
 *
 * Header file for S3C24XX CPU support
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * Modifications:
 *     24-Aug-2004 BJD  Start of generic S3C24XX support
*/

#define IODESC_ENT(x) { S3C2410_VA_##x, S3C2410_PA_##x, S3C2410_SZ_##x, MT_DEVICE }

#ifndef MHZ
#define MHZ (1000*1000)
#endif

#define print_mhz(m) ((m) / MHZ), ((m / 1000) % 1000)

#ifdef CONFIG_CPU_S3C2410
extern  int s3c2410_init(void);
extern void s3c2410_map_io(struct map_desc *mach_desc, int size);
#else
#define s3c2410_map_io NULL
#define s3c2410_init NULL
#endif

#ifdef CONFIG_CPU_S3C2440
extern  int s3c2440_init(void);
extern void s3c2440_map_io(struct map_desc *mach_desc, int size);
#else
#define s3c2440_map_io NULL
#define s3c2440_init NULL
#endif

extern void s3c24xx_init_io(struct map_desc *mach_desc, int size);