projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'uniphier-v2020.07' of https://gitlab.denx.de/u-boot/custodians/u-boot...
[oweals/u-boot.git]
/
include
/
ubispl.h
diff --git
a/include/ubispl.h
b/include/ubispl.h
index 944653ed5ab4203299dbd31b9bcf0ea83695c7f9..ecfe0c93c1331dec74330b7fbad3b0a4c939ecfe 100644
(file)
--- a/
include/ubispl.h
+++ b/
include/ubispl.h
@@
-1,11
+1,12
@@
+/* SPDX-License-Identifier: GPL 2.0+ OR BSD-3-Clause */
/*
* Copyright (c) Thomas Gleixner <tglx@linutronix.de>
/*
* Copyright (c) Thomas Gleixner <tglx@linutronix.de>
- *
- * SPDX-License-Identifier: GPL 2.0+ BSD-3-Clause
*/
#ifndef __UBOOT_UBISPL_H
#define __UBOOT_UBISPL_H
*/
#ifndef __UBOOT_UBISPL_H
#define __UBOOT_UBISPL_H
+#define UBI_VOL_NAME_MAX 127
+
/*
* The following CONFIG options are relevant for UBISPL
*
/*
* The following CONFIG options are relevant for UBISPL
*
@@
-75,6
+76,10
@@
struct ubispl_info {
*/
struct ubispl_load {
int vol_id;
*/
struct ubispl_load {
int vol_id;
+#ifdef CONFIG_SPL_UBI_LOAD_BY_VOLNAME
+ u32 name_len;
+ char name[UBI_VOL_NAME_MAX + 1];
+#endif
void *load_addr;
};
void *load_addr;
};