diff options
author | Shawn Guo <[email protected]> | 2012-01-06 09:11:40 +0800 |
---|---|---|
committer | Shawn Guo <[email protected]> | 2012-01-27 11:47:37 +0800 |
commit | 845da6bf65b1ebff700c1e9a8c17f5df303792c1 (patch) | |
tree | 6609fb85408765cb22965738b2a5706f8ce4b24d /net/lapb/lapb_timer.c | |
parent | dcd6c92267155e70a94b3927bce681ce74b80d1f (diff) |
ARM: mxs: detect SoC by checking CHIPID register
Both imx23 and imx28 have CHIPID register at address 0x8001c310, which
can be used to identify the SoC. This patch changes cpu_is_xxx and
__arch_decomp_setup to use this CHIPID register than machine type to
detect the chip between imx23 and imx28, so that we do not need to
change these functions whenever a new board/machine gets added.
Suggested-by: Wolfram Sang <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions