hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/powerpc/include/asm/nvram.h
....@@ -1,10 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * NVRAM definitions and access functions.
3
- *
4
- * This program is free software; you can redistribute it and/or
5
- * modify it under the terms of the GNU General Public License
6
- * as published by the Free Software Foundation; either version
7
- * 2 of the License, or (at your option) any later version.
84 */
95 #ifndef _ASM_POWERPC_NVRAM_H
106 #define _ASM_POWERPC_NVRAM_H
....@@ -78,9 +74,6 @@
7874 extern u8 pmac_xpram_read(int xpaddr);
7975 extern void pmac_xpram_write(int xpaddr, u8 data);
8076
81
-/* Synchronize NVRAM */
82
-extern void nvram_sync(void);
83
-
8477 /* Initialize NVRAM OS partition */
8578 extern int __init nvram_init_os_partition(struct nvram_os_partition *part);
8679
....@@ -98,10 +91,4 @@
9891 unsigned int err_type,
9992 unsigned int error_log_cnt);
10093
101
-/* Determine NVRAM size */
102
-extern ssize_t nvram_get_size(void);
103
-
104
-/* Normal access to NVRAM */
105
-extern unsigned char nvram_read_byte(int i);
106
-extern void nvram_write_byte(unsigned char c, int i);
10794 #endif /* _ASM_POWERPC_NVRAM_H */