blob: 5e09448a93b1e97932f82c96938280ddad29188e [file] [log] [blame]
Gabe Black19e7e7d2011-10-01 04:27:32 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2011 The ChromiumOS Authors. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
Patrick Georgib890a122015-03-26 15:17:45 +010017 * Foundation, Inc.
Gabe Black19e7e7d2011-10-01 04:27:32 -070018 */
19
Stefan Reinauerfd4f4132013-06-19 12:25:44 -070020#ifndef ARCH_EARLY_VARIABLES_H
21#define ARCH_EARLY_VARIABLES_H
Gabe Black19e7e7d2011-10-01 04:27:32 -070022
Gabe Black19e7e7d2011-10-01 04:27:32 -070023#define CAR_GLOBAL
Gabe Black19e7e7d2011-10-01 04:27:32 -070024
Aaron Durbin716738a2013-05-10 00:33:32 -050025static inline void *car_get_var_ptr(void *var) { return var; }
26#define car_get_var(var) (var)
Kyösti Mälkkie4554252014-12-31 18:34:59 +020027#define car_sync_var(var) (var)
Aaron Durbin716738a2013-05-10 00:33:32 -050028#define car_set_var(var, val) do { (var) = (val); } while (0)
Aaron Durbin716738a2013-05-10 00:33:32 -050029
Gabe Black19e7e7d2011-10-01 04:27:32 -070030#endif