diff options
author | Paul Menzel <paulepanter@users.sourceforge.net> | 2013-05-05 12:09:16 +0200 |
---|---|---|
committer | Martin Roth <martin.roth@se-eng.com> | 2013-05-20 18:33:23 +0200 |
commit | b2cddd4c12d99df55a1fd856cceea27372ce3f69 (patch) | |
tree | cacd182582651fed89b0ab83393c9b48b5be81bc /documentation/LinuxBIOS-AMD64.tex | |
parent | 963bed546f316af15bf1e4d1819388b8998ef5ec (diff) | |
download | coreboot-b2cddd4c12d99df55a1fd856cceea27372ce3f69.tar.xz |
ASUS F2A85-M: romstage.c: Set RAM voltage for non 1.5 Volt case
Currently the code in the if statement
if (!byte)
do_smbus_write_byte(0xb20, 0x15, 0x3, byte);
only gets executed if `byte == 0x0`, that means only in the
default case where RAM voltage is 1.5 Volts. But the RAM voltage
should be changed when configured for the non-default case.
So negate the predicate to alter the RAM voltage for the
non-default cases.
To prevent the build error
OBJCOPY cbfs/fallback/coreboot_ram.elf
coreboot-builds/asus_f2a85-m/generated/crt0.romstage.o: In function `cache_as_ram_main':
/srv/jenkins/.jenkins/jobs/coreboot-gerrit/workspace/src/mainboard/asus/f2a85-m/romstage.c:106: undefined reference to `do_smbus_write_byte'
collect2: error: ld returned 1 exit status
make: *** [coreboot-builds/asus_f2a85-m/cbfs/fallback/romstage_null.debug] Error 1
add `southbridge/amd/agesa/hudson/smbus.c` providing the function
`do_smbus_write_byte` to ROM stage in `Makefile.inc`. That can
actually be used after the needed header files are included in a
previous commit.
Change-Id: I89542479c4cf6d412614bcf4586ea98e097328d6
Reported-by: David Hubbard <david.c.hubbard+coreboot@gmail.com>
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/3200
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martin.roth@se-eng.com>
Diffstat (limited to 'documentation/LinuxBIOS-AMD64.tex')
0 files changed, 0 insertions, 0 deletions