Drop unused change_i2c_mux()
Change-Id: I3ac39441746d739ac19e831bb67c76405c24ba27 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5925 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Idwer Vollering <vidwer@gmail.com> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
parent
f5bde44df2
commit
bc84450082
7 changed files with 0 additions and 130 deletions
|
|
@ -32,17 +32,6 @@ static inline void activate_spd_rom(const struct mem_controller *ctrl)
|
|||
smbus_send_byte(SMBUS_HUB, device);
|
||||
}
|
||||
|
||||
#if 0
|
||||
static inline void change_i2c_mux(unsigned device)
|
||||
{
|
||||
#define SMBUS_HUB 0x71
|
||||
int ret;
|
||||
print_debug("change_i2c_mux i="); print_debug_hex8(device); print_debug("\n");
|
||||
ret = smbus_send_byte(SMBUS_HUB, device);
|
||||
print_debug("change_i2c_mux ret="); print_debug_hex32(ret); print_debug("\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
static inline int spd_read_byte(unsigned device, unsigned address)
|
||||
{
|
||||
return smbus_read_byte(device, address);
|
||||
|
|
@ -125,14 +114,6 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
|||
|
||||
enable_smbus();
|
||||
|
||||
#if 0
|
||||
int i;
|
||||
for(i=4;i<8;i++) {
|
||||
change_i2c_mux(i);
|
||||
dump_smbus_registers();
|
||||
}
|
||||
#endif
|
||||
|
||||
memreset_setup();
|
||||
|
||||
// init_timer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue