diff mbox series

phycore_pcl063: Drop leading zero from USB vendor number

Message ID 20240325135230.1777213-1-festevam@gmail.com
State Accepted
Commit b53005cafc775ba95f88913569219924482ebddd
Delegated to: Fabio Estevam
Headers show
Series phycore_pcl063: Drop leading zero from USB vendor number | expand

Commit Message

Fabio Estevam March 25, 2024, 1:52 p.m. UTC
CONFIG_USB_GADGET_VENDOR_NUM is a 16-bit number, so remove
the leading zero.

Reported-by: Marek Vasut <marex@denx.de>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 configs/phycore_pcl063_defconfig     | 2 +-
 configs/phycore_pcl063_ull_defconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Marek Vasut March 25, 2024, 2:01 p.m. UTC | #1
On 3/25/24 2:52 PM, Fabio Estevam wrote:
> CONFIG_USB_GADGET_VENDOR_NUM is a 16-bit number, so remove
> the leading zero.
> 
> Reported-by: Marek Vasut <marex@denx.de>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
>   configs/phycore_pcl063_defconfig     | 2 +-
>   configs/phycore_pcl063_ull_defconfig | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/configs/phycore_pcl063_defconfig b/configs/phycore_pcl063_defconfig
> index 6b00df1cffb3..017054a8e12b 100644
> --- a/configs/phycore_pcl063_defconfig
> +++ b/configs/phycore_pcl063_defconfig
> @@ -63,7 +63,7 @@ CONFIG_USB=y
>   CONFIG_SPL_USB_HOST=y
>   CONFIG_USB_GADGET=y
>   CONFIG_USB_GADGET_MANUFACTURER="Phytec"
> -CONFIG_USB_GADGET_VENDOR_NUM=0x01b67
> +CONFIG_USB_GADGET_VENDOR_NUM=0x1b67
>   CONFIG_USB_GADGET_PRODUCT_NUM=0x4fff
>   CONFIG_CI_UDC=y
>   CONFIG_USB_GADGET_DOWNLOAD=y
> diff --git a/configs/phycore_pcl063_ull_defconfig b/configs/phycore_pcl063_ull_defconfig
> index 6195fcfb73df..b3da43a5bf1e 100644
> --- a/configs/phycore_pcl063_ull_defconfig
> +++ b/configs/phycore_pcl063_ull_defconfig
> @@ -54,7 +54,7 @@ CONFIG_USB=y
>   CONFIG_SPL_USB_HOST=y
>   CONFIG_USB_GADGET=y
>   CONFIG_USB_GADGET_MANUFACTURER="Phytec"
> -CONFIG_USB_GADGET_VENDOR_NUM=0x01b67
> +CONFIG_USB_GADGET_VENDOR_NUM=0x1b67

Reviewed-by: Marek Vasut <marex@denx.de>

+CC Yamada-san , can Kconfig somehow sanitize 16bit numbers like this ?
Fabio Estevam March 30, 2024, 7:44 p.m. UTC | #2
On Mon, Mar 25, 2024 at 10:52 AM Fabio Estevam <festevam@gmail.com> wrote:
>
> CONFIG_USB_GADGET_VENDOR_NUM is a 16-bit number, so remove
> the leading zero.
>
> Reported-by: Marek Vasut <marex@denx.de>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Applied to u-boot-imx/next, thanks.
diff mbox series

Patch

diff --git a/configs/phycore_pcl063_defconfig b/configs/phycore_pcl063_defconfig
index 6b00df1cffb3..017054a8e12b 100644
--- a/configs/phycore_pcl063_defconfig
+++ b/configs/phycore_pcl063_defconfig
@@ -63,7 +63,7 @@  CONFIG_USB=y
 CONFIG_SPL_USB_HOST=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Phytec"
-CONFIG_USB_GADGET_VENDOR_NUM=0x01b67
+CONFIG_USB_GADGET_VENDOR_NUM=0x1b67
 CONFIG_USB_GADGET_PRODUCT_NUM=0x4fff
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
diff --git a/configs/phycore_pcl063_ull_defconfig b/configs/phycore_pcl063_ull_defconfig
index 6195fcfb73df..b3da43a5bf1e 100644
--- a/configs/phycore_pcl063_ull_defconfig
+++ b/configs/phycore_pcl063_ull_defconfig
@@ -54,7 +54,7 @@  CONFIG_USB=y
 CONFIG_SPL_USB_HOST=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Phytec"
-CONFIG_USB_GADGET_VENDOR_NUM=0x01b67
+CONFIG_USB_GADGET_VENDOR_NUM=0x1b67
 CONFIG_USB_GADGET_PRODUCT_NUM=0x4fff
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y