From patchwork Sat Oct 13 04:48:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 191278 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 50A5B2C0089 for ; Sat, 13 Oct 2012 15:50:21 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E652B4A1D6; Sat, 13 Oct 2012 06:50:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aiuh9g2yfqLz; Sat, 13 Oct 2012 06:50:13 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7C91D4A1B9; Sat, 13 Oct 2012 06:50:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4BB3D4A19D for ; Sat, 13 Oct 2012 06:49:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c7Z2NYVt5MIe for ; Sat, 13 Oct 2012 06:49:53 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-qc0-f202.google.com (mail-qc0-f202.google.com [209.85.216.202]) by theia.denx.de (Postfix) with ESMTPS id 3E2384A1A7 for ; Sat, 13 Oct 2012 06:49:50 +0200 (CEST) Received: by mail-qc0-f202.google.com with SMTP id s25so426916qcq.3 for ; Fri, 12 Oct 2012 21:49:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=dirdK1vE/yg84c8du33hfi/LVaTCLyy3Lt03I2YwhHo=; b=fXiUtPXcxEa5Vc18lA8MgDNzWD88/j+dLqshKG1TzW/6nRuK1vAldlnfAfAlSbZw/U 2qAR4+hMX4Vyae5fKSU7+T19gw7SmjgJPyUJbAsq8dkJ8gp8KSducX3si6NRqY3W6Rck 3B9CLKuEn4H2VnnkJDEwsplCyqO0QJU9pMkkjXdt+PuEHqeLAoEd+FDK3szd+BMAc7th Rqg99PghESu1IymTcL1VuEduUdWT4kejeAZTryu22ETqvgZCqeNyyCYUmwDaA4gOaMjA oH4s8mz+EVcMl7QDEBuEGFlP73PGWnDrPovKsfspqAIHePNy0UFXOW9qXpuoxLchG4qh 9+0A== Received: by 10.236.154.70 with SMTP id g46mr1246516yhk.17.1350103789339; Fri, 12 Oct 2012 21:49:49 -0700 (PDT) Received: from wpzn3.hot.corp.google.com (216-239-44-65.google.com [216.239.44.65]) by gmr-mx.google.com with ESMTPS id u24si420771ano.2.2012.10.12.21.49.49 (version=TLSv1/SSLv3 cipher=AES128-SHA); Fri, 12 Oct 2012 21:49:49 -0700 (PDT) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by wpzn3.hot.corp.google.com (Postfix) with ESMTP id 2F7D6100047; Fri, 12 Oct 2012 21:49:49 -0700 (PDT) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id CDA2A16106D; Fri, 12 Oct 2012 21:49:48 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Fri, 12 Oct 2012 21:48:49 -0700 Message-Id: <1350103729-15913-5-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1350103729-15913-1-git-send-email-sjg@chromium.org> References: <1350103729-15913-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQkVneB4kzDNVFonkI6QxbLtQpgtMwp6eHvqDLt1T3NVhZAhY5wEJCX4xkch7FbCvARR0s/nX9HBflcZToyCs2mSTEJEFK2lD+78pIJ0lk/Co7+iq3ynCtJ0PjH6l2xNMtopgc1wp8xW1rWIbrjJ3h4ekXoCFR1M6ycl42Yxwp0eiahxEmNSqx3AG6veWBccerj9RGru Subject: [U-Boot] [PATCH 5/5] x86: Select stdio devices for coreboot X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de We want to support VGA, serial, USB keyboard and the Coreboot memory console buffer. Signed-off-by: Simon Glass --- include/configs/coreboot.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index 2649b82..fe589f3 100644 --- a/include/configs/coreboot.h +++ b/include/configs/coreboot.h @@ -39,6 +39,10 @@ #define CONFIG_LAST_STAGE_INIT #define CONFIG_NO_RESET_CODE +#define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,vga,serial\0" \ + "stdout=vga,serial,cbmem\0" \ + "stderr=vga,serial,cbmem\0" + /*----------------------------------------------------------------------- * Watchdog Configuration */ @@ -70,6 +74,9 @@ #define CONFIG_SYS_NS16550_COM2 UART1_BASE #define CONFIG_SYS_NS16550_PORT_MAPPED +#define CONFIG_CONSOLE_MUX +#define CONFIG_CBMEM_CONSOLE + /* max. 1 IDE bus */ #define CONFIG_SYS_IDE_MAXBUS 1 /* max. 1 drive per IDE bus */