blob: a5e37a1c92b0ef247cc654f9d0948d66c244e189 (
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
|
/* linux/arch/arm/mach-exynos/include/mach/board_rev.h
*
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* EXYNOS - board revision support header
*
* 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.
*/
#ifndef __ASM_ARCH_BOARD_REV_H
#define __ASM_ARCH_BOARD_REV_H __FILE__
enum {
SAMSUNG_BOARD_REV_0_0 = 0x0000,
SAMSUNG_BOARD_REV_0_1 = 0x0001
};
extern int samsung_board_rev;
#define samsung_board_rev_is_0_0() (samsung_board_rev == SAMSUNG_BOARD_REV_0_0)
#define samsung_board_rev_is_0_1() (samsung_board_rev == SAMSUNG_BOARD_REV_0_1)
#endif /* __ASM_ARCH_BOARD_REV_H */
|