| Chirag Sharma | a257693 | 2020-12-05 23:17:41 -0600 | [diff] [blame] | 1 | #pragma once |
| 2 | |||||
| 3 | #include <libipl.H> | ||||
| 4 | |||||
| 5 | namespace openpower | ||||
| 6 | { | ||||
| 7 | namespace phal | ||||
| 8 | { | ||||
| 9 | |||||
| 10 | /** | ||||
| 11 | * @brief This function will initialize required phal | ||||
| 12 | * libraries. | ||||
| 13 | * Throws an exception on error. | ||||
| 14 | * | ||||
| 15 | * @param[in] mode - IPL mode, default IPL_AUTOBOOT | ||||
| 16 | * | ||||
| 17 | */ | ||||
| 18 | void phal_init(enum ipl_mode mode = IPL_AUTOBOOT); | ||||
| 19 | |||||
| 20 | } // namespace phal | ||||
| 21 | } // namespace openpower | ||||