Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F16F8C7EE26 for ; Tue, 18 Apr 2023 15:32:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 947CE8611A; Tue, 18 Apr 2023 17:31:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="a/2y8io0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 80031860D6; Tue, 18 Apr 2023 17:31:24 +0200 (CEST) Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) (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 B4091860BB for ; Tue, 18 Apr 2023 17:31:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd36.google.com with SMTP id ca18e2360f4ac-7606d6bb711so291045439f.2 for ; Tue, 18 Apr 2023 08:31:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1681831880; x=1684423880; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lvFhYvxOie6MswQH+fZiAFOYA7bluBB5rTXAgMgVNaQ=; b=a/2y8io0AEpotg5X0Qvdttl4ygWpZJ/6C08L9TynnaGh675Dc8mtUVmZcpnCjew44Q +gxR7ZwDYmLjeuLR54XmG9NFEp/I9J3aFT79l1p5WtciSS8kIJYYzzvTa1jxD9YmJVRE ihULmiyc1miXIi0GYhRUua1De41kTK1DyIKgI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681831880; x=1684423880; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lvFhYvxOie6MswQH+fZiAFOYA7bluBB5rTXAgMgVNaQ=; b=QROy3MB2wJ8XWZ0jP0DbpImrG1Ta0sfwst1dnBH0Aine5M/fmEf7JMJ0HJHVxM4EDW kN/sWjugqMB8S7QLrF+blEf6sg4tJtEHQJ3N6supHbcJS3CK3Gr4DTGouf2ocvXfGns4 Szcf3KznoH7eUmpIIzij6Ynq+pEMbcF1M2VJs6UViYqsC2UrcxOQ0pNQajwIWoVnoTdO ZIueW0+SyH3aQiHfT/7DAfT/j0gNYL2XBM9wW8xp0eTiaZ2Qqs1ypx9ASjSqmZAObHQ6 vPfHy4xZzRHKRO8WgmTvOry2VqKnWvYNcSxMYikUg+kZUr7FQua97+bg202gfQQfNxKB xN+A== X-Gm-Message-State: AAQBX9drlZIeaDQTSt+9rvLsDXAn1TiLzeDfFUoRLXvc8V0Nzh+Bp25w OAWNlOUakDIoCAPFMosNJ8aIV972JQpOgeRKi8Q= X-Google-Smtp-Source: AKy350aZan7oJwidvK0TFFlp91OrlhK6tSVCszhrvCESpSoaH4IKWcOXzNvIA+32xxDR8+WbpoPkfQ== X-Received: by 2002:a5e:cb4b:0:b0:760:ac0c:480e with SMTP id h11-20020a5ecb4b000000b00760ac0c480emr2515522iok.18.1681831880341; Tue, 18 Apr 2023 08:31:20 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id x8-20020a5d9448000000b0075845625e38sm4005945ior.28.2023.04.18.08.31.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Apr 2023 08:31:20 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Bin Meng , Simon Glass Subject: [PATCH v2 07/18] x86: Support debug UART in 64-bit mode Date: Wed, 19 Apr 2023 03:30:50 +1200 Message-ID: <20230418153101.115816-8-sjg@chromium.org> X-Mailer: git-send-email 2.40.0.634.g4ca3ef3211-goog In-Reply-To: <20230418153101.115816-1-sjg@chromium.org> References: <20230418153101.115816-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.8 at phobos.denx.de X-Virus-Status: Clean The debug UART is already set up in SPL, so there is no need to do anything here. We must provide the (empty) function though. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/x86_64/cpu.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/x86/cpu/x86_64/cpu.c b/arch/x86/cpu/x86_64/cpu.c index 6a387612916c..d1c3873dd6a7 100644 --- a/arch/x86/cpu/x86_64/cpu.c +++ b/arch/x86/cpu/x86_64/cpu.c @@ -50,3 +50,10 @@ int x86_cpu_init_f(void) { return 0; } + +#ifdef CONFIG_DEBUG_UART_BOARD_INIT +void board_debug_uart_init(void) +{ + /* this was already done in SPL */ +} +#endif -- 2.40.0.634.g4ca3ef3211-goog