All of lore.kernel.org
 help / color / mirror / Atom feed
From: Devarsh Thakkar <devarsht@ti.com>
To: Martin Stolpe <martinstolpe@gmail.com>
Cc: "Ivan T. Ivanov" <iivanov@suse.de>, <u-boot@lists.denx.de>,
	Francois Berder <fberder@outlook.fr>,
	Matthias Brugger <mbrugger@suse.com>,
	Nikhil M Jain <n-jain1@ti.com>,
	Peter Robinson <pbrobinson@gmail.com>,
	Rasmus Villemoes <rasmus.villemoes@prevas.dk>,
	Tom Rini <trini@konsulko.com>
Subject: Re: [PATCH 1/1] rpi: Fix build error when CONFIG_VIDEO is disabled for Raspberry Pi
Date: Thu, 26 Sep 2024 22:15:29 +0530	[thread overview]
Message-ID: <08a38499-c36d-4bf7-adcc-d3f547f3afc8@ti.com> (raw)
In-Reply-To: <CAPHZmLZopucK5uMwENuF83pRMLYR2A5sC7fes4-1JXE4jX7=rw@mail.gmail.com>

Hi Martin,

On 26/09/24 17:56, Martin Stolpe wrote:
> Hi,
> 
> Am Di., 24. Sept. 2024 um 08:38 Uhr schrieb Devarsh Thakkar
> <devarsht@ti.com <mailto:devarsht@ti.com>>:
> 
> 
>     CONFIG_FDT_SIMPLEFB is only used in splash-screen context which in-turn
>     depends on CONFIG_VIDEO. So CONFIG_FDT_SIMPLEFB is in a way dependent on
>     CONFIG_VIDEO. We had fixed similar issue in past in vendor tree and
>     by making
>     CONFIG_FDT_SIMPLEFB dependent on CONFIG_VIDEO using below set of
>     patches [1]
>     which I was planning to post upstream too.
> 
>     Kindly let me know If these patches look good to you and fix your
>     problem too,
>     I can post same set of patches to upstream too.
> 
>     [1] :
>     https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2024.04&id=1199800505f11f2162030cb641c6d0c9276d5c9c <https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2024.04&id=1199800505f11f2162030cb641c6d0c9276d5c9c>
>     [2] :
>     https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2024.04&id=5b4b8eac243cbd86286ff2cf57ca0469c4d86345 <https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2024.04&id=5b4b8eac243cbd86286ff2cf57ca0469c4d86345>
> 
> 
> These patches look good to me.
> 

Thanks for taking a look, I have posted them to the list [1], it would
be great if you could provide a Reviewed-by or Tested-by too.

> If I understand the code correctly the frame buffer node should only be
> created if CONFIG_FDT_SIMPLEFB is enabled. Thus I would change the code
> like this:
> 

Yes, that's true, I think you also need to conditionally compile
ft_board_setup only when CONFIG_OF_BOARD_SETUP is enabled.

[1]: https://lore.kernel.org/all/20240925151354.480704-4-devarsht@ti.com/

Regards
Devarsh

  reply	other threads:[~2024-09-26 16:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-20  6:32 [PATCH 0/1] rpi: Fix compilation when CONFIG_VIDEO is disabled Martin Stolpe
2024-09-20  6:32 ` [PATCH 1/1] rpi: Fix build error when CONFIG_VIDEO is disabled for Raspberry Pi Martin Stolpe
2024-09-20  8:16   ` Ivan T. Ivanov
2024-09-24  6:26     ` Martin Stolpe
2024-09-24  6:38       ` Devarsh Thakkar
2024-09-26 12:26         ` Martin Stolpe
2024-09-26 16:45           ` Devarsh Thakkar [this message]
2024-10-07 12:54             ` Martin Stolpe
2024-10-07 13:02               ` Devarsh Thakkar
2024-10-11 12:22                 ` Martin Stolpe
2024-10-11 12:33                   ` Peter Robinson

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=08a38499-c36d-4bf7-adcc-d3f547f3afc8@ti.com \
    --to=devarsht@ti.com \
    --cc=fberder@outlook.fr \
    --cc=iivanov@suse.de \
    --cc=martinstolpe@gmail.com \
    --cc=mbrugger@suse.com \
    --cc=n-jain1@ti.com \
    --cc=pbrobinson@gmail.com \
    --cc=rasmus.villemoes@prevas.dk \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.