diff options
author | Lily Zhang <r58066@freescale.com> | 2012-03-09 19:23:02 +0800 |
---|---|---|
committer | Lily Zhang <r58066@freescale.com> | 2012-03-13 14:55:06 +0800 |
commit | 62705741dedf6ab00e73f00c49113e04752885ee (patch) | |
tree | bd71e010a865b08b5a96e63e7f5a44d3db3c47ea /include/asm-arm/io.h | |
parent | 01133f43a8fc4ef42c2851fb6fac02b744754bad (diff) | |
download | u-boot-imx-62705741dedf6ab00e73f00c49113e04752885ee.zip u-boot-imx-62705741dedf6ab00e73f00c49113e04752885ee.tar.gz u-boot-imx-62705741dedf6ab00e73f00c49113e04752885ee.tar.bz2 |
ENGR00176347-5 mx6solo sabreauto: set system_rev
Add set_system_rev function. The layout of system_rev is:
bit 0-7: Chip Revision ID. Read from Anatop register
bit 8-11: Board Revision ID. Read from fuse OCOTP_GP1[15:8]
1: RevA Board
0: RevB board, Unknown board
bit 12-19: Chip Silicon ID. Read from Anatop register
0x63: i.MX 6Dual/Quad
0x61: i.MX 6Solo/DualLite
board_is_rev(system_rev,BOARD_REV_1) can be used to
distinguish RevB board.
board_is_rev(system_rev,BOARD_REV_2) is for RevA board.
Signed-off-by: Lily Zhang <r58066@freescale.com>
Diffstat (limited to 'include/asm-arm/io.h')
0 files changed, 0 insertions, 0 deletions