- 30 6月, 2010 29 次提交
-
-
由 Wolfgang Denk 提交于
-
由 Wolfgang Denk 提交于
-
由 Wolfgang Denk 提交于
Update CHANGELOG Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Michael Weiss 提交于
This also uses the breadcrumb register as on MPC5200. Signed-off-by: NMichael Weiss <michael.weiss@ifm.com> Signed-off-by: NDetlev Zundel <dzu@denx.de>
-
由 Wolfgang Denk 提交于
-
由 Heiko Schocher 提交于
r12 is used for accessing the GOT not r14. Fix this in the comment. Signed-off-by: NHeiko Schocher <hs@denx.de>
-
由 Becky Bruce 提交于
We were missing 8641HPCN_36BIT and MPC8536DS_36BIT. Signed-off-by: NBecky Bruce <beckyb@kernel.crashing.org>
-
由 Anatolij Gustschin 提交于
Fix following warnings: $ ./MAKEALL EVB64260 P3G4 ZUMA Configuring for EVB64260 board... mpsc.c: In function 'mpsc_putchar_early': mpsc.c:121: warning: dereferencing type-punned pointer will break strict-aliasing rules mpsc.c:127: warning: dereferencing type-punned pointer will break strict-aliasing rules ... Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
由 Sergei Shtylyov 提交于
ehci_submit_async() doesn't really zero out the QH transfer overlay (as the EHCI specification suggests) which leads to the controller seeing the "token" field as the previous call has left it, i.e.: - if a timeout occured on the previous call (Active bit left as 1), controller incorrectly tries to complete a previous transaction on a newly programmed endpoint; - if a halt occured on the previous call (Halted bit set to 1), controller just ignores the newly programmed TD(s) and the function then keeps returning error ad infinitum. This turned out to be caused by the wrong orger of the arguments to the memset() call in ehci_alloc(), so the allocated TDs weren't cleared either. While at it, stop needlessly initializing the alternate next TD pointer in the QH transfer overlay... Signed-off-by: NSergei Shtylyov <sshtylyov@ru.mvista.com> Acked-by: NRemy Bohmer <linux@bohmer.net>
-
由 Remy Bohmer 提交于
The console_buffer size is declared in common/main.c as -- char console_buffer[CONFIG_SYS_CBSIZE + 1]; so this extern definition is wrong. Signed-off-by: NRemy Bohmer <linux@bohmer.net>
-
由 Poonam Aggrwal 提交于
- Also modified the code to use io accessors. Signed-off-by: NPoonam Aggrwal <poonam.aggrwal@freescale.com> Signed-off-by: NDipen Dudhat <dipen.dudhat@freescale.com> Acked-by: NKumar Gala <galak@kernel.crashing.org>
-
由 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>
-
由 Stefano Babic 提交于
Add a sort of batch mode to fw_setenv, allowing to set multiple variables in one shot, without updating the flash after each set as now. It is added the possibility to pass a config file with a list of pairs <variable, value> to be set, separated by a TAB character. Signed-off-by: NStefano Babic <sbabic@denx.de>
-
由 Andreas Bießmann 提交于
This patch fixes following error: zlib.c:31:27: error: asm/unaligned.h: No such file or directory Suggested-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NAndreas Biemann <biessmann@corscience.de>
-
由 Andreas Bießmann 提交于
When building some avr32 boards out of tree (e.g. O=..) the linker script could not be found. This patch references the linker script in source tree. Signed-off-by: NAndreas Bießmann <biessmann@corscience.de>
-
由 Andreas Bießmann 提交于
Due to a hardware bug mentioned in latest AP7000 datasheet errata (revision M from 09.09) branch folding is unreliable. This patch disables CPUCR.FE bitfield as stated in datasheet. Signed-off-by: NAndreas Biemann <biessmann@corscience.de>
-
由 Reinhard Meyer 提交于
AVR32 case was missing in cmd_bdinfo, resulting in compiler warning (bd->bi_baudrate declared unsigned int at AVR32, but printf used %d) At the same time slightly reordered #if #elif #endif to make ARM one of the cases and not an extra case surrounding all others Signed-off-by: NReinhard Meyer <info@emk-elektronik.de> Tested-by: NAndreas Bießmann <biessmann@corscience.de>
-
由 Reinhard Meyer (-VC) 提交于
Currently the U-Boot address ranges for AVR32 boards are printed like this: "U-Boot code: (null) -> 0001183c data: 000188e8 -> 0004e9b0" This patch fixes this to print: "U-Boot code: 00000000 -> 0001183c data: 000188f8 -> 0004e9c0" Signed-off-by: NReinhard Meyer <info@emk-elektronik.de>
-
由 Peter Tyser 提交于
Previously, standalone applications were compiled with gcc flags that produced relocatable executables on the PowerPC architecture (eg with the -mrelocatable and -fPIC flags). There's no reason for these applications to be fully relocatable at this time since no relocation fixups are performed on standalone applications. Additionally, removing the gcc relocation flags results in the entry point of applications residing at the base of the image. When a standalone application was relocatable, the entry point was generally located at an offset into the image which was confusing and prone to errors. This change moves the entry point of PowerPC standalone applications from 0x40004 (usually) to 0x40000. Signed-off-by: NPeter Tyser <ptyser@xes-inc.com> Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Anton Vorontsov 提交于
I use this for testing, and I think this might be useful in the future. Signed-off-by: NAnton Vorontsov <avorontsov@mvista.com>
-
由 Anton Vorontsov 提交于
For the following hwconfig string: key1:subkey1=value1,subkey2=value2;key2:value3 The subkey2 cannot be extracted correctly. The parsing code looks for comma as a stopch, but there may be two kind of stop characters: a comma and a semicolon. Currently the code would return "value2;key2:value3", while just "value2" is the correct answer. This patch fixes the issue by making the code aware of multiple stop characters. For old U-Boots, the issue can be workarounded by placing a comma before a semicolon, i.e.: hwconfig=key1:subkey1=value1,subkey2=value2,;key2:value3 Reported-by: NYork Sun <yorksun@freescale.com> Signed-off-by: NAnton Vorontsov <avorontsov@mvista.com>
-
-
由 Wolfgang Denk 提交于
ISO C does not allow extra ';' outside of a function Signed-off-by: NWolfgang Denk <wd@denx.de>
-
-
由 Remy Bohmer 提交于
The console_buffer size is declared in common/main.c as -- char console_buffer[CONFIG_SYS_CBSIZE + 1]; so this extern definition is wrong. Signed-off-by: NRemy Bohmer <linux@bohmer.net>
-
由 Poonam Aggrwal 提交于
- Also modified the code to use io accessors. Signed-off-by: NPoonam Aggrwal <poonam.aggrwal@freescale.com> Signed-off-by: NDipen Dudhat <dipen.dudhat@freescale.com> Acked-by: NKumar Gala <galak@kernel.crashing.org>
-
由 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 提交于
Use a slighly larger value of CLK_CTRL for DDR at 667MHz which fixes random crashes while linux booting. Applicable for both NAND and NOR boot. Signed-off-by: NSandeep Gopalpet <sandeep.kumar@freescale.com> Signed-off-by: NPoonam Aggrwal <poonam.aggrwal@freescale.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>
-
- 29 6月, 2010 1 次提交
-
-
由 Wolfgang Denk 提交于
Commit 460c2ce3 "MPC5200: workaround data corruption for unaligned local bus accesses" fixed the problem for MPC5200 only, but MPC512x is affected as well, so apply the same fix here, too. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Acked-by: NDetlev Zundel <dzu@denx.de>
-
- 28 6月, 2010 4 次提交
-
-
由 Nobuhiro Iwamatsu 提交于
This add support cpu reset by trigger_address_error function. Signed-off-by: NNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
由 Nobuhiro Iwamatsu 提交于
This changes path of irqflags.h from linux/ to asm/. Signed-off-by: NNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
由 Nobuhiro Iwamatsu 提交于
Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
由 Nobuhiro Iwamatsu 提交于
SH fails building on the target. This supports this. Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
- 24 6月, 2010 5 次提交
-
-
由 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>
-
由 Wolfgang Denk 提交于
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 23 6月, 2010 1 次提交
-
-
由 Wolfgang Denk 提交于
The MPC5200 has a nasty problem that will cause silent data corruption when performing unaligned 16 or 32 byte accesses when reading from the local bus - typically this affects reading from flash. The problem can be easily shown: => md fc0c0000 10 fc0c0000: 323e4337 01626f6f 74636d64 3d72756e 2>C7.bootcmd=run fc0c0010: 206e6574 5f6e6673 00626f6f 7464656c net_nfs.bootdel fc0c0020: 61793d35 00626175 64726174 653d3131 ay=5.baudrate=11 fc0c0030: 35323030 00707265 626f6f74 3d656368 5200.preboot=ech => md fc0c0001 10 fc0c0001: 65636801 00000074 0000003d 00000020 ech....t...=... fc0c0011: 0000005f 00000000 00000074 00000061 ..._.......t...a fc0c0021: 00000000 00000064 00000065 00000035 .......d...e...5 fc0c0031: 00000000 00000062 0000003d 0000006f .......b...=...o => md.w fc0c0001 10 fc0c0001: 0000 3701 0000 6f74 0000 643d 0000 6e20 ..7...ot..d=..n fc0c0011: 0000 745f 0000 7300 0000 6f74 0000 6c61 ..t_..s...ot..la This commit implements a workaround at least for the most blatant problem: using memcpy() from NOR flash. We rename the assembler routine into __memcpy() and provide a wrapper, which will use a byte-wise copy loop for unaligned source or target addresses when reading from NOR flash, and branch to the optimized __memcpy() in all other cases, thus minimizing the performance impact. Tested on lite5200b and TQM5200S. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de>
-