- Jul 25, 2014
-
-
Hao Zhang authored
It's convenient to hold configurations for DDR3 PHY and EMIF in separate common place. This patch moves K2HK DDR3 PHY and EMIF configuration data with different rates and memory size to a common ddr3_cfg.c file. Acked-by:
Murali Karicheri <m-karicheri2@ti.com> Signed-off-by:
Hao Zhang <hzhang@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Hao Zhang authored
This patch adds a common config header file for all the Keystone II EVM platforms. It combines a lot of general definitions in one file. The common header included in the EVM should be specific configuration header. Acked-by:
Murali Karicheri <m-karicheri2@ti.com> Signed-off-by:
Hao Zhang <hzhang@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Khoronzhuk, Ivan authored
This patch in general spit SoC type clock dependent code and general clock code. Before adding keystone II Edison k2e SoC which has slightly different dpll set, move k2hk dependent clock code to separate clock-k2hk.c file. Acked-by:
Murali Karicheri <m-karicheri2@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Hao Zhang authored
This patch moves K2HK board directory to a common Keystone II board directory. The Board related common functions are moved to a common keystone board file. Acked-by:
Murali Karicheri <m-karicheri2@ti.com> Signed-off-by:
Hao Zhang <hzhang@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Murali Karicheri authored
With latest v3.13 kernel, unitrd dt fixup is not needed. However for older kernel versions such as v3.8/v3.10, it is needed. So to work with both, add a u-boot env variable that can be set to do dt fixup for older kernels. Signed-off-by:
Murali Karicheri <m-karicheri2@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Khoronzhuk, Ivan authored
Use KS2_ prefix in all definitions, for that replace K2HK_ prefix and add KS2_ prefix where it's needed. It requires to change names also in places where they're used. Align lines and remove redundant definitions in kardware-k2hk.h at the same time. Using common KS2_ prefix helps resolve redundant redefinitions and adds opportunity to use KS2_ definition across a project not thinking about what SoC should be used. It's more convenient and we don't need to worry about the SoC type in common files, hardware.h will think about that. The hardware.h decides definitions of what SoC to use. Acked-by:
Murali Karicheri <m-karicheri2@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Hao Zhang authored
By default all DSPs are turned off, for another case option to turn off them is added in this commit. Also add command to turn off itself. Acked-by:
Murali Karicheri <m-maricheri2@ti.com> Signed-off-by:
Hao Zhang <hzhang@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Hao Zhang authored
The SoC related common functions in board.c should be placed to a common keystone.c arch file. Acked-by:
Murali Karicheri <m-maricheri2@ti.com> Signed-off-by:
Hao Zhang <hzhang@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Khoronzhuk, Ivan authored
This driver is needed in case if keystone driver is used. Currently only keystone_net driver uses it. So to avoid redundant code compilation make the keystone_nav dependent on keystone net driver. It also leads to compilation errors for boards that does't use it. Acked-by:
Murali Karicheri <m-karicheri2@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Hao Zhang authored
Add DDR3 PHY configs updated for PG 2.0 Also add DDR3A PHY reset before init for PG2.0 SoCs. Acked-by:
Murali Karicheri <m-maricheri2@ti.com> Signed-off-by:
Hao Zhang <hzhang@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Khoronzhuk, Ivan authored
It's convinient to hold ddr3 function definitions in separate file such as ddr3.h. So move this from hardware.h to ddr3.h. Acked-by:
Murali Karicheri <m-karicheri2@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Khoronzhuk, Ivan authored
Use common keystone2 Power Sleep controller base address instead of directly deciding which keystone2 SoC is used in psc module. Acked-by:
Murali Karicheri <m-karicheri2@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Stefan Roese authored
Use generic board setup functions by defining CONFIG_SYS_GENERIC_BOARD. Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Tom Rini <trini@ti.com>
-
Stefan Roese authored
These functions have been merged into the common GPMC init code with this commit a0a37183 (ARM: omap: merge GPMC initialization code for all platform). The file is not compiled any more. So remove it as well. Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Pekon Gupta <pekon@ti.com> Cc: Tom Rini <trini@ti.com> Acked-by:
Pekon Gupta <pekon@ti.com>
-
Stefan Roese authored
Commit a0a37183 (ARM: omap: merge GPMC initialization code for all platform) broke NAND on OMAP3 based platforms. I noticed this while testing the latest 2014.07-rc version on the TAO3530 board. NAND detection did not work with this error message: NAND: nand: error: Unable to find NAND settings in GPMC Configuration - quitting As OMAP3 configs don't set CONFIG_NAND but CONFIG_NAND_CMD. the GPMC was not initialized for NAND at all. This patch now fixes this issue. Tested on TAO3530 board. Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Pekon Gupta <pekon@ti.com> Cc: Tom Rini <trini@ti.com> Acked-by:
Pekon Gupta <pekon@ti.com>
-
Andreas Bießmann authored
Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com> Cc: Thomas Weber <thomas.weber@corscience.de>
-
Tom Rini authored
As noted by clang, we have been shifting certain values out of 32bit range when setting some DDR registers. Upon further inspection these had been touching reserved fields (and having no impact). These came in from historical bring-up code and can be discarded. Similarly, we had been declaring some fields as 0 when they will be initialized that way. Tested on Beaglebone White. Reported-by:
Jeroen Hofstee <jeroen@myspectrum.nl> Cc: Ash Charles <ash@gumstix.com> Signed-off-by:
Tom Rini <trini@ti.com> Tested-By:
Ash Charles <ashcharles@gmail.com>
-
Khoronzhuk, Ivan authored
Add script to automate NAND flash process. As for now the board has two burn scripts - burn to boot from SPI NOR flash and burn to boot from AEMIF NAND flash, rename burn_uboot script to burn_uboot_spi. Also update README to contain NAND burn U-boot process description. Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> Acked-by:
Murali Karicheri <m-karicheri2@ti.com>
-
Khoronzhuk, Ivan authored
Add support for NAND gpheader image. TI Keystone2 ROM bootloader expects 8 bytes of trailing zeroes in the nand u-boot image. So add zeros at the end of the nand gph image. Acked-by:
Murali Karicheri <m-karicheri2@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Khoronzhuk, Ivan authored
The Keystone SoCs use the same NAND driver as Davinci. This patch adds opportunity to write Keystone U-boot image to NAND device using appropriate RBL ECC layout. This is needed only if RBL boots U-boot from NAND device and that's supposed that raw u-boot partition is used only for writing image. The main problem is that default Davinci ECC layout is different from Keystone RBL layout. To read U-boot image the RBL needs that image was written using RBL ECC layout. The BBT table is written using default Davinci layout and has to be updated using one. The BBT can be updated only while erasing chip or by forced bad block assigning, so erase function has to use native ecc layout in order to be able to write BBT correctly. So if we're writing to NAND U-boot address we use RBL layout for others we use default ECC layout. Also remove definition for CONFIG_CMD_NAND_ECCLAYOUT as there is no reasons to use ECC layout commands. It was added by mistake. Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Tom Rini authored
Add in an init function for the drivers/power framework so we can dump and read the registers via i2c. Cc: Łukasz Majewski <l.majewski@samsung.com> Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
As this is a weak function that we may override, provide a prototype for it. Cc: Łukasz Majewski <l.majewski@samsung.com> Signed-off-by:
Tom Rini <trini@ti.com>
-
Mugunthan V N authored
Set the active_slave to 1 as slave 1 is pinned out in dra72x base board Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com>
-
Mugunthan V N authored
Add cpsw second slave port pinmux to use it as primary ethernet port Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com>
-
Mugunthan V N authored
Add support for using the second slave port of cpsw to be used as primary ethernet. Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com>
-
- Jul 05, 2014
-
-
Chin Liang See authored
To move the arch common function away from board folder to arch/arm/cpu/armv7/socfpga folder. Its to avoid code duplication for other non Altera dev kit which is using socfpga device. Signed-off-by:
Chin Liang See <clsee@altera.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de> Cc: Pavel Machek <pavel@denx.de> Cc: Dinh Nguyen <dinguyen@altera.com> Acked-by:
Detlev Zundel <dzu@denx.de>
-
Linus Walleij authored
Turn on generic board for the integrators, as per the request in the startup message. Everything just works, tested on the Integrator/AP and Integrator/CP. Signed-off-by:
Linus Walleij <linus.walleij@linaro.org> Acked-by:
Simon Glass <sjg@chromium.org>
-
Stephen Warren authored
Serial port, SD card, and LCD all work. Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org> Acked-by:
Simon Glass <sjg@chromium.org>
-
Christian Riesch authored
Signed-off-by:
Christian Riesch <christian.riesch@omicron.at>
-
Shaibal.Dutta authored
Fix following compilation error when CONFIG_ARM64 is defined Error: unknown or missing system register name at operand 2 -- `mrs x0,daifmsr daifset,#3' Signed-off-by:
Shaibal.Dutta <shaibal.dutta@broadcom.com> Signed-off-by:
Darwin Rambo <drambo@broadcom.com> Reviewed-by:
Darwin Rambo <drambo@broadcom.com>
-
Łukasz Dałek authored
Enable 'generic board init' for H2200 palmtop. Signed-off-by:
Lukasz Dalek <luk0104@gmail.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Jeroen Hofstee authored
cc: Tom Rini <trini@ti.com> Signed-off-by:
Jeroen Hofstee <jeroen@myspectrum.nl>
-
- Jul 04, 2014
-
-
Albert ARIBAUD authored
Run tools/reformat.py -i -d '-' -s 8 to reorder boards as header comments suggest
-
Chin Liang See authored
Scan Manager driver will be called to configure the IOCSR scan chain. This configuration will setup the IO buffer settings Signed-off-by:
Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Wolfgang Denk <wd@denx.de> CC: Pavel Machek <pavel@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net>
-
Chin Liang See authored
To enable the DesignWare watchdog support at SOCFPGA Cyclone V dev kit. Signed-off-by:
Chin Liang See <clsee@altera.com> Cc: Anatolij Gustschin <agust@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Heiko Schocher <hs@denx.de> Cc: Tom Rini <trini@ti.com>
-
Chin Liang See authored
To add the DesignWare watchdog driver support. It required information such as register base address and clock info from configuration header file within include/configs folder. Signed-off-by:
Chin Liang See <clsee@altera.com> Cc: Anatolij Gustschin <agust@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Heiko Schocher <hs@denx.de> Cc: Tom Rini <trini@ti.com>
-
Sergey Kostanbaev authored
This patch returns back support for old ep93xx processors family Signed-off-by:
Sergey Kostanbaev <sergey.kostanbaev@gmail.com> Cc: albert.u.boot@aribaud.net
-
Axel Lin authored
In current gpio_set_value() implementation, it always sets the gpio control bit no matter the value argument is 0 or 1. Thus the GPIOs never set to low. This patch fixes this bug. The address bus is used as a mask on read/write operations, so that independent software drivers can set their GPIO bits without affecting any other pins in a single write operation. Thus we don't need a read-modify-write to update the register. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Acked-by:
Stefan Roese <sr@denx.de> Reviewed-by:
Vipin Kumar <vipin.kumar@st.com> Reviewed-by:
Michael Trimarchi <michael@amarulasolutions.com>
-
Jeroen Hofstee authored
This is not only more readable but also prevents a warning about a missing prototype. The prototypes which are actually missing are added. cc: Albert Aribaud <albert.u.boot@aribaud.net> Signed-off-by:
Jeroen Hofstee <jeroen@myspectrum.nl> Reviewed-by:
Tom Rini <trini@ti.com>
-
York Sun authored
LS2085A is an ARMv8 implementation. This adds board support for emulator and simulator: Two DDR controllers UART2 is used as the console IFC timing is tightened for speedy booting Support DDR3 and DDR4 as separated targets Management Complex (MC) is enabled Support for GIC 500 (based on GICv3 arch) Signed-off-by:
York Sun <yorksun@freescale.com> Signed-off-by:
Arnab Basu <arnab.basu@freescale.com> Signed-off-by:
J. German Rivera <German.Rivera@freescale.com> Signed-off-by:
Bhupesh Sharma <bhupesh.sharma@freescale.com>
-