From ad461cc7a45ac2f8ed6f2c6373545d402e936502 Mon Sep 17 00:00:00 2001 From: Oliver O'Halloran Date: Wed, 17 Aug 2016 15:32:48 +1000 Subject: 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 Signed-off-by: Stewart Smith --- include/nvram.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 include/nvram.h (limited to 'include/nvram.h') 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 */ -- cgit v1.1