21 Feb, 2014
1 commit
-
Commit 5ab502cb gathered all device tree sources
to arch/$(ARCH)/dts/.
So tegra124-venice2.dts also must go to arch/arm/dts directory
to build venice2 board.(Commit 5ab502cb had been posted before venice2 board support
was merged. So an unvisible conflict happened.)Acked-by: Stephen Warren
Signed-off-by: Masahiro Yamada
Cc: Simon Glass
Cc: Tom Rini
20 Feb, 2014
2 commits
-
Unlike Linux Kernel, U-Boot historically had *.dts files under
board/$(VENDOR)/dts/ and *.dtsi files under arch/$(ARCH)/dts/.I think arch/$(ARCH)/dts dicretory is a better location
to store both *.dts and *.dtsi files.For example, before this commit, board/xilinx/dts directory
had both Microblaze dts (microblaze-generic.dts) and
ARM dts (zynq-*.dts), which are totally unrelated.This commit moves *.dts to arch/$(ARCH)/dts/ directories,
allowing us to describe nicely mutiple DTBs generation in the next commit.Signed-off-by: Masahiro Yamada
-
This commit changes the working directory
where the build process occurs.Before this commit, build process occurred under the source
tree for both in-tree and out-of-tree build.That's why we needed to add $(obj) prefix to all generated
files in makefiles like follows:
$(obj)u-boot.bin: $(obj)u-bootHere, $(obj) is empty for in-tree build, whereas it points
to the output directory for out-of-tree build.And our old build system changes the current working directory
with "make -C " syntax when descending into the
sub-directories.On the other hand, Kbuild uses a different idea
to handle out-of-tree build and directory descending.The build process of Kbuild always occurs under the output tree.
When "O=dir/to/store/output/files" is given, the build system
changes the current working directory to that directory and
restarts the make.Kbuild uses "make -f $(srctree)/scripts/Makefile.build obj="
syntax for descending into sub-directories.
(We can write it like "make $(obj)=" with a shorthand.)
This means the current working directory is always the top
of the output directory.Signed-off-by: Masahiro Yamada
Tested-by: Gerhard Sittig
04 Feb, 2014
3 commits
-
These are the board files for Venice2 (Tegra124), plus the AS3722 PMIC
files. PMIC init will be moved to pmic_common_init later.This builds/boots on Venice2, SPI/MMC/USB/I2C all work. Audio, display
and WB/LP0 are not supported yet.Signed-off-by: Tom Warren
Signed-off-by: Stephen Warren
Tested-by: Thierry Reding
Signed-off-by: Tom Warren -
These are fairly complete, and near-clones of Tegra114 Venice, with an
additional I2C port, and MMC address changes for Tegra124.Signed-off-by: Tom Warren
Signed-off-by: Stephen Warren
Tested-by: Thierry Reding
Signed-off-by: Tom Warren -
__pinmux_nand() won't compile if PERIPH_ID_NDFLASH isn't defined.
Prevent this from causing build problems on newer SoCs without NAND
support (or without SW support for NAND yet), but preventing
compilation unless the function will actually be used, i.e. when
CONFIG_TEGRA_NAND is defined.Signed-off-by: Tom Warren
[swarren, rewrote commit description, moved ifdef around whole function
rather than just body]
Signed-off-by: Stephen Warren
Tested-by: Thierry Reding
Signed-off-by: Tom Warren
25 Jan, 2014
1 commit
-
If timer_init() is made a weak stub function, then it allows us to
remove several empty timer_init functions for those boards that
already have a timer initialized when u-boot starts. Architectures
that use the timer framework may also remove the need for timer.c.Signed-off-by: Darwin Rambo
Reviewed-by: Tim Kryger
18 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
01 Nov, 2013
2 commits
-
We have converted all makefiles needed to build $(LIBS).
Until this commit we used to grep switch so that U-Boot style
and Kbuild style makefiles coexist.
But we do not need any more.Goint forward, use always Kbuild style Makefile when adding
a new MakefileSigned-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
Cc: Albert ARIBAUD
Cc: Andreas Bießmann
Cc: Stefano Babic
Cc: Prafulla Wadaskar
Cc: Minkyu Kang
Cc: Vipin Kumar
Cc: Tom Warren
Cc: Tom Rini
21 Oct, 2013
1 commit
-
This commit unifies board-specific USB initialization implementations
under one symbol (usb_board_init), declaration of which is available in
usb.h.New API allows selective initialization of USB controllers whenever needed.
Signed-off-by: Mateusz Zalega
Signed-off-by: Kyungmin Park
Reviewed-by: Lukasz Majewski
Cc: Marek Vasut
Cc: Lukasz Majewski
24 Jul, 2013
2 commits
-
The sandburst-specific i2c drivers have been deleted, conflict was just
over the SPDX conversion.Conflicts:
board/sandburst/common/ppc440gx_i2c.c
board/sandburst/common/ppc440gx_i2c.hSigned-off-by: Tom Rini
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
23 Jul, 2013
1 commit
-
This enables CONFIG_SYS_I2C on Tegra, updating existing boards and the Tegra
i2c driver to support this.Signed-off-by: Simon Glass
Signed-off-by: Heiko Schocher
12 Jul, 2013
4 commits
-
Signed-off-by: Stephen Warren
Signed-off-by: Tom Warren -
Signed-off-by: Stephen Warren
Signed-off-by: Tom Warren -
Tegra30 and Tegra114 are compatible except PLL parameters.
Tested on Tegra30 Cardhu, and Tegra114 Dalmore
platforms. All works well.Signed-off-by: Jim Lin
Signed-off-by: Tom Warren -
Add DT node for USB EHCI function.
Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards.Signed-off-by: Jim Lin
Reviewed-by: Stephen Warren
Tested-by: Stephen Warren
Signed-off-by: Tom Warren
29 May, 2013
1 commit
-
Did a 'strings u-boot-dtb-tegra.bin | less' and saw that both
board and board_name == beaver. Didn't test as I have no T30
Beaver board here.Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren
Tested-by: Stephen Warren
16 Apr, 2013
2 commits
-
Beaver is a Tegra30 board that is nearly 100% compatible w/Cardhu.
Add a Beaver build so it can begin to be differentiated, if need be.Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
As suggested by Stephen Warren, use tegra_get_chip() to return
the pure CHIPID for a Tegra SoC (i.e. 0x20 for Tegra20, 0x30 for
Tegra30, etc.) and rename tegra_get_chip_type() to reflect its true
function, i.e. tegra_get_chip_sku(), which returns an ID like
TEGRA_SOC_T25, TEGRA_SOC_T33, etc.Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren
26 Mar, 2013
7 commits
-
T114 requires SD bus power-rail bringup for the SDIO card on SDMMC3.
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
SDIO1 (the SD-card slot on Dalmore) needs to have its pads setup
before the MMC driver is added.Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Took these values directly from the kernel dts files.
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Dalmore has a SPI flash part attached to controller 4, so enable
controller 4 and set to 25MHz.Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Add a common interface to fdt based SPI drivers. Each driver is
represented by a table entry in fdt_spi_drivers[]. If there are
multiple SPI drivers in the table, the first driver to return success
from spi_init() will be registered as the SPI driver.Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Rename tegra SPI drivers to tegra20_flash and tegra20_slink in
preparation for commonization and addition of tegra114_spi.Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
This feature was only used for tegra20 seaboard that had a pinmux
conflict on the SPI pins. These boards were never manufactured, so
remove this support to clean up SPI driver.Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren
15 Mar, 2013
12 commits
-
Pad config registers exist in APB_MISC_GP space, and control slew
rate, drive strengh, schmidt, high-speed, and low-power modes for
all of the pingroups in Tegra30. This builds off of the pinmux
way of constructing init tables to configure select pads (SDIOCFG,
for instance) during pinmux_init().Currently, no padcfg entries exist. SDIO3CFG will be added when the
MMC driver is added as per the TRM to work with the SD-card slot on
Dalmore E1611.Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
All other Tegra boards have their alias nodes in the .dts file
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
The pinmux code issues a warning if the caller attempts to disable the
lock bit in a pinmux register, since this is impossible (once it's
locked, the only way to unlock it is to reset the device/pmt controller).The I2C/DDC/CEC/USB macros expect a lock setting to be passed in,
and the previous setting of DISABLE caused the pinmux table parsing
code to issue the warning. Changing the lock bits in these table
entries to DEFAULT (i.e. don't touch it) fixes this.Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
T30 requires specific SDMMC pad programming, and bus power-rail bringup.
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Took these values directly from the kernel dts files.
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Pad config registers exist in APB_MISC_GP space, and control slew
rate, drive strengh, schmidt, high-speed, and low-power modes for
all of the pingroups in Tegra30. This builds off of the pinmux
way of constructing init tables to configure select pads (SDIOCFG,
for instance) during pinmux_init().Currently, only SDIO1CFG is changed as per the TRM to work with
the SD-card slot on Cardhu.Thanks to StephenW for the suggestion/original idea.
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Use the latest tables & code from our internal U-Boot repo.
The SDMMC3_CD, CLK_LB_IN and CLK_LB_OUT offsets in the pingroup
table were off by a few indices, causing the pinmux init code to
write bad data to the PINMUX_AUX_ regs. This also enabled the lock
bit, which made it impossible to reconfig the pads correctly for
SDMMC3 (SD card on Dalmore) operation. Also fixes SPI_CS2_N,
USB_VBUS_EN0, HDMI_CEC and UART2_RXD/TXD muxes.Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
This was an older debug/developmental file that got added
accidentally. Not needed/used in any Cardhu build.Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Minor edits to clock, apbdma and SPI, make I2C match kernel DT, and add gpio
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Not used, and wrong in Cardhu's case
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
tegra_mmc_init() now parses the DT info for bus width, WP/CD GPIOs, etc.
Tested on Seaboard, fully functional.Tamonten boards (medcom-wide, plutux, and tec) use a different/new
dtsi file w/common settings.Signed-off-by: Tom Warren
Signed-off-by: Thierry Reding
Reviewed-by: Stephen Warren -
Linux dts files were used for those boards that didn't already
have sdhci info populated. Tamonten has their own dtsi file with
common sdhci nodes (sourced from Linux).Signed-off-by: Tom Warren
Tested-by: Thierry Reding
Reviewed-by: Stephen Warren