FreeCalypso > hg > fc-magnetite
diff src/cs/riviera/rvm/rvm_swe.c @ 149:4f43e4f5ab13
.../rvm/rvm_swe.c: restored the ability to use PWR SWE instead of LCC
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 09 Oct 2016 06:23:02 +0000 |
parents | 945cf7f506b2 |
children | 3f3c98f8b85d |
line wrap: on
line diff
--- a/src/cs/riviera/rvm/rvm_swe.c Sun Oct 09 06:17:22 2016 +0000 +++ b/src/cs/riviera/rvm/rvm_swe.c Sun Oct 09 06:23:02 2016 +0000 @@ -27,6 +27,7 @@ T_RVM_RETURN ffs_get_info(T_RVM_INFO_SWE *); T_RVM_RETURN kpd_get_info(T_RVM_INFO_SWE *); T_RVM_RETURN spi_get_info(T_RVM_INFO_SWE *); +T_RVM_RETURN pwr_get_info(T_RVM_INFO_SWE *); T_RVM_RETURN lcc_get_info(T_RVM_INFO_SWE *); T_RVM_RETURN rgui_get_info(T_RVM_INFO_SWE *); T_RVM_RETURN hci_get_info(T_RVM_INFO_SWE *); @@ -162,6 +163,10 @@ { SPI_USE_ID, spi_get_info}, #endif +#ifdef RVM_PWR_SWE + { PWR_USE_ID, pwr_get_info}, +#endif + #ifdef RVM_LCC_SWE { LCC_USE_ID, lcc_get_info}, #endif