19 Dec, 2014
1 commit
-
The TrimSlice has an ethernet NIC connected to the PCIe bus. Enable the
PCIe controller and the network driver so that the device can boot over
the network.Signed-off-by: Thierry Reding
Signed-off-by: Simon Glass
Signed-off-by: Tom Warren
05 Dec, 2014
1 commit
-
Boards using the TWL4030 regulator may not all use the LDOs the same way
(e.g. MMC2 power can be controlled by another LDO than VMMC2).
This delegates TWL4030 MMC power initializations to board-specific functions,
that may still call twl4030_power_mmc_init for the default behavior.Signed-off-by: Paul Kocialkowski
Reviewed-by: Tom Rini
[trini: Fix omap3_evm warning, add twl4030.h]
Signed-off-by: Tom Rini
27 Nov, 2014
1 commit
24 Nov, 2014
1 commit
-
Provide board specific implementation for sata stop command for
cm_fx6.Signed-off-by: Nikita Kiryanov
Cc: Stefano Babic
21 Nov, 2014
1 commit
-
This function can fail if the device tree runs out of space. Rather than
silently booting with an incomplete device tree, allow the failure to be
detected.Unfortunately this involves changing a lot of places in the code. I have
not changed behvaiour to return an error where one is not currently
returned, to avoid unexpected breakage.Eventually it would be nice to allow boards to register functions to be
called to update the device tree. This would avoid all the many functions
to do this. However it's not clear yet if this should be done using driver
model or with a linker list. This work is left for later.Signed-off-by: Simon Glass
Acked-by: Anatolij Gustschin
20 Nov, 2014
1 commit
-
Many boards use a minimal .cfg file in the SPL case.
Introduce spl_sd.cfg so that we can reuse it.
Signed-off-by: Fabio Estevam
Acked-by: Stefano Babic
08 Nov, 2014
1 commit
07 Nov, 2014
10 commits
-
Add support for splash screen on both DVI and SCF0403 LCD.
Signed-off-by: Igor Grinberg
Reviewed-by: Tom Rini -
Add both EMAC and SMC911x support.
Signed-off-by: Igor Grinberg
Reviewed-by: Tom Rini -
Add both host and mUSB support.
Currently, the selection between host USB and mUSB is done through the
config file.Signed-off-by: Igor Grinberg
Reviewed-by: Tom Rini -
CompuLab cm-t3517 is Computer on Module (CoM) based on AM3517 SoC.
Features: up to 256MB DDR2, up to 512MB NAND, USB hub, mUSB, WiFi, BT,
Analog audio codec, touch screen controller, LED.Add basic support including:
LED, Serial console, NAND, MMC, GPIO, I2C, 256MB DRAM.Signed-off-by: Igor Grinberg
-
Switch the default CD GPIO polarity to active low.
The current hsmmc driver assumption that the CD GPIO is active high, but
in the real hardware, usually the opposite holds.
The usual SD card socket has a mechanical switch which is grounded as
soon as a card is inserted.
Of course there might be some board logic which inverts the signal, but
as far as current users are concerned, there is no such logic.Current U-Boot users either not using the CD functionality, or have a
different way (e.g. external to SoC GPIO controller) for checking the
card presence.This patch also brings the polarity assumption in line with the Linux
kernel and adds appropriate comments.This patch also might spare issues once the TWL GPIO driver will be
converted to the DM.Signed-off-by: Igor Grinberg
Cc: Pantelis Antoniou
Cc: Dmitry Lifshitz
Reviewed-by: Tom Rini -
The fallback is used for cases when CONFIG_SERIAL_TAG defined, but the
eeprom is not used.
The fallback is useful for more than one CompuLab board, so move it to a
common location.Signed-off-by: Igor Grinberg
Reviewed-by: Tom Rini -
Extract the SMC911x initialization code to a common location where it
can be reused by other compulab omap3 based boards.Signed-off-by: Igor Grinberg
Reviewed-by: Tom Rini -
The splash screen loading code can be reused by other compulab boards.
For now extract it to a common location for further reuse.This also switches the splash code dependency from CONFIG_LCD to
CONFIG_SPLASH_SCREEN as it should normally be.In addition this patch fixes the accidental dependency of the
get_board_mem_timings() function on CONFIG_LCD, by just moving the
splash code and leaving the above function intact.Signed-off-by: Igor Grinberg
Reviewed-by: Tom Rini -
Extract the USB hub reset code to a common location where it can be
reused by other compulab boards.Signed-off-by: Igor Grinberg
Reviewed-by: Tom Rini -
Move board revision handling code to a common location
for further reuse.Signed-off-by: Igor Grinberg
Reviewed-by: Tom Rini
06 Nov, 2014
3 commits
-
The 1GB DRAM configuration on mx6 solo uses 2 chip selects, but
the code tests 1GB DRAM configuration as if it is all present on one
chip select, and thus cannot see the full range of available memory.Refactor the check to detect 1GB DRAM correctly.
Signed-off-by: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Stefano Babic
Acked-by: Igor Grinberg -
Change the order in which GPIOs are toggled in SATA init sequence to
accomodate both SanDisk and Phison SSDs.Signed-off-by: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Stefano Babic
Acked-by: Igor Grinberg
29 Oct, 2014
1 commit
-
This commit introduces a Kconfig symbol for each ARM CPU:
CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
for CPU_ARM1176 and CPU_V7.For each target, the corresponding CPU is selected and the definition of
SYS_CPU in the corresponding Kconfig file is removed.Also, it removes redundant "string" type in some Kconfig files.
Signed-off-by: Georges Savoundararadj
Acked-by: Albert ARIBAUD
Cc: Masahiro Yamada
27 Oct, 2014
2 commits
24 Oct, 2014
1 commit
-
The platform_data definitions are generally referenced from both
drivers and board files. That is why header files defining
platform_data sturectures are placed in "include" directory,
but our top level "include" directory is already too cluttered.Let's collect platform_data definitions under the directory
"include/dm/platform_data" like Linux gathers ones around under
"include/linux/platform_data".This commit moves two header files:
include/serial_mxc.h -> include/dm/platform_data/serial_mxc.h
include/serial_pl01x.h -> include/dm/platform_data/serial_pl01x.hSigned-off-by: Masahiro Yamada
23 Oct, 2014
6 commits
-
Fix the following checkpatch issues:
CHECK: No space is necessary after a cast
\#39: FILE: arch/arm/include/asm/arch-am33xx/mux.h:39:
+#define PAD_CTRL_BASE 0x800
+#define OFFSET(x) (unsigned int) (&((struct pad_signals *) \CHECK: Avoid CamelCase:
\#284: FILE: arch/arm/include/asm/arch-omap3/mux.h:284:
+#define CONTROL_PADCONF_JTAG_nTRST 0x0A1CERROR: space required after that ',' (ctx:VxV)
\#446: FILE: arch/arm/include/asm/arch-omap3/mux.h:446:
+#define MUX_VAL(OFFSET,VALUE)\
^
Cc: Raphael Assenat
Cc: Ilya Yanok
Cc: Vaibhav Hiremath
Cc: Peter Barada
Cc: Grazvydas Ignotas
Cc: Stefan Roese
Cc: Stefano Babic
Cc: Nagendra T S
Cc: Nishanth Menon
Cc: Tom Rini
Signed-off-by: Igor Grinberg
Acked-by: Stefan Roese -
The gpmc_init() function already calls enable_gpmc_cs_config() for chip
select 0. Although the bus width is configured for 16 bit, it gets
reconfigured correctly in the omap_gpmc driver later.Remove the enable_gpmc_cs_config() function call and the associated
gpmc_nand_config[] array.Signed-off-by: Igor Grinberg
-
Switch to using define for MMC WP GPIO instead of a magic number.
Signed-off-by: Igor Grinberg
-
Now that serial and GPIO are available for iMX.6, move cm_fx6 over as an
example.Acked-by: Igor Grinberg
Signed-off-by: Simon Glass
Acked-by: Nikita Kiryanov -
Use gpio_request for all the gpios that are utilized by various
subsystems in cm-fx6, and refactor the relevant init functions
so that all gpios are requested during board_init(), not during
subsystem init, thus avoiding the need to manage gpio ownership
each time a subsystem is initialized.The new division of labor is:
During board_init() muxes are setup and gpios are requested.
During subsystem init gpios are toggled.Cc: Igor Grinberg
Cc: Simon Glass
Signed-off-by: Nikita Kiryanov -
Since this function can fail, check its return value.
Signed-off-by: Simon Glass
Tested-by: Nikita Kiryanov
21 Oct, 2014
1 commit
-
Provide a public declaration of the board_spi_cs_gpio()
callback for i.MX SPI chip selects to prevent the warning
"Should it be static?" when compiling with "make C=1".Signed-off-by: Eric Nelson
09 Oct, 2014
1 commit
-
Add default eeprom bus setting.
This addresses the trimslice compile error that was introduced
with the addition of this setting.Cc: Albert ARIBAUD
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
Acked-by: Igor Grinberg
18 Sep, 2014
1 commit
14 Sep, 2014
1 commit
-
Now the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}
are specified in arch/Kconfig.We can delete the ones in arch and board Kconfig files.
This commit can be easily reproduced by the following command:
find . -name Kconfig -a ! -path ./arch/Kconfig | xargs sed -i -e '
/config[[:space:]]SYS_\(ARCH\|CPU\|SOC\|\VENDOR\|BOARD\|CONFIG_NAME\)/ {
N
s/\n[[:space:]]*string//
}
'Signed-off-by: Masahiro Yamada
09 Sep, 2014
6 commits
-
Add support for SATA.
Cc: Igor Grinberg
Cc: Stefano Babic
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov -
Use Compulab eeprom module to obtain revision number, serial number, and
mac address from the EEPROM.Cc: Igor Grinberg
Cc: Stefano Babic
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov -
Add support for all 3 I2C busses on Compulab CM-FX6 CoM.
Cc: Igor Grinberg
Cc: Stefano Babic
Cc: Tom Rini
Acked-by: Igor Grinberg
Signed-off-by: Nikita Kiryanov -
Add USB and USB OTG host support for Compulab CM-FX6 CoM.
Cc: Igor Grinberg
Cc: Stefano Babic
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov -
Add ethernet support for Compulab CM-FX6 CoM
Cc: Igor Grinberg
Cc: Stefano Babic
Cc: Tom Rini
Acked-by: Igor Grinberg
Signed-off-by: Nikita Kiryanov -
Add NAND support for Compulab CM-FX6 CoM.
Cc: Igor Grinberg
Cc: Stefano Babic
Cc: Tom Rini
Acked-by: Igor Grinberg
Signed-off-by: Nikita Kiryanov