diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2016-08-17 15:32:48 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-08-30 16:59:47 +1000 |
commit | ad461cc7a45ac2f8ed6f2c6373545d402e936502 (patch) | |
tree | d153d0986cb3c25be1e9939519d6751cf3b004c2 /include/nvram.h | |
parent | 9478b216e5678b1a2e738abe771a335588f0f072 (diff) | |
download | skiboot-ad461cc7a45ac2f8ed6f2c6373545d402e936502.zip skiboot-ad461cc7a45ac2f8ed6f2c6373545d402e936502.tar.gz skiboot-ad461cc7a45ac2f8ed6f2c6373545d402e936502.tar.bz2 |
nvram: rename nvram-format.h to nvram.h
The NVRAM handling code was split into two files so that the partition
parsing could be separately tested. Currently there is no nvram.h and
the tests #include nvram-format.c directly. This patch renames
nvram-format.h to something more sensible.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/nvram.h')
-rw-r--r-- | include/nvram.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/nvram.h b/include/nvram.h new file mode 100644 index 0000000..ce33d2f --- /dev/null +++ b/include/nvram.h @@ -0,0 +1,23 @@ +/* Copyright 2013-2014 IBM Corp. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef __NVRAM_H +#define __NVRAM_H + +int nvram_format(void *nvram_image, uint32_t nvram_size); +int nvram_check(void *nvram_image, uint32_t nvram_size); + +#endif /* __NVRAM_H */ |