Chameleon

Chameleon Commit Details

Date:2010-09-10 00:50:12 (13 years 7 months ago)
Author:Azimutz
Commit:514
Parents: 513
Message:Fixing the other half of the paste error i mentioned on rev512... were was my head?? Adding typo fix from trunk, rev 513.
Changes:
M/branches/azimutz/Chazi/i386/libsaio/dram_controllers.c
M/branches/azimutz/Chazi/i386/libsaio/device_inject.c

File differences

branches/azimutz/Chazi/i386/libsaio/device_inject.c
5555
5656
5757
58
58
5959
6060
6161
/* Use the static "device-properties" boot config key contents if available,
* otheriwse use the generated one.
*/
if (!getValueForKey(kRenamePartitionKey, &val, &cnt, &bootInfo->bootConfig) && string)
if (!getValueForKey(kDevicePropertiesKey, &val, &cnt, &bootInfo->bootConfig) && string)
{
val = (const char*)string;
cnt = strlength * 2;
branches/azimutz/Chazi/i386/libsaio/dram_controllers.c
474474
475475
476476
477
477
478478
479479
480480
Platform.RAM.CAS = (mc_channel_bank_timing >> 4) & 0x1F;
// RAS Active to precharge (tRAS)
Platform.RAM.TRP = mc_channel_bank_timing & 0xF;
Platform.RAM.RAS = mc_channel_bank_timing & 0xF;
// Single , Dual or Triple Channels
if (mc_control == 1 || mc_control == 2 || mc_control == 4 )

Archive Download the corresponding diff file

Revision: 514