aboutsummaryrefslogtreecommitdiff
path: root/cpu
AgeCommit message (Collapse)Author
2007-11-01Merge branch 'master' of git://www.denx.de/git/u-boot-mipsWolfgang Denk
2007-10-21[MIPS] Add PIC-related switches to PLATFORM_{CPP,LD}FLAGS and cleanupShinya Kuribayashi
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
2007-10-21[MIPS] Fix $gp usageShinya Kuribayashi
Now we load $gp with _GLOBAL_OFFSET_TABLE_, but this is incorrect use. As a general principle, we should use _gp for $gp. Thanks to linker script's help we fortunately have _gp which equals to _GLOBAL_OFFSET_TABLE_. But once _gp gets out of alignment, we will not be able to access to GOT entires, global variables and procedure entry points. The right thing to do is to use _gp. This patch also introduce a new symbol `.gpword _GLOBAL_OFFSET_TABLE_' which holds the offset from _gp. When updating GOT entries, we use this offset and _gp to calculate the final _GLOBAL_OFFSET_TABLE_. This patch is originally submitted by Vlad Lungu <vlad@comsys.ro>, then I made some change to leave over num_got_entries. Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com> Cc: Vlad Lungu <vlad@comsys.ro>
2007-10-19Setting MSR[DE] in do_reseturwithsughosh@gmail.com
Hello, This patch ensures the soft reset of the board for the 85xx boards by setting the MSR[DE] in the do_reset function. Signed-off-by: Sughosh Ganu <urwithsughosh@gmail.com>
2007-10-19MSR overwrite fixurwithsughosh@gmail.com
Hello, This patch fixes the MSR overwrite in the start.S when moving out of the last 4K page. Signed-off-by: Sughosh Ganu <urwithsughosh@gmail.com>
2007-10-19Remove magic numbers from cache related operations for mpc85xxKumar Gala
The mpc85xx start code uses some magic numbers that we actually have #defines for in <config.h> so use those instead. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2007-10-19Merge branch 'denx'Andy Fleming
2007-10-1686xx: Allow for fewer DDR slots per memory controller.Jon Loeliger
As a direct correlation exists between DDR DIMM slots and SPD EEPROM addresses used to configure them, use the individually defined SPD_EEPROM_ADDRESS* values to determine if a DDR DIMM slot should have its SPD configuration read or not. Effectively, this now allows for 1 or 2 DIMM slots per memory controller. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-10-15PXA USB OHCI: "usb stop" implementation.Rodolfo Giometti
Some USB keys need to be switched off before loading the kernel otherwise they can remain in an undefined status which prevents them to be correctly recognized by the kernel. Signed-off-by: Rodolfo Giometti <giometti@linux.it>
2007-10-13Fix warning differ in signedness in cpu/pxa/mmc.cJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2007-10-13Merge branch 'merge' of git://www.denx.de/git/u-boot-microblazeWolfgang Denk
2007-10-04Merge with git://www.denx.de/git/u-boot.gitPeter Pearse
2007-10-02Merge with git://www.denx.de/git/u-boot.gitStefan Roese
2007-10-02ppc4xx: Coding style cleanupStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-10-02Program EPLD to force full duplex mode for PHY.Grzegorz Bernacki
EPLD forces modes of PHY operation. By default full duplex is turned off. This fix turns it on. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
2007-09-28Fix missing DECLARE_GLOBAL_DATA_PTR on CONFIG_LPC2292 in serialJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2007-09-2685xx io out functions need sync after write.Ed Swarthout
This fixes the mc146818 rtc_read/write functions for 85xx. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
2007-09-24[PATCH] Add support for design without interrupt controllerMichal Simek
Polling timer
2007-09-24[FIX] resolve problem with cpu without barrel shifterMichal Simek
2007-09-24[FIX] repair email addressMichal Simek
2007-09-24synchronizition with mainlineMichal Simek
2007-09-24Merge ../u-bootMichal Simek
2007-09-18Move coloured led API to status_led.hPeter Pearse
Improve indentation in drivers/at45.c
2007-09-18Merge with git://www.denx.de/git/u-boot.gitPeter Pearse
2007-09-15Fix cases where DECLARE_GLOBAL_DATA_PTR was not declared as globalWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-09-11Final tidyPeter Pearse
2007-09-11Merge with git://www.denx.de/git/u-boot.gitPeter Pearse
2007-09-11Merge git://www.denx.de/git/u-bootMichal Simek
2007-09-10[MPC512x] Streamline frame handling in the FEC driverGrzegorz Bernacki
- convert frame size settings to be derived from a single base - set frame size to the recommended default value Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
2007-09-10Merge with git://www.denx.de/git/u-boot.gitPeter Pearse
2007-09-10Remove compiler warning: target CPU does not support interworkingKyungmin Park
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2007-09-08Merge with /home/raj/git/u-boot#440SPe_PCIe_fixesWolfgang Denk
2007-09-08Merge with /home/raj/git/u-boot#ads5121_fixesWolfgang Denk
2007-09-07[PPC440SPe] Improve PCIe configuration space accessGrzegorz Bernacki
- correct configuration space mapping - correct bus numbering - better access to config space Prior to this patch, the 440SPe host/PCIe bridge was able to configure only the first device on the first bus. We now allow to configure up to 16 buses; also, scanning for devices behind the PCIe-PCIe bridge is supported, so peripheral devices farther in hierarchy can be identified. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
2007-09-07[PPC440SPe] Convert machine check exceptions handlingGrzegorz Bernacki
Convert using fixup mechanism to suppressing MCK for the duration of config read/write transaction: while fixups work fine with the case of a precise exception, we identified a major drawback with this approach when there's an imprecise case. In this scenario there is the following race condition: the fixup is (by design) set to catch the instruction following the one actually causing the exception; if an interrupt (e.g. decrementer) happens between those two instructions, the ISR code is executed before the fixup handler the machine check is no longer protected by the fixup handler as it appears as within the ISR code. In consequence the fixup approach is being phased out and replaced with explicit suppressing of MCK during a PCIe config read/write cycle. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
2007-09-07[MPC512x] Proper handling of larger frames in the FEC driverGrzegorz Bernacki
When frame larger than local RX buffer is received, it is split and handled by two buffer descriptors. Prior to this patch the FEC driver discarded contents of a buffer descriptor without the 'LAST' bit set, so the first part of the frame was lost in case of larger frames. This fix allows to safely combine the two pieces into the whole frame. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
2007-09-07[MPC512x] Correct fixup relocationRafal Jaworowski
Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
2007-09-07Merge with git://www.denx.de/git/u-boot.gitPeter Pearse
2007-09-07PXA270: Add support for multiple serial ports.stefano babic
This patch adds support for multiple serial ports to the PXA target. FFUART, BTUART and STUART are supported. Signed-off-by: Stefano Babic <sbabic@denx.de>
2007-09-06Migrate 5xxx boards from CONFIG_OF_FLAT_TREE to CONFIG_OF_LIBFDTGrant Likely
Affects boards: icecube (lite5200), jupiter, motionpro, tqm5200 Tested on: lite5200b Note: the fixup functions have not been moved to a common place. This patch is targeted for immediate merging as in solves a build issue, but the final name/location of the fixups is still subject to debate. I propose to merge this now, and move the fixups in the next merge window to be usable by all targets. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-09-05Changed API name to coloured_led.hPeter Pearse
Removed code using deprecated ifdef CONFIG_BOOTBINFUNC Tidied other cpu/arm920t/start.S code
2007-09-04Add coloured led interface for ARM boards.Peter Pearse
Use it in cpu/arm920t/start.S to indicate U-Boot code has been entered.
2007-08-29Enable L2 cache for MPC8568MDS boardHaiying Wang
The L2 cache size is 512KB for 8568, print out the correct informaiton. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
2007-08-29MPC5xxx: fix some compiler warnings in USB codeMartin Krause
Fix the following warnings: - usb.c:xx: warning: function declaration isn't a prototype - usb_ohci.c:xxx: warning: passing argument 1 of '__fswab32' makes integer from pointer wihtout a cast Signed-off-by: Martin Krause <martin.krase@tqs.de>
2007-08-29Minor coding style cleanup.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-08-28[UC101] Fix: if no CF in the board, U-Boot resets sometimes.Heiko Schocher
Signed-off-by: Heiko Schocher <hs@denx.de>
2007-08-18Merge with /home/wd/git/u-boot/custodian/u-boot-coldfireWolfgang Denk
2007-08-18Merge with /home/wd/git/u-boot/custodian/u-boot-mpc83xxWolfgang Denk
2007-08-18lib_ppc: make board_add_ram_info weakKim Phillips
platforms wishing to display RAM diagnostics in addition to size, can do so, on one line, in their own board_add_ram_info() implementation. this consequently eliminates CONFIG_ADD_RAM_INFO. Thanks to Stefan for the hint. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-08-18Coding style cleanupStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>