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
Chong Qiao
3b799eff47
fix lahci, inited probe_ent.
Change-Id: Ia9a57bf79fb96da269b8fa2a2fdeec63d6bfd655
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
Chong Qiao
18ee33a692
fix ohci roothub intpipe test, del noused code.
Change-Id: I2517ec20339adbd36d9810fd4affc940724b310f
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
Chong Qiao
0950feedb7
make dtb detect offs from load_dtb.h.
Change-Id: Ida2f1de3925d4fc4c9e487c0265198683e4b8513
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
Chong Qiao
3ac5428330
ls2k support sectorsize other than 4K.
Change-Id: I77863c028ccf288cbb3c3201b607f69c2804dafc
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
Chong Qiao
fe4f77fe2d
add nvme support.
Change-Id: I57d5924535c504bff6f538e0accf0b871eea4d73
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
Chong Qiao
1b33f078a8
3a30007a coherent dma, does not need flush cache.
Change-Id: I061500e40702855c3fd64cb1c1b0bf7d61b81f4d
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
Chong Qiao
a129fed9dc
add get_timer_us.
Change-Id: I99ed59dd042df790f0919341c9ba3580dfa94a04
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
wusheng
6c796d5c5e
Fix an error,Obey strict HT order is configured by default
and does not need to be modified
Change-Id: I92a49b3fb1ea40544dc02fb0b9c1746f01baf5ed
4 years ago
张宝祺
c4dee2e3b0
Merge "make pmon autocmd expand, line size set to 512."
4 years ago
张宝祺
b1c8a1b395
Merge "fix ohci stop code."
4 years ago
张宝祺
e14b7ebb6d
Merge "fix load -O elf loader missing lastaddr init."
4 years ago
Chong Qiao
3b1448eead
make pmon autocmd expand, line size set to 512.
Change-Id: I028b456b477d6bf91243b6bda7b341eb5baf7e5c
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
Chong Qiao
bb7e04849e
fix ohci stop code.
Change-Id: I829e8e9dc646d9cd057f2157d3b35728c1c5363d
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago
Chong Qiao
bfc5de68ff
fix load -O elf loader missing lastaddr init.
Change-Id: I12222fff405727c4f1f0c08e2408e5b8aabe6aad
Signed-off-by: Chong Qiao <qiaochong@loongson.cn>
4 years ago