26 Feb, 2018
1 commit
-
Migrate the users of CONFIG_SYS_BOOTCOUNT_ADDR to Kconfig. We can
provide a default for BOOTCOUNT_AM33XX as that's a specific part of the
RTC in use. We can also provide a default for ARCH_LS1043A and
ARCH_LS1021A as they had been previously calculated and their symbols
are in Kconfig. In the case of other QE-enabled platforms, they are not
so we must update the relevant defconfig files. The previous default
only applied in some cases, even on a specific SoC family.Reviewed-by: Lukasz Majewski
Reviewed-by: Alex Kiernan
Signed-off-by: Tom Rini
24 Feb, 2018
2 commits
-
This converts the following to Kconfig:
CONFIG_BOOTCOUNT_EXTSigned-off-by: Alex Kiernan
-
This converts the following to Kconfig:
CONFIG_BOOTP_BOOTPATH
CONFIG_BOOTP_DNS
CONFIG_BOOTP_GATEWAY
CONFIG_BOOTP_HOSTNAME
CONFIG_BOOTP_PXE
CONFIG_BOOTP_SUBNETMASK
CONFIG_CMDLINE_EDITING
CONFIG_AUTO_COMPLETE
CONFIG_SYS_LONGHELP
CONFIG_SUPPORT_RAW_INITRD
CONFIG_ENV_VARS_UBOOT_CONFIGSigned-off-by: Adam Ford
[trini: Re-run the migration]
Signed-off-by: Tom Rini
15 Feb, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_BOOTCOUNT_LIMITSigned-off-by: Lukasz Majewski
Tested-by: Alex Kiernan
Reviewed-by: Hannes Schmelzer
Acked-by: Hannes Schmelzer
14 Feb, 2018
1 commit
-
Signed-off-by: Tuomas Tynkkynen
11 Feb, 2018
1 commit
-
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
08 Feb, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_MXC_GPIOSigned-off-by: Adam Ford
04 Feb, 2018
10 commits
-
Validate the time at startup:
- in case rtc error add to kernel command line RTC_ERROR
- clamp date to 1-Jan-2036Signed-off-by: Nandor Han
Signed-off-by: Martyn Welch
Signed-off-by: Sebastian Reichel -
The exact definition of a successful boot is defined by user-space.
Determine the boot partition automatically. A partition is selected if
file `/boot/bootcause/firstboot' exists (meaning that the partition has
freshly installed software) OR if file `/boot/fitImage' exists.When userspace determines that new software was successfully installed,
it must (1) delete `/boot/fitImage' on the _inactive_ partition and (2)
remove `/boot/bootcause/firstboot'.Enable video, but do not display logos or other version information.
Silence kernel console logging by default.Print a message to VGA screen in case of boot failure and reset bootcount
to allow the user to attempt boot again.Signed-off-by: Ian Ray
Signed-off-by: Martyn Welch
Signed-off-by: Sebastian Reichel -
Change the kernel command line to mount the root filesystem read-only in
order to be able to run filesystem check on it on boot.Signed-off-by: Hannu Lounento
Signed-off-by: Martyn Welch
Signed-off-by: Sebastian Reichel -
Enable bootcount using an EXT file.
Signed-off-by: Ian Ray
Signed-off-by: Martyn Welch
Signed-off-by: Sebastian Reichel -
Read boot script from shared partition, if available.
Signed-off-by: Ian Ray
Signed-off-by: Martyn Welch
Signed-off-by: Sebastian Reichel -
Modify configuration to support FIT. Set variable `confidx' from VPD,
in order to load the correct device tree. Modify/simplify U-Boot
environment to support loading FIT image.Signed-off-by: Ian Ray
Signed-off-by: Martyn Welch
Signed-off-by: Sebastian Reichel -
Enable the hardware watchdog on bx50v3 to cause it to reset in the event
the board hangs.Configure GPIO_9 pin as WDOG1_B so that a watchdog timeout results in a
full system reset.The watchdog is used and reconfigured by systemd approximately 1.7 seconds
into boot. Adding a few seconds for U-Boot and a few more seconds as a
safety margin.Note that the PCIe controller is _not_ put back into a safe state prior
to board reset. This is a problem if board reset is implemented as CPU
reset.Signed-off-by: Ian Ray
Signed-off-by: Martyn Welch
Signed-off-by: Sebastian Reichel -
Instead of programming the hardware directly in the board
implementation, follow the flow documented in doc/README.enetaddr: set
the enet[0-9]*addr environment variable and let the driver program the
hardware.This avoids duplicating the implementation as it already exists in the
driver (drivers/net/fec_mxc.c: fec_set_hwaddr).The mapping from the driver's index to the environment variable's name
is documented in README: Note for Redundant Ethernet Interfaces. It is
assumed that eth_devices for the controllers on the board are always
indexed in the same order, i.e. FEC always has the index 2.The FEC driver does *not* set the flag Set MAC Address on Transmit (bit
set_eth0_mac_address used to do but this is unnecessary as the Linux
networking stack fills in the MAC address.Signed-off-by: Hannu Lounento
Signed-off-by: Ian Ray
Signed-off-by: Martyn Welch
Signed-off-by: Sebastian Reichel -
Modify b450v3, b650v3 and b850v3 defconfigs to enable the network devices
found in these products.Signed-off-by: Ian Ray
Signed-off-by: Martyn Welch
Signed-off-by: Sebastian Reichel -
The change in i2c configuration added to support access to the VPD has
inadvertantly caused access to i2c buses 1 & 2 to be lost. This has
resulted in the configuration for the PMIC to be attempted on the wrong
bus and thus isn't taking effect.Add the required configuration to return access to buses 1 & 2. In order
to ensure that any users of the bus numbering prior to addition in VPD
patches work, add buses before configuration related to mux on bus 0 and
tweak VPD bus usage to fit new numbering scheme.Signed-off-by: Martyn Welch
Signed-off-by: Sebastian Reichel
02 Feb, 2018
1 commit
-
This commit moves USB_FUNCTION_MASS_STORAGE config to Kconfig.
Signed-off-by: Lukasz Majewski
Reviewed-by: Jaehoon Chung
13 Dec, 2017
2 commits
-
This symbol enables some library code used by various SATA drivers,
so make this a non-user-visible symbol select'ed by the respective
drivers, and let moveconfig handle the rest.Signed-off-by: Tuomas Tynkkynen
-
Signed-off-by: Tuomas Tynkkynen
20 Sep, 2017
1 commit
-
Define i2c mux configuration. Add new vpd_reader which is used to read
vital product data. Read VPD from EEPROM and set eth0 MAC address.Signed-off-by: Ian Ray
Signed-off-by: Jose Alarcon
11 Sep, 2017
1 commit
-
MX6Q/QP IPU operates at 264MHz and MX6DL IPU at 198MHz.
When running a SPL target, which supports multiple MX6 variants we cannot
properly setup the IPU clock frequency via CONFIG_IPUV3_CLK option as
such decision is done in build-time currently.Remove the CONFIG_IPUV3_CLK option and let the IPU clock frequency be
configured in run-time on mx6.Reported-by: Eric Nelson
Signed-off-by: Fabio Estevam
Reviewed-by: Eric Nelson
Reviewed-by: Stefano Babic
[agust: fixed #endif in cgtqmx6eval.h]
Signed-off-by: Anatolij Gustschin
04 Sep, 2017
2 commits
-
This commit removes definitions of CONFIG_SYS_BARGSIZE defined to be
equal to CONFIG_SYS_CBSIZE in numerous configuration files.We remove such definitions in two situations:
- CONFIG_SYS_CBSIZE is otherwise not defined in the board
configuration file, which means the default value of
CONFIG_SYS_CBSIZE == 256 applies. In this case, the default value
of CONFIG_SYS_BARGSIZE == 512 (common/image.c) is suitable, as it is
larger.- CONFIG_SYS_CBSIZE is defined in the board configuration file, but
to a value equal or less than 512. In this case, the default value
of CONFIG_SYS_BARGSIZE == 512 (common.image.c) is suitable, as it
is equal or larger.Signed-off-by: Thomas Petazzoni
Reviewed-by: Tom Rini -
Now that the fallback value of CONFIG_SYS_PBSIZE in
include/config_fallbacks.h has been adjusted, remove its definition
from a large number of board configuration files.Signed-off-by: Thomas Petazzoni
Reviewed-by: Tom Rini
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
12 Aug, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_CMD_PCISigned-off-by: Simon Glass
Reviewed-by: Bin Meng
Reviewed-by: Philipp Tomsich
08 Aug, 2017
1 commit
-
Signed-off-by: Alexandru Gagniuc
Acked-by: Joe Hershberger
26 Jul, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_ENV_IS_IN_SPI_FLASHSigned-off-by: Simon Glass
12 Jul, 2017
1 commit
-
Change is consistent with other SOCs and it is in preparation
for adding SOMs. SOC's related files are moved from cpu/ to
mach-imx/.This change is also coherent with the structure in kernel.
Signed-off-by: Stefano Babic
CC: Fabio Estevam
CC: Akshay Bhat
CC: Ken Lin
CC: Marek Vasut
CC: Heiko Schocher
CC: "Sébastien Szymanski"
CC: Christian Gmeiner
CC: Stefan Roese
CC: Patrick Bruenn
CC: Troy Kisky
CC: Nikita Kiryanov
CC: Otavio Salvador
CC: "Eric Bénard"
CC: Jagan Teki
CC: Ye Li
CC: Peng Fan
CC: Adrian Alonso
CC: Alison Wang
CC: Tim Harvey
CC: Martin Donnelly
CC: Marcin Niestroj
CC: Lukasz Majewski
CC: Adam Ford
CC: "Albert ARIBAUD (3ADEV)"
CC: Boris Brezillon
CC: Soeren Moch
CC: Richard Hu
CC: Wig Cheng
CC: Vanessa Maegima
CC: Max Krummenacher
CC: Stefan Agner
CC: Markus Niebel
CC: Breno Lima
CC: Francesco Montefoschi
CC: Jaehoon Chung
CC: Scott Wood
CC: Joe Hershberger
CC: Anatolij Gustschin
CC: Simon Glass
CC: "Andrew F. Davis"
CC: "Łukasz Majewski"
CC: Patrice Chotard
CC: Nobuhiro Iwamatsu
CC: Hans de Goede
CC: Masahiro Yamada
CC: Stephen Warren
CC: Andre Przywara
CC: "Álvaro Fernández Rojas"
CC: York Sun
CC: Xiaoliang Yang
CC: Chen-Yu Tsai
CC: George McCollister
CC: Sven Ebenfeld
CC: Filip Brozovic
CC: Petr Kulhavy
CC: Eric Nelson
CC: Bai Ping
CC: Anson Huang
CC: Sanchayan Maity
CC: Lokesh Vutla
CC: Patrick Delaunay
CC: Gary Bisson
CC: Alexander Graf
CC: u-boot@lists.denx.de
Reviewed-by: Fabio Estevam
Reviewed-by: Christian Gmeiner
22 May, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_CMD_FUSESigned-off-by: Simon Glass
16 May, 2017
2 commits
-
The following options are migrated over fully now:
- USB_EHCI_ATMEL
- USB_EHCI_MARVELL
- USB_EHCI_MX6
- USB_EHCI_MX7
- USB_EHCI_MSM
- USB_EHCI_ZYNQ
- USB_EHCI_GENERICThis also requires fixing the depends on USB_EHCI_MARVELL as it's used
by Orion5X and Kirkwood as well.Cc: Marek Vasut
Signed-off-by: Tom Rini
Reviewed-by: Marek Vasut -
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
30 Apr, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_CMD_BMODESigned-off-by: Simon Glass
[trini: Make this default y and depend on mx5/6/7]
Signed-off-by: Tom Rini
07 Apr, 2017
1 commit
-
With d53ecad92f06 some unused interrupt related code was removed.
However all of these options are currently unused. Rather than migrate
some of these options to Kconfig we just remove the code in question.The only related code changes here are that in some cases we use
CONFIG_STACKSIZE in non-IRQ related context. In these cases we rename
and move the value local to the code in question.Fixes: d53ecad92f06 ("Merge branch 'master' of git://git.denx.de/u-boot-sunxi")
Signed-off-by: Tom Rini
20 Mar, 2017
1 commit
-
Move this in to Kconfig with a default of 115200.
Signed-off-by: Philipp Tomsich
[trini: Run moveconfig.py, reword commit slightly]
Signed-off-by: Tom Rini
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
31 Jan, 2017
1 commit
-
Now, CONFIG_GENERIC_MMC seems equivalent to CONFIG_MMC.
Let's create an entry for "config GENERIC_MMC" with "default MMC",
then convert all macro defines in headers to Kconfig. Almost all
of the defines will go away.I see only two exceptions:
configs/blanche_defconfig
configs/sandbox_noblk_defconfigThey define CONFIG_GENERIC_MMC, but not CONFIG_MMC. Something
might be wrong with these two boards, so should be checked later.Anyway, this is the output of the moveconfig tool.
This commit was created as follows:
[1] create a config entry in drivers/mmc/Kconfig
[2] tools/moveconfig.py -r HEAD GENERIC_MMC
[3] manual clean-up of garbage comments in doc/README.* and
include/configs/*.hSigned-off-by: Masahiro Yamada
Reviewed-by: Tom Rini
28 Jan, 2017
1 commit
-
Signed-off-by: Patrick Delaunay
Signed-off-by: Patrick Delaunay
26 Jan, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_BOARD_EARLY_INIT_FSigned-off-by: Simon Glass