11 Feb, 2018
2 commits
-
On the NIOS2 and Xtensa architectures, we do not have
CONFIG_SYS_TEXT_BASE set. This is a strict migration of the current
values into the defconfig and removing them from the headers.I did not attempt to add more default values in and for now will leave
that to maintainers.Signed-off-by: Tom Rini
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
06 Feb, 2018
1 commit
-
cmd/Makefile has:
ifdef CONFIG_FPGA
obj-$(CONFIG_CMD_FPGA) += fpga.o
endifwhich means that if CONFIG_FPGA is not set, CONFIG_CMD_FPGA silently
does nothing. Let's remove that Makefile conditional and instead express
this equivalent dependency in Kconfig, so a lot of redundant# CONFIG_CMD_FPGA is not set
can be removed from board defconfigs that don't actually have an FPGA.
Signed-off-by: Tuomas Tynkkynen
29 Jan, 2018
1 commit
-
The bcm283x family of SoCs have a GPIO controller that also acts as
pinctrl controller.This patch introduces a new pinctrl driver that can actually properly mux
devices into their device tree defined pin states and is now the primary
owner of the gpio device. The previous GPIO driver gets moved into a
subdevice of the pinctrl driver, bound to the same OF node.That way whenever a device asks for pinctrl support, it gets it
automatically from the pinctrl driver and GPIO support is still available
in the normal command line phase.Signed-off-by: Alexander Graf
11 Oct, 2017
1 commit
-
Having this as a 'default y' is rather annoying because it doesn't
actually compile unless other options are defined in the board header:../cmd/bootm.c: In function 'do_imls_nor':
../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {Make it 'default n' so people who develop new boards that start from a
blank defconfig have one less compilation failure to debug.Signed-off-by: Tuomas Tynkkynen
27 Sep, 2017
1 commit
-
The choice of "USB keyboard polling" cannot be optional as without
one mechanism being set, it just doesn't work. Set the default one
to CONFIG_SYS_USB_EVENT_POLL.Fixes: ecad7051 ("configs: Migrate all of the existing USB symbols, except fastboot")
Signed-off-by: Bin Meng
08 Sep, 2017
3 commits
-
This migrates ASIX, ASIX88179, MCS7830, RTL8152 and SMSC95XX to Kconfig.
Update defconfigs.Signed-off-by: Chris Packham
Reviewed-by: Simon Glass -
CONFIG_USB_HOST_ETHER is the framework that the drivers are dependent on
USB_HOST_ETHER. Use this as a menu and move the existing LAN75XX and
LAN78XX options under new menu. Finally update the defconfigs that need
CONFIG_USB_HOST_ETHER.Signed-off-by: Chris Packham
Reviewed-by: Simon Glass -
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
07 Sep, 2017
1 commit
-
This reverts commit 25877d4e4c45451c5398aec3de50e0d5befe0e9f.
This is a workaround for Raspberry Pi boot failures seen when passing on
the device tree provided by the Raspberry Pi firmware at boot. Without
CONFIG_OF_EMBED, we just get stuck at "Starting kernel ..." when we try
to boot Linux with this device tree.Signed-off-by: Paul Barker
Cc: Simon Glass
Tested-by: Jonathan Gray
Reviewed-by: Simon Glass
02 Sep, 2017
1 commit
-
This syncs all of the currently Kconfig'd symbols out of the headers and
into the defconfig files. This has two exceptions, first am335x_evm
needs to be converted to DM in SPL and then it can stop undef'ing
CONFIG_DM_USB. Leaving this as-is results in a build failure, and
without work, run time failure. The other case is am43xx_evm.h and in
turn am43xx_evm_usbhost_boot. The problem here is that we need DWC3 USB
host mode in SPL, but still desire to have gadget mode in U-Boot proper.Signed-off-by: Tom Rini
28 Aug, 2017
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
27 Aug, 2017
1 commit
-
This is currently disabled, so USB keyboards are not detected in U-Boot.
Enable this option to fix that.Signed-off-by: Simon Glass
Tested-by: Jonathan Gray
Reviewed-by: Bin Meng
Tested-by: Paul Barker
15 Aug, 2017
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
31 Jul, 2017
1 commit
-
We rename the various FAT_ENV_xxx options to CONFIG_ENV_FAT_xxx so that
they can be modified via Kconfig. Migrate all existing users to the new
values.Signed-off-by: Tom Rini
11 Jul, 2017
1 commit
-
This change migrates the USB_DWC2 configuration item to Kconfig
and runs moveconfig to adjust header files and defconfig.Signed-off-by: Meng Dongyang
Split off into a separate patch:
Ran moveconfig to migrate other boards:
Signed-off-by: Philipp Tomsich
10 Jul, 2017
1 commit
-
Signed-off-by: Tom Rini
07 Jul, 2017
1 commit
-
Raspberry Pi has numerous HAT and other HW expansion options such as screens and
cameras some of which need overlays from the beginning so it makes sense to
enable evice tree overlays.Signed-off-by: Peter Robinson
10 May, 2017
5 commits
-
Adjust the video driver to work with driver model and move over existing
baords. There is no need to keep the old code.We can also drop setting of CONFIG_FB_ADDR since driver model doesn't have
this problem.Signed-off-by: Simon Glass
Acked-by: Anatolij Gustschin -
We should not use an embedded device tree on a production board. There
does not seem to be any reason for it in commit 7670909. So drop this.Signed-off-by: Simon Glass
-
Convert the bcm2835 SDHCI driver over to support CONFIG_DM_MMC and move
all boards over. There is no need to keep the old code since there are no
other users.Reviewed-by: Jaehoon Chung
Signed-off-by: Simon Glass -
Enable CONFIG_DM_ETH so that driver model is used for the USB Ethernet
device.Signed-off-by: Simon Glass
-
Start using driver model for USB on the Raspberry Pi. The dwc2 supports
this now so this is just a config change.Signed-off-by: Simon Glass
01 May, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_SYS_WHITE_ON_BLACKSigned-off-by: Simon Glass
[trini: Make this default y on various SoCs]
Signed-off-by: Tom Rini
30 Dec, 2016
2 commits
-
While I moved the options, I also renamed them so that they are all
prefixed with MMC_SDHCI_.This commit was created in the following steps.
[1] Rename with the following command
find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
-type f -print | xargs sed -i -e '
s/CONFIG_MMC_SDMA/CONFIG_MMC_SDHCI_SDMA/g
s/CONFIG_BCM2835_SDHCI/CONFIG_MMC_SDHCI_BCM2835/g
s/CONFIG_KONA_SDHCI/CONFIG_MMC_SDHCI_KONA/g
s/CONFIG_MV_SDHCI/CONFIG_MMC_SDHCI_MV/g
s/CONFIG_S5P_SDHCI/CONFIG_MMC_SDHCI_S5P/g
s/CONFIG_SPEAR_SDHCI/CONFIG_MMC_SDHCI_SPEAR/g
'[2] create the Kconfig entries in drivers/mmc/Kconfig
[3] Move the options by the following command
tools/moveconfig.py -y MMC_SDHCI_SDMA MMC_SDHCI_BCM2835 \
MMC_SDHCI_KONA MMC_SDHCI_MV MMC_SDHCI_S5P MMC_SDHCI_SPEAR[4] Sort drivers/mmc/Makefile for readability
Signed-off-by: Masahiro Yamada
Reviewed-by: Tom Rini
Reviewed-by: Jaehoon Chung -
Move CONFIG_SDHCI to Kconfig and rename it to CONFIG_MMC_SDHCI.
My motivation for the rename is, ultimately, to make all the MMC
options prefixed with MMC_ and SDHCI options with MMC_SDHCI_,
like Linux.This commit was created as follows:
[1] Rename the config option with the following command:
find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
-type f -print | xargs sed -i -e 's/CONFIG_SDHCI/CONFIG_MMC_SDHCI/g'[2] create the entry for MMC_SDHCI in drivers/mmc/Kconfig
[3] run "tools/moveconfig.py -y MMC_SDHCI"
[4] add "depends on MMC_SDHCI" to existing SDHCI driver entries
Signed-off-by: Masahiro Yamada
Reviewed-by: Tom Rini
Reviewed-by: Jaehoon Chung
04 Dec, 2016
1 commit
-
A number of platforms had been using the distro default feature before
it was moved to Kconfig but did not enable the new Kconfig option when
it was enabled. This caused a regression in terms of features and this
introduces breakage when more things move to Kconfig.Signed-off-by: Tom Rini
29 Nov, 2016
1 commit
-
This patch removes use of U_BOOT_DEVICE in board/raspberrypi/rpi/rpi.c,
enables OF_CONTROL in the config and adjusts the rpi_*defconfig configs.Signed-off-by: Fabian Vogt
Reviewed-by: Simon Glass
24 Oct, 2016
3 commits
-
This converts the following to Kconfig:
CONFIG_USB_KEYBOARDSigned-off-by: Simon Glass
[trini: Fixup MPC86* configs]
Signed-off-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_CONSOLE_SCROLL_LINESSigned-off-by: Simon Glass
Reviewed-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_LCDSigned-off-by: Simon Glass
Reviewed-by: Tom Rini
Reviewed-by: Jagan Teki
12 Oct, 2016
2 commits
-
Create a Kconfig entry for DISPLAY_BOARDINFO and make it be the default
in certain architectures. Migrate all config files.Signed-off-by: Lokesh Vutla
Signed-off-by: Tom Rini -
Create a Kconfig entry for DISPLAY_CPUINFO and make it be the default
in certain architectures. Migrate all config files.Signed-off-by: Lokesh Vutla
Signed-off-by: Tom Rini
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
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
15 Mar, 2016
2 commits
-
There are already two FIT options in Kconfig but the CONFIG options are
still in the header files. We need to do a proper move to fix this.Move these options to Kconfig and tidy up board configuration:
CONFIG_FIT
CONFIG_OF_BOARD_SETUP
CONFIG_OF_SYSTEM_SETUP
CONFIG_FIT_SIGNATURE
CONFIG_FIT_BEST_MATCH
CONFIG_FIT_VERBOSE
CONFIG_OF_STDOUT_VIA_ALIAS
CONFIG_RSAUnfortunately the first one is a little complicated. We need to make sure
this option is not enabled in SPL by this change. Also this option is
enabled automatically in the host builds by defining CONFIG_FIT in the
image.h file. To solve this, add a new IMAGE_USE_FIT #define which can
be used in files that are built on the host but must also build for U-Boot
and SPL.Note: Masahiro's moveconfig.py script is amazing.
Signed-off-by: Simon Glass
[trini: Add microblaze change, various configs/ re-applies]
Signed-off-by: Tom Rini -
Move this option to Kconfig and tidy up existing boards.
Signed-off-by: Simon Glass
14 Jan, 2016
1 commit
-
This patch re-enables the setexpr command, I don't really understand
why it got excluded in the first place.setexpr can be used e.g. to implement failed-boot-counters and
failovers to rescue firmware.Signed-off-by: Marco Schuster