summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/cannonlake/include/soc/ebda.h26
-rw-r--r--src/soc/intel/common/block/ebda/Kconfig5
-rw-r--r--src/soc/intel/common/block/ebda/Makefile.inc3
-rw-r--r--src/soc/intel/common/block/ebda/ebda.c37
-rw-r--r--src/soc/intel/common/block/include/intelblocks/ebda.h38
-rw-r--r--src/soc/intel/icelake/include/soc/ebda.h26
-rw-r--r--src/soc/intel/skylake/include/soc/ebda.h26
7 files changed, 0 insertions, 161 deletions
diff --git a/src/soc/intel/cannonlake/include/soc/ebda.h b/src/soc/intel/cannonlake/include/soc/ebda.h
deleted file mode 100644
index 4ed6566838..0000000000
--- a/src/soc/intel/cannonlake/include/soc/ebda.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2017 Intel Corporation.
- *
- * 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 SOC_EBDA_H
-#define SOC_EBDA_H
-
-#include <stdint.h>
-
-struct ebda_config {
- uint32_t signature; /* EBDA signature */
- uint32_t cbmem_top; /* coreboot memory start */
-};
-
-#endif
diff --git a/src/soc/intel/common/block/ebda/Kconfig b/src/soc/intel/common/block/ebda/Kconfig
deleted file mode 100644
index 67c7b48033..0000000000
--- a/src/soc/intel/common/block/ebda/Kconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-config SOC_INTEL_COMMON_BLOCK_EBDA
- bool
- select EARLY_EBDA_INIT
- help
- Intel Processor common EBDA library support
diff --git a/src/soc/intel/common/block/ebda/Makefile.inc b/src/soc/intel/common/block/ebda/Makefile.inc
deleted file mode 100644
index beeba5176a..0000000000
--- a/src/soc/intel/common/block/ebda/Makefile.inc
+++ /dev/null
@@ -1,3 +0,0 @@
-romstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_EBDA) += ebda.c
-ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_EBDA) += ebda.c
-postcar-$(CONFIG_SOC_INTEL_COMMON_BLOCK_EBDA) += ebda.c
diff --git a/src/soc/intel/common/block/ebda/ebda.c b/src/soc/intel/common/block/ebda/ebda.c
deleted file mode 100644
index 072023cd16..0000000000
--- a/src/soc/intel/common/block/ebda/ebda.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2017 Intel Corporation.
- *
- * 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.
- */
-
-#include <arch/ebda.h>
-#include <intelblocks/ebda.h>
-#include <string.h>
-
-void initialize_ebda_area(void)
-{
- struct ebda_config ebda_cfg;
-
- /* Initialize EBDA area early during romstage. */
- setup_default_ebda();
- ebda_cfg.signature = EBDA_SIGNATURE;
- fill_memmap_ebda(&ebda_cfg);
- write_ebda_data(&ebda_cfg, sizeof(ebda_cfg));
-}
-
-void retrieve_ebda_object(struct ebda_config *cfg)
-{
- read_ebda_data(cfg, sizeof(*cfg));
-
- if (cfg->signature != EBDA_SIGNATURE)
- memset(cfg, 0, sizeof(*cfg));
-}
diff --git a/src/soc/intel/common/block/include/intelblocks/ebda.h b/src/soc/intel/common/block/include/intelblocks/ebda.h
deleted file mode 100644
index 48904f4705..0000000000
--- a/src/soc/intel/common/block/include/intelblocks/ebda.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2017 Intel Corporation.
- *
- * 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 SOC_INTEL_COMMON_BLOCK_EBDA_H
-#define SOC_INTEL_COMMON_BLOCK_EBDA_H
-
-#define EBDA_SIGNATURE 0xebdaebda
-
-/* EBDA structure */
-struct ebda_config {
- uint32_t signature; /* EBDA signature */
- uint32_t cbmem_top; /* coreboot memory start */
-};
-
-/* Initialize EBDA and store structure into EBDA area */
-void initialize_ebda_area(void);
-
-/*
- * Fill the ebda object pointed to by cfg. Object will be zero filled
- * if signature check fails. */
-void retrieve_ebda_object(struct ebda_config *cfg);
-
-/* API for filling ebda with data in romstage */
-void fill_memmap_ebda(struct ebda_config *cfg);
-
-#endif
diff --git a/src/soc/intel/icelake/include/soc/ebda.h b/src/soc/intel/icelake/include/soc/ebda.h
deleted file mode 100644
index 5cb5cdc004..0000000000
--- a/src/soc/intel/icelake/include/soc/ebda.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2018 Intel Corporation.
- *
- * 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 SOC_EBDA_H
-#define SOC_EBDA_H
-
-#include <stdint.h>
-
-struct ebda_config {
- uint32_t signature; /* EBDA signature */
- uint32_t cbmem_top; /* coreboot memory start */
-};
-
-#endif
diff --git a/src/soc/intel/skylake/include/soc/ebda.h b/src/soc/intel/skylake/include/soc/ebda.h
deleted file mode 100644
index 4ed6566838..0000000000
--- a/src/soc/intel/skylake/include/soc/ebda.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2017 Intel Corporation.
- *
- * 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 SOC_EBDA_H
-#define SOC_EBDA_H
-
-#include <stdint.h>
-
-struct ebda_config {
- uint32_t signature; /* EBDA signature */
- uint32_t cbmem_top; /* coreboot memory start */
-};
-
-#endif