- 06 7月, 2010 1 次提交
-
-
由 Steve Sakoman 提交于
The purpose of this patch is to prepare for adding the OMAP4 architecture, which is Cortex A9 Cortex A8 and A9 both belong to the armv7 architecture, hence the name change. The two architectures are similar enough that substantial code can be shared. Signed-off-by: NAneesh V <aneesh@ti.com> Signed-off-by: NSteve Sakoman <steve@sakoman.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
- 05 7月, 2010 4 次提交
-
-
由 Wolfgang Denk 提交于
The hush shell dynamically allocates (and re-allocates) memory for the argument strings in the "char *argv[]" argument vector passed to commands. Any code that modifies these pointers will cause serious corruption of the malloc data structures and crash U-Boot, so make sure the compiler can check that no such modifications are being done by changing the code into "char * const argv[]". This modification is the result of debugging a strange crash caused after adding a new command, which used the following argument processing code which has been working perfectly fine in all Unix systems since version 6 - but not so in U-Boot: int main (int argc, char **argv) { while (--argc > 0 && **++argv == '-') { /* ====> */ while (*++*argv) { switch (**argv) { case 'd': debug++; break; ... default: usage (); } } } ... } The line marked "====>" will corrupt the malloc data structures and usually cause U-Boot to crash when the next command gets executed by the shell. With the modification, the compiler will prevent this with an error: increment of read-only location '*argv' N.B.: The code above can be trivially rewritten like this: while (--argc > 0 && **++argv == '-') { char *arg = *argv; while (*++arg) { switch (*arg) { ... Signed-off-by: NWolfgang Denk <wd@denx.de> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
由 Wolfgang Denk 提交于
Instead of defining the flags sevaral times in different source files (which is error prone), move them to a central place in a header file. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Wolfgang Denk 提交于
Change the return type of the *printf() functions to the standard "int"; no changes are needed but returning the already available length count. This will save a few additional strlen() calls later... Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Wolfgang Denk 提交于
Remove some INFERNO related #ifdef's from common environment code by fixing the board configuration settings (add CONFIG_ENV_SECT_SIZE). While we are at it, fix comment which incorrectly talks about 4 KB environment size, while it's actually 0x4000 = 16 KiB. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Rolf Offermanns <rof@sysgo.de>
-
- 01 7月, 2010 2 次提交
-
-
由 Stefan Roese 提交于
This patch adds support for the T3CORP board, based on the AppliedMicro (APM) PPC460GT. Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
This patch enables booting with option E on the PPC460EX/EXr/GT. When booting with Option E, the PLL is in bypass, CPR0_PLLC[ENG]=0. The Software Boot Configuration Procedure is needed to engage the PLL and perform a chip reset. Signed-off-by: NStefan Roese <sr@denx.de>
-
- 30 6月, 2010 5 次提交
-
-
由 Heiko Schocher 提交于
r12 is used for accessing the GOT not r14. Fix this in the comment. Signed-off-by: NHeiko Schocher <hs@denx.de>
-
由 Felix Radensky 提交于
On P2020RDB eTSEC2 is connected to Vitesse VSC8221 PHY via SGMII. Current TBI PHY settings for SGMII mode cause link problems on this platform, link never comes up. Fix this by making TBI PHY settings configurable and add a working configuration for P2020RDB. Signed-off-by: NFelix Radensky <felix@embedded-sol.com> Acked-by: NAndy Fleming <afleming@freescale.com> Acked-by: NPeter Tyser <ptyser@xes-inc.com> Tested-by: NPeter Tyser <ptyser@xes-inc.com>
-
由 Wolfgang Denk 提交于
ISO C does not allow extra ';' outside of a function Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Felix Radensky 提交于
On P2020RDB eTSEC2 is connected to Vitesse VSC8221 PHY via SGMII. Current TBI PHY settings for SGMII mode cause link problems on this platform, link never comes up. Fix this by making TBI PHY settings configurable and add a working configuration for P2020RDB. Signed-off-by: NFelix Radensky <felix@embedded-sol.com> Acked-by: NAndy Fleming <afleming@freescale.com>
-
由 Poonam Aggrwal 提交于
Because the variable was getting defined twice. Signed-off-by: NPoonam Aggrwal <poonam.aggrwal@freescale.com> Acked-by: NAndy Fleming <afleming@freescale.com>
-
- 24 6月, 2010 2 次提交
-
-
由 Wolfgang Denk 提交于
The AmigaOneG3SE board has been orphaned or a very long time, and broken for more than 12 releases resp. more than 3 years. As nobody seems to be interested any more in this stuff we may as well ged rid of it, especially as it clutters many areas of the code so it is a continuous pain for all kinds of ongoing work. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Wolfgang Denk 提交于
CONFIG_SYS_BUS_HZ has not really been used anywhere except to be redined as CONFIG_SYS_BUS_CLK; in addition, the mpc7448hpc2 had the bogus CONFIG_SYS_CONFIG_BUS_CLK setting which duplicated the funtionality. Change all this to use CONFIG_SYS_BUS_CLK consistently. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Frank Gottschling <fgottschling@eltec.de> Cc: Reinhard Arlt <reinhard.arlt@esd-electronics.com> Cc: Eran Man <eran@nbase.co.il> Cc: Stefan Roese <sr@denx.de> Cc: Nye Liu <nyet@zumanetworks.com> Cc: Roy Zang <tie-fei.zang@freescale.com>
-
- 22 6月, 2010 1 次提交
-
-
由 Prakash PM 提交于
Currently EMAC_MDIO_PHY_NUM is defined as 1 in emac_defs.h. Because of this, EMAC does not work on EVMs which do not have phy connected at 1. Moving the macro to board config file makes this configurable depending on where the phy is connected on the MDIO bus. This patch fixes the board reset issue observed during network access on DM365EVM. EMAC driver was assuming EMAC_MDIO_PHY_NUM as 1 but it is 0 on DM365EVM. This patch is verified on da830/omap-l137, dm365 and dm644x evms. Signed-off-by: NPrakash PM <prakash.pm@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
- 20 6月, 2010 1 次提交
-
-
由 Wolfgang Denk 提交于
Commit 37566090 "compiler.h: unify system ifdef cruft here" added both a "#include <errno.h>" and a "extern int errno;" to include/compiler.h which is causing build warnings for some systems, for example for the "netstar" board: In file included from /home/wd/git/u-boot/work/lib/crc32.c:15: include/compiler.h:28: warning: function declaration isn't a prototype The declaration of "errno" should be redundant, as <errno.h> is supposed to provide a correct declaration, so drop it. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Mike Frysinger <vapier@gentoo.org>
-
- 18 6月, 2010 1 次提交
-
-
由 Anatolij Gustschin 提交于
Adds initialization code for SM502 graphics controller and NL6448BC20-21D LCD panel. Signed-off-by: NAnatolij Gustschin <agust@denx.de> Cc: Stefan Roese <sr@denx.de>
-
- 17 6月, 2010 1 次提交
-
-
由 Albert Aribaud 提交于
This patch adds support for the LaCie ED Mini V2 product which is based on the Marvell Orion5x SoC. Signed-off-by: NAlbert Aribaud <albert.aribaud@free.fr>
-
- 15 6月, 2010 1 次提交
-
-
由 Minkyu Kang 提交于
This patch adds support for the Samsung Goni board (S5PC110 SoC) Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
-
- 14 6月, 2010 1 次提交
-
-
由 Anatolij Gustschin 提交于
Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
- 11 6月, 2010 1 次提交
-
-
由 Sudhakar Rajashekhara 提交于
Provides initial support for TI OMAP-L138/DA850 SoC devices on a Logic PD EVM board. Provides: Initial boot and configuration. Support for i2c. UART support (console). Signed-off-by: NSudhakar Rajashekhara <sudhakar.raj@ti.com> Acked-by: NBen Gardiner <bengardiner@nanometrics.ca> Reviewed-by: NWolfgang Denk <wd@denx.de> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
- 08 6月, 2010 12 次提交
-
-
由 Vaibhav Hiremath 提交于
This patch adds support for the EMIF4 interface available in the AM35x processors. Signed-off-by: NVaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: NSanjeev Premi <premi@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
由 Vaibhav Hiremath 提交于
This patch adds basic support for the AM3517EVM. It includes: - Board files (.c and .h) - Default configuration file - Updates for Makefile Signed-off-by: NVaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: NSanjeev Premi <premi@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
由 Vaibhav Hiremath 提交于
Consolidated SDRC related functions into one file - sdrc.c And also replaced sdrc_init with generic memory init function (mem_init), this generalization of omap memory setup is necessary to support the new emif4 interface introduced in AM3517. Signed-off-by: NVaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
由 Vaibhav Hiremath 提交于
The EVMS have been shipping with NAND (instead of OneNAND) as default. So, this patch sets NAND as default. To choose OneNAND, define CMD_ONENAND instead of CMD_NAND in the config file omap3_evm.h. Signed-off-by: NVaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
由 Cyril Chemparathy 提交于
TNETV107X is a Texas Instruments SoC based on an ARM1176 core, and with a bunch on on-chip integrated peripherals. This patch adds support for the TNETV107X EVM board. Signed-off-by: NCyril Chemparathy <cyril@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
由 Cyril Chemparathy 提交于
The current ARM1176 CPU specific code is too specific to the SMDK6400 architecture. The following changes were necessary prerequisites for the addition of other SoCs based on ARM1176. Existing board's (SMDK6400) configuration has been modified to keep behavior unchanged despite these changes. 1. Peripheral port remap configurability The earlier code had hardcoded remap values specific to s3c64xx in start.S. This change makes the peripheral port remap addresses and sizes configurable. 2. U-Boot code relocation support Most architectures allow u-boot code to run initially at a different address (possibly in NOR) and then get relocated to its final resting place in RAM. Added support for this capability in ARM1176 architecture. 3. Disable TCM if necessary If a ROM based bootloader happened to have initialized TCM, we disable it here to keep things sane. 4. Remove unnecessary SoC specific includes ARM1176 code does not really need this SoC specific include. The presence of this include prevents builds on other ARM1176 archs. 5. Modified virt-to-phys conversion during MMU disable The original MMU disable code masks out too many bits from the load address when it tries to figure out the physical address of the jump target label. Consequently, it ends up branching to the wrong address after disabling the MMU. Signed-off-by: NCyril Chemparathy <cyril@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
由 Vaibhav Hiremath 提交于
This patch adds support for the EMIF4 interface available in the AM35x processors. Signed-off-by: NVaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: NSanjeev Premi <premi@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
由 Vaibhav Hiremath 提交于
This patch adds basic support for the AM3517EVM. It includes: - Board files (.c and .h) - Default configuration file - Updates for Makefile Signed-off-by: NVaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: NSanjeev Premi <premi@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
由 Vaibhav Hiremath 提交于
Consolidated SDRC related functions into one file - sdrc.c And also replaced sdrc_init with generic memory init function (mem_init), this generalization of omap memory setup is necessary to support the new emif4 interface introduced in AM3517. Signed-off-by: NVaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
由 Vaibhav Hiremath 提交于
The EVMS have been shipping with NAND (instead of OneNAND) as default. So, this patch sets NAND as default. To choose OneNAND, define CMD_ONENAND instead of CMD_NAND in the config file omap3_evm.h. Signed-off-by: NVaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
由 Cyril Chemparathy 提交于
TNETV107X is a Texas Instruments SoC based on an ARM1176 core, and with a bunch on on-chip integrated peripherals. This patch adds support for the TNETV107X EVM board. Signed-off-by: NCyril Chemparathy <cyril@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
由 Cyril Chemparathy 提交于
The current ARM1176 CPU specific code is too specific to the SMDK6400 architecture. The following changes were necessary prerequisites for the addition of other SoCs based on ARM1176. Existing board's (SMDK6400) configuration has been modified to keep behavior unchanged despite these changes. 1. Peripheral port remap configurability The earlier code had hardcoded remap values specific to s3c64xx in start.S. This change makes the peripheral port remap addresses and sizes configurable. 2. U-Boot code relocation support Most architectures allow u-boot code to run initially at a different address (possibly in NOR) and then get relocated to its final resting place in RAM. Added support for this capability in ARM1176 architecture. 3. Disable TCM if necessary If a ROM based bootloader happened to have initialized TCM, we disable it here to keep things sane. 4. Remove unnecessary SoC specific includes ARM1176 code does not really need this SoC specific include. The presence of this include prevents builds on other ARM1176 archs. 5. Modified virt-to-phys conversion during MMU disable The original MMU disable code masks out too many bits from the load address when it tries to figure out the physical address of the jump target label. Consequently, it ends up branching to the wrong address after disabling the MMU. Signed-off-by: NCyril Chemparathy <cyril@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
- 06 6月, 2010 1 次提交
-
-
由 Asen Dimov 提交于
Add the new board PM9G45 from Ronetix GmbH. * AT91SAM9G45 MCU at 400Mhz. * 128MB DDR2 SDRAM * 256MB NAND * 10/100 MBits Ethernet DP83848 * Serial number chip DS2401 The board is made as SODIMM200 module. For more info www.ronatix.at or info@ronetix.at. Signed-off-by: NAsen Dimov <dimov@ronetix.at>
-
- 04 6月, 2010 1 次提交
-
-
由 Ron Madrid 提交于
This patch changed the SICRL_USBDR define to reflect the 4 different bit settings for this two-bit field. The four different options are '00', '01', '10', and '11'. This patch also corrects the config file for SIMPC8313 and MPC8313ERDB for the appropriate fields. This change only affects the MPC8313 cpu. Signed-off-by: NRon Madrid <ron_madrid@sbcglobal.net> Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
-
- 28 5月, 2010 3 次提交
-
-
由 Thomas Chou 提交于
The nios-32 arch is obsolete and broken. So it is removed. Signed-off-by: NThomas Chou <thomas@wytron.com.tw>
-
由 Thomas Chou 提交于
This patch adds gpio support of Altera PIO component to the nios2-generic board. Though it drives only gpio_led at the moment, it supports bidirectional port to control bit-banging I2C, NAND flash busy status or button switches, etc. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Tested-by: NIan Abbott <abbotti@mev.co.uk> Signed-off-by: NScott McNutt <smcnutt@psyent.com>
-
由 Sergei Shtylyov 提交于
create_pipe() can give wrong result if an expression is passed as the 'endpoint' argument -- due to missing parentheses. Thanks to Martin Mueller for finding the bug and providing the patch. Signed-off-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
-
- 19 5月, 2010 2 次提交
-
-
由 Stefan Roese 提交于
"down_write_trylock" needs to return 1 instead of 0 for success. Otherwise copying a block with a read error (e.g. bit-flip on read) won't work correctly. Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Stefano Babic 提交于
The patch adds setup to connect a CASIO COM57H5M10XRC (640x480 TFT display) to the QONG module. Signed-off-by: NStefano Babic <sbabic@denx.de>
-