Redefine IS_EXYNOS4_P() to check for the product family instead of summing up
variants
This commit is contained in:
parent
c6dcfa5a19
commit
17b664f2de
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exynos_var.h,v 1.1 2014/04/13 02:26:26 matt Exp $ */
|
||||
/* $NetBSD: exynos_var.h,v 1.2 2014/04/13 17:06:02 reinoud Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
@ -58,7 +58,8 @@ extern uint32_t exynos_pop_id;
|
||||
#define IS_EXYNOS4412_R0_P() \
|
||||
((EXYNOS_PRODUCT_ID(exynos_soc_id) == 0xe4412) && \
|
||||
(EXYNOS_PRODUCT_REV(exynos_soc_id) == 0))
|
||||
#define IS_EXYNOS4_P() (IS_EXYNOS4410 || IS_EXYNOS4412)
|
||||
|
||||
#define IS_EXYNOS4_P() (EXYNOS_PRODUCT_FAMILY(exynos_soc_id) == EXYNOS4_PRODUCT_FAMILY)
|
||||
|
||||
#define IS_EXYNOS5410_P() (EXYNOS_PRODUCT_ID(exynos_soc_id) == 0xe5410)
|
||||
#define IS_EXYNOS5440_P() (EXYNOS_PRODUCT_ID(exynos_soc_id) == 0xe5440)
|
||||
|
Loading…
x
Reference in New Issue
Block a user