diff options
Diffstat (limited to 'src/occ_405/firdata/lpc.h')
-rw-r--r-- | src/occ_405/firdata/lpc.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/occ_405/firdata/lpc.h b/src/occ_405/firdata/lpc.h index 11290cc..177deda 100644 --- a/src/occ_405/firdata/lpc.h +++ b/src/occ_405/firdata/lpc.h @@ -1,11 +1,11 @@ /* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ -/* $Source: src/occ/firdata/lpc.H $ */ +/* $Source: src/occ_405/firdata/lpc.h $ */ /* */ /* OpenPOWER OnChipController Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015 */ +/* Contributors Listed Below - COPYRIGHT 2015,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -34,8 +34,8 @@ * @brief LPC Transaction Types */ typedef enum { - LPC_TRANS_IO = 1, /* LPC IO Space */ - LPC_TRANS_FW = 2, /* LPC Firmware Space */ + LPC_TRANS_IO = 0, /* LPC IO Space */ + LPC_TRANS_FW = 1, /* LPC Firmware Space */ } LpcTransType; errorHndl_t lpc_read( LpcTransType i_type, @@ -48,4 +48,8 @@ errorHndl_t lpc_write( LpcTransType i_type, uint8_t* i_data, size_t i_size ); +uint32_t checkAddr(LpcTransType i_type, + uint32_t i_addr); + + #endif |