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
1 commit
-
With the contents of config_distro_defaults.h migrated to Kconfig,
we can remove this header file completelySigned-off-by: Adam Ford
15 Feb, 2018
2 commits
-
This converts the following to Kconfig:
CONFIG_SYS_BOOTCOUNT_SINGLEWORDSigned-off-by: Lukasz Majewski
Tested-by: Alex Kiernan
Reviewed-by: Ian Ray -
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
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
29 Jan, 2018
1 commit
-
We want to use Kconfig logic to depend on whether pl01x devices
are built in, so let's convert their inclusion selection to Kconfig.This round goes to pl011.
Signed-off-by: Alexander Graf
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
-
And use 'imply' liberally.
Signed-off-by: Tuomas Tynkkynen
04 Sep, 2017
2 commits
-
Now that include/config_fallbacks.h define a sane fallback for
CONFIG_SYS_MAXARGS, we can drop the definition of this constant in all
configurations that were using the default value.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
26 Jul, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_ENV_IS_IN_NVRAMSigned-off-by: Simon Glass
12 Jul, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_SCSISigned-off-by: Simon Glass
Reviewed-by: Bin Meng
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
19 Mar, 2017
1 commit
-
Today, we have cases where we wish to build all of U-Boot in Thumb2 mode for
various reasons. We also have cases where we only build SPL in Thumb2 mode due
to size constraints and wish to build the rest of the system in ARM mode. So
in this migration we introduce a new symbol as well, SPL_SYS_THUMB_BUILD to
control if we build everything or just SPL (or in theory, just U-Boot) in
Thumb2 mode.Signed-off-by: Tom Rini
Acked-by: Siarhei Siamashka
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
17 May, 2016
1 commit
-
This option currently enables both the command and the SCSI functionality.
Rename the existing option to CONFIG_SCSI since most of the code relates
to the feature.Signed-off-by: Simon Glass
26 Apr, 2016
1 commit
-
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
15 Mar, 2016
1 commit
-
There are already two FIT options in Kconfig but the CONFIG options are
still in the header files. We need to do a proper move to fix this.Move these options to Kconfig and tidy up board configuration:
CONFIG_FIT
CONFIG_OF_BOARD_SETUP
CONFIG_OF_SYSTEM_SETUP
CONFIG_FIT_SIGNATURE
CONFIG_FIT_BEST_MATCH
CONFIG_FIT_VERBOSE
CONFIG_OF_STDOUT_VIA_ALIAS
CONFIG_RSAUnfortunately the first one is a little complicated. We need to make sure
this option is not enabled in SPL by this change. Also this option is
enabled automatically in the host builds by defining CONFIG_FIT in the
image.h file. To solve this, add a new IMAGE_USE_FIT #define which can
be used in files that are built on the host but must also build for U-Boot
and SPL.Note: Masahiro's moveconfig.py script is amazing.
Signed-off-by: Simon Glass
[trini: Add microblaze change, various configs/ re-applies]
Signed-off-by: Tom Rini
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
13 Aug, 2015
1 commit
-
On the highbank platform the SoC's management controller firmware
will probe the DRAM modules and populates the initial device tree with
the correct values. Therefore the memory sizes in the DT are already
correct, so remove U-Boot's DRAM bank setup so the memory node is not
"fixed up" by u-boot.Signed-off-by: Rob Herring
Signed-off-by: Andre Przywara
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
09 Jun, 2015
1 commit
-
This patch moves the following config options to Kconfig:
CONFIG_AUTOBOOT_KEYED
CONFIG_AUTOBOOT_PROMPT
CONFIG_AUTOBOOT_DELAY_STR
CONFIG_AUTOBOOT_STOP_STR
AUTOBOOT_KEYED_CTRLCSigned-off-by: Stefan Roese
Reviewed-by: Simon Glass
[trini: Drop ip04 and pm9263 configs/ additions, those boards previously
set CONFIG_AUTOBOOT_PROMPT but never used it, re-run savedefconfig over
all boards that did change. Make digsy_mtc_* string include seconds to
match others and not warn. ]
Signed-off-by: Tom Rini
Cc: Masahiro Yamada
25 May, 2014
1 commit
-
Enable CONFIG_SYS_GENERIC_BOARD on highbank.
Signed-off-by: Rob Herring
02 May, 2014
2 commits
-
Since highbank is actually shared between Highbank and Midway platforms,
remove the Highbank name from the prompt and use the default.Signed-off-by: Rob Herring
-
Adapt highbank to use config_distro_defaults.h and remove the redundant
defines.Signed-off-by: Rob Herring
16 Nov, 2013
1 commit
-
Since commit c2dd0d455 and 45bf05854 introduced
the new cache maintainance framework to ARM,
CONFIG_L2_OFF has not been used at all.Signed-off-by: Masahiro Yamada
09 Nov, 2013
1 commit
-
Let highbank users break into the autoboot script with ctrl-c.
Signed-off-by: Mark Langsdorf
05 Nov, 2013
2 commits
-
Convert highbank to use the commmon timer code.
Signed-off-by: Rob Herring
-
Remove platform CONFIG_SYS_HZ definition for configs a-z*.
Signed-off-by: Rob Herring
07 Sep, 2013
1 commit
-
libata already has similar functions as implemented in the ahci code.
Refactor the code to use the libata variants and remove the dependency on
ata.h. Convert some defines to use the version from libata.h. Also, remove
some unnecessary memset's of bss data.This is a step toward hopefully merging ahci.c and dw_ahsata.c which are
essentially the same driver.Signed-off-by: Rob Herring
Reviewed-by: Tom Rini
25 Jul, 2013
5 commits
-
Restrict autoboot interruption to "s" or "d" keys. This will prevent some
unwanted stopping and also allow disabling the reset on command timeout.Signed-off-by: Rob Herring
-
Accessing powered down peripherals will hang the bus, so check power
domain status before initializing SATA and fixup the FDT to disable
unused peripherals.Signed-off-by: Rob Herring
-
Enable resetting on command timeout. The timeout is set with environment
setting bootretry.Signed-off-by: Rob Herring
-
Various changes to highbank config:
Enable EFI partitions
Enable ext4 and FAT filesystems
Enable bootz command and raw initrd
Increase cmd and print buffer size to 1K
Change serial baudrate to 115200
Enable hush shellSigned-off-by: Rob Herring
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
01 Sep, 2012
2 commits
-
CONFIG_STACKSIZE is not referenced anywhere except on AVR32, but present
in most ARM board config files.IRQs are only enabled for 1 config, so remove the unused config options
for IRQ and FIQ stack size as well.Cc: Albert ARIBAUD
Signed-off-by: Rob Herring -
This patch moves all bootcount implementations into a common
directory: drivers/bootcount. The generic bootcount driver
is now usable not only by powerpc platforms, but others as well.Signed-off-by: Stefan Roese
Cc: Heiko Schocher
Cc: Valentin Longchamp
Cc: Christian Riesch
Cc: Manfred Rudigier
Cc: Mike Frysinger
Cc: Rob Herring
Cc: Reinhard Meyer
Tested-by: Valentin Longchamp
Tested-by: Christian Riesch
Acked-by: Rob Herring
Acked-by: Mike Frysinger
21 Jun, 2012
1 commit
-
We provide a default table of { 9600, 19200, 38400, 57600, 115200 }
in which mkconfig places after in
the generated config file. This is used when a board has not set its
own table.Signed-off-by: Tom Rini
29 Mar, 2012
1 commit
-
Update the highbank config to use env from NVRAM. Also remove extra env
settings as they are not used unless the default env is used.Signed-off-by: Jason Hobbs
Signed-off-by: Rob Herring