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
10 Jan, 2017
1 commit
-
Enable CONFIG_SYS_TEXT_BASE via Kconfig.
Signed-off-by: Michal Simek
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
15 Nov, 2016
1 commit
-
Enable zynq Nand flash controller driver for a zynq ZC770
XM011(dc2) board.Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek
15 Oct, 2016
1 commit
-
Move SPL_OS_BOOT to Kconfig and cleanup existing
uses.Signed-off-by: Heiko Schocher
12 Oct, 2016
1 commit
-
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
17 Sep, 2016
1 commit
-
Move the SPL settings into common/spl where most of the SPL code is kept.
Signed-off-by: Simon Glass
02 Aug, 2016
1 commit
-
Update Microblaze, Zynq and ZynqMP defconfigs to reflect
latest Kconfig changes.Signed-off-by: Michal Simek
22 Jul, 2016
3 commits
-
Remove unnecessary board specifc config files for
zynq boards(microzed, picozed, ZC770(all), zed) and point
to zynq common config file.Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek -
Enable config CONFIG_SYS_NO_FLASH through defconfig
for all zynq boards.Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek -
Based on:
"ARM: uniphier: use the default CONFIG_BOOTDELAY=2"
(sha1: 7c8ef0feb97586d35b0296b48903daef8c06ab21)"I do not insist on CONFIG_BOOTDELAY=3. The default value in Kconfig,
CONFIG_BOOTDELAY=2, is just fine for these boards."Reported-by: Masahiro Yamada
Signed-off-by: Michal Simek
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
24 May, 2016
1 commit
-
Extending Kconfig for adding new platform is a lot of work
for nothing. Setting SYS_CONFIG_NAME directly in Kconfig and
remove all dependencies on TARGET_ZYNQ_* options including SPL.
As a side-effect it also remove custom init folder for ps7_init_gpl.*
files. Folder is chosen based on device-tree file.Signed-off-by: Michal Simek
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
27 Jan, 2016
1 commit
-
Define CONFIG_SYS_PROMPT for all Zynq boards
It was removed by:
"kconfig: add config option for shell prompt"
(sha1: 181bd9dc61d2da88b78f1c1138a685dae39354d6)Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek
13 Jan, 2016
1 commit
-
This feature is required in SPL to enable support for loading from SPI
flash when the device is booted from QSPI.Signed-off-by: Nathan Rossi
Cc: Michal Simek
Signed-off-by: Michal Simek
18 Dec, 2015
1 commit
-
Clear driver dependecies via Kconfig. Remove PHYLIB dependency from
the driver.Signed-off-by: Michal Simek
07 Dec, 2015
2 commits
-
Signed-off-by: Michal Simek
Reviewed-by: Jagan Teki -
Move PHYLIB from board config to defconfig
Signed-off-by: Michal Simek
Reviewed-by: Jagan Teki
19 Nov, 2015
1 commit
-
Add CMD_GPIO to Kconfig and run tools/moveconfig.py .
Signed-off-by: Thomas Chou
Reviewed-by: Simon Glass
04 Nov, 2015
1 commit
-
Production boards should not use CONFIG_OF_EMBED. Fix this for the Zybo
boards.The image to use now becomes u-boot-dtb.bin.
For example, the .bif file should contain a line like:
[load = 0x04000000,startup=0x04000000]/path/to/u-boot-dtb.bin
instead of:
[load = 0x04000000,startup=0x04000000]/path/to/u-boot.bin
When device tree is enabled we need to load u-boot-dtb.img. Change the
settings so that SPL does the right thing.Signed-off-by: Simon Glass
Signed-off-by: Michal Simek
25 Oct, 2015
1 commit
-
This reverts commit 321f86e18d6aae9f7b7ba3ef1eb0cec769481874.
The original bug has been fixed.
Signed-off-by: Simon Glass
Tested-on: Zedboard and ZC706 board
Tested-by: Masahiro Yamada
Tested-on: zc702
Tested-by: Michal Simek
28 Sep, 2015
1 commit
-
Some boards' defconfigs are disordered. Reorder them.
Signed-off-by: Bin Meng
19 Aug, 2015
2 commits
-
We have to set a MAC address to use network.
Otherwise, the tftpboot command fails with the following message:Gem.e000b000 Waiting for PHY auto negotiation to complete........ done
*** ERROR: `ethaddr' not setSince commit 92ac52082140 ("net: Remove all references to
CONFIG_ETHADDR and friends"), we can not use CONFIG_ETHADDR.The easiest way to set a MAC address is to enable
CONFIG_NET_RANDOM_ETHADDR.Signed-off-by: Masahiro Yamada
Acked-by: Joe Hershberger
Signed-off-by: Michal Simek -
Use embedded DTB to let users use u-boot instead of u-boot-dtb.bin.
And fix SPL to use this target.Signed-off-by: Michal Simek
28 Jul, 2015
1 commit
-
Add xm011 DTS file and related configs and configurations.
Signed-off-by: Michal Simek