summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-20 02:45:37 +0300
committerTom Rini <trini@konsulko.com>2022-12-06 00:08:37 +0300
commit08d01cda45d60af377e94fca05445d2fac232b8d (patch)
tree3871b30ab1bc552bd9e21123afc5488e21b8e813 /board
parentb43295a27712c136afc68b0cf272e0356474642c (diff)
downloadu-boot-08d01cda45d60af377e94fca05445d2fac232b8d.tar.xz
Nokia RX-51: Migrate legacy USB device options to Kconfig
Move a number of legacy USB UDC options to Kconfig, over from the config header. Cc: Pali Rohár <pali@kernel.org> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board')
-rw-r--r--board/nokia/rx51/Kconfig30
1 files changed, 30 insertions, 0 deletions
diff --git a/board/nokia/rx51/Kconfig b/board/nokia/rx51/Kconfig
index 7cf05077da..c884543a3d 100644
--- a/board/nokia/rx51/Kconfig
+++ b/board/nokia/rx51/Kconfig
@@ -1,5 +1,35 @@
if TARGET_NOKIA_RX51
+config USB_DEVICE
+ def_bool y
+ help
+ Legacy UDC device support
+
+config USB_TTY
+ def_bool y
+ help
+ Legacy tty type of device available to talk to the UDC device
+
+config USBD_VENDORID
+ hex
+ default 0x0421
+
+config USBD_PRODUCTID_CDCACM
+ hex
+ default 0x01c8
+
+config USBD_PRODUCTID_GSERIAL
+ hex
+ default 0x01c8
+
+config USBD_MANUFACTURER
+ string
+ default "Nokia"
+
+config USBD_PRODUCT_NAME
+ string
+ default "N900 (U-Boot)"
+
config NR_DRAM_BANKS
default 2