1 /* 2 * Common Hardware Reference Platform NVRAM functions. 3 * 4 * This code is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published 6 * by the Free Software Foundation; either version 2 of the License, 7 * or (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, see <http://www.gnu.org/licenses/>. 16 */ 17 18 #ifndef CHRP_NVRAM_H 19 #define CHRP_NVRAM_H 20 21 int chrp_nvram_create_system_partition(uint8_t *data, int min_len); 22 int chrp_nvram_create_free_partition(uint8_t *data, int len); 23 24 #endif 25