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 branch 'master' of git://git.denx.de/u-boot-sh
[oweals/u-boot.git]
/
include
/
smbios.h
diff --git
a/include/smbios.h
b/include/smbios.h
index d582d4f7abb2c9258509450cf042da85d9e1f549..97b9ddce23762eaabf18d36ce6241f84955ab4d5 100644
(file)
--- a/
include/smbios.h
+++ b/
include/smbios.h
@@
-1,9
+1,8
@@
+/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
*
* Adapted from coreboot src/include/smbios.h
/*
* Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
*
* Adapted from coreboot src/include/smbios.h
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _SMBIOS_H_
*/
#ifndef _SMBIOS_H_
@@
-225,16
+224,17
@@
static inline void fill_smbios_header(void *table, int type,
* @handle: the structure's handle, a unique 16-bit number
* @return: size of the structure
*/
* @handle: the structure's handle, a unique 16-bit number
* @return: size of the structure
*/
-typedef int (*smbios_write_type)(u
intptr_t
*addr, int handle);
+typedef int (*smbios_write_type)(u
long
*addr, int handle);
/**
* write_smbios_table() - Write SMBIOS table
*
* This writes SMBIOS table at a given address.
*
/**
* write_smbios_table() - Write SMBIOS table
*
* This writes SMBIOS table at a given address.
*
- * @addr: start address to write SMBIOS table
- * @return: end address of SMBIOS table
+ * @addr: start address to write SMBIOS table. If this is not
+ * 16-byte-aligned then it will be aligned before the table is written
+ * @return: end address of SMBIOS table (and start address for next entry)
*/
*/
-u
intptr_t write_smbios_table(uintptr_t
addr);
+u
long write_smbios_table(ulong
addr);
#endif /* _SMBIOS_H_ */
#endif /* _SMBIOS_H_ */