24 Feb, 2018
1 commit
-
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
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
27 Dec, 2017
1 commit
-
Freescale (NXP) boards have lots of defconfig files per board.
I used "imply PANIC_HANG" for them.Signed-off-by: Masahiro Yamada
Reviewed-by: York Sun
19 Dec, 2017
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
28 Nov, 2017
1 commit
-
Print out KERN_NOTICE or higher level log messages.
Signed-off-by: Masahiro Yamada
21 Oct, 2017
2 commits
-
This was dropped by accident in the Kconfig conversion.
Signed-off-by: Tom Rini
-
We add the various SMC91XX symbols to drivers/net/Kconfig and then this
converts the following to Kconfig:
CONFIG_SMC911X
CONFIG_SMC911X_BASE
CONFIG_SMC911X_16_BIT
CONFIG_SMC911X_32_BITSigned-off-by: Adam Ford
[trini: Apply to the rest of the tree, re-squash old and new patch]
Signed-off-by: Tom Rini
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
03 Sep, 2017
1 commit
-
Add the following options to drivers/misc/Kconfig:
SYS_I2C_EEPROM_ADDR
SYS_I2C_EEPROM_BUS
SYS_EEPROM_SIZE
SYS_EEPROM_PAGE_WRITE_BITS
SYS_EEPROM_PAGE_WRITE_DELAY_MS
SYS_I2C_EEPROM_ADDR_LEN
SYS_I2C_EEPROM_ADDR_OVERFLOWThis does not migrate any boards, but provides a foundations for
those who want/need these optionsSigned-off-by: Adam Ford
[trini: Migrate uniphier]
Signed-off-by: Tom Rini
30 Aug, 2017
2 commits
-
This imply was added when the option was moved by the moveconfig tool,
but the intention is not clear. Move it to defconfig.Signed-off-by: Masahiro Yamada
-
Migrate to the DT-based NAND init entry.
Signed-off-by: Masahiro Yamada
15 Aug, 2017
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
01 Aug, 2017
1 commit
-
Migrate all remaining instances of CMD_NAND, CMD_NAND_TRIMFFS
CMD_NAND_LOCK_UNLOCK and CMD_NAND_TORTURE from the headers into the
defconfig files.Tested-by: Adam Ford
Signed-off-by: Tom Rini
Reviewed-by: Bin Meng
26 Jul, 2017
1 commit
-
Enable file system commands such as load, ls.
Signed-off-by: Masahiro Yamada
14 Mar, 2017
1 commit
-
Signed-off-by: Tom Rini
23 Feb, 2017
4 commits
-
This command is useful to see which config options are enabled on
the running U-Boot image.Signed-off-by: Masahiro Yamada
-
Enable CONFIG_CMD_GPT, keeping CONFIG_SPL_EFI_PARTITION because the
SPL for UniPhier platform does not recognize any partitions.Signed-off-by: Masahiro Yamada
-
The SPL for UniPhier platform does not recognize any partitions.
Do not compile unneeded features.Signed-off-by: Masahiro Yamada
-
This feature is seldom used these days on UniPhier boards.
Signed-off-by: Masahiro Yamada
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
2 commits
-
We may want to run different firmware before running U-Boot. For
example, ARM Trusted Firmware runs before U-Boot, making U-Boot
a non-secure world boot loader. In this case, the SoC might be
initialized there, which enables us to skip SPL entirely.This commit removes "select SPL" to make it configurable. This
also enables the Multi SoC support for the UniPhier ARMv8 SoCs.
(CONFIG_ARCH_UNIPHIER_V8_MULTI) Thanks to the driver model and
Device Tree, the U-Boot proper part is now written in a generic way.
The board/SoC parameters reside in DT. The Multi SoC support
increases the memory footprint a bit, but the U-Boot proper does
not have strict memory constraint. This will mitigate the per-SoC
(sometimes per-board) defconfig burden.Signed-off-by: Masahiro Yamada
-
Cc: Tom Rini
Signed-off-by: Jagan Teki
30 Dec, 2016
2 commits
-
Currently, CONFIG_MMC is not related to any other options by
"depends on" or "select". One of big advantages of using Kconfig
is automatic dependency tracking, but the current state is lacking
it. As the first step, make the existing MMC driver entries depend
on MMC.This commit was created by the following steps:
[1] Run the following script:
--------------------8> $d
echo ${d#./configs/} >> tmp.txt
fi
donetools/moveconfig.py -y -s -d tmp.txt
rm tmp.txt
--------------------8
Reviewed-by: Tom Rini
Reviewed-by: Jaehoon Chung -
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 Dec, 2016
1 commit
-
Do not overwrite the memory nodes in the kernel DT where some parts
of the memory region might be carved out.Signed-off-by: Masahiro Yamada
18 Oct, 2016
1 commit
-
Signed-off-by: Masahiro Yamada
22 Sep, 2016
1 commit
-
As I repeated in the ML, I am unhappy with config entries with bare
defaults. Kick them out of arch/arm/mach-uniphier/Kconfig.Currently, CONFIG_SPL_SERIAL_SUPPORT is not user-configurable
(build fails without it), but it should be fixed later anyway,
so I am moving CONFIG_SPL_SERIAL_SUPPORT to defconfigs.Signed-off-by: Masahiro Yamada
Reviewed-by: Tom Rini
20 Sep, 2016
1 commit
-
This reverts commit 90c08d9e08c7a108ab904f3bbdeb558081757892.
I took a closer look at this after the commit was applied, and found
CONFIG_SYS_MALLOC_F_LEN=0x2000 was too much. 8KB memory for SPL is
actually too big for some boards. Perhaps 0x800 is enough, but the
situation varies board by board.Let's postpone our decision until we come up with a better idea.
Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
19 Sep, 2016
1 commit
18 Sep, 2016
1 commit
-
Now all UniPhier SoCs support a pinctrl driver. Select (SPL_)PINCTRL
since it is mandatory even for base use.Signed-off-by: Masahiro Yamada
17 Sep, 2016
1 commit
-
Move this option to Kconfig and tidy up existing uses.
Signed-off-by: Simon Glass
14 Sep, 2016
1 commit
-
This driver has not been converted to Driver Model, and it is an
obstacle to migrate other block device drivers. Remove it for now.The UniPhier SoCs already use a DM-based EHCI driver, so now
ARCH_UNIPHIER can select DM_USB.These two changes must be done atomically because removing the
legacy driver causes a build error.Signed-off-by: Masahiro Yamada
Reviewed-by: Marek Vasut
07 Sep, 2016
1 commit
-
If both SPL_DM and SPL_OF_CONTROL are enabled, SPL needs to bind
several devices, but CONFIG_SYS_MALLOC_F_LEN=0x400 is apparently
not enough. Increase the default to 0x2000 for the case. This
will be helpful for shorter defconfigs.Signed-off-by: Masahiro Yamada
Reviewed-by: Stefan Roese
Reviewed-by: Simon Glass
28 Aug, 2016
2 commits
-
This will be useful, for example, to load firmware to DRAM and make
it visible to other agents.Signed-off-by: Masahiro Yamada
-
This is very likely to be necessary for normal use cases.
Set its default to 'y' for shorter defconfig files.Signed-off-by: Masahiro Yamada
27 Jul, 2016
1 commit
-
We already have the entry for this option in Kconfig, so let's
migrate to it.Signed-off-by: Masahiro Yamada
20 Jun, 2016
1 commit
-
I do not insist on CONFIG_BOOTDELAY=3. The default value in Kconfig,
CONFIG_BOOTDELAY=2, is just fine for these boards.Signed-off-by: Masahiro Yamada
10 Jun, 2016
1 commit
-
move CONFIG_BOOTDELAY into a Kconfig option. Used for this
purpose the moveconfig.py tool in tools.Signed-off-by: Heiko Schocher
Reviewed-by: Tom Rini
Acked-by: Viresh Kumar
Acked-by: Igor Grinberg
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