arch: introduce architecture dependent common variables

Stefan and others have discussed their interest in only
including options in Kconfig that are directly associated
with building a coreboot image. There are variables that
are architecture dependent that are utilized in the
coreboot infrastructure. To meet that goal, introduce
<arch/cbconfig.h> header file which defines variables
for the coreboot infrastructure that are architecture
dependent but utilized in common infrastructure.

Change-Id: Ic4cb9e81bab042797539dce004db0f7ee8526ea6
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/14454
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins)
This commit is contained in:
Aaron Durbin 2016-04-21 14:02:40 -05:00
parent 394041b149
commit a2118a21c9
6 changed files with 156 additions and 0 deletions

View File

@ -0,0 +1,26 @@
/*
* This file is part of the coreboot project.
*
* Copyright 2016 Google Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _ARCH_CBCONFIG_H_
#define _ARCH_CBCONFIG_H_
/*
* Instead of using Kconfig variables for internal coreboot infrastructure
* variables that are architecture dependent land those things in this file.
* If it's not obvious all variables that are used in the common code need
* to have the same name across all architectures.
*/
#endif

View File

@ -0,0 +1,26 @@
/*
* This file is part of the coreboot project.
*
* Copyright 2016 Google Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _ARCH_CBCONFIG_H_
#define _ARCH_CBCONFIG_H_
/*
* Instead of using Kconfig variables for internal coreboot infrastructure
* variables that are architecture dependent land those things in this file.
* If it's not obvious all variables that are used in the common code need
* to have the same name across all architectures.
*/
#endif

View File

@ -0,0 +1,26 @@
/*
* This file is part of the coreboot project.
*
* Copyright 2016 Google Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _ARCH_CBCONFIG_H_
#define _ARCH_CBCONFIG_H_
/*
* Instead of using Kconfig variables for internal coreboot infrastructure
* variables that are architecture dependent land those things in this file.
* If it's not obvious all variables that are used in the common code need
* to have the same name across all architectures.
*/
#endif

View File

@ -0,0 +1,26 @@
/*
* This file is part of the coreboot project.
*
* Copyright 2016 Google Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _ARCH_CBCONFIG_H_
#define _ARCH_CBCONFIG_H_
/*
* Instead of using Kconfig variables for internal coreboot infrastructure
* variables that are architecture dependent land those things in this file.
* If it's not obvious all variables that are used in the common code need
* to have the same name across all architectures.
*/
#endif

View File

@ -0,0 +1,26 @@
/*
* This file is part of the coreboot project.
*
* Copyright 2016 Google Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _ARCH_CBCONFIG_H_
#define _ARCH_CBCONFIG_H_
/*
* Instead of using Kconfig variables for internal coreboot infrastructure
* variables that are architecture dependent land those things in this file.
* If it's not obvious all variables that are used in the common code need
* to have the same name across all architectures.
*/
#endif

View File

@ -0,0 +1,26 @@
/*
* This file is part of the coreboot project.
*
* Copyright 2016 Google Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _ARCH_CBCONFIG_H_
#define _ARCH_CBCONFIG_H_
/*
* Instead of using Kconfig variables for internal coreboot infrastructure
* variables that are architecture dependent land those things in this file.
* If it's not obvious all variables that are used in the common code need
* to have the same name across all architectures.
*/
#endif