summaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake/uart.c
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-07-21 17:10:15 +0000
committerMartin Roth <martinroth@google.com>2017-07-21 17:39:10 +0000
commit80358a1f478713861a3e66874a1ffb7cf259bd7c (patch)
tree86c1eff35d648726a2e93617aa2780fb64482028 /src/soc/intel/cannonlake/uart.c
parent70de396958627680a16992fbb8c5e6652dd35bf4 (diff)
Revert "soc/intel/cannonlake: Add postcar stage support"
This reverts commit 399c022a8c6cba7ad6d75fdf377a690395877611. This was merged too early. I'll repost it. Change-Id: Iabac0aaa0a16404c885875137cf34bf64bf956f7 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20686 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/cannonlake/uart.c')
-rw-r--r--src/soc/intel/cannonlake/uart.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/soc/intel/cannonlake/uart.c b/src/soc/intel/cannonlake/uart.c
index dd121b04a4..6f5fb6d7e9 100644
--- a/src/soc/intel/cannonlake/uart.c
+++ b/src/soc/intel/cannonlake/uart.c
@@ -13,8 +13,6 @@
* GNU General Public License for more details.
*/
-#define __SIMPLE_DEVICE__
-
#include <assert.h>
#include <console/uart.h>
#include <device/pci_def.h>
@@ -62,10 +60,8 @@ void pch_uart_init(void)
gpio_configure_pads(p->pads, ARRAY_SIZE(p->pads));
}
-#if IS_ENABLED(CONFIG_DRIVERS_UART_8250MEM)
uintptr_t uart_platform_base(int idx)
{
/* We can only have one serial console at a time */
return UART_DEBUG_BASE_ADDRESS;
}
-#endif