yangzhongkai
d49ac008b4
Fixed memory error when S3 wakes up, by configuring the memory controller
Target: LS2K
Change-Id: I5b7c39745a57748ad0b58dff9113dde94418491f
4 years ago
lvjianmin
cc2bb29517
version: 4.0.0-Release
Update version according to Loongson firmware version
spec released on 2021/1/28.
Change-Id: I5256f80123b52aa537ca9c4c4ccce000ac28491d
Signed-off-by: lvjianmin <lvjianmin@loongson.cn>
4 years ago
liuyun
301375698d
Loongson3a-3000: Adjust the initrd loading address
Change-Id: I8124674adbf372c382df91c856ff193113462e76
4 years ago
张宝祺
82b6b3a531
Merge "Support select init MC for 3A4000 while enable debug"
4 years ago
Yongguang
b1764b409b
Support select init MC for 3A4000 while enable debug
Change-Id: Iaa2ddc5a80f37161a0f526202da408f8ae1bfd43
4 years ago
张宝祺
e978db0a30
Merge "Loongson3a-4000: Adjust the initrd loading address"
4 years ago
wusheng
5f2983fa32
Disable 7A1000C DMA post write
Change-Id: I9d93d5227fa36f730a4e024c960039b4e608a4b5
4 years ago
张宝祺
8d37bce884
Merge "3a4000 7a ignore ejtag exception."
4 years ago
张宝祺
f4783e586b
Merge "Clear the value of 0x24 for PCIE to support pcie switch which is pcie 3.0"
4 years ago
张宝祺
f7d384ffd1
Merge "Modify the func bypass for PCIE H\G0\G1 to avoid pcie work error when data access is increased"
4 years ago
张宝祺
74eeaede8a
Merge "support ddr param store and dbl training without ddr slot"
4 years ago
张宝祺
7ac6f91a45
Merge changes I37fb63fb,I608794dd,Ia041bb06
* changes:
3a82h update 2h dc pllcfg to fix some chip wrong init value.
make pciconf does not need keep size aligned on top bus.
ls2k dts change cputemp address, old can't be accessed when acpi disabled.
4 years ago
张宝祺
086efdff8d
Merge "for 3A3000-7a1000: Remove RTC enable. Configure RTC and APCI low power mode."
4 years ago
Chong Qiao
73fdfe09e5
3a4000 7a ignore ejtag exception.
Change-Id: I57d55b9ab107592297477bebfddd1d81b9eeabdb
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
niupj
2f5aa37d76
Clear the value of 0x24 for PCIE to support pcie switch which is pcie 3.0
Change-Id: I0fb5665878ca2db246f0e81d4135adb89f7e9d79
Signed-off-by: niupj <niupengju@loongson.cn>
4 years ago
niupj
5d2d818925
Modify the func bypass for PCIE H\G0\G1 to avoid pcie work error when data access is increased
Change-Id: Idafd278e84385ef784585bca82f42d8d2812ca91
Signed-off-by: niupj <niupengju@loongson.cn>
4 years ago
liuyun
adecdd8cb7
Loongson3a-4000: Adjust the initrd loading address
Change-Id: I9ee525d6deb974b298eb7e2c6a1727703b69e8f6
4 years ago
dongji
0152ba5f38
support ddr param store and dbl training without ddr slot
Change-Id: Ic7666472d74184b54f74922fcd92818d73ea9be2
4 years ago
Chong Qiao
aebec6afb6
3a82h update 2h dc pllcfg to fix some chip wrong init value.
Change-Id: I37fb63fb71199eb402bff529056bc88c93bb6449
Signed-off-by: qiaochong <qiaochong@loongson.cn>
Signed-off-by: sumenghao <sumenghao@loongson.cn>
4 years ago
Chong Qiao
c9164a6d5e
make pciconf does not need keep size aligned on top bus.
Change-Id: I608794ddf4fd10cf44a4bb0b2b3144bc42c1a37c
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
NingLiChen
0185d789c7
ls2k dts change cputemp address, old can't be accessed when acpi disabled.
Change-Id: Ia041bb06eb52293dd260ba93b19179f6ed706b60
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
wusheng
0f34a7f93d
If you open INTERNAL_RTC option, RTC needs to be initialized
Target: LS2K
Change-Id: I0fba951f56ce55c158591acbbd9e5cc51d0d006c
4 years ago
wusheng
6cc9b2bb8e
Use the calculated loopc
Target: LS2K
Change-Id: I109603937eccb8c766204bf91ce72332e88d6318
4 years ago
Yongguang
ad4358e1e5
for 3A3000-7a1000:
Remove RTC enable.
Configure RTC and APCI low power mode.
Change-Id: I3bdef6370cfff346cbb8450617be9409ea987dc3
4 years ago
张宝祺
fea822e3ca
Merge "Enhance 7a usb drive ability to solve usb2.0 device attached with usb1.1"
4 years ago
张宝祺
40b3e680f3
Merge "ls2k update env to ram default, saveenv to save env to flash."
4 years ago
张宝祺
e19500d5ae
Merge "ls2k dtb update to ram default,update to flash by savedtb."
4 years ago
张宝祺
c5e4f52fe6
Merge "delay 200ms before usb port rescan to wait usb ready."
4 years ago
张宝祺
7b5e240908
Merge "pmon usb rescan retry only twice."
4 years ago
张宝祺
bdbd0bf75f
Merge "Reduce 7A HT core frequency and fix 3A HT hardware configuration frequency error"
4 years ago
张宝祺
11a0266879
Merge "1. add DBL training 2. speed up booting time 3. support CAL/CA parity/DM ctrl/BL4 4. update wr_lat training and gate leveling 5. change odt value for 2rank 1slot"
4 years ago
wusheng
55ef5d9912
Reduce 7A HT core frequency and fix 3A HT hardware configuration frequency error
Change-Id: I9c6ae0c2eb2d79f12dca52ece8110ec40ab506b4
4 years ago
SunChengLian
344323b363
Enhance 7a usb drive ability to solve usb2.0 device attached with usb1.1
Change-Id: I9febcc337c1c63d2c27de50748a9ca85256a0e68
Signed-off-by: SunChengLian <sunchenglian@loongson.cn>
5 years ago
Chong Qiao
ca4b7eb920
ls2k update env to ram default, saveenv to save env to flash.
Change-Id: I2c86a02f659f7b1edee6e34f1484c283d47eccd0
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
Chong Qiao
d9e571cadf
ls2k dtb update to ram default,update to flash by savedtb.
Change-Id: I3ecfb46cfb728ee219686e0f6857f7fae737fa39
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
Chong Qiao
a8cc915704
delay 200ms before usb port rescan to wait usb ready.
Change-Id: If0200010610a71dfa02f2c7361b703d6f56f4e70
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
Chong Qiao
f1afb4f7be
pmon usb rescan retry only twice.
Change-Id: I2a8fd672ae533a5d84620d2d99cc9aeb993d6fa7
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
wusheng
c409911a49
Fixed some grammatical errors
Change-Id: I626b5c02c9010a7ddfa1ae04717c658703451996
4 years ago
dongji
fa45d1982c
1. add DBL training
2. speed up booting time
3. support CAL/CA parity/DM ctrl/BL4
4. update wr_lat training and gate leveling
5. change odt value for 2rank 1slot
Change-Id: I8968665416baa11a919e3da18339d784ea1a51c5
4 years ago
wusheng
928953ec46
Fix compilation error, missing declaration,
commit a460dc5240
caused
Change-Id: I0abe250243e0753f828e561b521c2e78cc2ecc2d
4 years ago
张宝祺
52864d717f
Merge "Remove RTC enable. Configure RTC and APCI low power mode."
4 years ago
张宝祺
8e1dc2ce15
Merge "revert commit 6c796d5c5e664efd1b9722a240057588174c391c"
4 years ago
wusheng
a460dc5240
Remove RTC enable.
Configure RTC and APCI low power mode.
If it is necessary to read and write the 0x50 / 0x54 register of ACPI.
The bit [9] of the 0x8 register of ACPI needs to be configured to be 0.
Change-Id: Ib112a5e13580dca7a7ab675b2e908f86c352e317
4 years ago
wusheng
655f161079
revert commit 6c796d5c5e
The device speed is slow.
The HT configuration will not be repaired now.
Change-Id: Idcd6ed03c78ec09d7f38f87dba251515ed40f2f3
4 years ago
Chong Qiao
a2cffdb4ed
xhci need enable used interfaces when xhci_set_configuration, fix me.
Change-Id: Id961de9fa8f6b828e3c107e8077927f77ac23e29
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
qiaochong
b17fb32d70
prohibit usb read exceed disk size.
Change-Id: I3323119a9735b78129a2db9fba9ace3bf2861f6e
Signed-off-by: qiaochong <qiaochong@loongson.cn>
10 years ago
Chong Qiao
f88cba79cf
add usb_stop_xhci when g.
Change-Id: I35c8e28bbb6b09f461191ecc877abd3a52b5beb4
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
Chong Qiao
b64d57e5c7
xhci add int handler process.
Change-Id: I8dc482e6080ecf66b82685b6024013accc829822
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
Chong Qiao
c16a1f3664
add xhci support.
Change-Id: Ie98bdf0222f4ab8af903d17672f3b2ccb24b88fc
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
Chong Qiao
df3068d31e
del u64 typedef, has been defined sys/linux/types.h.
Change-Id: I9c32efee30a4a95adcff4dff316dca81de13f5fd
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago