15 Feb, 2018
1 commit
-
Migrate the option CONFIG_SPL_FRAMEWORK and make this gate most of the
current set of options we have in Kconfig. We will need to have some
options available for SPL and !SPL_FRAMEWORK so this is important. In a
few cases we re-order existing options so that we have less escapes from
the SPL_FRAMEWORK guard.Signed-off-by: Tom Rini
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
31 Jan, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_SYS_OMAP24_I2C_SLAVE
CONFIG_SYS_OMAP24_I2C_SPEEDSigned-off-by: Adam Ford
Reviewed-by: Paul Kocialkowski
13 Aug, 2017
1 commit
-
With the hierarchical defaults set up, we remove these from the header
files. To do so, I've run moveconfig on SPL_LDSCRIPT and this commits
the changes.Signed-off-by: Philipp Tomsich
Reviewed-by: Simon Glass
10 Aug, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_SYS_I2C_OMAP24XXSigned-off-by: Adam Ford
Reviewed-by: Heiko Schocher
08 Aug, 2017
1 commit
-
Signed-off-by: Alexandru Gagniuc
Acked-by: Joe Hershberger
10 Jun, 2017
1 commit
-
Almost all users of CONFIG_AM33XX/AM43XX have been migrated. Finish
moving the last few over to Kconfig, and put all of the boards under the
appropriate Kconfig chocie now. This board choice is non-optional, so
remove that keyword on am33xx.Signed-off-by: Tom Rini
22 May, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_SPL_BOARD_INITSigned-off-by: Ley Foon Tan
[trini: Update the Kconfig logic]
Signed-off-by: Tom Rini
15 May, 2017
2 commits
-
This driver is used often enough such that we want to have this enabled
by default on any ARCH_OMAP2PLUS board, and this only compiles on
ARCH_OMAP2PLUS due to required defines, so mark that as the depends.Signed-off-by: Tom Rini
-
In the two cases in the code where we use CONFIG_OMAP as a useful test
currently we can make use of CONFIG_ARCH_OMAP2PLUS instead. With that
changed we can drop all defines of CONFIG_OMAP. While in here,
CONFIG_OMAP3430 is only defined and then never used, so drop.Signed-off-by: Tom Rini
12 May, 2017
1 commit
-
No reason to use a separate load script for am33xx than using
omap-common load script.Signed-off-by: Lokesh Vutla
Reviewed-by: Tom Rini
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
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
22 Nov, 2016
2 commits
-
With the move to arch/arm/mach-omap2 there are now very few uses of
CONFIG_OMAP_COMMON and further they can all be replaced with
CONFIG_ARCH_OMAP2, so do so.Signed-off-by: Tom Rini
-
This moves what was in arch/arm/cpu/armv7/omap-common in to
arch/arm/mach-omap2 and moves
arch/arm/cpu/armv7/{am33xx,omap3,omap4,omap5} in to arch/arm/mach-omap2
as subdirectories. All refernces to the former locations are updated to
the current locations. For the logic to decide what our outputs are,
consolidate the tests into a single config.mk rather than including 4.Signed-off-by: Tom Rini
17 Sep, 2016
6 commits
-
Convert CONFIG_SPL_YMODEM_SUPPORT to Kconfig
Move this option to Kconfig and tidy up existing uses.
Signed-off-by: Simon Glass
-
Move this option to Kconfig and tidy up existing uses.
Signed-off-by: Simon Glass
-
Move this option to Kconfig and tidy up existing uses.
Signed-off-by: Simon Glass
-
Move this option to Kconfig and tidy up existing uses.
Signed-off-by: Simon Glass
-
Move this option to Kconfig and tidy up existing uses.
Signed-off-by: Simon Glass
-
Move this option to Kconfig and tidy up existing uses.
Signed-off-by: Simon Glass
07 Sep, 2016
1 commit
-
On all TI platforms the ROM defines a "downloaded image" area at or near
the start of SRAM which is followed by a reserved area. As it is at
best bad form and at worst possibly harmful in corner cases to write in
this reserved area, we stop doing that by adding in the define
NON_SECURE_SRAM_IMG_END to say where the end of the downloaded image
area is and make SRAM_SCRATCH_SPACE_ADDR be one kilobyte before this.
At current we define the end of scratch space at 0x228 bytes past the
start of scratch space this this gives us a lot of room to grow. As
these scratch uses are non-optional today, all targets are modified to
respect this boundary.Tested on OMAP4 Pandaboard, OMAP3 Beagle xM
Cc: Albert Aribaud
Cc: Nagendra T S
Cc: Vaibhav Hiremath
Cc: Lokesh Vutla
Cc: Felipe Balbi
Cc: Igor Grinberg
Cc: Nikita Kiryanov
Cc: Paul Kocialkowski
Cc: Enric Balletbo i Serra
Cc: Adam Ford
Cc: Steve Sakoman
Cc: Stefan Roese
Cc: Thomas Weber
Cc: Hannes Schmelzer
Cc: Thomas Chou
Cc: Masahiro Yamada
Cc: Simon Glass
Cc: Joe Hershberger
Cc: Sam Protsenko
Cc: Heiko Schocher
Cc: Samuel Egli
Cc: Michal Simek
Cc: Wolfgang Denk
Cc: Mateusz Kulikowski
Cc: Ben Whitten
Cc: Stefano Babic
Cc: Bin Meng
Cc: Sekhar Nori
Cc: Mugunthan V N
Cc: "B, Ravi"
Cc: "Matwey V. Kornilov"
Cc: Ladislav Michl
Cc: Ash Charles
Cc: "Kipisz, Steven"
Cc: Daniel Allred
Signed-off-by: Tom Rini
Tested-by: Lokesh Vutla
Acked-by: Lokesh Vutla
Tested-by: Ladislav Michl
27 Aug, 2016
1 commit
-
This series moves the CONFIG_SYS_CACHELINE_SIZE. First, in nearly all
cases we are mirroring the values used by the Linux Kernel here. Also,
so long as (and in this case, it is true) we implement flushes in hunks
that are no larger than the smallest implementation (and given that we
mirror the Linux Kernel, again we are fine) it is OK to align higher.
The biggest changes here are that we always use 64 bytes for CPU_V7 even
if for example the underlying core is only 32 bytes (this mirrors
Linux). Second, we say ARM64 uses 64 bytes not 128 (as found in the
Linux Kernel) as we do not need multi-platform support (to this degree)
and only the Cavium ThunderX 88xx series has a use for such large
alignment.Cc: Albert Aribaud
Cc: Marek Vasut
Cc: Stefano Babic
Cc: Prafulla Wadaskar
Cc: Luka Perkov
Cc: Stefan Roese
Cc: Nagendra T S
Cc: Vaibhav Hiremath
Acked-by: Lokesh Vutla
Cc: Steve Rae
Cc: Igor Grinberg
Cc: Nikita Kiryanov
Cc: Stefan Agner
Acked-by: Heiko Schocher
Cc: Mateusz Kulikowski
Cc: Peter Griffin
Acked-by: Paul Kocialkowski
Cc: Anatolij Gustschin
Acked-by: "Pali Rohár"
Cc: Adam Ford
Cc: Steve Sakoman
Cc: Grazvydas Ignotas
Cc: Nishanth Menon
Cc: Stephen Warren
Cc: Robert Baldyga
Cc: Minkyu Kang
Cc: Thomas Weber
Cc: Masahiro Yamada
Cc: David Feng
Cc: Alison Wang
Cc: Michal Simek
Cc: Simon Glass
Cc: York Sun
Cc: Shengzhou Liu
Cc: Mingkai Hu
Cc: Prabhakar Kushwaha
Cc: Aneesh Bansal
Cc: Saksham Jain
Cc: Qianyu Gong
Cc: Wang Dongsheng
Cc: Alex Porosanu
Cc: Hongbo Zhang
Cc: tang yuantian
Cc: Rajesh Bhagat
Cc: Josh Wu
Cc: Bo Shen
Cc: Viresh Kumar
Cc: Hannes Schmelzer
Cc: Thomas Chou
Cc: Joe Hershberger
Cc: Sam Protsenko
Cc: Bin Meng
Cc: Christophe Ricard
Cc: Anand Moon
Cc: Beniamino Galvani
Cc: Carlo Caione
Cc: huang lin
Cc: Sjoerd Simons
Cc: Xu Ziyuan
Cc: "jk.kernel@gmail.com"
Cc: "Ariel D'Alessandro"
Cc: Kever Yang
Cc: Samuel Egli
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Hans de Goede
Cc: Ian Campbell
Cc: Siarhei Siamashka
Cc: Boris Brezillon
Cc: Andre Przywara
Cc: Bernhard Nortmann
Cc: Wolfgang Denk
Cc: Ben Whitten
Cc: Tom Warren
Cc: Alexander Graf
Cc: Sekhar Nori
Cc: Vitaly Andrianov
Cc: "Andrew F. Davis"
Cc: Murali Karicheri
Cc: Carlos Hernandez
Cc: Ladislav Michl
Cc: Ash Charles
Cc: Mugunthan V N
Cc: Daniel Allred
Cc: Gong Qianyu
Signed-off-by: Tom Rini
Acked-by: Masahiro Yamada
Acked-by: Chin Liang See
Tested-by: Stephen Warren
Acked-by: Paul Kocialkowski
25 Feb, 2016
3 commits
-
bur_am335x_common.h today holds all common configuration which is shared
over all B&R boards.In future we want to bring up boards which are not based on AM335x only
but we still want to have common configuration over all B&R boards
independent from their architecture.To prepare this we introduce a new file "bur_cfg_common.h", where we
move all common things, which are not architecture specific, from
bur_am335x_common.h.On B&R am335x boards we include from now:
#include
#includeOn other B&R boards, we include only
#includeSigned-off-by: Hannes Schmelzer
Reviewed-by: Tom Rini -
We drop everything possible things from board headerfiles and replace
this functionality with responsible settings in Kconfig (_defconfig).Signed-off-by: Hannes Schmelzer
Reviewed-by: Tom Rini -
During very early prototype-phase we did boot the AM335x boards
initially from CPSW-EMAC.Now we don't need this feature anymore.
So we drop it to save MLO-space and having therefore a more quickly
boot.Signed-off-by: Hannes Schmelzer
Reviewed-by: Tom Rini
22 Nov, 2015
1 commit
-
Move CONFIG_SYS_NS16550 to Kconfig, and run moveconfig.py.
Signed-off-by: Thomas Chou
19 Nov, 2015
1 commit
-
Add CMD_GPIO to Kconfig and run tools/moveconfig.py .
Signed-off-by: Thomas Chou
Reviewed-by: Simon Glass
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
12 Sep, 2015
1 commit
-
To simplify and having a common default IP-setup on all B&R boards we
introduce an environment variable "brdefaultip" which does following.Test if ${ipaddr} is empty, if yes it set's up some defaults:
- ipaddr : 192.168.60.1
- netmask : 255.255.255.0
- gatewayip: 192.168.60.254
- serverip : 192.168.60.254This environment is ran from CONFIG_PREBOOT.
All other "tricks" are dropped.
Signed-off-by: Hannes Schmelzer
Reviewed-by: Tom Rini
Acked-by: Joe Hershberger
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
03 Jun, 2015
1 commit
-
netconsole had become defective over time and cleanups.
Because the feature is used very rarely nobody did take notice about this
defect.With this patch the resulting syntax error on call will be fixed.
Signed-off-by: Hannes Schmelzer
02 Jun, 2015
1 commit
-
Fixup include/configs/unipher.h to not set CONFIG_LIB_RAND
Signed-off-by: Tom Rini
01 Jun, 2015
1 commit
-
This also selects CONFIG_NET for any CONFIG_CMD_NET board.
Remove the imx default for CONFIG_NET.
This moves the config that was defined by 60296a8 (commands: add more
command entries in Kconfig).Signed-off-by: Joe Hershberger
28 May, 2015
1 commit
-
Since i've been married, i also have a new surname.
Mr. Petermaier moved to Mr. Schmelzer.In this patch i update all files in which my (old) name is present.
Signed-off-by: Hannes Schmelzer
Signed-off-by: Hannes Schmelzer
09 May, 2015
2 commits
-
usbupdate in real does allways load some script from usb-storage and execute
it, on all B&R targets.So we do following 2 things:
- rename it to what it really does
- move it from boards to common environmentSigned-off-by: Hannes Petermaier
-
Since we display in future the splash screen out of linux-os, we don't need
this support anymore within the common section.But kwb-target is still using BMP_DISPLAY feature, so we move the related
from the common section into the target-specific.Also the default environment of tseries will be adapted to this.
Signed-off-by: Hannes Petermaier
17 Mar, 2015
2 commits
-
We don't want that CONSOLE is redirected to LCD upon init, we rather prefer
that console is still on the serial line.Signed-off-by: Hannes Petermaier
-
Signed-off-by: Hannes Petermaier
Signed-off-by: Hannes Petermaier