Message ID | 20220616223158.9225-2-francis.laniel@amarulasolutions.com |
---|---|
State | Accepted |
Commit | c527e3f52db34ce945ebea55e8d16c6e8fda2705 |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=lMoc3/c5; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LPH5B3Kn8z9sFk for <incoming@patchwork.ozlabs.org>; Fri, 17 Jun 2022 08:33:34 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1946E84398; Fri, 17 Jun 2022 00:32:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com 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=amarulasolutions.com header.i=@amarulasolutions.com header.b="lMoc3/c5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C969884398; Fri, 17 Jun 2022 00:32:53 +0200 (CEST) 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, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (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 866B984392 for <u-boot@lists.denx.de>; Fri, 17 Jun 2022 00:32:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=francis.laniel@amarulasolutions.com Received: by mail-wm1-x32b.google.com with SMTP id m32-20020a05600c3b2000b0039756bb41f2so1534588wms.3 for <u-boot@lists.denx.de>; Thu, 16 Jun 2022 15:32:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=c23dnbuohv8adopcPqYvMjw/ENNrGta+WJzf6ab5Xaw=; b=lMoc3/c5uS7rfIqUuA2o906fO/6njdIyBls9b9JL79ZRg5TE7fUUChhHXcuA1FspC9 O8SoJx03qKkEGcm409MzfQTCghKT4vHByNPzkHNtWSdaoTl0Uqf8LGxEouJvV6DtUE+4 xhB2uHzuaM4zwXve9/72FVA92InSL2shs0H8c= 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=c23dnbuohv8adopcPqYvMjw/ENNrGta+WJzf6ab5Xaw=; b=T7btyfsMFNEwS0iwV4ZzBoKpwbSgfphyTn46n8Rh1yZkOJDzzfn0bneLz40IgtKOHk oO+BWoOK+wg/fAMCb+4tznmTIRQIBjp6Qbd2j6XUg1UyTA8Im5w5biqm+B8omAlyOG4i d4aPz+TQEwMKcGImKS2G/9V+kelqrBH/rwWDIg4jP5eKK8kHB6q9bHo/ZnYt9bp5VXQH WIzKxN7Dy/gaFZHZh7TTZNuuWD9XETxB+8m1BW+i2Z5RhqPuR9hI3IRrktYoj3c75TjM wJezRqukZIW07flm2Qb3eDAgBA5k+zFe0angCCwXLIjO+QZPKnBOMDj3pzcsgreBFruN /jug== X-Gm-Message-State: AOAM533mc09MjDgDogkYZT6GdISUVwIYRafX+hYA+NlzT946D1vcK1GU kmxvZeJBUSd/8+Xn+LYv6R+qAxyjG0lELQ== X-Google-Smtp-Source: ABdhPJyY1ciaVAeRmfMZQMkukQBLRX/Ke/534AtT+7krHYK8uGBH/ml2g2CPsJX97Z29RIUqhY/G6A== X-Received: by 2002:a7b:c777:0:b0:39c:4e1d:fd27 with SMTP id x23-20020a7bc777000000b0039c4e1dfd27mr17391221wmk.1.1655418766942; Thu, 16 Jun 2022 15:32:46 -0700 (PDT) Received: from pwmachine.home (17.pool80-103-97.dynamic.orange.es. [80.103.97.17]) by smtp.gmail.com with ESMTPSA id n4-20020a05600c4f8400b003971fc23185sm7912044wmq.20.2022.06.16.15.32.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jun 2022 15:32:46 -0700 (PDT) From: Francis Laniel <francis.laniel@amarulasolutions.com> To: u-boot@lists.denx.de Cc: Marek Behun <marek.behun@nic.cz>, Michael Nazzareno Trimarchi <michael@amarulasolutions.com>, Simon Glass <sjg@chromium.org>, Wolfgang Denk <wd@denx.de>, Harald Seiler <hws@denx.de>, Tom Rini <trini@konsulko.com>, Francis Laniel <francis.laniel@amarulasolutions.com> Subject: [RFC PATCH v4 01/28] video: sandbox: Add dummy function for sandbox_sdl_remove_display(). Date: Fri, 17 Jun 2022 00:31:31 +0200 Message-Id: <20220616223158.9225-2-francis.laniel@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220616223158.9225-1-francis.laniel@amarulasolutions.com> References: <20220616223158.9225-1-francis.laniel@amarulasolutions.com> 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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean |
Series |
Modernize U-Boot shell
|
expand
|
diff --git a/arch/sandbox/include/asm/sdl.h b/arch/sandbox/include/asm/sdl.h index e271a849af..56dcb84803 100644 --- a/arch/sandbox/include/asm/sdl.h +++ b/arch/sandbox/include/asm/sdl.h @@ -94,6 +94,11 @@ static inline int sandbox_sdl_init_display(int width, int height, int log2_bpp, return -ENODEV; } +static inline int sandbox_sdl_remove_display(void) +{ + return -ENODEV; +} + static inline int sandbox_sdl_sync(void *lcd_base) { return -ENODEV;
We need to defined a dummy version of this function when compiling with NO_SDL=1. Otherwise, we would face compilation error. Fixes: 250e735c692b ("video: sandbox: Avoid duplicate display windows") Signed-off-by: Francis Laniel <francis.laniel@amarulasolutions.com> --- arch/sandbox/include/asm/sdl.h | 5 +++++ 1 file changed, 5 insertions(+)