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
23 Jan, 2018
2 commits
-
This converts the following to Kconfig:
CONFIG_TWL4030_USBSigned-off-by: Adam Ford
-
This converts the following to Kconfig:
CONFIG_USB_MUSB_HCD
CONFIG_USB_MUSB_UDC
CONFIG_USB_DAVINCI
CONFIG_USB_OMAP3
CONFIG_USB_DA8XX
CONFIG_USB_AM35XSigned-off-by: Adam Ford
06 Nov, 2017
1 commit
-
We move all instances of CONFIG_MTDIDS_DEFAULT and
CONFIG_MTDPARTS_DEFAULT from the header files to the defconfig files.
There's a few cases here where we need to expand upon what was in the
header file.Tested-by: Adam Ford #omap3_logic
Signed-off-by: Tom Rini
21 Oct, 2017
2 commits
-
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 -
This converts the following to Kconfig:
CONFIG_NAND_MXC
CONFIG_NAND_OMAP_GPMC
CONFIG_NAND_OMAP_GPMC_PREFETCH
CONFIG_NAND_OMAP_ELM
CONFIG_SPL_NAND_AM33XX_BCH
CONFIG_SPL_NAND_SIMPLE
CONFIG_SYS_NAND_BUSWIDTH_16BITSigned-off-by: Adam Ford
Reviewed-by: Heiko Schocher
[trini: Finish migration of CONFIG_SPL_NAND_SIMPLE, fix some build issues,
add CONFIG_NAND_MXC so we can do CONFIG_SYS_NAND_BUSWIDTH_16BIT]
Signed-off-by: Tom Rini
13 Sep, 2017
1 commit
-
In mancy cases both CONFIG_ENV_OFFSET and CONFIG_ENV_ADDR point
to an otherwise-unused SMNAND_ENV_OFFSET.
This patch will set both CONFIG_ENV_OFFSET and CONFIG_ENV_ADDR to
whatever value was defined by SMNAND_ENV_OFFSET.Signed-off-by: Adam Ford
12 Aug, 2017
3 commits
-
This converts the following to Kconfig:
CONFIG_NANDSigned-off-by: Adam Ford
[trini: Sync up a few more, add imply's]
Signed-off-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_CMD_SPL_WRITE_SIZESigned-off-by: Simon Glass
Reviewed-by: Bin Meng
Reviewed-by: Philipp Tomsich -
This converts the following to Kconfig:
CONFIG_CMD_SPL_NAND_OFSSigned-off-by: Simon Glass
Reviewed-by: Bin Meng
Reviewed-by: Philipp Tomsich
10 Aug, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_SYS_I2C_OMAP24XXSigned-off-by: Adam Ford
Reviewed-by: Heiko Schocher
09 Aug, 2017
1 commit
-
The driver is for all boards 24XX and up, so let's eliminate the
extra option called CONFIG_SYS_I2C_OMAP34XX since the driver checks
for CONFIG_OMAP34XX we don't need CONFIG_SYS_I2C_OMAP34XX.Signed-off-by: Adam Ford
Reviewed-by: Heiko Schocher
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
-
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
15 May, 2017
1 commit
-
We no longer have a need for a per-board CONFIG_OMAP3_xxx define (we
have CONFIG_TARGET_xxx when this is required), so drop these unused
references.Signed-off-by: Tom Rini
24 Oct, 2016
1 commit
-
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
15 Oct, 2016
1 commit
-
Move SPL_OS_BOOT to Kconfig and cleanup existing
uses.Signed-off-by: Heiko Schocher
12 Oct, 2016
2 commits
-
Create a Kconfig entry for DISPLAY_BOARDINFO and make it be the default
in certain architectures. Migrate all config files.Signed-off-by: Lokesh Vutla
Signed-off-by: Tom Rini -
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
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
26 Apr, 2016
2 commits
-
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
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
-
Signed-off-by: Stefano Babic
Reviewed-by: Tom Rini
05 Aug, 2015
1 commit
-
USB-related options are usually prefixed with CONFIG_USB and platform-specific
adaptation for the MUSB controller already have a CONFIG_USB_MUSB prefix, so
this switches all MUSB-related options to a CONFIG_USB_MUSB prefix, for
consistency.Signed-off-by: Paul Kocialkowski
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
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
13 Mar, 2015
1 commit
-
This is in preperation of using generic cross OMAP code.
Signed-off-by: Nishanth Menon
Tested-by: Matt Porter
Reviewed-by: Tom Rini
31 Jul, 2014
1 commit
-
Now CONFIG_SPL and CONFIG_TPL are defined in Kconfig.
Remove the redundant definition in config headers.
Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
26 Jul, 2014
2 commits
-
This patch moves some board specific NAND configs:
- FROM: generic config file 'ti_armv7_common.h'
- TO: individual board config files using these configs.
So that each board can independently set the value as per its design.Following configs are affected in this patch:
CONFIG_SYS_NAND_U_BOOT_OFFS:
CONFIG_CMD_SPL_NAND_OFS:
CONFIG_SYS_NAND_SPL_KERNEL_OFFS:
CONFIG_CMD_SPL_WRITE_SIZE:This patch also updates documentation for few of above NAND configs.
Signed-off-by: Pekon Gupta
-
PISMO_xx macros were used to define 'Platform Independent Storage MOdule'
related GPMC configurations. This patch
- Replaces these OMAP3 specific macros with generic CONFIG_xx macros as provided
by current u-boot infrastructure.
- Removes unused redundant macros, which are no longer required after
merging of common platform code in following commit
commit a0a37183bd75e74608bc78c8d0e2a34454f95a91
ARM: omap: merge GPMC initialization code for all platform+-----------------+-----------------------------------------------------------+
| Macro | Reason for removal |
+-----------------+-----------------------------------------------------------+
| PISMO1_NOR_BASE | duplicate of CONFIG_SYS_FLASH_BASE |
+-----------------+-----------------------------------------------------------+
| PISMO1_NAND_BASE| duplicate of CONFIG_SYS_NAND_BASE |
+-----------------+-----------------------------------------------------------+
| PISMO1_ONEN_BASE| duplicate of CONFIG_SYS_ONENAND_BASE |
+-----------------+-----------------------------------------------------------+
| PISMO1_NAND_SIZE| GPMC accesses NAND device via I/O mapped registers so |
| | configuring GPMC chip-select for smallest allowable |
| | segment (GPMC_SIZE_16M) is enough. |
+-----------------+-----------------------------------------------------------+
| PISMO1_ONEN_SIZE| OneNAND uses a fixed GPMC chip-select address-space of |
| | 128MB (GPMC_SIZE_128M) |
+-----------------+-----------------------------------------------------------+
+-----------------+-----------------------------------------------------------+
| PISMO1_NOR | Unused Macros |
| PISMO1_NAND | |
| PISMO2_CS0 | |
| PISMO2_CS1 | |
| PISMO1_ONENAND | |
| PISMO2_NAND_CS0 | |
| PISMO2_NAND_CS1 | |
| PISMO1_NOR_BASE | |
| PISMO1_NAND_BASE| |
| PISMO2_CS0_BASE | |
+-----------------+-----------------------------------------------------------+Signed-off-by: Pekon Gupta
07 Jun, 2014
1 commit
-
GPMC controller needs to be configured based on bus-width of the NAND device
connected to it. Also, dynamic detection of NAND bus-width from on-chip ONFI
parameters is not possible in following situations:
SPL: SPL NAND drivers does not support ONFI parameter reading.
U-boot: GPMC controller iniitalization is done in omap_gpmc.c:board_nand_init()
which is called before probing for devices, hence any ONFI parameter
information is not available during GPMC initialization.Thus, OMAP NAND driver expected board developers to explicitely write GPMC
configurations specific to NAND device attached on board in board files itself.
But this was troublesome for board manufacturers as they need to dive into
lengthy platform & SoC documents to find details of GPMC registers and
appropriate configurations to get NAND device working.This patch instead adds existing CONFIG_SYS_NAND_BUSWIDTH_16BIT to board config
hich indicates that connected NAND device has x16 bus-width. And then based on
this config GPMC driver itself initializes itself based on NAND bus-width. This
keeps board developers free from knowing GPMC controller specific internals.Signed-off-by: Pekon Gupta
18 Apr, 2014
7 commits
-
ti_omap3_common contains a lot of common header definitions that help
reduce the size of the zoom1 config file. So, use the generic header
and customize as needed for the platform (example: no spl).Signed-off-by: Nishanth Menon
-
We do not use ttyS2 anymore in Linux, it changed to ttyO2 a few years
back. never too late to update.Signed-off-by: Nishanth Menon
-
Boot from zImage and fdt_file if uImage is not available to maintain
the legacy behavior.Signed-off-by: Nishanth Menon
-
This is more in line with commits
664979a2a9f764b63b8094458b87247d254b0cc1(omap3_beagle: remove JFFS2
support.) and 102ce9ea7afdda80fe25aa786975e1722196bdb9 (omap3_beagle:
enable CMD_FS_GENERIC and simplify load of image/ramdisk)CMD_FS_GENERIC allows us to simplify where we load up our image from
either from ext2/fat etc. So, lets use that instead of cumbersome
options we'd have to use. Sticking with existing conventions,
defaults will be:
bootfile=uImage
bootpart=0:1 (first partition)
bootdir=/ (/ in first partition)Signed-off-by: Nishanth Menon
-
Basic networking commands for usability.
Signed-off-by: Nishanth Menon
-
Zoom1 was wrongly setup for LAN91C96. Fix it by enabling
LAN9211.Signed-off-by: Nishanth Menon
-
CONFIG_SYS_GENERIC_BOARD should now be enabled for generic
functionality Further information in doc/README.generic-boardSigned-off-by: Nishanth Menon
05 Mar, 2014
1 commit
-
OMAP NAND driver can detect Page-size and OOB-size of NAND device from ONFI
params or nand_id[] table. And based on that it defines ECC layout.
This patch
1) removes following board configs used for defining NAND ECC layout
- GPMC_NAND_ECC_LP_x16_LAYOUT (for large page x16 NAND)
- GPMC_NAND_ECC_LP_x8_LAYOUT (for large page x8 NAND)
- GPMC_NAND_ECC_SP_x16_LAYOUT (for small page x16 NAND)
- GPMC_NAND_ECC_SP_x8_LAYOUT (for small page x8 NAND)2) removes unused #defines in common omap_gpmc.h depending on above configs
Build tested using: ./MAKEALL -s am33xx -s omap3 -s omap4 -s omap5
Signed-off-by: Pekon Gupta