From patchwork Fri Jan 14 16:20:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 1580203 X-Patchwork-Delegate: uboot@andestech.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ventanamicro.com header.i=@ventanamicro.com header.a=rsa-sha256 header.s=google header.b=acy4+inw; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Jb6hB0Krvz9sXM for ; Sat, 15 Jan 2022 03:48:57 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D4319834AA; Fri, 14 Jan 2022 17:48:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="acy4+inw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 37BFC83420; Fri, 14 Jan 2022 17:20:30 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 87E0A833C2 for ; Fri, 14 Jan 2022 17:20:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=apatel@ventanamicro.com Received: by mail-wr1-x42e.google.com with SMTP id v6so16436983wra.8 for ; Fri, 14 Jan 2022 08:20:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9GzeDwae4ZX/KwQxU9cMLjsrh9B6SA9edr8jJxbD11k=; b=acy4+inwQJSzy1vsGuHLkPSCEEgiXms3BFRaAIm2mW2Ber2KguCW0IAuNUbccRy0xf HYOEFPDsPjc1SFthY/P1SMKWGJs7+yFDILvDDcr7BEjUxQokvy0ck6VJrO0eel+j3g/+ 7AxdKK8IKF3sG/xnP0nIqlnStOQ+OPA0ec/+rgrNwJVIA32cjgZIKX4XY8tblgol2QXL 0h+I10QTJZw/289SBI3zDLCNSSzeEPQlkh9w+6UJEz82nfFcLFGvOUS/86OQjCThRNam gCwHJ0SAsCg/I/CKxaKy00AXNArNZmHI7rCRwDyGtdZft1irmsxCQt8i4w5/Bg4BZR+J jcWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9GzeDwae4ZX/KwQxU9cMLjsrh9B6SA9edr8jJxbD11k=; b=Rxp856ZO0CzJcGapJsZaHRP/MVzcm+I63qFvhI5Z9voZTjL863eBdu1/NDrx0jcEqq Uk6IvQzwlRVGrjlp+vzBVceFo6iMf6voG35A1MxB1ulax7zmOEQlhO/tQfSr/PMf/dfo MPzPRhNnGCS/Ql0YGR6UivQ3CyfuRotQwnEnw4lP5q5nRGXLshQFcPLFV8oHIaYXcBj3 fyzooKJqFuwaHfLNSwzNueG727gE7TwqcHQwyTjbydoA8K8MVififCayJNTlg32993Id H4DC7LiuKIbRvzxxvLrmmUNVnnywin1MA+UTLyLG35+8QOVcHzKw9ZtxkTT0odr+RVDU +rBw== X-Gm-Message-State: AOAM532zgxkBM/JRGEpjm84Zv+ZHqf386rAvuGbSc03x4vbS0MJqRhma oAQk5oetIDzSuDmj7yt5fzHxnQ== X-Google-Smtp-Source: ABdhPJw+8lzWVIrozaafKAb6lbKxJNcMLkFJQ9+ecQ3gFRGr/3XjWJ6FdWIpEK99v6V5MimAfOdhSg== X-Received: by 2002:a5d:64e1:: with SMTP id g1mr395950wri.22.1642177227216; Fri, 14 Jan 2022 08:20:27 -0800 (PST) Received: from localhost.localdomain ([122.179.78.147]) by smtp.gmail.com with ESMTPSA id bi24sm10797930wmb.9.2022.01.14.08.20.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jan 2022 08:20:26 -0800 (PST) From: Anup Patel To: Rick Chen , Bin Meng Cc: Atish Patra , Alistair Francis , Anup Patel , U-Boot Mailing List , Anup Patel , Philipp Tomsich Subject: [PATCH 2/3] riscv: qemu: Enable HTIF console support Date: Fri, 14 Jan 2022 21:50:07 +0530 Message-Id: <20220114162008.70468-3-apatel@ventanamicro.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220114162008.70468-1-apatel@ventanamicro.com> References: <20220114162008.70468-1-apatel@ventanamicro.com> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 14 Jan 2022 17:48:29 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Enable support for HTIF console so that we can use QEMU RISC-V U-Boot on RISC-V emulators and ISS having it. Signed-off-by: Anup Patel Reviewed-by: Philipp Tomsich Reviewed-by: Rick Chen --- board/emulation/qemu-riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig index 1bbf1bc84a..f7538bc496 100644 --- a/board/emulation/qemu-riscv/Kconfig +++ b/board/emulation/qemu-riscv/Kconfig @@ -56,6 +56,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy imply DM_SCSI imply SYS_NS16550 imply SIFIVE_SERIAL + imply HTIF_CONSOLE if 64BIT imply SYSRESET imply SYSRESET_CMD_POWEROFF imply SYSRESET_SYSCON