From: Devarsh Thakkar <devarsht@ti.com>
To: Simon Glass <sjg@chromium.org>,
U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Tom Rini <trini@konsulko.com>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
Bin Meng <bmeng.cn@gmail.com>,
Fabrice Gasnier <fabrice.gasnier@foss.st.com>,
Marek Vasut <marex@denx.de>, Nikhil M Jain <n-jain1@ti.com>,
Patrick Delaunay <patrick.delaunay@foss.st.com>,
Rasmus Villemoes <rasmus.villemoes@prevas.dk>,
Stefan Roese <sr@denx.de>, "Bhatia, Aradhya" <a-bhatia1@ti.com>,
"Luthra, Jai" <j-luthra@ti.com>
Subject: Re: [PATCH 09/19] Move fdt_simplefb to boot/
Date: Thu, 31 Aug 2023 11:42:45 +0530 [thread overview]
Message-ID: <ccdadecf-4169-32ea-d1b6-ded2fe27b4b4@ti.com> (raw)
In-Reply-To: <20230824195917.1687886-10-sjg@chromium.org>
On 25/08/23 01:29, Simon Glass wrote:
> This relates to booting, so move it there. Create a new Kconfig menu for
> things related to devicetree fixup.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Devarsh Thakkar <devarsht@ti.com>
> ---
>
> boot/Kconfig | 16 ++++++++++++++++
> boot/Makefile | 1 +
> {common => boot}/fdt_simplefb.c | 0
> common/Kconfig | 9 ---------
> common/Makefile | 1 -
> 5 files changed, 17 insertions(+), 10 deletions(-)
> rename {common => boot}/fdt_simplefb.c (100%)
>
> diff --git a/boot/Kconfig b/boot/Kconfig
> index 5e2d4286aeaa..1b2ac7451a61 100644
> --- a/boot/Kconfig
> +++ b/boot/Kconfig
> @@ -1535,6 +1535,22 @@ config SPL_IMAGE_PRE_LOAD_SIG
>
> endmenu
>
> +if OF_LIBFDT
> +
> +menu "Devicetree fixup"
> +
> +config FDT_SIMPLEFB
> + bool "FDT tools for simplefb support"
> + help
> + Enable the fdt tools to manage the simple fb nodes in device tree.
> + These functions can be used by board to indicate to the OS
> + the presence of the simple frame buffer with associated reserved
> + memory
> +
> +endmenu
> +
> +endif # OF_LIBFDT
> +
> config USE_BOOTARGS
> bool "Enable boot arguments"
> help
> diff --git a/boot/Makefile b/boot/Makefile
> index f15a161614ff..6ce983b83fa4 100644
> --- a/boot/Makefile
> +++ b/boot/Makefile
> @@ -39,6 +39,7 @@ obj-$(CONFIG_$(SPL_TPL_)CEDIT) += cedit.o
> endif
>
> obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += fdt_support.o
> +obj-$(CONFIG_$(SPL_TPL_)FDT_SIMPLEFB) += fdt_simplefb.o
>
> obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o
> obj-$(CONFIG_$(SPL_TPL_)FIT_SIGNATURE) += fdt_region.o
> diff --git a/common/fdt_simplefb.c b/boot/fdt_simplefb.c
> similarity index 100%
> rename from common/fdt_simplefb.c
> rename to boot/fdt_simplefb.c
> diff --git a/common/Kconfig b/common/Kconfig
> index 2f46fdb3f62c..9693c0ac426f 100644
> --- a/common/Kconfig
> +++ b/common/Kconfig
> @@ -1156,14 +1156,5 @@ config VPL_IMAGE_SIGN_INFO
>
> endif
>
> -config FDT_SIMPLEFB
> - bool "FDT tools for simplefb support"
> - depends on OF_LIBFDT
> - help
> - Enable the fdt tools to manage the simple fb nodes in device tree.
> - These functions can be used by board to indicate to the OS
> - the presence of the simple frame buffer with associated reserved
> - memory
> -
> config IO_TRACE
> bool
> diff --git a/common/Makefile b/common/Makefile
> index 0948721d0b47..5c1617206f07 100644
> --- a/common/Makefile
> +++ b/common/Makefile
> @@ -17,7 +17,6 @@ obj-y += board_r.o
> obj-$(CONFIG_DISPLAY_BOARDINFO) += board_info.o
> obj-$(CONFIG_DISPLAY_BOARDINFO_LATE) += board_info.o
>
> -obj-$(CONFIG_FDT_SIMPLEFB) += fdt_simplefb.o
> obj-$(CONFIG_MII) += miiphyutil.o
> obj-$(CONFIG_CMD_MII) += miiphyutil.o
> obj-$(CONFIG_PHYLIB) += miiphyutil.o
next prev parent reply other threads:[~2023-08-31 6:13 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-24 19:58 [PATCH 00/19] Kconfig: Tidy up some options Simon Glass
2023-08-24 19:58 ` [PATCH 01/19] lib: rational: Move the Kconfigs into the correct place Simon Glass
2023-08-24 19:58 ` [PATCH 02/19] Kconfig: Move API into general setup Simon Glass
2023-08-24 19:58 ` [PATCH 03/19] video: Hide the BMP options Simon Glass
2023-08-24 19:58 ` [PATCH 04/19] video: Move BMP options and code to video directory Simon Glass
2023-08-31 6:00 ` Devarsh Thakkar
2023-08-24 19:58 ` [PATCH 05/19] net: Move SYS_RX_ETH_BUFFER into the network menu Simon Glass
2023-08-24 19:58 ` [PATCH 06/19] FMU: Avoid showing an unselectable menu option Simon Glass
2023-08-25 12:00 ` Sughosh Ganu
2023-08-25 14:55 ` Tom Rini
2023-08-24 19:58 ` [PATCH 07/19] test: Move POST under a renamed Testing section Simon Glass
2023-08-24 19:58 ` [PATCH 08/19] boot: Move fdt_support to boot/ Simon Glass
2023-08-31 6:02 ` Devarsh Thakkar
2023-09-04 16:48 ` Simon Glass
2023-08-24 19:59 ` [PATCH 09/19] Move fdt_simplefb " Simon Glass
2023-08-31 6:12 ` Devarsh Thakkar [this message]
2023-08-24 19:59 ` [PATCH 10/19] boot: Move some other fdt-fixup options to the same menu Simon Glass
2023-08-24 19:59 ` [PATCH 11/19] boot: Rename Android-boot text Simon Glass
2023-08-24 19:59 ` [PATCH 12/19] Kconfig: Create a menu for FIT Simon Glass
2023-08-24 19:59 ` [PATCH 13/19] Kconfig: Move SPL_FIT under FIT Simon Glass
2023-08-24 19:59 ` [PATCH 14/19] spl: Tidy up load address in spl_ram Simon Glass
2023-08-24 19:59 ` [PATCH 15/19] boot: Make standard boot a menu Simon Glass
2023-08-24 19:59 ` [PATCH 16/19] Kconfig: Move TEXT_BASE et al under general setup Simon Glass
2023-08-24 19:59 ` [PATCH 17/19] Make DISTRO_DEFAULTS as deprecated Simon Glass
2023-08-28 14:41 ` Mark Kettenis
2023-08-28 14:57 ` Tom Rini
2023-08-24 19:59 ` [PATCH 18/19] boot: Join FDT_FIXUP_PARTITIONS with related options Simon Glass
2023-08-24 19:59 ` [PATCH 19/19] boot: Join ARCH_FIXUP_FDT_MEMORY " Simon Glass
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=ccdadecf-4169-32ea-d1b6-ded2fe27b4b4@ti.com \
--to=devarsht@ti.com \
--cc=a-bhatia1@ti.com \
--cc=bmeng.cn@gmail.com \
--cc=fabrice.gasnier@foss.st.com \
--cc=j-luthra@ti.com \
--cc=marex@denx.de \
--cc=n-jain1@ti.com \
--cc=patrick.delaunay@foss.st.com \
--cc=rasmus.villemoes@prevas.dk \
--cc=sjg@chromium.org \
--cc=sr@denx.de \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--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 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.