02 Feb, 2018
2 commits
-
This commit moves USB_FUNCTION_MASS_STORAGE config to Kconfig.
Signed-off-by: Lukasz Majewski
Reviewed-by: Jaehoon Chung -
This commit moves USB_FUNCTION_THOR config to Kconfig.
Signed-off-by: Lukasz Majewski
Acked-by: Michal Simek
Reviewed-by: Jaehoon Chung
17 Nov, 2017
1 commit
-
Since CONFIG_DEFAULT_CONSOLE is already started with "console=",
the console argument in CONFIG_EXTRA_ENV_SETTINGS is expanded to
"console=console=ttySAC1,115200n8" and this causes the wrong
console device.#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0"
...
#define CONFIG_EXTRA_ENV_SETTINGS \
"console=" CONFIG_DEFAULT_CONSOLESigned-off-by: Dongjin Kim
Reviewed-by: Simon Glass
04 Oct, 2017
1 commit
-
The g_dnl USB settings for the vendor ID, product ID and manufacturer are
actually common settings that can and should be shared by all the gadgets.Make them common by renaming them, and convert all the users.
Reviewed-by: Simon Glass
Reviewed-by: Lukasz Majewski
Signed-off-by: Maxime Ripard
12 Aug, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_CMD_THOR_DOWNLOADSigned-off-by: Simon Glass
Reviewed-by: Bin Meng
Reviewed-by: Philipp Tomsich
26 Jul, 2017
2 commits
-
This converts the following to Kconfig:
CONFIG_ENV_IS_IN_SPI_FLASHSigned-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_ENV_IS_IN_MMC
CONFIG_ENV_IS_IN_NAND
CONFIG_ENV_IS_IN_UBI
CONFIG_ENV_IS_NOWHEREIn fact this already exists for sunxi as a 'choice' config. However not
all the choices are available in Kconfig yet so we cannot use that. It
would lead to more than one option being set.In addition, one purpose of this series is to allow the environment to be
stored in more than one place. So the existing choice is converted to a
normal config allowing each option to be set independently.There are not many opportunities for Kconfig updates to reduce the size of
this patch. This was tested with./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC
And then manual updates. This is because for CHAIN_OF_TRUST boards they
can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic
now.Signed-off-by: Simon Glass
Signed-off-by: Tom Rini
22 May, 2017
1 commit
-
This subsystem is quite old. It has been replaced with a driver-model
version (UCLASS_THERMAL). Boards are free to convert to that if required,
but here is a removal patch that could be applied in the meantime.Signed-off-by: Simon Glass
Reviewed-by: Heiko Schocher
Reviewed-by: Tom Rini
16 May, 2017
1 commit
-
Migrate the rest of the users of CONFIG_USB_EHCI_HCD over to Kconfig.
For a few SoCs, imply or default y this if USB is enabled. In some
cases we had not already migrated to CONFIG_USB so do that as well.Cc: Marek Vasut
Signed-off-by: Tom Rini
Reviewed-by: Marek Vasut
15 May, 2017
1 commit
-
In order to be able to migrate the various SoC EHCI CONFIG options we
first need to finish the switch from CONFIG_USB_EHCI to
CONFIG_USB_EHCI_HCD.Cc: Marek Vasut
Signed-off-by: Tom Rini
Reviewed-by: Marek Vasut
27 Sep, 2016
1 commit
-
Introduce a hidden USB_FUNCTION_DFU Kconfig option and select it for
CMD_DFU (as we must have the DFU command enabled to do anything DFU).
Make all of the entries in drivers/dfu/Kconfig depend on CMD_DFU and add
options for all of the back end choices that DFU can make use of.Cc: Lukasz Majewski
Signed-off-by: Tom Rini
Acked-by: Lukasz Majewski
20 Sep, 2016
1 commit
-
Move the config IDENT_STRING to Kconfig and migrate all boards
[sivadur: Migrate zynq boards]
Signed-off-by: Siva Durga Prasad Paladugu
[trini: Update configs, add some default to sunxi Kconfig]
Signed-off-by: Tom Rini
26 Apr, 2016
1 commit
-
Update the config.h and defconfig files for the commands that 8e3c036
converted over to KconfigSigned-off-by: Tom Rini
20 Apr, 2016
6 commits
-
And also reformat defconfigs using "make savedefconfig" rule.
Signed-off-by: Sam Protsenko
-
Signed-off-by: Sam Protsenko
-
Description was borrowed from kernel dwc3 Kconfig.
Signed-off-by: Sam Protsenko
-
While at it, remove obsolete CONFIG_USBDOWNLOAD_GADGET option from some
config headers. This is also probably fixes am335x_baltos board.Signed-off-by: Sam Protsenko
-
Move CONFIG_USB_GADGET_DUALSPEED option to Kconfig and
make all UDC controllers select USB_GADGET_DUALSPEED:
- add next options to Kconfig selecting USB_GADGET_DUALSPEED:
- USB_GADGET_ATMEL_USBA
- USB_GADGET_DWC2_OTG
- USB_DWC3
- CI_UDC
- make USB_MUSB_GADGET select USB_GADGET_DUALSPEEDWhile at it, make some related fixes:
- remove DUALSPEED from configs that don't enable gadget support:
- kwb.h
- tseries.h
- add missing USB_GADGET option to next configs:
- novena_defconfig
- pcm051_rev*_defconfig
- xfi3_defconfigSigned-off-by: Sam Protsenko
-
The description was borrowed from kernel. Definitions were added to
defconfig files in a way that "make savedefconfig" generates exactly
the same file as used defconfig.Boards using 0 mA as CONFIG_USB_GADGET_VBUS_DRAW value were moved to use
2 mA (as minimal allowed by Kconfig).Signed-off-by: Sam Protsenko
26 Mar, 2016
1 commit
-
The description was borrowed from kernel. "tristate" type was changed
to "bool" (I believe we don't support modules for u-boot yet, right?).
CONFIG_USB_GADGET requires CONFIG_USB to be defined too, so add it along
as well.Definitions were added to defconfig files in a way that
"make savedefconfig" generates exactly the same file as used defconfig.Signed-off-by: Sam Protsenko
[trini: Add zynq_zc702 conversion]
Signed-off-by: Tom Rini
25 Feb, 2016
1 commit
-
As tested on the Odroid XU3, large files to be stored on the file system
require considerable time to be physically written to the medium.The default 300 ms is not enough to store large file (e.g. 26 MiB).
To fix this situation the DFU_MANIFEST_POLL_TIMEOUT has been defined.It is used to cease the communication with dfu-util and allow the target
board to store the data on file system.Signed-off-by: Lukasz Majewski
02 Nov, 2015
1 commit
-
This commit adds additional file with implementation of board
detection code for Odroid-XU3/XU4.The detection depends on compatible found in fdt:
- "samsung,exynos5" - uses Exynos5 generic code
- "samsung,odroidxu3" - try detect XU3 revisionThere are few revisions of Odroid XU3/XU4, each can be detected
by checking the value of channel 9 of built-in ADC:
Rev ADC Board
0.1 0 XU3 0.1
0.2 372 XU3 0.2 | XU3L - no DISPLAYPORT
0.3 1280 XU4 0.1The detection code depends on the ADC+10% value.
Implementation of functions:
- set_board_type() - read ADC and set type
- get_board_rev() - returns board revision: 1..3
- get_board_type() - returns board type stringAdditional functions with return values of bool:
- board_is_generic() - true if found compatible "samsung,exynos5"
but not "samsung,odroidxu3"
- board_is_odroidxu3() - true if found compatible "samsung,odroidxu3"
and one of XU3 revision.
- board_is_odroidxu4() - true if found compatible "samsung,odroidxu3"
and XU4 revision.After I2C controller init, the get_board_type() can check
if the XU3 board is a "Lite" variant, by probing chip
0x40 on I2C0 (INA231 - exists only on non-lite).
This is useful for setting fdt file name at misc_init_r().Enabled configs:
- CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
- CONFIG_ODROID_REV_AIN
- CONFIG_REVISION_TAG
- CONFIG_BOARD_TYPESSigned-off-by: Przemyslaw Marczak
Cc: Minkyu Kang
Cc: Simon Glass
Tested-by: Anand Moon
Signed-off-by: Minkyu Kang
13 Aug, 2015
1 commit
-
Add option to set shell prompt string from menuconfig and migrate
boards globally.The migration is done as follows:
- Boards that explicitly and unconditionally set CONFIG_SYS_PROMPT had the
entry moved to their defconfig files.
- Boards that defined some kind of #ifdef logic which selects the
CONFIG_SYS_PROMPT (for example qemu-mips) got an #undef CONFIG_SYS_PROMPT
right before the #ifdef logic and were left alone.
- This change forces CONFIG_SYS_PROMPT to be a per board decision, and thus
CONFIG_SYS_PROMPT was removed from all _common.h and _common.h
files. This results in a streamlined default value across platforms, and
includes the following files: spear-common, sunxi-common, mv-common,
ti_armv7_common, tegra-common, at91-sama5_common, and zynq-common.
- Boards that relied on _common.h values of CONFIG_SYS_PROMPT were
not updated in their respective defconfig files under the assumption that
since they did not explicitly define a value, they're fine with whatever
the default is.
- On the other hand, boards that relied on a value defined in some
_common.h file such as woodburn_common, rpi-common,
bur_am335x_common, ls2085a_common, siemens_am33x_common, and
omap3_evm_common, had their values moved to the respective defconfig files.
- The define V_PROMPT was removed, since it is not used anywhere except for
assigning a value for CONFIG_SYS_PROMPT.Cc: Tom Rini
Cc: Masahiro Yamada
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
[trini: Add spring, sniper, smartweb to conversion]
Signed-off-by: Tom Rini
06 Aug, 2015
1 commit
-
Many options are duplicated on the exynos5 boards. Move these to the common
files. Also some options are not used so can be removed.Tidy this up to make the files easier to maintain.
Signed-off-by: Simon Glass
Acked-by: Przemyslaw Marczak
22 Jul, 2015
1 commit
-
This introduces a coherent scheme for naming USB download gadget and functions
config options. The download USB gadget config option is moved to
CONFIG_USB_GADGET_DOWNLOAD for better consistency with other gadgets and each
function's config option is moved to a CONFIG_USB_FUNCTION_ prefix.Signed-off-by: Paul Kocialkowski
Tested-by: Lukasz MajewskiTest HW: Odroid_XU3 (Exynos5422), trats (Exynos4210)
08 Jun, 2015
1 commit
-
This patch enables all functions required to use DFU/THOR and UMS:
- DWC3: core, gadget, Samsung DWC3 PHY
- USB gadget: endpoint autoconf, downloader, DFU, THOR, UMSThe CONFIG_EXTRA_ENV_SETINGS from exynos5-common.h is redefined
and appended by dfu environment setting and some system settings.The boot is still using $distro_boot as previous.
Signed-off-by: Inha Song
Signed-off-by: Lukasz Majewski
Signed-off-by: Joonyoung Shim
Signed-off-by: Przemyslaw Marczak
Cc: Minkyu Kang
04 Mar, 2015
1 commit
-
This commit enables the last DRAM bank and reserves
the last 22 MiB of it, for the secure firmware.Signed-off-by: Przemyslaw Marczak
Cc: Akshay Saraswat
Cc: Hyungwon Hwang
Cc: Minkyu Kang
Signed-off-by: Minkyu Kang
22 Dec, 2014
2 commits
-
Add samsung,vbus-gpio information for the XU3. This allows the usage of
the EHCI controller on the XU3, which is connected to the SMSC LAN9514
chip (usb hub + network).Signed-off-by: Sjoerd Simons
Signed-off-by: Minkyu Kang -
This patch adds support for Odroid-XU3.
Signed-off-by: Hyungwon Hwang
Reviewed-by: Sjoerd Simons
Tested-by: Sjoerd Simons
Acked-by: Simon Glass
Tested-by: Kevin Hilman
Signed-off-by: Minkyu Kang