mb/{facebook/portwell}: Define SDCARD_CD in dsdt.asl
SDCARD_CD is defined in onboard.h but required in ASL only, move this define to dsdt.asl. Removed the onboard.h file from the ASL files that don use it. BUG=N/A TEST=build Change-Id: I35b75e0ae2e2bc4ce143aaec6df6016774676095 Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37610 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
This commit is contained in:
parent
c8e1c0d395
commit
c1c5354e45
6 changed files with 4 additions and 10 deletions
|
@ -16,8 +16,6 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "onboard.h"
|
|
||||||
|
|
||||||
Scope (\_SB)
|
Scope (\_SB)
|
||||||
{
|
{
|
||||||
Device (PWRB)
|
Device (PWRB)
|
||||||
|
|
|
@ -15,9 +15,6 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* mainboard configuration */
|
|
||||||
#include "onboard.h"
|
|
||||||
|
|
||||||
Device (COM1) {
|
Device (COM1) {
|
||||||
Name (_HID, EISAID ("PNP0501"))
|
Name (_HID, EISAID ("PNP0501"))
|
||||||
Name (_UID, 1)
|
Name (_UID, 1)
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
|
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
|
|
||||||
|
#define SDCARD_CD 81 /* Not used */
|
||||||
|
|
||||||
DefinitionBlock(
|
DefinitionBlock(
|
||||||
"dsdt.aml",
|
"dsdt.aml",
|
||||||
"DSDT",
|
"DSDT",
|
||||||
|
|
|
@ -18,9 +18,6 @@
|
||||||
#ifndef ONBOARD_H
|
#ifndef ONBOARD_H
|
||||||
#define ONBOARD_H
|
#define ONBOARD_H
|
||||||
|
|
||||||
/* SD CARD gpio */
|
|
||||||
#define SDCARD_CD 81 /* Not used */
|
|
||||||
|
|
||||||
/* Define the items to be measured or verified */
|
/* Define the items to be measured or verified */
|
||||||
#define FSP (const char *)"fsp.bin"
|
#define FSP (const char *)"fsp.bin"
|
||||||
#define CMOS_LAYOUT (const char *)"cmos_layout.bin"
|
#define CMOS_LAYOUT (const char *)"cmos_layout.bin"
|
||||||
|
|
|
@ -15,8 +15,6 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* mainboard configuration */
|
|
||||||
#include "onboard.h"
|
|
||||||
|
|
||||||
Device (COM1) {
|
Device (COM1) {
|
||||||
Name (_HID, EISAID ("PNP0501"))
|
Name (_HID, EISAID ("PNP0501"))
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
|
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
|
|
||||||
|
#define SDCARD_CD 81 /* Not used */
|
||||||
|
|
||||||
DefinitionBlock(
|
DefinitionBlock(
|
||||||
"dsdt.aml",
|
"dsdt.aml",
|
||||||
"DSDT",
|
"DSDT",
|
||||||
|
|
Loading…
Reference in a new issue