diff options
author | Prabhakar Kushwaha <prabhakar@freescale.com> | 2012-12-23 19:24:47 (GMT) |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-01-30 17:25:10 (GMT) |
commit | 2ae4e8d9587a3ca9a642ff634c070f66235b571d (patch) | |
tree | 38c08edd53639abe1a8fa41f9ee5ef779ef26292 /board/freescale/common/qixis.h | |
parent | e1dbdd81523c7c7de1ac5dee03dd9e4587e808af (diff) | |
download | u-boot-fsl-qoriq-2ae4e8d9587a3ca9a642ff634c070f66235b571d.tar.xz |
board/freescale/common:Add support of QTAG register
QIXIS FPGA's QIXIS Tag Access register (QTAG) defines TAG, VER, DATE, IMAGE
fields. These fields have FPGA build version, image name and build date
information.
Add support to parse these fields to have complete FPGA image information.
Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'board/freescale/common/qixis.h')
-rw-r--r-- | board/freescale/common/qixis.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/common/qixis.h b/board/freescale/common/qixis.h index b98b180..4d73461 100644 --- a/board/freescale/common/qixis.h +++ b/board/freescale/common/qixis.h @@ -88,6 +88,9 @@ struct qixis { u8 qixis_read(unsigned int reg); void qixis_write(unsigned int reg, u8 value); +u16 qixis_read_minor(void); +char *qixis_read_time(char *result); +char *qixis_read_tag(char *buf); #define QIXIS_READ(reg) qixis_read(offsetof(struct qixis, reg)) #define QIXIS_WRITE(reg, value) qixis_write(offsetof(struct qixis, reg), value) |