public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Devarsh Thakkar <devarsht@ti.com>
To: <u-boot@lists.denx.de>, <trini@konsulko.com>, <bb@ti.com>
Cc: <sjg@chromium.org>, <agust@denx.de>, <praneeth@ti.com>,
	<nm@ti.com>, <vigneshr@ti.com>, <s-jain1@ti.com>,
	<r-donadkar@ti.com>, <j-humphreys@ti.com>,
	<ilias.apalodimas@linaro.org>, <xypron.glpk@gmx.de>,
	<akashi.tkhro@gmail.com>, <mkorpershoek@baylibre.com>,
	<eajames@linux.ibm.com>, <caleb.connolly@linaro.org>,
	<quentin.schulz@cherry.de>, <martinstolpe@gmail.com>,
	<iivanov@suse.de>, <n-jain1@ti.com>, <devarsht@ti.com>
Subject: [PATCH 2/3] boot: fdt_simplefb: Remove conditional compilation checks for VIDEO Kconfig
Date: Wed, 25 Sep 2024 20:43:53 +0530	[thread overview]
Message-ID: <20240925151354.480704-3-devarsht@ti.com> (raw)
In-Reply-To: <20240925151354.480704-1-devarsht@ti.com>

CONFIG_VIDEO conditional compilation checks are no longer needed since
FDT_SIMPLEFB Kconfig now depends on VIDEO Kconfig.

Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
---
 boot/fdt_simplefb.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/boot/fdt_simplefb.c b/boot/fdt_simplefb.c
index 53415548459a..fbb67f281a04 100644
--- a/boot/fdt_simplefb.c
+++ b/boot/fdt_simplefb.c
@@ -103,7 +103,6 @@ static int fdt_simplefb_enable_existing_node(void *blob)
 	return fdt_simplefb_configure_node(blob, off);
 }
 
-#if IS_ENABLED(CONFIG_VIDEO)
 int fdt_simplefb_enable_and_mem_rsv(void *blob)
 {
 	int ret;
@@ -118,4 +117,3 @@ int fdt_simplefb_enable_and_mem_rsv(void *blob)
 
 	return fdt_add_fb_mem_rsv(blob);
 }
-#endif
-- 
2.39.1


  parent reply	other threads:[~2024-09-25 15:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-25 15:13 [PATCH 0/3] Simple-framebuffer node related updates Devarsh Thakkar
2024-09-25 15:13 ` [PATCH 1/3] boot/Kconfig: Add Video Kconfig as dependency for FDT_SIMPLEFB Devarsh Thakkar
2024-09-25 15:13 ` Devarsh Thakkar [this message]
2024-09-25 15:13 ` [PATCH 3/3] board: ti: am62x: evm: Update simple-framebuffer node in device-tree Devarsh Thakkar
2024-10-21 15:17 ` [PATCH 0/3] Simple-framebuffer node related updates Devarsh Thakkar
2024-10-21 20:20   ` Tom Rini
2024-10-22 20:19     ` Anatolij Gustschin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240925151354.480704-3-devarsht@ti.com \
    --to=devarsht@ti.com \
    --cc=agust@denx.de \
    --cc=akashi.tkhro@gmail.com \
    --cc=bb@ti.com \
    --cc=caleb.connolly@linaro.org \
    --cc=eajames@linux.ibm.com \
    --cc=iivanov@suse.de \
    --cc=ilias.apalodimas@linaro.org \
    --cc=j-humphreys@ti.com \
    --cc=martinstolpe@gmail.com \
    --cc=mkorpershoek@baylibre.com \
    --cc=n-jain1@ti.com \
    --cc=nm@ti.com \
    --cc=praneeth@ti.com \
    --cc=quentin.schulz@cherry.de \
    --cc=r-donadkar@ti.com \
    --cc=s-jain1@ti.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    --cc=xypron.glpk@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox