Skip to content

Commit

Permalink
u-boot: whitelist USB_DWC3 config
Browse files Browse the repository at this point in the history
The CONFIG_USB_DWC3 ad-hoc config needs to be whitelisted to avoid the
following build failure:

| Error: You must add new CONFIG options using Kconfig
| The following new ad-hoc CONFIG options were detected:
| CONFIG_USB_DWC3

Changelog-entry: Fix u-boot compilation error by whitelisting config
entries
Signed-off-by: Alex Gonzalez <[email protected]>
  • Loading branch information
alexgg committed Oct 2, 2023
1 parent 5d12252 commit 6548236
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
From d3fc7f0c8085bcc5296dcd3a604f3b268dd78ee9 Mon Sep 17 00:00:00 2001
From: Alex Gonzalez <[email protected]>
Date: Thu, 27 Apr 2023 18:09:25 +0200
Subject: [PATCH] config_whitelist: add CONFIG_USB_DWC3

Addresses the following build error:

| Error: You must add new CONFIG options using Kconfig
| The following new ad-hoc CONFIG options were detected:
| CONFIG_USB_DWC3

Signed-off-by: Alex Gonzalez <[email protected]>
---
scripts/config_whitelist.txt | 1 +
1 file changed, 1 insertion(+)

diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index de92384d4015..aaab74464b20 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -4990,6 +4990,7 @@ CONFIG_USB_DEVICE
CONFIG_USB_DEV_BASE
CONFIG_USB_DEV_PULLUP_GPIO
CONFIG_USB_DWC2_REG_ADDR
+CONFIG_USB_DWC3
CONFIG_USB_EHCI_ARMADA100
CONFIG_USB_EHCI_BASE
CONFIG_USB_EHCI_BASE_LIST

0 comments on commit 6548236

Please sign in to comment.