From patchwork Mon Feb 22 04:08:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 585992 X-Patchwork-Delegate: promsoft@gmail.com 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 736FC140B95 for ; Mon, 22 Feb 2016 15:12:31 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=F+O1bIFg; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D8CF3A7672; Mon, 22 Feb 2016 05:11:14 +0100 (CET) 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 kia8xHwWyKTw; Mon, 22 Feb 2016 05:11:14 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5763EA7675; Mon, 22 Feb 2016 05:10:36 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 25192A7608 for ; Mon, 22 Feb 2016 05:09:35 +0100 (CET) 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 gFOoNhyAHZ7V for ; Mon, 22 Feb 2016 05:09:35 +0100 (CET) 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-oi0-f47.google.com (mail-oi0-f47.google.com [209.85.218.47]) by theia.denx.de (Postfix) with ESMTPS id 3A457A75D1 for ; Mon, 22 Feb 2016 05:09:17 +0100 (CET) Received: by mail-oi0-f47.google.com with SMTP id x21so47477572oix.2 for ; Sun, 21 Feb 2016 20:09:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=B0dGroBZAMO7Rrh/MLbFWOQFT4NwPkZi7MVxTuoq6S0=; b=F+O1bIFg1Z0qjj8CbcDAJx7QM/PUZNdHpvgjm9XDK2KCbYT9dpocBTBgeSIsawG1h0 2Oja4a2ZAPWUVB2EtK7vfseWLeFON492G7638fIxsAQ3Fldq4ZMlW5es05xeIR5QzmC3 pD9HtR2+KnkKwT065098/yfGu/4xQhUHXfW7D7tN2RsDAE6BqTzAhvFMQjx0ZcPRlfaC BzjW1gopQ/y7yywoizfTyPQqY/ounR+GIbPtQ0qtfHWbxHgYxg8p8yMrHtmMPm2ZxBOd ce4hJW3yPoAwf7NjaGcjOfyQYRGBFRn1eSokau+Q8owtufVAuHnwcrkTsW8kuWIRFGPM kR/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=B0dGroBZAMO7Rrh/MLbFWOQFT4NwPkZi7MVxTuoq6S0=; b=bPhacTfE1USonZLhWqxk0b0A3X69GoWpCe4kCtxqhiRW/Iyj50sdu1xeqaV9AT0c/T M7xGrsTaIOlha5WRdj43gLpLahPFVD3SUrtVS1eFk3hsKT4G+R70OYlvoJ2d8XozS/pb JKn82VZDcEgM8j/4guYm1E4sGE46xff+j9zNj+ArK1fQqBWz2Rw830ImLLmDS9LbHU7A z71t5mI1Z1aiYzSt2MRaaG3MqvtfswN2QeAq9li+ihwWdO/7JLuW+Vm1x7gAqKOXK9Rt L8FV21hJ6US3DbFVkPHVk8xXqeqKb2+9cBSLyWpNtjB7OBAYnTGLfJRA5mz1b6IeDCSr ZO9Q== X-Gm-Message-State: AG10YOTGJzJ6uoSZ1OAfF84q5gXgsRE9svuIkMK3p9cWGx7CT8Jvb0RHMiG0bTPSKNMLRwF8 X-Received: by 10.202.235.85 with SMTP id j82mr20598259oih.38.1456114155831; Sun, 21 Feb 2016 20:09:15 -0800 (PST) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by smtp.gmail.com with ESMTPSA id i185sm15745070oib.20.2016.02.21.20.09.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Feb 2016 20:09:15 -0800 (PST) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 8FD712213D2; Sun, 21 Feb 2016 21:09:06 -0700 (MST) From: Simon Glass To: U-Boot Mailing List Date: Sun, 21 Feb 2016 21:08:52 -0700 Message-Id: <1456114142-3610-16-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.7.0.rc3.207.g0ac5344 In-Reply-To: <1456114142-3610-1-git-send-email-sjg@chromium.org> References: <1456114142-3610-1-git-send-email-sjg@chromium.org> Cc: Przemyslaw Marczak Subject: [U-Boot] [PATCH v2 15/25] exynos: Allow tizen to be built without an LCD X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This file currently requires an LCD. Adjust it to work without one. Signed-off-by: Simon Glass --- Changes in v2: None include/libtizen.h | 2 ++ lib/tizen/tizen.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/libtizen.h b/include/libtizen.h index 6490fb5..55dccff 100644 --- a/include/libtizen.h +++ b/include/libtizen.h @@ -10,6 +10,8 @@ #define HD_RESOLUTION 0 +#ifdef CONFIG_LCD void get_tizen_logo_info(vidinfo_t *vid); +#endif #endif /* _LIBTIZEN_H_ */ diff --git a/lib/tizen/tizen.c b/lib/tizen/tizen.c index 814ed18..d207f77 100644 --- a/lib/tizen/tizen.c +++ b/lib/tizen/tizen.c @@ -12,6 +12,7 @@ #include "tizen_logo_16bpp.h" #include "tizen_logo_16bpp_gzip.h" +#ifdef CONFIG_LCD void get_tizen_logo_info(vidinfo_t *vid) { switch (vid->vl_bpix) { @@ -31,3 +32,4 @@ void get_tizen_logo_info(vidinfo_t *vid) break; } } +#endif