[Skiboot] [PATCH v2 02/13] core/flash: Make flash_reserve() and flash_release() use any flash

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Tue Nov 5 21:35:23 AEDT 2019

On 11/4/19 6:59 PM, Deb McLemore wrote:
> From: Cyril Bur <cyril.bur at au1.ibm.com>
> Now that skiboot can have multiple flashes it doesn't make sense for
> flash_reserve() and flash_release() to only operate on system_flash.

May be in future we should consider having per flash lock instead of using 
global `flash_lock` everywhere. Otherwise patch looks good to me.

Reviewed-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>


More information about the Skiboot mailing list