From mboxrd@z Thu Jan 1 00:00:00 1970 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 50A49C433EF for ; Wed, 23 Mar 2022 20:20:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EDE0E83AAA; Wed, 23 Mar 2022 21:20:48 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=google.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=google.com header.i=@google.com header.b="KMO1rXx2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 589F883AAA; Wed, 23 Mar 2022 21:20:46 +0100 (CET) Received: from mail-wr1-x44a.google.com (mail-wr1-x44a.google.com [IPv6:2a00:1450:4864:20::44a]) (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 03F1C83678 for ; Wed, 23 Mar 2022 21:20:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=3GYE7YgYKBiI8QASJJEMMEJC.AMKS-9MMRJGQRQ.BCLV.BC@flex--ascull.bounces.google.com Received: by mail-wr1-x44a.google.com with SMTP id o9-20020adfca09000000b001ea79f7edf8so874669wrh.16 for ; Wed, 23 Mar 2022 13:20:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:to:cc; bh=F0lBD+/324PKqhOVtq7v4wuudoCLnt0Hhsa4Sl2Rikc=; b=KMO1rXx2U3ahyU17CfhgUcv2cT0IjRwc3RS30GFTl7Fkdb1V1gL+V2w7tgNgjWPvJd r3+JXY2pbO4gWJ/1A3E5CU77mxZT/gsnpWoJcQqAGw2SNyI59XqbALddyXIwJfocV+Fq 4UhQsSX8FHpUAUpfZDglKGajj6AX8W9hLLJZYBEbOILOcYh4gJebMrDm2B/gxFAnFiDW UHss30VWZVH6N3zsmVQWMZSJMuG0CRxeVp0j5CbKe43DtCSfA7HyaoorsEQb1Ocal+u4 58DKS4DnFY/mMRapUZSgmDiw6wVXBAIfivVVVgIpvBzh58g/o8yzSCEBWZAhmNuNIUQe +qiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=F0lBD+/324PKqhOVtq7v4wuudoCLnt0Hhsa4Sl2Rikc=; b=zZfBZMy7xq3nMpaUjdsXexozK5AsG/ULWF+4fXB3rW2z+N5TLW5wmhmVBcUp6kl7UJ OhMKER7sqBxRlqNkJqMhSEZBZ/YTzgnJKrMPd+TXkQyWNSzxOQ7vKe91HKy0YBt03JTL gXMUzMkNT9O4bD00op78oeiquglkaLq3Mwq0wO0iyjZg8uAmv2APu5QfTY0PIJ1yFnRp wSG+phHDENARrkndqaY9GBMEnEStIye/21cc3mXtmFse79RIUGkP1Pm0LgfkzHfwauHK mu5breedd3vad9MD1sIii7PelVU6MfApXtnv6YCgJF2wE1zZa11VY5vOpaMJ59XgwFqL GBVQ== X-Gm-Message-State: AOAM533KCdstk+iNYkmdZP7fdYYxKsOi8gagTFH0PjefA8BL7WRTJbz8 OFJtNC14EsxINFDdK+SamUgdhofcjE6Rsnq1Z3w9b+46s0VlRiw9teuDroIDXJD/Vf7SDz8suK4 p/w+FgKMtNIardBo8a+TKKZ/O+prAj0M9HRsFGYD/g9i68bHpdZIopsmdZpw= X-Google-Smtp-Source: ABdhPJxx/ShWOihvSafK/Ir0IncRDqK5/ynAJuBC5vFOlrJ410TI+BuElYA9WK5vT8G0CMmo6slRAHmE+Hg= X-Received: from ascull.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:1510]) (user=ascull job=sendgmr) by 2002:a05:600c:2905:b0:381:67e2:3992 with SMTP id i5-20020a05600c290500b0038167e23992mr11381452wmd.182.1648066841429; Wed, 23 Mar 2022 13:20:41 -0700 (PDT) Date: Wed, 23 Mar 2022 20:20:37 +0000 Message-Id: <20220323202037.1397214-1-ascull@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.35.1.894.gb6a874cedc-goog Subject: [PATCH v2] sandbox: sdl: Add stub sandbox_sdl_remove_display() From: Andrew Scull To: u-boot@lists.denx.de Cc: Andrew Scull , Simon Glass , Anatolij Gustschin Content-Type: text/plain; charset="UTF-8" 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.5 at phobos.denx.de X-Virus-Status: Clean Building the sandbox with NO_SDL=1 resulted in an undefined reference to 'sandbox_sdl_remove_display'. Resolve this by adding a stub implementation to match the stubs of the other similar functions. Signed-off-by: Andrew Scull Cc: Simon Glass Cc: Anatolij Gustschin Reviewed-by: Simon Glass --- arch/sandbox/include/asm/sdl.h | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.35.1.894.gb6a874cedc-goog