2 * (C) Copyright 2014 Lothar Waßmann <LW@KARO-electronics.de>
4 * See file CREDITS for list of people who contributed to this
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * version 2 as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
21 #include <fdt_support.h>
25 DECLARE_GLOBAL_DATA_PTR;
27 static const char const *cleanup_vars[] = {
33 void env_cleanup(void)
37 for (i = 0; i < ARRAY_SIZE(cleanup_vars); i++) {
38 setenv(cleanup_vars[i], NULL);