26 Aug, 2019
1 commit
-
This converts the following to Kconfig:
CONFIG_SYS_SPI_U_BOOT_OFFSSigned-off-by: Hannes Schmelzer
[trini: Expose this for SPL_SPI_SUNXI for now]
Signed-off-by: Tom Rini
30 Apr, 2019
1 commit
-
Moved CONFIG_SPL_TEXT_BASE to common/spl/Kconfig and migrate existing
values.Signed-off-by: Simon Goldschmidt
[trini: Re-run migration]
Signed-off-by: Tom Rini
10 Apr, 2019
1 commit
-
Increase the USB power good delay on Alt, this is required with
certain USB sticks, otherwise they might not be detected.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
04 Dec, 2018
1 commit
-
Convert all Renesas R-Car boards to bootm_size of 256 MiB and drop both
fdt_high and initrd_high. This change implies that the FDT and initrd
will always be copied into the first 256 MiB of RAM instead of being
used in place, which can cause various kinds of inobvious problems.The simpler problems include FDT or initrd being overwritten or being
used from unaligned addresses, especially on ARM64. The overhead of
copying the FDT to aligned location is negligible and these problems
go away, so the benefit is significant.Regarding alignment problems with fitImage. The alignment of DT properties
is always 32 bits, which implies that the alignment of the "data" property
in fitImage is also 32 bits. The /incbin/ syntax plays no role here. The
kernel expects all elements, including DT and initrd, to be aligned to
64 bits on ARM64, thus using them in place may not be possible. Using the
bootm_size assures correct alignment, again with negligible overhead.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
Cc: Tom Rini
15 Sep, 2018
2 commits
-
The R-Car Gen2 feeds the TMU with CONFIG_SYS_CLK_FREQ / 2,
while the old SH parts use CONFIG_SYS_CLK_FREQ directly.
Just put this into the TMU implementation and drop the
CONFIG_SH_TMU_CLK_FREQ config option.Signed-off-by: Marek Vasut
-
This constant is always 4 , for all boards that exist. Define it
once in arch/sh/lib/time.c and remove it from the configs.Signed-off-by: Marek Vasut
07 May, 2018
1 commit
-
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents. There's also a few places where I found we did not have a tag
and have introduced one.Signed-off-by: Tom Rini
02 May, 2018
2 commits
-
The DEBUG macro is never defined unless explicitly enabled.
Drop useless #undef DEBUG in the board configs so it won't
spread any further.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Convert the symbol to Kconfig, no functional change.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
28 Apr, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_SPIThis partly involves updating code that assumes that CONFIG_SPI implies
things that are specific to the MPC8xx SPI driver. For now, just update
the CONFIG tests. This also involves reworking the default for
CONFIG_SYS_DEF_EEPROM_ADDR so that we don't set it when we cannot make a
reasonable default, as it does not cause any compile failures.Signed-off-by: Adam Ford
Signed-off-by: Tom Rini
26 Apr, 2018
1 commit
-
The E2 Alt port was broken since some time. This patch updates
the E2 Alt port to use modern frameworks, DM, DT probing, SPL
for the preloading and puts it on par with the M2 Porter board.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
22 Apr, 2018
1 commit
-
Migrate the U-Boot configs to Kconfig CONFIG_SH_MMCIF .
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
Cc: Jaehoon Chung
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
25 Jan, 2018
1 commit
-
Convert these configuration options to Kconfig, update board defconfigs
and drop them from whitelist.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
16 Jan, 2018
1 commit
-
This adds SH_ETHER to drivers/net/Kconfig and convert to Kconfig.
Signed-off-by: Nobuhiro Iwamatsu
Acked-by: Joe Hershberger
08 Aug, 2017
2 commits
-
Signed-off-by: Alexandru Gagniuc
Acked-by: Joe Hershberger -
Signed-off-by: Alexandru Gagniuc
Acked-by: Joe Hershberger
03 Aug, 2017
1 commit
-
Convert the SH Serial to Kconfig using tools/moveconfig.py tool
and a bit of manual adjustment to cater for failed conversions.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu
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
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
30 Dec, 2016
1 commit
-
Commit 7a777f6d6f35 ("mmc: Add generic Kconfig option") created
a Kconfig entry for this option without any actual moves, then
commit 44c798799f66 ("sunxi: Use Kconfig CONFIG_MMC") moved
instances only for SUNXI.We generally do not like such partial moves. This kind of work
is automated by tools/moveconfig.py, so it is pretty easy to
complete this move.I am adding "default ARM || PPC || SANDBOX" (suggested by Tom).
This shortens the configs and will ease new board porting.This commit was created as follows:
[1] Edit Kconfig (remove the "depends on", add the "default",
copy the prompt and help message from Linux)[2] Run 'tools/moveconfig.py -y -s -r HEAD MMC'
Signed-off-by: Masahiro Yamada
Reviewed-by: Jaehoon Chung
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 Aug, 2016
1 commit
-
Signed-off-by: Nobuhiro Iwamatsu
26 Apr, 2016
2 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
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
02 Jul, 2015
1 commit
-
This commit moves:
- CONFIG_SPI_FLASH_BARfrom include/configs/*.h into configs/*_defconfigs
Signed-off-by: Jagan Teki
26 Jun, 2015
1 commit
-
Some archs/boards specify their own default by pre-defining the config
which causes the Kconfig system to mix up the order of the configs in
the defconfigs... This will cause merge pain if allowed to proliferate.Remove the configs that behave this way from the archs.
A few configs still remain, but that is because they only exist as
defaults and do not have a proper Kconfig entry. Those appear to be:SPIFLASH
DISPLAY_BOARDINFOSigned-off-by: Joe Hershberger
[trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates,
drop DM_USB from MSI_Primo81 as USB_MUSB_SUNXI isn't converted yet to DM]
Signed-off-by: Tom Rini
02 Jun, 2015
1 commit
-
CONFIG_NET_MULTI is not used anywhere and thus can safely be removed
from the configs.Acked-by: Marek Vasut
Acked-by: Viresh Kumar
Signed-off-by: Lars Poeschel
25 Feb, 2015
2 commits
-
Alt board has two SDHI port.
This adds GPIO configuration and initialization function of SDHI, and
enables MMC command.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu -
This adds drivers model support of serial port to Alt board,
and migrate serial port to drivers model.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu
10 Dec, 2014
1 commit
-
Alt board has been connected to eMMC of 8GB to MMC port.
This enables MMC port and MMC command.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu
05 Dec, 2014
1 commit
-
This stops clock except INTC-RT, MSIF, INTC-SYS, IRQC and SCIF before
kernel boots.Signed-off-by: Hisashi Nakamura
Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu
17 Nov, 2014
1 commit
-
Common part of config for lager, koelsch, alt and gose board will be able to
replace rcar-gen2-common.h.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu
10 Nov, 2014
3 commits
-
Change clock of SCIF for Alt board is used to external clock.
This changes to using external clock.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu -
R-Car SoCs of rmobile have same IP of sh-i2c, and have same address.
This moves sh-i2c of the address defined to rcar-base.h as common header of
R-Car SoCs, and headers of each SoCs.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu -
Alt board does not use board_late_init function.
This removes this function and define of BOARD_LATE_INIT from config.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu