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
18 Nov, 2017
1 commit
-
We first introduce CONFIG_USE_BOOTCOMMAND, similar to
CONFIG_USE_BOOTARGS. We then migrate CONFIG_BOOTCOMMAND for most
CONFIG_DISTRO_DEFAULT users. In some cases platforms have a complex
scheme around this usage, and these have been defered for the moment so
that platform maintainers can work on a migration plan.Signed-off-by: Tom Rini
Reviewed-by: Lukasz Majewski
04 Sep, 2017
1 commit
-
This is actually not used. Drop it.
Signed-off-by: Bin Meng
15 Aug, 2017
1 commit
-
Also introduce CONFIG_USE_BOOTARGS option so we can control if
CONFIG_BOOTARGS defined at all.Signed-off-by: Sam Protsenko
[trini: Resync r8a779[56]_ulcb, various ls10xx targets]
Signed-off-by: Tom Rini
26 Jul, 2017
2 commits
-
This converts the following to Kconfig:
CONFIG_ENV_IS_IN_SPI_FLASHSigned-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_ENV_IS_IN_MMC
CONFIG_ENV_IS_IN_NAND
CONFIG_ENV_IS_IN_UBI
CONFIG_ENV_IS_NOWHEREIn fact this already exists for sunxi as a 'choice' config. However not
all the choices are available in Kconfig yet so we cannot use that. It
would lead to more than one option being set.In addition, one purpose of this series is to allow the environment to be
stored in more than one place. So the existing choice is converted to a
normal config allowing each option to be set independently.There are not many opportunities for Kconfig updates to reduce the size of
this patch. This was tested with./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC
And then manual updates. This is because for CHAIN_OF_TRUST boards they
can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic
now.Signed-off-by: Simon Glass
Signed-off-by: Tom Rini
23 May, 2017
2 commits
-
At present IDE support is controlled by CONFIG_CMD_IDE. Add a separate
CONFIG_IDE option so that IDE support can be enabled without requiring
the 'ide' command.Update existing users and move the ide driver into drivers/block since
it should not be in common/.Signed-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CMD_IDESigned-off-by: Simon Glass
22 May, 2017
1 commit
-
This option is not used in U-Boot. Drop it.
Signed-off-by: Simon Glass
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
09 Feb, 2017
1 commit
-
Now that we have a Kconfig for the API, convert the two boards that
are using this to Kconfig and remove CONFIG_API from the whitelist.Signed-off-by: Emmanuel Vadot
Reviewed-by: Tom Rini
Reviewed-by: Simon Glass
28 Jan, 2017
2 commits
-
Signed-off-by: Patrick Delaunay
Signed-off-by: Patrick Delaunay -
Signed-off-by: Patrick Delaunay
Signed-off-by: Patrick Delaunay
24 Oct, 2016
2 commits
-
This converts the following to Kconfig:
CONFIG_SYS_CONSOLE_INFO_QUIETSigned-off-by: Simon Glass
[trini: Make this default n, re-run the migration]
Signed-off-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_SYS_CONSOLE_IS_IN_ENV
CONFIG_CONSOLE_MUXSigned-off-by: Simon Glass
[trini: Re-order, re-migrate]
Signed-off-by: Tom Rini
20 Sep, 2016
1 commit
-
Move the config IDENT_STRING to Kconfig and migrate all boards
[sivadur: Migrate zynq boards]
Signed-off-by: Siva Durga Prasad Paladugu
[trini: Update configs, add some default to sunxi Kconfig]
Signed-off-by: Tom Rini
26 Apr, 2016
4 commits
-
Update the config.h and defconfig files for the commands that 8e3c036
converted over to KconfigSigned-off-by: Tom Rini
-
A number of moveconfig.py runs have left a instances of multiple empty
lines in a row. Correct this to a single empty line.Signed-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
1 commit
-
Move this option to Kconfig and tidy up existing boards.
Signed-off-by: Simon Glass
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
25 Oct, 2015
1 commit
-
We have finished Generic Board conversion for ARM and PowerPC, i.e.
all the boards have been converted except OpenRISC, SuperH, SPARC,
which have not supported Generic Board framework yet.Select SYS_GENERIC_BOARD in arch/Kconfig and delete all the macro
defines in include/configs/*.h.Signed-off-by: Masahiro Yamada
21 Oct, 2015
1 commit
-
Convert CONFIG_CMD_ELF to Kconfig and tidy up affected boards.
Signed-off-by: Bin Meng
13 Aug, 2015
1 commit
-
Add option to set shell prompt string from menuconfig and migrate
boards globally.The migration is done as follows:
- Boards that explicitly and unconditionally set CONFIG_SYS_PROMPT had the
entry moved to their defconfig files.
- Boards that defined some kind of #ifdef logic which selects the
CONFIG_SYS_PROMPT (for example qemu-mips) got an #undef CONFIG_SYS_PROMPT
right before the #ifdef logic and were left alone.
- This change forces CONFIG_SYS_PROMPT to be a per board decision, and thus
CONFIG_SYS_PROMPT was removed from all _common.h and _common.h
files. This results in a streamlined default value across platforms, and
includes the following files: spear-common, sunxi-common, mv-common,
ti_armv7_common, tegra-common, at91-sama5_common, and zynq-common.
- Boards that relied on _common.h values of CONFIG_SYS_PROMPT were
not updated in their respective defconfig files under the assumption that
since they did not explicitly define a value, they're fine with whatever
the default is.
- On the other hand, boards that relied on a value defined in some
_common.h file such as woodburn_common, rpi-common,
bur_am335x_common, ls2085a_common, siemens_am33x_common, and
omap3_evm_common, had their values moved to the respective defconfig files.
- The define V_PROMPT was removed, since it is not used anywhere except for
assigning a value for CONFIG_SYS_PROMPT.Cc: Tom Rini
Cc: Masahiro Yamada
Cc: Stefano Babic
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
[trini: Add spring, sniper, smartweb to conversion]
Signed-off-by: Tom Rini
26 Jun, 2015
1 commit
-
This sets the default commands Kconfig to match
include/config_cmd_default.h commands in the common/Kconfig and removes
them from include/configs.Signed-off-by: Joe Hershberger
[trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates]
Signed-off-by: Tom Rini
02 Jun, 2015
1 commit
-
NET_RANDOM_ETHADDR depends on lib/rand.c. This patch adds dependency to
Kconfig to ensure that library is also compiled.Remove the definitions from Blackfin boards' include/configs.
Signed-off-by: Michal Simek
Acked-by: Joe Hershberger
21 May, 2015
1 commit
-
Remove the calls to net_random_ethaddr() that some boards and some
drivers are calling. This is now implemented inside of net/eth.cEnable the feature for all boards that previously enabled it.
Signed-off-by: Joe Hershberger
Acked-By: Michael Walle (for the lsxl board part)Series-changes: 2
-Fixed bfin build errors
12 Feb, 2015
3 commits
-
Use the bootz command to load zImages in case of any new boot scripts. Only
the legacy one will still use bootm. Apart form the fact, that this will
simplify the image generation process, it saves one copy of the kernel
image: Common practice is to generate an uImage with a loading address of
0x8000. This uImage contains a compressed zImage, which will unpack the
kernel image to the beginning of the RAM. But because there is already the
compressed image the uncompressor first relocates the compressed image to a
higher location. The load address is encoded into the uImage which is
generated by the distributions and thus cannot be easily changed. By using
the bootz command we can load the compressed image to a higher memory
address and the decompressor doesn't have to reloacte the image.Signed-off-by: Michael Walle
-
The dtb was loaded at a memory address after the initial ramdisk. Thus a
large ramdisk would overwrite the dtb. Move it to "ramdisk_start - 64k".
64k should be enough for the device tree blob. Also the kernel
documentation arm/Booting suggests to put the dtb before the initial
ramdisk.Signed-off-by: Michael Walle
-
The load addresses for the bootcmd_legacy script were taken from the
original bootloader from Buffalo. But newer kernels are too big and the
uncompressing will overwrite parts of the initial ramdisk. Therefore,
we switch to the load addresses which are also used by the other boot
script.Signed-off-by: Michael Walle
06 Oct, 2014
1 commit
-
Besides converting the LS-XHL and LS-CHLv2 to generic board, fix a typo
which accidentally reverted the bootsource to 'hdd' although the default
bootsource should be 'legacy'.Cc: Tom Rini
Cc: Prafulla Wadaskar
Signed-off-by: Michael Walle
Signed-off-by: Prafulla Wadaskar
31 Aug, 2014
1 commit
-
Becuase the board select menu in arch/arm/Kconfig is too big,
move the KirkWood board select menu to kirkwood/Kconfig.Consolidate also common settings (CONFIG_SYS_CPU="arm926ejs" and
CONFIG_SYS_SOC="kirkwood").Signed-off-by: Masahiro Yamada
Acked-by: Prafulla Wadasdkar
Cc: Luka Perkov
25 May, 2014
2 commits
-
Move addresses for kernel, ramdisk and fdt blob to own variables. Add dtb
blob loading to all existing boot scripts, dtb filenames were taken from
vanilla kernel. Introduce new boot script bootcmd_legacy, which only loads
a kernel and a ramdisk. Make this the default boot script. This should also
restore the behaviour of the original bootloader.Cc: Prafulla Wadaskar
Cc: Tom Rini
Signed-off-by: Michael Walle -
Cc: Prafulla Wadaskar
Signed-off-by: Michael Walle
29 Mar, 2014
1 commit
-
New configs:
- CONFIG_LIB_RAND - to enable implementation of rand library in lib/rand.c
- CONFIG_LIB_HW_RAND - to enable hardware based implementations of lib randOther changes:
- add CONFIG_LIB_RAND to boards configs which needs rand()
- put only one rand.o dependency in lib/MakefileCONFIG_LIB_HW_RAND should be defined for drivers which implements rand library
(declared in include/common.h):
- void srand(unsigned int seed)
- unsigned int rand(void)
- unsigned int rand_r(unsigned int *seedp)Signed-off-by: Przemyslaw Marczak
Cc: Michael Walle
Cc: Tom Rini
Cc: Masahiro Yamada
13 Mar, 2014
1 commit
-
Pull out "$(SRCTREE)/" from CONFIG_SYS_KWD_CONFIG
and push it into the top Makefile.Signed-off-by: Masahiro Yamada
Cc: Michael Walle
Cc: Simon Guinot
Cc: Dave Purdy
Cc: Stefan Herbrechtsmeier
Cc: Luka Perkov
Cc: Valentin Longchamp
Cc: Jason Cooper
Cc: Siddarth Gore
Cc: Prafulla Wadaskar
Cc: Eric Cooper
Cc: Suriyan Ramasami
05 Nov, 2013
1 commit
-
The definitions for CONFIG_SYS_PROMPT are varied with little reason other
than to display the board name. Over half the definitions are "==> ", so
make this the default. The rest of the boards remain unchanged to avoid
breaking any external scripts expecting a certain prompt.Signed-off-by: Rob Herring
Reviewed-by: Fabio Estevam
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
09 Jan, 2013
1 commit
-
Instead of using the serverip we get from the DHCP server, implicitly use
the broadcast address, which is automatically set when no ncip environment
variable is set. That way it isn't necessary to use a special DHCP
configuration to set the netconsole peer.Signed-off-by: Michael Walle
Cc: Prafulla Wadaskar