zhangbaoqi
0c1186a4aa
Fixup ls7a code error it cause the 3a2h sata can not be used.
Set ls7a and ls2k sata to 2.0 mode.
Change-Id: I8e53f5a086610cad4b5b51c53048e35a9a067fcb
7 years ago
zhangbaoqi
f5a0f755bd
add ls2k graphics card support.
Change-Id: I82547c47bc38ff48f47eab1fa171567b34e2956b
7 years ago
Chen Xinke
b3d16404e6
modify HT 1.6G PLL configure parameter for better stability and move some macros from start.S to ls7a_config.h.
Change-Id: Ia1808a150e3bcac7ad99c6e082ce4775d5a9c1da
7 years ago
Chen Xinke
e474d94e0a
modify default HT1 setting to HT3.0 1600MHz, and 16 bit for 1 way, 8 bit for 2 way.
Change-Id: Ic76cc00babc0240dd277025fa7f7f5fadad83613
7 years ago
zhangbaoqi
c737c828cb
change config to support 3A3000_7A 1way and make it as default config.
Change-Id: I579a4d67a907be08508d260fb427a74bdbb8130a
7 years ago
zhangbaoqi
ee9334eb4a
add ls7a graphics card support.
Change-Id: Id33137844265484cd58e8ff76e5949bb16542cbe
7 years ago
Chen Xinke
e84dd74ac2
Fix problems for LS3A3000-7A 2way and change config to 2way.
Change-Id: I626ff5fc19906c04dc828ac2488c2c35ebb7ae37
7 years ago
Chen Xinke
0899c558ad
move ht init files to public dir and fix some codes.
Change-Id: Ifffdf462d1b3d87fd09c3e8425655d9ab3574322
7 years ago
Chen Xinke
1dc6c073d0
modify 3A-7A HT1 setup code parameter for better scalebility.
Change-Id: Ibe1ad59404653299ea7f9d8e241fba26a9a11a56
7 years ago
Chen Xinke
f50652de10
1. Update setup 3a7a HT1 link code and move ls7a configure to seperate file ls7a_config.h
2. remove 3A HT TX post window for dc accellerate because GMEM space is not fixed.
Change-Id: I586f7b51a1c71e757345012d40270657403d53e3
7 years ago
zhangbaoqi
0dc7b4917d
add delay after usb/sata PHY de-reset to fixup the device sometimes access error.
Change-Id: I08d82ef68b260d4ec7fac0d8c34e6c84a5aaec52
7 years ago
Chen Xinke
122984b983
Fix PCI scan bugs and clean pciconf.c file.
1. fix error on PCI bridge BAR space allocation.
2. fix error on PCI bridge expand ROM space allocation.
3. fix 7A/2K PCIE bridge wrong class/subclass code bug by fake the configure access return value.
Change-Id: I19a15959b2c4046f773707a3c605e893c3cf378c
7 years ago
Chen Xinke
2f75caf73e
Fix PCIE device found fail problem by correct the PHY cfg code.
Change-Id: Id5add3f844d171beda181cd88f51acbfcc86f342
7 years ago
zhangbaoqi
e726734c54
add USB3.0 device spi flash update support.
Change-Id: I110e0fe74d1e120f722b3f8dff5e9eb7fb5ebc27
7 years ago
zhangbaoqi
de02b0b8af
Add 3A3000 + LS7A board support.
Change-Id: Iaebaa30d5a7b6f0d781940a2cab6db9d83c2b693
7 years ago
Xuefeng Li
e1143a1ebc
2K1000: Disable clear memory/io access bit when stop ohci DMA.
Change-Id: I6c66e6024dbf3d256f80e688e68b873fb5439c77
7 years ago
liuzhijia
ca1dd680c8
For 3a9780e & 3a92h
1. Add the ODT set
2. Change some dipicted message
3. Support the 16 mode & 32 mode(7A)
Change-Id: I009efa1be8fb2746eadad9df2e207771fd64401b
7 years ago
zhangbaoqi
7b9a766d45
ls2k remove some useless code.
Change-Id: I6ef07ced1412d9e957b83074eb6f1437706d8eaf
7 years ago
zhouxuezhi
f3ae3a3b54
fix the compile error(u64 redefine) .
relevency:3A2H 3A82H 3A92H
Change-Id: If08e9b96ffcef63df07cbfa443a52ed51b4af232
7 years ago
zhangbaoqi
272d3eb1ce
fixup the intel 82574 can not used on ls2k board
Change-Id: I1d6662d3794ee5b782e58d9d0ba6281fa7125dff
7 years ago
zhangbaoqi
338607f49e
add sysfan speed control by w83527 chip for 3A9780E
Change-Id: I8dba6b49a52e49ca64af3e5c16c8df8e6ab1165d
7 years ago
zhangbaoqi
81dd6a0497
enlarge ddr parameter number to 116 for 3a3000
Change-Id: Ic70a623f35482e9625488230dab3f42d42b2ac47
7 years ago
liuzhijia
441da71a2a
fix ddr pll config method for 3a9
Change-Id: I21d2e0f0a8b29c9db5a115043d33b2964d84ee34
7 years ago
liuzhijia
2d24d34fb4
1. Add new leveling file to 3a92h 3a9780e and 3a84w
2. Repair some old problem
3. Fixup the lthalf param for 3a92h
4. Support a kind of SODIMM
Change-Id: I2a4cc0c2d79c353f219e8bc32d5619c079e7cc65
8 years ago
zhangbaoqi
1e17e46211
Fixup the gmac1 phy address for it can be used.
Change-Id: I10c44dedd4e75c47001d30d83a7c778013b90344
7 years ago
zhangbaoqi
c4924ffcf4
Add the LOONGSON 2K support.
Change-Id: I982c1da3b68f7d034d85406e14c5fb2264255d1d
7 years ago
Huang Shuai
3030990631
fix ddr pll config method for 3a9
Change-Id: Ibaebb470f2feced7e5a33dbc36bcd90fc4999c55
7 years ago
zhouxuezhi
422dc5e7af
1.Modification of file bootparam.h based 3.10.0 ;
2.Modify 'cpu_type' according to the interface spec;
3.Initialize the member of DoSuspend(for 3A_SINGLE);
4.Add the spec version macro 'SPEC_VERS';
Change-Id: Ideb212d0c5e6f67506954a428642e21d53ccd0ce
relevancy:all branch.
7 years ago
Huang Shuai
11478f5582
unify DISABLE_DDR_A15 for 3A2000 and 3A3000
Change-Id: Ia2b9d3382b8abfb88934db74cd9284f585c4eaaa
7 years ago
zhouxuezhi
ac7a5d2a66
Modification to adapt the interface spec(pmon and linux kernel interface spec):
1.add the member cpuname;
2.add the property DAM cache or uncache;
3.add the member DoSuspend (reset);
4.change the struct name efi to loongson_efi;
Change-Id: I9d5b6b7628419b82d06b61cf66814a366a941096
8 years ago
周学智
237703d997
The modification of bootparam.h needs more test.
Revert "Modification to adapt the interface spec(pmon and linux kernel):"
This reverts commit 66af0fd9ed
.
Change-Id: Ie239fd0f289038184a754e78ad494106fd763cff
8 years ago
zhouxuezhi
66af0fd9ed
Modification to adapt the interface spec(pmon and linux kernel):
1.add the member cpuname;
2.add the property DAM cache or uncache;
3.add the member DoSuspend (reset);
4.add more type members for struct loongson_cpu_type;
5.change the struct name efi to loongson_efi;
Change-Id: I326461bf66eac00d20087fd5ee800b7c64b6299e
file:bootparam.h & bootparam.c
8 years ago
xuwenrui
50b17dabce
close watchdog later to make sure HT work well
Target: 3A2H 3A82H 3A92H
Change-Id: Idd58f60170259a13e734c7b42c97d6a068b206e5
8 years ago
zhangbaoqi
f6e99451a2
Chang the 3A3000+780E DDR freqency half with cpu.
Change-Id: If8406910d11e8d14265209cae08bfcfd82005835
8 years ago
zhangbaoqi
cbed7e95e9
fix ahci hard drive caused address error
Signed-off-by: huangpei <huangpei@loongson.cn>
Change-Id: If97909f6ccad4ed51b034d88416d298f0e333b2d
8 years ago
zhangbaoqi
243a60af95
Use HT3.0 on ring becuse the HT1.0 has some error.
Change-Id: Ifc7e8078c3dae0950eda6df6063094f9c23f0829
Target:3A94W
8 years ago
zhouxuezhi
5b052d71cf
1.add the spd information(for the dmidecode command).
2.fixup boardinfo of 3A3000.
target:3A9780E
Change-Id: I7c488daadbec2b640b47dd11d91dfa3c3a6b4c99
8 years ago
zhouxuezhi
6f3a0b2f1e
Fix the command of setmac.
If the previous mac addr is correct ,setmac command will not change the mac addr(just print it).
Relevancy:LOONGSON_3ASINGLE & rtl8168
Change-Id: I1f2be868c5aa794f95d224b86e05b26f3d798e0d
8 years ago
zhouxuezhi
883484fda3
fixup the bug of spd information incorrect.
target:3A82H
Change-Id: I2376143f605f14f757c2e4e54e99c89368b3f8f3
8 years ago
zhouxuezhi
d66602f7bf
fix up the 8G/4G ddr parameters for the red 3A82H developmnet board from guangzhou
target:3A82H
By Liuzhijia(xinpian)
separate the ddr parameters for 4G and 8G(Huaxin).
Change-Id: I83aa7f16c0629a2ef0be7cede6fa539ec9cd77f5
8 years ago
mashuai
7959330876
3A2000: When the first use of the new 3a2000 development board,
use the command "setmac eth0" automatically assigned
MAC address.And write the assigned MAC address into EEPROM.
Note: 1.If the EEPROM have no MAC address, use the command "setmac eth0".
Change-Id: If9a4a261ac0424620a051c42d6318c3af6bfab1c
8 years ago
zhouxuezhi
746073c32a
Fix the SATA CD-ROM error.
The modification is in the common file /sys/dev/ata/cd.c .
ERROR:There's a panic when startup by using the sata CD-ROM to install an OS.
Relevancy:Except the 3A2H branch.
Change-Id: I656ba505462c8e7dd525b411062d9ed41ae5813f
8 years ago
zhouxuezhi
f7f0648a23
1.Add the DDR3 4G/8G(HuaXin) support.
2.The highmem start address is changed to 0x9000_0000(that support the linux kernel startup by 4G(HuaXin) DDR3).
3.Add the buzzer support(LPC).
target:3A82H
Change-Id: I8fe787197ff94deb5b4d93bd6c73b616d7bd1e85
8 years ago
zhouxuezhi
f32d90baab
the 0xfdf8000000 address routing fixup.(node0/node1)
target:3A82W/3A92W
(There's a mistake in the previous "0xfdf8000000 address routing"patch.This patch corrects the error.
The previous commit no.:3cf0ef90a364a4fe71dabe9e25bdd481b4e00324)
Change-Id: Ieb2ca872879b5700703c9364714299025057a9f4
8 years ago
zhangbaoqi
a6c96464f9
Add the ddr leveling for 3A3000 and 3A2000
Add signal depict func and fix a bug in leveling
Change-Id: Ibeeb3954f69aa4719f321031146c212866f6a0df
8 years ago
zhangbaoqi
984de8613a
Update the 3A3000 BBGEN configuration.
Fixup the RS780E HT post error.
Change-Id: Ie6ba53c82b414d96a82c4974a698104c30d146a1
8 years ago
周学智
7611591bfd
Merge "Change the lthalf parameter"
8 years ago
周学智
aaea90996f
Merge "make the DQ/DQS change together"
8 years ago
周学智
20100316dd
Merge "Add the 3A3000 4 way support."
8 years ago
liuzhijia
66e4fe6fe2
Change the lthalf parameter
Change-Id: Ib93b7401db8bd2c1638c20b3d6ec0a92537c7358
8 years ago