ls102xa: qixis: Add CONFIG_QIXIS_I2C_ACCESS macro
authorAlison Wang <b18965@freescale.com>
Wed, 3 Dec 2014 07:00:46 +0000 (15:00 +0800)
committerYork Sun <yorksun@freescale.com>
Thu, 11 Dec 2014 17:39:06 +0000 (09:39 -0800)
commit2565d18de0c57d95b32686f11aa98fd40d8a7e26
tree540e84ad8592cd64ac5d345230b298e5f9f9bd4d
parent50f0c6632527cbdc3c67f60a7f51ccba2564b567
ls102xa: qixis: Add CONFIG_QIXIS_I2C_ACCESS macro

Through adding CONFIG_QIXIS_I2C_ACCESS macro,
QIXIS_READ(reg)/QIXIS_WRITE(reg, value) can be used
for both i2c and ifc access to QIXIS FPGA. This is
more convenient for coding.

Signed-off-by: Jason Jin <jason.jin@freescale.com>
Signed-off-by: Alison Wang <alison.wang@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/freescale/common/qixis.h