id.c (05668381140309088443bf5dc53add4104610fbb) id.c (72d0f1c3cdc7c456e1e357359ec6f566d0a5f264)
1/*
2 * linux/arch/arm/mach-omap2/id.c
3 *
4 * OMAP2 CPU identification code
5 *
6 * Copyright (C) 2005 Nokia Corporation
7 * Written by Tony Lindgren <tony@atomide.com>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 */
13
14#include <linux/module.h>
15#include <linux/kernel.h>
16#include <linux/init.h>
17
18#include <asm/io.h>
19
1/*
2 * linux/arch/arm/mach-omap2/id.c
3 *
4 * OMAP2 CPU identification code
5 *
6 * Copyright (C) 2005 Nokia Corporation
7 * Written by Tony Lindgren <tony@atomide.com>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 */
13
14#include <linux/module.h>
15#include <linux/kernel.h>
16#include <linux/init.h>
17
18#include <asm/io.h>
19
20#if defined(CONFIG_ARCH_OMAP2420)
20#define OMAP24XX_TAP_BASE io_p2v(0x48014000)
21#define OMAP24XX_TAP_BASE io_p2v(0x48014000)
22#endif
21
23
24#if defined(CONFIG_ARCH_OMAP2430)
25#define OMAP24XX_TAP_BASE io_p2v(0x4900A000)
26#endif
27
22#define OMAP_TAP_IDCODE 0x0204
23#define OMAP_TAP_PROD_ID 0x0208
24
25#define OMAP_TAP_DIE_ID_0 0x0218
26#define OMAP_TAP_DIE_ID_1 0x021C
27#define OMAP_TAP_DIE_ID_2 0x0220
28#define OMAP_TAP_DIE_ID_3 0x0224
29

--- 94 unchanged lines hidden ---
28#define OMAP_TAP_IDCODE 0x0204
29#define OMAP_TAP_PROD_ID 0x0208
30
31#define OMAP_TAP_DIE_ID_0 0x0218
32#define OMAP_TAP_DIE_ID_1 0x021C
33#define OMAP_TAP_DIE_ID_2 0x0220
34#define OMAP_TAP_DIE_ID_3 0x0224
35

--- 94 unchanged lines hidden ---