diff mbox series

board/microchip/mpfs_icicle/genimage.cfg: drop legacy gpt = true

Message ID 20240126100903.2139253-1-peter@korsgaard.com
State Accepted
Headers show
Series board/microchip/mpfs_icicle/genimage.cfg: drop legacy gpt = true | expand

Commit Message

Peter Korsgaard Jan. 26, 2024, 10:09 a.m. UTC
Genimage complains about the config using the deprecated gpt option:

INFO: hdimage(sdcard.img): The option 'gpt' is deprecated.  Use
'partition-table-type' instead

So change to partition-table-type for consistency with the other configs.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 board/microchip/mpfs_icicle/genimage.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

yegorslists--- via buildroot Jan. 26, 2024, 12:44 p.m. UTC | #1
On Fri, 2024-01-26 at 11:09 +0100, Peter Korsgaard wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know
> the content is safe
> 
> Genimage complains about the config using the deprecated gpt option:
> 
> INFO: hdimage(sdcard.img): The option 'gpt' is deprecated.  Use
> 'partition-table-type' instead
> 
> So change to partition-table-type for consistency with the other
> configs.

Hi Peter,

Thanks for the update.

Jamie.

> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Tested-by: Jamie Gibbons <jamie.gibbons@microchip.com>
> ---
>  board/microchip/mpfs_icicle/genimage.cfg | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/microchip/mpfs_icicle/genimage.cfg
> b/board/microchip/mpfs_icicle/genimage.cfg
> index 6955d3365a..9282c9ce5f 100644
> --- a/board/microchip/mpfs_icicle/genimage.cfg
> +++ b/board/microchip/mpfs_icicle/genimage.cfg
> @@ -15,7 +15,7 @@ image boot.vfat {
> 
>  image sdcard.img {
>         hdimage {
> -               gpt = true
> +               partition-table-type = "gpt"
>         }
> 
>         partition uboot {
> --
> 2.39.2
>
Peter Korsgaard Jan. 26, 2024, 4:02 p.m. UTC | #2
>>>>>   <Jamie.Gibbons@microchip.com> writes:

 > On Fri, 2024-01-26 at 11:09 +0100, Peter Korsgaard wrote:
 >> EXTERNAL EMAIL: Do not click links or open attachments unless you know
 >> the content is safe
 >> 
 >> Genimage complains about the config using the deprecated gpt option:
 >> 
 >> INFO: hdimage(sdcard.img): The option 'gpt' is deprecated.  Use
 >> 'partition-table-type' instead
 >> 
 >> So change to partition-table-type for consistency with the other
 >> configs.

 > Hi Peter,

 > Thanks for the update.

 > Jamie.

 >> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
 > Tested-by: Jamie Gibbons <jamie.gibbons@microchip.com>

Committed, thanks.
diff mbox series

Patch

diff --git a/board/microchip/mpfs_icicle/genimage.cfg b/board/microchip/mpfs_icicle/genimage.cfg
index 6955d3365a..9282c9ce5f 100644
--- a/board/microchip/mpfs_icicle/genimage.cfg
+++ b/board/microchip/mpfs_icicle/genimage.cfg
@@ -15,7 +15,7 @@  image boot.vfat {
 
 image sdcard.img {
 	hdimage {
-		gpt = true
+		partition-table-type = "gpt"
 	}
 
 	partition uboot {