U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kever Yang <kever.yang@rock-chips.com>
To: Jonas Karlman <jonas@kwiboo.se>, Simon Glass <sjg@chromium.org>,
	Philipp Tomsich <philipp.tomsich@vrull.eu>,
	Tom Rini <trini@konsulko.com>
Cc: Quentin Schulz <quentin.schulz@cherry.de>,
	FUKAUMI Naoki <naoki@radxa.com>,
	u-boot@lists.denx.de
Subject: Re: [PATCH v4 05/10] rockchip: binman: Un-indent the FIT template
Date: Sun, 6 Apr 2025 23:33:12 +0800	[thread overview]
Message-ID: <825f38d8-e095-49bd-ab20-a7f02913198a@rock-chips.com> (raw)
In-Reply-To: <20250329150626.2879942-6-jonas@kwiboo.se>


On 2025/3/29 23:06, Jonas Karlman wrote:
> From: Simon Glass <sjg@chromium.org>
>
> Fix the indentation on the template. This is done in a separate patch
> so that it is easier to review.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
> Changes in v4:
> - Split from "VBE serial part H: Implement VBE on Rockchip RK3399"
> ---
>   arch/arm/dts/rockchip-u-boot.dtsi | 176 +++++++++++++++---------------
>   1 file changed, 88 insertions(+), 88 deletions(-)
>
> diff --git a/arch/arm/dts/rockchip-u-boot.dtsi b/arch/arm/dts/rockchip-u-boot.dtsi
> index 9ef1ca6cd13a..f860bfc1ba72 100644
> --- a/arch/arm/dts/rockchip-u-boot.dtsi
> +++ b/arch/arm/dts/rockchip-u-boot.dtsi
> @@ -33,120 +33,120 @@
>   &binman {
>   #ifdef HAS_FIT
>   	fit_template: template-1 {
> -			type = "fit";
> +		type = "fit";
>   #ifdef CONFIG_ARM64
> -			description = "FIT image for U-Boot with bl31 (TF-A)";
> +		description = "FIT image for U-Boot with bl31 (TF-A)";
>   #else
> -			description = "FIT image with OP-TEE";
> +		description = "FIT image with OP-TEE";
>   #endif
> -			#address-cells = <1>;
> -			fit,fdt-list = "of-list";
> -			fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
> -			fit,align = <512>;
> -			images {
> -				u-boot {
> -					description = "U-Boot";
> -					type = "standalone";
> -					os = "u-boot";
> -					arch = ARCH;
> -					compression = COMP;
> -					load = <CONFIG_TEXT_BASE>;
> -					entry = <CONFIG_TEXT_BASE>;
> -					u-boot-nodtb {
> +		#address-cells = <1>;
> +		fit,fdt-list = "of-list";
> +		fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
> +		fit,align = <512>;
> +		images {
> +			u-boot {
> +				description = "U-Boot";
> +				type = "standalone";
> +				os = "u-boot";
> +				arch = ARCH;
> +				compression = COMP;
> +				load = <CONFIG_TEXT_BASE>;
> +				entry = <CONFIG_TEXT_BASE>;
> +				u-boot-nodtb {
>   					compress = COMP;
> -					};
> +				};
>   #ifdef CONFIG_SPL_FIT_SIGNATURE
> -					hash {
> -						algo = "sha256";
> -					};
> -#endif
> +				hash {
> +					algo = "sha256";
>   				};
> +#endif
> +			};
>   
>   #ifdef CONFIG_ARM64
> -				@atf-SEQ {
> -					fit,operation = "split-elf";
> -					description = "ARM Trusted Firmware";
> -					type = "firmware";
> -					arch = ARCH;
> -					os = "arm-trusted-firmware";
> -					compression = "none";
> -					fit,load;
> -					fit,entry;
> -					fit,data;
> -
> -					atf-bl31 {
> -					};
> +			@atf-SEQ {
> +				fit,operation = "split-elf";
> +				description = "ARM Trusted Firmware";
> +				type = "firmware";
> +				arch = ARCH;
> +				os = "arm-trusted-firmware";
> +				compression = "none";
> +				fit,load;
> +				fit,entry;
> +				fit,data;
> +
> +				atf-bl31 {
> +				};
>   #ifdef CONFIG_SPL_FIT_SIGNATURE
> -					hash {
> -						algo = "sha256";
> -					};
> +				hash {
> +					algo = "sha256";
> +				};
>   #endif
> +			};
> +			@tee-SEQ {
> +				fit,operation = "split-elf";
> +				description = "TEE";
> +				type = "tee";
> +				arch = ARCH;
> +				os = "tee";
> +				compression = "none";
> +				fit,load;
> +				fit,entry;
> +				fit,data;
> +
> +				tee-os {
> +					optional;
>   				};
> -				@tee-SEQ {
> -					fit,operation = "split-elf";
> -					description = "TEE";
> -					type = "tee";
> -					arch = ARCH;
> -					os = "tee";
> -					compression = "none";
> -					fit,load;
> -					fit,entry;
> -					fit,data;
> -
> -					tee-os {
> -						optional;
> -					};
>   #ifdef CONFIG_SPL_FIT_SIGNATURE
> -					hash {
> -						algo = "sha256";
> -					};
> -#endif
> +				hash {
> +					algo = "sha256";
>   				};
> +#endif
> +			};
>   #else /* !CONFIG_ARM64 */
> -				op-tee {
> -					description = "OP-TEE";
> -					type = "tee";
> -					arch = ARCH;
> -					os = "tee";
> -					compression = "none";
> -					load = <(CFG_SYS_SDRAM_BASE + 0x8400000)>;
> -					entry = <(CFG_SYS_SDRAM_BASE + 0x8400000)>;
> -
> -					tee-os {
> -					};
> +			op-tee {
> +				description = "OP-TEE";
> +				type = "tee";
> +				arch = ARCH;
> +				os = "tee";
> +				compression = "none";
> +				load = <(CFG_SYS_SDRAM_BASE + 0x8400000)>;
> +				entry = <(CFG_SYS_SDRAM_BASE + 0x8400000)>;
> +
> +				tee-os {
> +				};
>   #ifdef CONFIG_SPL_FIT_SIGNATURE
> -					hash {
> -						algo = "sha256";
> -					};
> -#endif
> +				hash {
> +					algo = "sha256";
>   				};
> +#endif
> +			};
>   #endif /* CONFIG_ARM64 */
>   
> -				@fdt-SEQ {
> -					description = "fdt-NAME";
> -					compression = "none";
> -					type = "flat_dt";
> +			@fdt-SEQ {
> +				description = "fdt-NAME";
> +				compression = "none";
> +				type = "flat_dt";
>   #ifdef CONFIG_SPL_FIT_SIGNATURE
> -					hash {
> -						algo = "sha256";
> -					};
> -#endif
> +				hash {
> +					algo = "sha256";
>   				};
> +#endif
>   			};
> +		};
>   
> -			configurations {
> -				default = "@config-DEFAULT-SEQ";
> -				@config-SEQ {
> -					description = "NAME.dtb";
> -					fdt = "fdt-SEQ";
> +		configurations {
> +			default = "@config-DEFAULT-SEQ";
> +			@config-SEQ {
> +				description = "NAME.dtb";
> +				fdt = "fdt-SEQ";
>   #ifdef CONFIG_ARM64
> -					fit,firmware = "atf-1", "u-boot";
> +				fit,firmware = "atf-1", "u-boot";
>   #else
> -					fit,firmware = "op-tee", "u-boot";
> +				fit,firmware = "op-tee", "u-boot";
>   #endif
> -					fit,loadables;
> -				};
> +				fit,loadables;
>   			};
> +		};
>   	};
>   #endif /* HAS_FIT */
>   

  reply	other threads:[~2025-04-06 15:33 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-29 15:06 [PATCH v4 00/10] rockchip: binman: Use a template for FIT and other improvements Jonas Karlman
2025-03-29 15:06 ` [PATCH v4 01/10] rockchip: binman: Correct the OS prop for U-Boot Jonas Karlman
2025-04-06 15:17   ` Kever Yang
2025-04-09  9:15   ` Quentin Schulz
2025-04-09 11:35     ` Jonas Karlman
2025-03-29 15:06 ` [PATCH v4 02/10] rockchip: binman: Factor out arch and compression Jonas Karlman
2025-04-06 15:18   ` Kever Yang
2025-04-09  9:28   ` Quentin Schulz
2025-04-09 11:56     ` Jonas Karlman
2025-04-09 12:27       ` Quentin Schulz
2025-04-09 15:52         ` Jonas Karlman
2025-03-29 15:06 ` [PATCH v4 03/10] rockchip: binman: Add an fdtmap Jonas Karlman
2025-04-06 15:18   ` Kever Yang
2025-04-09  9:32   ` Quentin Schulz
2025-03-29 15:06 ` [PATCH v4 04/10] rockchip: binman: Create a template for the FIT Jonas Karlman
2025-04-06 15:32   ` Kever Yang
2025-04-09  9:39   ` Quentin Schulz
2025-04-09 11:58     ` Jonas Karlman
2025-03-29 15:06 ` [PATCH v4 05/10] rockchip: binman: Un-indent the FIT template Jonas Karlman
2025-04-06 15:33   ` Kever Yang [this message]
2025-04-09  9:41   ` Quentin Schulz
2025-03-29 15:06 ` [PATCH v4 06/10] rockchip: binman: Use the FIT template in the SPI image Jonas Karlman
2025-04-06 15:33   ` Kever Yang
2025-04-09  9:42   ` Quentin Schulz
2025-03-29 15:06 ` [PATCH v4 07/10] rockchip: binman: Include a compatible string in each configuration Jonas Karlman
2025-04-06 15:33   ` Kever Yang
2025-04-09 10:02   ` Quentin Schulz
2025-04-09 13:23     ` Simon Glass
2025-04-09 15:05     ` Jonas Karlman
2025-04-09 15:26       ` Quentin Schulz
2025-03-29 15:06 ` [PATCH v4 08/10] rockchip: binman: Use the skip-at-start prop in simple-bin image Jonas Karlman
2025-04-06 15:33   ` Kever Yang
2025-04-09 10:57   ` Quentin Schulz
2025-04-09 13:22     ` Simon Glass
2025-04-09 13:32       ` Quentin Schulz
2025-04-09 13:33         ` Simon Glass
2025-04-09 13:35           ` Quentin Schulz
2025-04-09 14:30             ` Simon Glass
2025-04-14 15:09               ` Quentin Schulz
2025-04-17 21:35                 ` Simon Glass
2025-04-09 15:17     ` Jonas Karlman
2025-03-29 15:06 ` [PATCH v4 09/10] rockchip: binman: Support use of crc32 for SPL_FIT_SIGNATURE Jonas Karlman
2025-04-06 15:34   ` Kever Yang
2025-04-09 11:06   ` Quentin Schulz
2025-04-09 15:38     ` Jonas Karlman
2025-04-09 16:11       ` Quentin Schulz
2025-04-09 16:35         ` Simon Glass
2025-04-09 17:02           ` Quentin Schulz
2025-04-09 17:26         ` Jonas Karlman
2025-03-29 15:06 ` [PATCH v4 10/10] rockchip: Add SPL_PAD_TO Kconfig default value Jonas Karlman
2025-04-06 15:34   ` Kever Yang
2025-04-09 11:14   ` Quentin Schulz

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=825f38d8-e095-49bd-ab20-a7f02913198a@rock-chips.com \
    --to=kever.yang@rock-chips.com \
    --cc=jonas@kwiboo.se \
    --cc=naoki@radxa.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=quentin.schulz@cherry.de \
    --cc=sjg@chromium.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox