Page 1 of 1

Expose snor bus management  Topic is solved

Posted: Wed Aug 07, 2019 11:12 am
by steved
The bus_acquire() and bus_release() routines in hal_serial_nor.c are potentially of use to flash device drivers in implementing extra functions; if not accessible, they need to be duplicated.
I'd suggest a more explicit name for them; its a bit generic at the moment.
Would also be preferable for the exposed version of bus_acquire() to not need to pass the configuration information; the lower level drivers probably don't know this.

Re: Expose snor bus management

Posted: Sun Aug 11, 2019 8:00 am
by Giovanni

OK, change committed, now those functions are public. It was an error, the SPI variants were already public.