]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
board/freescale/common:QIXIS:Fix magic number usage
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Mon, 17 Sep 2012 17:30:31 +0000 (17:30 +0000)
committerAndy Fleming <afleming@freescale.com>
Mon, 22 Oct 2012 08:04:28 +0000 (03:04 -0500)
commit9f26fd7947a92a30f4eb68d4d0f60c1a73ab4280
treea8839910dd96b8a6c0bd25ad9f1ebb7d6eca8cb1
parent320d53da605d67b9d95622c5c6bfd5ac2c17ed58
board/freescale/common:QIXIS:Fix magic number usage

QIXIS FPGA layout defines the  address of registers but The actual register bit
implementation is board-specific,

So avoid use of magic numbers as it may vary across different boards's QIXIS
FPGA implementation.
Also, Avoid board specific defines in common/qixis.h

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
board/freescale/common/qixis.c
board/freescale/common/qixis.h