06 May, 2020
3 commits
-
The i2c gpio mux is not enabled, this causes i2c3 not work and all
io expander devices on i2c3 not work. So we will meet such as
"usb start" fail due to the VBUS is not power up.The patch add the i2c mux and i2c gpio mux configs. And remove codes of
controlling i2c steering from board, since i2c gpio mux does same thing.Signed-off-by: Ye Li
Reviewed-by: Peng Fan
(cherry picked from commit 39183dc231e12c3072ffd9a37ac6a6616178e263) -
Modify defconfig files to enable fastboot in mx6qpsabre SDB/ARD boards
Signed-off-by: Joakim Zhang
Signed-off-by: Ye Li
(cherry picked from commit 2de4c0110145b07009bb19ca5dfd809bb554369b) -
Add defconfigs to support various boot devices and platforms
for MX6DQ/DQP/DL/S sabreauto and sabresd boards.Signed-off-by: Ye Li
(cherry picked from commit d88863b467d2aebc802d634dcc96060f5af45414)
(cherry picked from commit 1a3fe19c2cf1b2147813c14b177f3d99d39f4b70)
12 Jul, 2017
1 commit
-
As mx6sabreauto supports SPL now, all variants can boot using the same
defconfig.This patch:
- Removes non-SPL targets.
- Renames target to mx6sabreauto_defconfig.
- Renames folder and board files to mx6sabreauto.
- Updates MAINTAINERS, Makefile and Kconfig accordingly.
- Removes .cfg files.
- Adds a README with instructions to build and flash SPL and u-boot.img.Signed-off-by: Vanessa Maegima
Reviewed-by: Fabio Estevam
Reviewed-by: Stefano Babic
13 Feb, 2017
1 commit
-
We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is
not completed. Finish this work by the tool.During this move, let's rename it to CONFIG_MTD_NOR_FLASH.
Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH"
than those of "#ifdef CONFIG_SYS_NO_FLASH". Flipping the logic will
make the code more readable. Besides, negative meaning symbols do
not fit in obj-$(CONFIG_...) style Makefiles.This commit was created as follows:
[1] Edit "default n" to "default y" in the config entry in
common/Kconfig.[2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH"
[3] Rename the instances in defconfigs by the following:
find . -path './configs/*_defconfig' | xargs sed -i \
-e '/CONFIG_SYS_NO_FLASH=y/d' \
-e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/'[4] Change the conditionals by the following:
find . -name '*.[ch]' | xargs sed -i \
-e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \
-e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \
-e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \
-e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/'[5] Modify the following manually
- Rename the rest of instances
- Remove the description from README
- Create the new Kconfig entry in drivers/mtd/Kconfig
- Remove the old Kconfig entry from common/Kconfig
- Remove the garbage comments from include/configs/*.hSigned-off-by: Masahiro Yamada
24 Jan, 2017
1 commit
-
This option should not really be user selectable. Note that on PowerPC
we currently only need BOARD_LATE_INIT when CHAIN_OF_TRUST is enabled so be
conditional on that.Signed-off-by: Tom Rini
Acked-by: Masahiro Yamada (for UniPhier)
22 Jan, 2017
1 commit
-
Cc: Tom Rini
Signed-off-by: Jagan Teki
24 Oct, 2016
4 commits
-
This converts the following to Kconfig:
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINESigned-off-by: Simon Glass
Reviewed-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_VIDEO_SW_CURSORSigned-off-by: Simon Glass
Reviewed-by: Tom Rini
[trini: Re-convert, find all the cases where this is off]
Signed-off-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_SYS_CONSOLE_IS_IN_ENV
CONFIG_CONSOLE_MUXSigned-off-by: Simon Glass
[trini: Re-order, re-migrate]
Signed-off-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_VIDEOSigned-off-by: Simon Glass
Reviewed-by: Tom Rini
Reviewed-by: Jagan Teki
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
10 Sep, 2016
1 commit
-
In some cases we were missing CONFIG_USB=y so enable that when needed.
Reviewed-by: Masahiro Yamada
Signed-off-by: Tom Rini
17 Jun, 2016
1 commit
-
With updated moveconfig.py and an better default, re-generate
the migration of BOOTDELAY to the defconfig.Reviewed-by: Hans de Goede
Signed-off-by: Tom Rini
26 Apr, 2016
3 commits
-
Update the config.h and defconfig files for the commands that 8e3c036
converted over to KconfigSigned-off-by: Tom Rini
-
This syncs up the current cmd/Kconfig and include/configs/ files with the
only exception being CMD_NAND. Due to how we have used this historically
we need to take further care here when converting.Signed-off-by: Tom Rini
-
Move all cases of CONFIG_SYS_HUSH_PARSER out of the config.h files. Remove
all cases of CONFIG_SYS_PROMPT_HUSH_PS2 as everyone uses the default.Signed-off-by: Tom Rini
20 Apr, 2016
3 commits
-
And also reformat defconfigs using "make savedefconfig" rule.
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
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
15 Mar, 2016
1 commit
-
Move this option to Kconfig and tidy up existing boards.
Signed-off-by: Simon Glass
25 Nov, 2015
1 commit
-
There are already Kconfig options for SPI flash drivers, but we
have not moved them from config.h to defconfig files. This commit
does this in a batch.Signed-off-by: Bin Meng
19 Nov, 2015
1 commit
-
Add CMD_GPIO to Kconfig and run tools/moveconfig.py .
Signed-off-by: Thomas Chou
Reviewed-by: Simon Glass
02 Sep, 2015
1 commit
-
Move TARGET_xx Kconfig option based on mx6 to arch/arm/cpu/armv7/mx6/Kconfig.
Add enable "CONFIG_ARCH_MX6" for boards based on mx6.
Then we can choose target boards using "make ARCH=arm menuconfig"
with ARCH_MX6 defined.If using original way, we have no chance to enable ARCH_MX6 when
"make menuconfig". Even define CONFIG_ARCH_MX6=y in xx_defconfig,
kconfig will complains "arch/../configs/platinum_titanium_defconfig:3:
warning: override: TARGET_PLATINUM_TITANIUM changes choice state"Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Heiko Schocher
Cc: Tim Harvey
Cc: Eric Bénard
Cc: Fabio Estevam
Cc: Eric Nelson
Cc: Marek Vasut
Cc: Christian Gmeiner
Cc: Stefan Roese
Cc: Soeren Moch
Cc: Otavio Salvador
Acked-by: Stefano Babic
Acked-by: Soeren Moch
Acked-by: Otavio Salvador
Acked-by: Christian Gmeiner
02 Aug, 2015
1 commit
-
1. Add DDR script for mx6qpsabreauto board.
2. On CPU3 board, enet RGMII tx clock is from internal PLL. Set the GPR5[9]
and init the enet pll output to 125Mhz.
3. On CPU3 board, SW1ABC=VDDSOC_IN, SW2=VDDARM_IN.Build target: mx6qpsabreauto_config
Boot Log:
U-Boot 2015.07-rc2-00071-gfd985ff (Jun 29 2015 - 22:10:55 +0800)CPU: Freescale i.MX6QP rev1.0 996 MHz (running at 792 MHz)
CPU: Automotive temperature grade (-40C to 125C) at 34C
Reset cause: POR
Board: MX6Q-Sabreauto revA
I2C: ready
DRAM: 2 GiB
PMIC: PFUZE100 ID=0x10
Flash: 32 MiB
NAND: 0 MiB
MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environmentNo panel detected: default to HDMI
Display: HDMI (1024x768)
In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Hit any key to stop autoboot: 0Note:
In this patch, we still add a new config mx6qpsabreauto_config,
since SPL is not supported now, and IMX_CONFIG is needed at
build time, so add this config. Future, when SPL is converted,
this config can be removed.Signed-off-by: Peng Fan
Signed-off-by: Robin Gong
Signed-off-by: Ye.Li
Reviewed-by: Fabio Estevam