blob: 3e0cd7260ee820ca0a4a49b32aaa11174df15198 [file] [log] [blame]
Hans de Goedea1644772015-09-17 18:46:56 -04001/*
2 * UBIFS u-boot wrapper functions header
3 *
4 * Copyright (C) 2006-2008 Nokia Corporation
5 *
6 * (C) Copyright 2008-2009
7 * Stefan Roese, DENX Software Engineering, sr@denx.de.
8 *
9 * SPDX-License-Identifier: GPL-2.0+
10 *
11 * Authors: Artem Bityutskiy (Битюцкий Артём)
12 * Adrian Hunter
13 */
14
15#ifndef __UBIFS_UBOOT_H__
16#define __UBIFS_UBOOT_H__
17
18int ubifs_init(void);
19int uboot_ubifs_mount(char *vol_name);
20void uboot_ubifs_umount(void);
21int ubifs_is_mounted(void);
22int ubifs_load(char *filename, u32 addr, u32 size);
23
24int ubifs_ls(const char *dir_name);
25int ubifs_read(const char *filename, void *buf, loff_t offset,
26 loff_t size, loff_t *actread);
27
28#endif /* __UBIFS_UBOOT_H__ */