.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * 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. |
---|
8 | 4 | */ |
---|
9 | 5 | #ifndef _ASM_POWERPC_NVRAM_H |
---|
10 | 6 | #define _ASM_POWERPC_NVRAM_H |
---|
.. | .. |
---|
78 | 74 | extern u8 pmac_xpram_read(int xpaddr); |
---|
79 | 75 | extern void pmac_xpram_write(int xpaddr, u8 data); |
---|
80 | 76 | |
---|
81 | | -/* Synchronize NVRAM */ |
---|
82 | | -extern void nvram_sync(void); |
---|
83 | | - |
---|
84 | 77 | /* Initialize NVRAM OS partition */ |
---|
85 | 78 | extern int __init nvram_init_os_partition(struct nvram_os_partition *part); |
---|
86 | 79 | |
---|
.. | .. |
---|
98 | 91 | unsigned int err_type, |
---|
99 | 92 | unsigned int error_log_cnt); |
---|
100 | 93 | |
---|
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); |
---|
107 | 94 | #endif /* _ASM_POWERPC_NVRAM_H */ |
---|