check kernel version before enabling the gipo 3 chipenable pins

This commit is contained in:
2021-10-29 12:25:30 +02:00
parent c3eff0246a
commit 2d2287e189
3 changed files with 72 additions and 6 deletions

View File

@ -105,3 +105,7 @@ uint32_t *Blackfin_getBaseAddress();
* Map FPGA
*/
int mapCSP0(void);
/** check kernel version against expected version string (complain if too old)
* @returns OK or FAIL */
int blackfin_checkKernelVersion(char *expectedVersion);