summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/cpu-db9500.c
blob: 4d900cbe5378f7629e8542dcdb710854e432d7a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright (C) 2011 ST-Ericsson SA
 *
 * Author: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
 *
 * 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.
 *
 */
#include <linux/types.h>
#include <linux/init.h>

#include <mach/id.h>

#include "pins.h"

/*
 * U9500 is currently using U8500v2 HW. Therefore, the platform detection
 * is based on the kernel cmd line setting (early_param "pinsfor").
 */
bool cpu_is_u9500()
{
	if (pins_for_u9500())
		return true;
	else
		return false;
}