diff options
Diffstat (limited to 'roms/skiboot/libflash/mbox-flash.h')
-rw-r--r-- | roms/skiboot/libflash/mbox-flash.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roms/skiboot/libflash/mbox-flash.h b/roms/skiboot/libflash/mbox-flash.h new file mode 100644 index 000000000..cf8575c56 --- /dev/null +++ b/roms/skiboot/libflash/mbox-flash.h @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later +/* Copyright 2017 IBM Corp. */ + +#ifndef __LIBFLASH_MBOX_FLASH_H +#define __LIBFLASH_MBOX_FLASH_H + +int mbox_flash_lock(struct blocklevel_device *bl, uint64_t pos, uint64_t len); +int mbox_flash_init(struct blocklevel_device **bl); +bool mbox_flash_exit(struct blocklevel_device *bl); +#endif /* __LIBFLASH_MBOX_FLASH_H */ + + |