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