aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRom Lemarchand <rlemarchand@sta.samsung.com>2011-02-28 13:46:25 -0800
committerArve Hjønnevåg <arve@android.com>2011-11-17 17:53:09 -0800
commitc08061adf6615242d1864b5fc9751e0466991c00 (patch)
tree3fa5aa28b3a53d17a8592586c6a17369cc29fae1
parentcbbe636aa2be5e45c9c574704cf5fd31bda0c61a (diff)
downloadkernel_samsung_crespo-c08061adf6615242d1864b5fc9751e0466991c00.zip
kernel_samsung_crespo-c08061adf6615242d1864b5fc9751e0466991c00.tar.gz
kernel_samsung_crespo-c08061adf6615242d1864b5fc9751e0466991c00.tar.bz2
ARM: S5PC11X: Add macro to determine if a herring is CDMA/WiMax
Adding a macro to test whether a herring device is a CDMA/WiMax version. Change-Id: I2dcec7f554774c11cd8afb6862a1f999bcdd7397 Signed-off-by: Rom Lemarchand <rlemarchand@sta.samsung.com>
-rwxr-xr-xarch/arm/mach-s5pv210/herring.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/herring.h b/arch/arm/mach-s5pv210/herring.h
index 210f507..57974e2 100755
--- a/arch/arm/mach-s5pv210/herring.h
+++ b/arch/arm/mach-s5pv210/herring.h
@@ -2,6 +2,8 @@
* arch/arm/mach-s5pv210/herring.h
*/
+#include <asm/system.h>
+
#ifndef __HERRING_H__
#define __HERRING_H__
@@ -10,6 +12,8 @@ struct uart_port;
void herring_bt_uart_wake_peer(struct uart_port *port);
extern void s3c_setup_uart_cfg_gpio(unsigned char port);
+#define is_cdma_wimax_dev() (!!((system_rev & 0xFFF0) == 0x20))
+
extern struct s5p_panel_data herring_panel_data;
extern struct s5p_tft_panel_data herring_sony_panel_data;
extern struct s5p_tft_panel_data herring_hydis_panel_data;