mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-18 16:08:53 +09:00
![]() This patch changes the return type of initdram() from long int to phys_size_t. This is required for a couple of reasons: long int limits the amount of dram to 2GB, and u-boot in general is moving over to phys_size_t to represent the size of physical memory. phys_size_t is defined as an unsigned long on almost all current platforms. This patch *only* changes the return type of the initdram function (in include/common.h, as well as in each board's implementation of initdram). It does not actually modify the code inside the function on any of the platforms; platforms which wish to support more than 2GB of DRAM will need to modify their initdram() function code. Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc MPC8641HPCN. Signed-off-by: Becky Bruce <becky.bruce@freescale.com> |
||
---|---|---|
.. | ||
config.mk | ||
dinkdl | ||
early_init.S | ||
flash.c | ||
Makefile | ||
README | ||
sandpoint.c | ||
speed.h |
This port of U-Boot will run on a Motorola Sandpoint 3 development system equipped with a Unity X4 PPMC card (MPC8240 CPU) only. It is a snapshot of work in progress and far from being completed. In order to run it on the target system, it has to be downloaded using the DINK32 monitor program that came with your Sandpoint system. Please note that DINK32 does not accept the S-Record file created by the U-Boot build process unmodified, because it contains CR/LF line terminators. You have to strip the CR characters first. There is a tiny script named 'dinkdl' I created for this purpose. The Sandpoint port is based on the work of Rob Taylor, who does not seem to maintain it any more. I can be reached by mail as tkoeller@gmx.net. Thomas Koeller