Hi,<br><br> This is little modification for TIM-5690.<br> Thanks.<br><br> Signed-off-by: Libra Li <<a href="http://libra.li">libra.li</a>@<a href="http://technexion.com">technexion.com</a>><br><br><br><br>Index: src/mainboard/technexion/tim5690/mainboard.c<br>
===================================================================<br>--- src/mainboard/technexion/tim5690/mainboard.c (revision 4821)<br>+++ src/mainboard/technexion/tim5690/mainboard.c (working copy)<br>@@ -47,37 +47,6 @@<br>
uint64_t uma_memory_base, uma_memory_size;<br> <br> <br>-<br>-/***************************************************<br>-* This board, the TIM-5690 has two Marvel 88e5056 PCI-E<br>-* 10/100/1000 chips on board. <br>-* Both of their pin PERSTn pins are connected to GPIO 5 of the<br>
-* SB600 southbridge.<br>-****************************************************/<br>-static void enable_onboard_nic()<br>-{<br>-<br>- u8 byte;<br>- device_t sm_dev;<br>-<br>- printk_info("enable_onboard_nic.\n");<br>
-<br>- sm_dev = dev_find_slot(0, PCI_DEVFN(0x14, 0));<br>-<br>- byte = pci_read_config8(sm_dev, 0x9a);<br>- byte |= ( 1 << 7);<br>- pci_write_config8(sm_dev, 0x9a, byte);<br>-<br>- byte=pm_ioread(0x59);<br>
- byte &= ~( 1<< 5);<br>- pm_iowrite(0x59,byte);<br>-<br>- byte = pci_read_config8(sm_dev, 0xA8);<br>-<br>- byte |= (1 << 1); //set bit 1 to high<br>- pci_write_config8(sm_dev, 0xA8, byte);<br>
-}<br>-<br> /* set thermal config<br> */<br> static void set_thermal_config()<br>@@ -193,7 +162,6 @@<br> uma_memory_base = 0x38000000; /* 1GB system memory supposed */<br> #endif<br> <br>- enable_onboard_nic();<br>
set_thermal_config();<br> }<br> <br>Index: targets/technexion/tim5690/Config.lb<br>===================================================================<br>--- targets/technexion/tim5690/Config.lb (revision 4821)<br>
+++ targets/technexion/tim5690/Config.lb (working copy)<br>@@ -8,9 +8,6 @@<br> #option CONFIG_ROM_SIZE = (1024*1024*2)<br> #option CONFIG_ROM_SIZE = (1024*1024*4)<br> <br>-option CONFIG_COMPRESSED_PAYLOAD_LZMA=1<br>-<br>
-<br> romimage "normal"<br> option CONFIG_USE_FALLBACK_IMAGE=0<br> option CONFIG_ROM_IMAGE_SIZE=0x20000<br><br>