treewide: remove unused files (MR 1731)
These files aren't references by any APKBUILD, delete them.
This commit is contained in:
parent
72eb261185
commit
959bbaaffe
40 changed files with 0 additions and 3422 deletions
|
@ -1,38 +0,0 @@
|
||||||
# i3status configuration file.
|
|
||||||
# see "man i3status" for documentation.
|
|
||||||
|
|
||||||
# It is important that this file is edited as UTF-8.
|
|
||||||
# The following line should contain a sharp s:
|
|
||||||
# ß
|
|
||||||
# If the above line is not correctly displayed, fix your editor first!
|
|
||||||
|
|
||||||
general {
|
|
||||||
colors = true
|
|
||||||
interval = 10
|
|
||||||
color_good = "#009900"
|
|
||||||
color_bad = "#990000"
|
|
||||||
color_degraded = "#999900"
|
|
||||||
output_format = "i3bar"
|
|
||||||
}
|
|
||||||
|
|
||||||
order += "disk /"
|
|
||||||
order += "wireless _first_"
|
|
||||||
order += "load"
|
|
||||||
order += "tztime local"
|
|
||||||
|
|
||||||
wireless _first_ {
|
|
||||||
format_up = "W: (%quality at %essid) %ip"
|
|
||||||
format_down = "W: down"
|
|
||||||
}
|
|
||||||
|
|
||||||
tztime local {
|
|
||||||
format = "%Y-%m-%d %H:%M"
|
|
||||||
}
|
|
||||||
|
|
||||||
load {
|
|
||||||
format = "%1min"
|
|
||||||
}
|
|
||||||
|
|
||||||
disk "/" {
|
|
||||||
format = "%avail"
|
|
||||||
}
|
|
|
@ -25,7 +25,6 @@ package() {
|
||||||
nonfree_firmware() {
|
nonfree_firmware() {
|
||||||
pkgdesc="Acer Iconia Tab A500 WiFi & BT firmware"
|
pkgdesc="Acer Iconia Tab A500 WiFi & BT firmware"
|
||||||
depends="firmware-acer-picasso"
|
depends="firmware-acer-picasso"
|
||||||
install="$pkgname-nonfree_firmware.post-install $pkgname-nonfree_firmware.pre-#deinstall"
|
|
||||||
mkdir "$subpkgdir"
|
mkdir "$subpkgdir"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,6 @@ kernel_pm269() {
|
||||||
nonfree_firmware() {
|
nonfree_firmware() {
|
||||||
pkgdesc="Google Nexus 7 (2012) WiFi & BT firmware"
|
pkgdesc="Google Nexus 7 (2012) WiFi & BT firmware"
|
||||||
depends="firmware-asus-grouper firmware-aosp-broadcom-wlan-mainline"
|
depends="firmware-asus-grouper firmware-aosp-broadcom-wlan-mainline"
|
||||||
install="$pkgname-nonfree_firmware.post-install $pkgname-nonfree_firmware.pre-deinstall"
|
|
||||||
mkdir "$subpkgdir"
|
mkdir "$subpkgdir"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
rc-update add bluetooth default
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
rc-update del bluetooth default
|
|
|
@ -1,47 +0,0 @@
|
||||||
# Azurewave Release 2011/12/29
|
|
||||||
# NH665 bgn+BT+FM
|
|
||||||
manfid=0x2d0
|
|
||||||
prodid=0x0552
|
|
||||||
vendid=0x14e4
|
|
||||||
devid=0x4360
|
|
||||||
boardtype=0x0552
|
|
||||||
boardrev=0x11
|
|
||||||
# this design has 2.4GHz SP3T switch
|
|
||||||
boardflags=0x00081200
|
|
||||||
nocrc=1
|
|
||||||
xtalfreq=37400
|
|
||||||
boardnum=22
|
|
||||||
#macaddr=00:11:22:33:44:55
|
|
||||||
#nvram_override=1
|
|
||||||
cckdigfilttype=20 #20~26
|
|
||||||
ag0=255
|
|
||||||
aa2g=3
|
|
||||||
ccode=XY
|
|
||||||
regrev=4
|
|
||||||
#pa0b0=0x13e1
|
|
||||||
#pa0b1=0xfdab
|
|
||||||
#pa0b2=0xff66
|
|
||||||
rssismf2g=0xa
|
|
||||||
rssismc2g=0x3
|
|
||||||
rssisav2g=0x7
|
|
||||||
maxp2ga0=0x46
|
|
||||||
sromrev=3
|
|
||||||
#il0macaddr=00:11:22:33:44:55
|
|
||||||
wl0id=0x431b
|
|
||||||
cckPwrOffset=5
|
|
||||||
#ofdmdigfilttype2g=4
|
|
||||||
ofdm2gpo=0x44444444
|
|
||||||
mcs2gpo0=0x6666
|
|
||||||
mcs2gpo1=0x6666
|
|
||||||
swctrlmap_2g=0x44844484,0x4a8a4282,0x42824282,0x818a82,0x1ff
|
|
||||||
rfreg033=0x19
|
|
||||||
rfreg033_cck=0x1f
|
|
||||||
dacrate2g=160
|
|
||||||
txalpfbyp2g=1
|
|
||||||
bphyscale=17
|
|
||||||
cckPwrIdxCorr=-15
|
|
||||||
pacalidx2g=45
|
|
||||||
txgaintbl=1
|
|
||||||
muxenab=0x10
|
|
||||||
#triso2g=9
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
40574 133 -243068 -264 39483 459840 65536 800 1280
|
|
|
@ -31,7 +31,6 @@ phosh() {
|
||||||
nonfree_firmware() {
|
nonfree_firmware() {
|
||||||
pkgdesc="Google Nexus 7 (2012) WiFi & BT firmware"
|
pkgdesc="Google Nexus 7 (2012) WiFi & BT firmware"
|
||||||
depends="firmware-asus-grouper firmware-aosp-broadcom-wlan-mainline"
|
depends="firmware-asus-grouper firmware-aosp-broadcom-wlan-mainline"
|
||||||
install="$pkgname-nonfree_firmware.post-install $pkgname-nonfree_firmware.pre-deinstall"
|
|
||||||
mkdir "$subpkgdir"
|
mkdir "$subpkgdir"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
rc-update add bluetooth default
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
rc-update del bluetooth default
|
|
|
@ -1,4 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# Run getty on serial port
|
|
||||||
sed -i -e "s/#ttyS0::respawn:\/sbin\/getty -L ttyS0 115200 vt100/ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100" /etc/inittab
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Enable swclock OpenRC service
|
|
||||||
rc-update -q add swclock boot
|
|
||||||
|
|
||||||
exit 0
|
|
|
@ -1,24 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Append Android mounts to Linux fstab
|
|
||||||
cat /etc/fstab.android >> /etc/fstab
|
|
||||||
|
|
||||||
# Create android mount points
|
|
||||||
mkdir -p /data
|
|
||||||
mkdir -p /system
|
|
||||||
mkdir -p /cache
|
|
||||||
mkdir -p /efs
|
|
||||||
mkdir -p /firmware
|
|
||||||
mkdir -p /firmware-modem
|
|
||||||
mkdir -p /external_sd
|
|
||||||
mkdir -p /misc
|
|
||||||
|
|
||||||
# /vendor symlink (points to nowhere until /system is mounted)
|
|
||||||
ln -s /system/vendor /vendor
|
|
||||||
|
|
||||||
# disable msm-fb-refresher service on libhybris adaptation
|
|
||||||
rc-update del msm-fb-refresher boot
|
|
||||||
|
|
||||||
# symlink system.img from userdata partition to a place
|
|
||||||
# where lxc-android expects to see it.
|
|
||||||
ln -s /data/system.img /var/lib/lxc/android/system.img
|
|
|
@ -1,2 +0,0 @@
|
||||||
search --no-floppy --set=root --label "pmOS_boot"
|
|
||||||
set prefix=($root)/grub
|
|
|
@ -1,5 +0,0 @@
|
||||||
[core]
|
|
||||||
xwayland=true
|
|
||||||
backend=drm-backend.so
|
|
||||||
[shell]
|
|
||||||
background-image=/usr/share/wallpapers/postmarketos.jpg
|
|
|
@ -1,25 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# We'll need to remove both services because someone might
|
|
||||||
# not know that the firmware doesn't need to be installed for Hybris
|
|
||||||
# to work. (these also contribute to the long boot times)
|
|
||||||
rc-update del adsp-audio default
|
|
||||||
rc-update del wcnss-wlan default
|
|
||||||
|
|
||||||
# On this device, seems that refreshing the framebuffer creates artifacts
|
|
||||||
# in test_hwcomposer, so this had to be disabled.
|
|
||||||
rc-update del msm-fb-refresher boot
|
|
||||||
|
|
||||||
# Append Android mounts to Linux fstab
|
|
||||||
cat /etc/fstab.android >> /etc/fstab
|
|
||||||
|
|
||||||
# Create Android mount points
|
|
||||||
mkdir -p /data
|
|
||||||
mkdir -p /system
|
|
||||||
mkdir -p /cache
|
|
||||||
mkdir -p /persist
|
|
||||||
mkdir -p /dsp
|
|
||||||
mkdir -p /firmware
|
|
||||||
|
|
||||||
# /vendor symlink (points to nowhere until /system is mounted)
|
|
||||||
ln -s /system/vendor /vendor
|
|
|
@ -1,2 +0,0 @@
|
||||||
echo 0 > /sys/class/graphics/fb0/blank
|
|
||||||
echo 255 > /sys/class/leds/lcd-backlight/brightness
|
|
|
@ -1,81 +0,0 @@
|
||||||
dfed32a123df77d1dfbb7425742527af6490e9e986044ddc048a6fd3bef244d96e16e37d816ab784186cbe1b1ceb909c6230989b608a52bf8f434fc9d3c56d8c firmware-oppo-find-7a-adsp.b00
|
|
||||||
7f0864a30efac5fdfe0802f0fa527f3878d13a8ed9502a2c37ba37554fdaa978acb9cdf82c394c8822ae70e9de5ff7e6a9a4813a30bba76d6de8c634a08a1dea firmware-oppo-find-7a-adsp.b01
|
|
||||||
b8244d028981d693af7b456af8efa4cad63d282e19ff14942c246e50d9351d22704a802a71c3580b6370de4ceb293c324a8423342557d4e5c38438f0e36910ee firmware-oppo-find-7a-adsp.b02
|
|
||||||
d41350fefe7a4a4eacf83fc8e61141c60d7f3d4a05103a5bb8bad709b4f6cbce4cbe339fead121fb8f6842fb01ed1b836f0fee0a9a7d8a64e44972cc6bc8a7c5 firmware-oppo-find-7a-adsp.b03
|
|
||||||
8e5fe021730b22b1d72a4908ac8296209fda3ec04c46ce74c1c258c64992ef21dabeb41c65d29e803daba9ef3c8408d0f471ddf8e758614ab3c321fca120378b firmware-oppo-find-7a-adsp.b04
|
|
||||||
7e18619bf5ae7529775eb6e81ca71286dea6051d276d23ba281c670f22de55398f27577bf24f5ed9d1f9d6cc0240008502274a85081b3d57011acf114ee6dbf2 firmware-oppo-find-7a-adsp.b05
|
|
||||||
94eae81d79ba30f6a42231978e765a6e72eee4614894684616ed9a7de3914c5e5233cbed23191ae0d1491631bbfcfeae8affed1ea3cd9de91e378ba5df774d36 firmware-oppo-find-7a-adsp.b06
|
|
||||||
6e705dbab01373ea562d446b7e99aa013df431db10cc29e506fae7a4c51e644fbf86e396d9dd43129d6a631b244518490af0b5140dac39a5d7603aff33e5025c firmware-oppo-find-7a-adsp.b07
|
|
||||||
2965154868afe2d632e3e5ec9374797bdf6c973f8544b3b582aa033c721439b705ec6a8d9af857a4753fe99e2b123ad473e5d107f871497f1b101bd2748a40e4 firmware-oppo-find-7a-adsp.b08
|
|
||||||
6c116df2ada05c169dd552b1a0c201b977cd94243b6e444b263f1e4d683f25569076665d37998aea807928ce69604cabbe896e5e15818ffc9b9e78ecda56212f firmware-oppo-find-7a-adsp.b09
|
|
||||||
b3c99d4b883b828c65418684856f4fa1dd272c1beb06117d112d6967bf1a5bcc410dda7100bd6600bbd2c85e7bdc4bdbb4e2cee66174d7dd4eea7fc831318178 firmware-oppo-find-7a-adsp.b10
|
|
||||||
c11ac508e39cbae0af1c41df559fd71c684a00543bacd655c0a6a31198d635f251ed5918f5b8743265dfe4264bfd7313c071d99f3b9bc0644de13dc6e4beeb49 firmware-oppo-find-7a-adsp.b11
|
|
||||||
ab193c99d1e488da5c1998b06af17971d32961b621e706a218b2be1047c90c7538ae9385be2065f5bd7380c0a35167360009f42a3db0dd71a8c8d27cf5f45765 firmware-oppo-find-7a-adsp.b12
|
|
||||||
879e3f11bfae9dd8808e71e19695e6d318bcbe3358953fbb3e16973493108d7c0b3d6c1fb1bb38f8c9980bf258039ad626de8bfe81b6ffea10ddcdda3f846a06 firmware-oppo-find-7a-adsp.mdt
|
|
||||||
57d2f63ef66fc74e67eba8f9e1264acda3105e658ec0545a30dd34006aedb8c8c9628ba677f8bd854fc799e99b5e00a00873054ea8d3d678addd60d9fef617ef firmware-oppo-find-7a-cmnlib.b00
|
|
||||||
9984874e8a0771e9b37d28c7eaf839ef06d687a384352a6ddcbfd88ac09619e5368b9edf974e45e987b492b7c07340fbe8ea3988d34b16579b460bda87347e5b firmware-oppo-find-7a-cmnlib.b01
|
|
||||||
3f0bb895ca5e46985a2d854f9c29345b35b13be16be6c2cec8b7096480ee45bd7ca8c80a26bb0b4852d33d093f7ad36f9c81a0794950a4a9c111890e30920453 firmware-oppo-find-7a-cmnlib.b02
|
|
||||||
442b5953b600ab3fb3b2a058190067d27728c696deac7f2e70ee2eb3871ff79221a1d6b1e92fc346a4204830f55a4df3a91e4045a556444a5e7c525b98624584 firmware-oppo-find-7a-cmnlib.b03
|
|
||||||
ed693d47006fb431c38aee6f2b0fdc4b84edc7988fc5e1fafc0c44c61098d05f0326669dfe19ce0fdb4b16065ebddbaa6eec1d1bac3d224ade2e862de5b76d2d firmware-oppo-find-7a-cmnlib.mdt
|
|
||||||
932bcaf103230e86dff74fb965fd81031b8ec66c784453169604df547fe094965f1a3cef8a99f12a8f549b1391c20763f3cd6dc49d046ad17580cb432868609f firmware-oppo-find-7a-isdbtmm.b00
|
|
||||||
7bba32e32b0a4a99ad0b9b8e1d6a09f68256148cf9e630e5c315baafc69849ce4624804dabdf27d9d325d2e0b318b34b6b38c896d046f67187d7cae011e8197e firmware-oppo-find-7a-isdbtmm.b01
|
|
||||||
5c5e3c7dba062a423be6fdabf5d564b362ae3229f5c352876ea3da909727066f9e38546cd63bf2a5dbe92ebe80bb8777f8373859b727e56c43e247af2d3c2344 firmware-oppo-find-7a-isdbtmm.b02
|
|
||||||
949e63a1281723ce15fe03a548e9629c93e3eea817d51ad09a5842a7ddf92004d9143009cc03836d7245587faafc4195bf33107d1f6207898e6885aefe957011 firmware-oppo-find-7a-isdbtmm.b03
|
|
||||||
74351b4cc250ffde66979e5e670a26eb5b1f57249706f5466176854f51101020b38925b0dabe81a147498788b8c89f7635648d127f38940c9a5a3827805a5ada firmware-oppo-find-7a-isdbtmm.mdt
|
|
||||||
506aa7c3b55ac764c645a85c15517bc9198f4e2c96addd557c97b56984d3fb8bbbe886fe8c9df004a3b2d3eeb0ca05a4c8c63022260f3c1c5677d421635a79d8 firmware-oppo-find-7a-keymaste.b00
|
|
||||||
8a746bf963d8799e84dce57f0209d395dc5ad8dfe8f4fde4515be8b87fd739549fca938647be2631cf34b90e73c2fb4b56bad23b5d9d2a0d19c8fb540e192d33 firmware-oppo-find-7a-keymaste.b01
|
|
||||||
dda792ecda601008cef91fd82743036ba4927b54b029a8bfede7f872edf76aa7a015871f67a0b5ab2f992ff4e4a5bbb1dc2d01eb86b6d85286cc948704564586 firmware-oppo-find-7a-keymaste.b02
|
|
||||||
afa224891767e950fe4e55bdd333d9c5cb52d1f09d7f42cd9e08bf473f0a2c3fcfd7ea7c39405357beccbdf537abf859e5b9cf51c26c4fe99706cb40b85a77e7 firmware-oppo-find-7a-keymaste.b03
|
|
||||||
888006f778f4d1de93d8b44b29f4f0bce370fccd4892d4aaa803b6d4d7dd81f432a50786f84bf156c2c31e5bf75e2cdbd81037de0637d614d0fbdac2ecee00de firmware-oppo-find-7a-keymaste.mdt
|
|
||||||
5ce6fe66f1f5a751cbf7b26686a4664c3a9769fb1655164e86118948aacaca9212b1427df2c36145d0b99eef5d580eaac9a59490d53b8d612889d82b9c5cfd1b firmware-oppo-find-7a-mba.b00
|
|
||||||
c5d58079ed5d6a5b9998223995f6d3ab65f5a256264a9a386a986121071fe1adb55edf02afd1d440f406cca92c67a041448251aed9072de0c15e49df9576bc83 firmware-oppo-find-7a-mba.mdt
|
|
||||||
abd19cb249be05b6a1e53476599dade22040f1129afd30dc2b900074a45b164d2737d1616762ec566c281bef08b0070caab3978543f8e5878568966a295e7799 firmware-oppo-find-7a-mc_v2.b00
|
|
||||||
5152bc6a6bd2a6158b56bd76da8a21c6a83be35fa905b3b53e7ae8d503efd2dcc75cecfe1d27e9a96a12ce3f92531615197c801cd1a98ed58ef062da259e2e17 firmware-oppo-find-7a-mc_v2.b01
|
|
||||||
aa9aae1f8aa53a63a0e57708681c34cafa9211a7b5c0116bfbc622c13dc961f93ffdfea959895072c81b6553ed8101a35a945db2eddd002952aef82da6315b45 firmware-oppo-find-7a-mc_v2.b02
|
|
||||||
3a596ebc5f7bbb8336a0e29273e059487bf14687e23cec293fca23e6d37dc83406de60d101f47f920d37bdcdc40148b8df76880ee1ed04e817c38f83ae22982b firmware-oppo-find-7a-mc_v2.b03
|
|
||||||
78b5e38ddc41925de588cc53eadc503a6e5a160049f2977757f0a4ff6b5d622ab3f92cd0ecfac4423706e90a5ac0e067a3ed93d4a8f9541b2788ce773d84963d firmware-oppo-find-7a-mc_v2.mdt
|
|
||||||
cb7fe31dc954b60f23e505f29bdadcb7355fc602d8b44de5b2a4a1083927bb049a60ad06cfdfa94b88fb8ad8bb0246559ecdad62ef3385993d8a546c1165484a firmware-oppo-find-7a-modem.b00
|
|
||||||
e6f178bb8fd3cc244ae0cc2b8001b6abad7e9ece718ddb48c5764c2fcdfd76aba460a787a9bb03868d707c468e3b2c75fdda644a1f64301b6278fa2c2b90e22e firmware-oppo-find-7a-modem.b01
|
|
||||||
afbbace4374bc4476c412d88a96f884b7c0c75609698451bbf4bb4047595c25ddcd0e3c9aa62d455e8e3e5f48bd93c0eecd81bcd69d890e97bae714b6625ef1d firmware-oppo-find-7a-modem.b02
|
|
||||||
68bcb7466add90d10fefe63861955422c6cdefda73581115599eb44e1bfac5c9653f4ebb564678e9ccd007b321fc772b2d4f43d182db092a7087ec31fe8faf29 firmware-oppo-find-7a-modem.b03
|
|
||||||
c1fad834a1eed8c0bab4594719926f11054f222d4f251b6e674ae250330e4bf58d07141d88c8dad3a0974544cefcc7b779ed1b6349938d9951a1c0db8c86e1cb firmware-oppo-find-7a-modem.b06
|
|
||||||
dd6483860845a1935a3ecea4ad7ca207aa38e90916fa68a90bf243205d758bcc6b86cf172d0cbb9ca65fc7da705b80b85f4479e52a9e72fcb1a1c9d566ad93a5 firmware-oppo-find-7a-modem.b08
|
|
||||||
336d7e08392cc745c4031a67ae5b007eecf9bdef7cf1384d2640f768ccca69c87f00eb081267dce59026424a7af1c386bf99aaf7785c1477d5e7823f0f7f0d2c firmware-oppo-find-7a-modem.b09
|
|
||||||
0dead2ad0ee21f39123d55e94fb80316b5a07efddf12a4dea448e5aee7768b2ecd563c6a0f6ffe0d94f5ca87b9789299af32e45059472b6ca6f51aa8d4db6a4f firmware-oppo-find-7a-modem.b11
|
|
||||||
d578fc1f8a6cf3f4e68a614adf3c7e93cb99692e1aad6e94c5369826408c99a7d1a218d790aa0c3be66698316dadf335c8c1c2773074fca46a8af1ae2ae78681 firmware-oppo-find-7a-modem.b12
|
|
||||||
add47ad6daad38515b495acbed14b41b4a0af3e33aeb1ccea41b3259440d9929ed521f2aae3ea75e07076c6396176bf7cec7749781036aaa8334f8b542cbb522 firmware-oppo-find-7a-modem.b13
|
|
||||||
42b1cf89419be4d9f93656bc68bd8e5d076dbe0491107d87d5078539e42a0cbd20bbc8819261a38b17026e90d345c7eb2f3962b83b581715493fcedf7b56c685 firmware-oppo-find-7a-modem.b14
|
|
||||||
8c21429fb4e5bf3e78dcfa2469ce74a6bc1c31a2d522f0014ff3847df886ceb1418ec35546121c5414ac6e3ac6fc26e2edeb41265fb480dd964be0f483656899 firmware-oppo-find-7a-modem.b15
|
|
||||||
075f2cb4c86aa95338e9a8316867a8ae9bed3ed611ed175c540cdd609fa6e255d9c8a1de79590b6ec04a7a1716bf7cd3afcfdf5de5d3f6eec924040bb065e650 firmware-oppo-find-7a-modem.b16
|
|
||||||
1de2d05ba49970fdbbbd426bd80c0ca90e5e7e6fbec7ae139146fbb309abf56cd30dfd15718bc7d6733f9f99aaead531eb414da81e1a2d93c45bd65666bee994 firmware-oppo-find-7a-modem.b17
|
|
||||||
d13a8370f0f9af88bef1dfeb09916621c2d67cf194172b72fe4e86e280e99e11951e56fbbf148ccff4703f4cb7a80126779bd2f94101d11c41300685daa0383c firmware-oppo-find-7a-modem.b18
|
|
||||||
4283a6faa7b350bc8e662d7ba96f540b3bcd7372a1507ee9b0e80fd1c3d42d2f84a9882899f1eb325fbf2243102580e67bedfec1c4a7b94fcdcd0e781ffca0a2 firmware-oppo-find-7a-modem.b19
|
|
||||||
56e0a8fa0574130024dfcb29c0a55d96038b16517906c77e874c42bf414696eaeecb91a9da224a7b14b10b16333636f3258129c993b094db9b095a6028d16eca firmware-oppo-find-7a-modem.b22
|
|
||||||
faac711b4bc5e0d720f8f350ce69b129f936b568954807e79a4017b63d92f1ea6d639de44da57052f32167dc1816a751602eedd2f2d44932e6913d9208837d40 firmware-oppo-find-7a-modem.b23
|
|
||||||
f4ec7627bfaf2d787be7b9d844bbfd076f6b7f43fb6dd98bd9cf74a68fd0923032a84c5eff8e35760a54654158abfd8bac94e791cb69d8f17397273a78deb037 firmware-oppo-find-7a-modem.b24
|
|
||||||
e00e7ad600381923330f5d66b5232efb89a3aa3954a02c677075a917df7e20d254751d3756b38b946ee041ad3c863923def14666ccc10ffc81eecd5b68acb154 firmware-oppo-find-7a-modem.b25
|
|
||||||
cf3e253a97db23cf213d8f8dd1751555788be93c644f878c21fdce5e9e50d2ac7f8a17f6fedab07fab43658772ba8b10175e53046b096efc972e5f4867ee2913 firmware-oppo-find-7a-modem.mdt
|
|
||||||
7056d073d0b87fe2441acc59d4fca699598a40289ecf6eec70867f25a145660cdcf9267952f823ed3e63403610d6217cc7cc40f84942ff011b02cee04dcf2bc7 firmware-oppo-find-7a-playread.b00
|
|
||||||
479976c4c951697cc1df2d99964681338bb71e05459a6fdfc7f6fdcc403fff146417f374fb480f1648c9a40223806debbc5b794056bfbbbfdc45c470ba8a884e firmware-oppo-find-7a-playread.b01
|
|
||||||
dcc4f30b4ff3ed240cd0b42512bce9b080a72d214a84c904bd7d3aee7a380d60e4c90270de7b70519b36323a6fe93b59f1d37e50587284f705c0dc94562d3cf7 firmware-oppo-find-7a-playread.b02
|
|
||||||
f5d28c7f659234281bbc6b4e68e89142f4b1ee37bd07dd5cdd6838dd069341619216a0936eb12ba66011a27d0e60538e8dc237694b25600f3963be13badde5f7 firmware-oppo-find-7a-playread.b03
|
|
||||||
4dea6b107da799d71ace459e152146a6d6df22c25fd922a8548c9e58865576edd2eeeb7476cf18a6697c3e59f4a181e4356e6a828db6e165da8eb2edb80b46e8 firmware-oppo-find-7a-playread.mdt
|
|
||||||
70c02b39bd6294df6023535df49cc2552b84bac4d500803b93caef680918aac7f0ddfa4971c2fd98bcf48280a6918fb84c528f590561b0cbcbd42b3919e87646 firmware-oppo-find-7a-tqs.b00
|
|
||||||
78c89916fe01dba8d217f9bb3adbd91f6ab7d0304be6bcde4e12a6f5e33377c2e914ba8668270d493e5b82a6d7cfc8da09547f0e27d2ae002d66590126dc43e1 firmware-oppo-find-7a-tqs.b01
|
|
||||||
18c5cb35a0e41d646e64e2e36a83ad613a04ef253dbfee26f8e4ba74eb6acf70574d1affcdac5ea87aaa8bf7ac59056c79fa72121caa32f44e39e8f90042194c firmware-oppo-find-7a-tqs.b02
|
|
||||||
38eebaa82328c7fd1f8235bdbfba8dfc5d65f682f6193ec37a62fb978da3fd722c95b701d168e9a0cd509b9ed7ea91fbd85164fa6e68e1ed61b4e085f534a236 firmware-oppo-find-7a-tqs.b03
|
|
||||||
0dd32b84ac93646805e1ade3c81e53cd55b513542e5180b1e85ea08f9bd479967d505ba5d74d92d55b2feb6cfc81852ab768d56c55a7a4607b8031c64cbfbfbd firmware-oppo-find-7a-tqs.mdt
|
|
||||||
049071f1055de5f176ce14bfc034c291d1306b901a638a8df9d9827b4926c642c3ffeb3637c291bcbc2aa4b0b5d1c7536a0fa86e6762bde1ba185f3236154874 firmware-oppo-find-7a-wcnss.b00
|
|
||||||
56446a9e57bef0a9d46fc439513bd6e07bb2b472814a887906e32a8d01a8f590ce8c0eb609c0c34e1016abaabab36bdd7946259f1ccfc13c37510bd0f64e4cd7 firmware-oppo-find-7a-wcnss.b01
|
|
||||||
96dea88235bbecb9761643032bd83dd83ec9797e1732d8da06e43b53ac2599060d827635533cdf9ec64683fc9d8b2a4723f06a49625f22061cf95a9cfb669629 firmware-oppo-find-7a-wcnss.b02
|
|
||||||
087fa7d699fa259caa58f5e8581a019c34198c587184a5847ab17170f7adb6762570e3746fe629e5d383e841c5f18a3d1ee7bfb73608351a85ba50dd550aa01f firmware-oppo-find-7a-wcnss.b04
|
|
||||||
447e32edffcfcfc57e8b38f4d9dad6393eef3022afe24a04d515d074220e796360ec4f6566463e591ad8aa0bd274fc342e2da5abe0ddecc90c95a5ef2d35ac57 firmware-oppo-find-7a-wcnss.b06
|
|
||||||
2146aa8ab60c48acff43ae8c33c5da4c2586f20a39f8f1308aefb6f833b758ad7158bd5e9a386e45feba446f33855d393857b557fe8ba6fe52364e7a7af3be9b firmware-oppo-find-7a-wcnss.b07
|
|
||||||
6033893c75b32cc906bcabdff02fdbbbb75f0b4d568962b38ea023c00b2273f90bce4482358d4ecc64c22bceaa628d55d17877c8301a1406f67c55c86fc08723 firmware-oppo-find-7a-wcnss.b08
|
|
||||||
f5e02d4f04a84086b429599c436966c568ff50aac6c33195c99fbc0aa85faf52442a2d739b479deff9e1225b9e115bf3308aebe157b14fbe40673fbacfa0cbae firmware-oppo-find-7a-wcnss.b09
|
|
||||||
a62278baffa58e84b5aca9a6349834be9d2025dae3bb989ae4804a7d3b9331fb905fc3a31f77dc1d4deefbbcde2ee00b553d46f5854683753bb1fcb81b392c63 firmware-oppo-find-7a-wcnss.mdt
|
|
||||||
79bf13e961ff246bbc59afc499fc14412990fa0427ae0f5dd8d5c2fb86022eeaf26efaa79235ca3f7ee8eeffad4675b6559ffb144f007091c4ddc1f5ce645194 firmware-oppo-find-7a-widevine.b00
|
|
||||||
3a6bbe7ce19bd9e50a636ae883476c148e97a999f42af39f9eb79a05f4d1e04acbf34673f8d4f61ae54b97ed661f05ce9a6abce1c737522dacccafaa0023adea firmware-oppo-find-7a-widevine.b01
|
|
||||||
987aee79e677170cf3b1023506ca22d50629f1a5961d6f3b97215f6bbb58cbaa56029765bec1ff8a7392fb4575ee73e2a39b3963edba1b70cd71b729b0570cf4 firmware-oppo-find-7a-widevine.b02
|
|
||||||
28b4c8e1953bbf0d89cab31b4b5836b91507cfdaf08daaa6fb4a788580ecad32aa63e41bc58ad182ed8151cd1c98ec3f45bbc8cb515ee2f7eb3fc51f08a5d54f firmware-oppo-find-7a-widevine.b03
|
|
||||||
9e3315e53d3d38fcc35c78793bc217681791a0d415acf0affcee4a3379bf7d61c2969b3bd32673878de722e3c6d919d22660cccfc638b1926b5657821c5b0ee6 firmware-oppo-find-7a-widevine.mdt
|
|
|
@ -1 +0,0 @@
|
||||||
../../.shared-patches/linux/kernel-use-the-gnu89-standard-explicitly.patch
|
|
|
@ -1,21 +0,0 @@
|
||||||
diff -Naur a/drivers/gpu/msm/kgsl_iommu.c b/drivers/gpu/msm/kgsl_iommu.c
|
|
||||||
--- a/drivers/gpu/msm/kgsl_iommu.c 2013-11-29 03:09:34.000000000 +0100
|
|
||||||
+++ b/drivers/gpu/msm/kgsl_iommu.c 2019-05-26 00:59:09.026481139 +0200
|
|
||||||
@@ -520,7 +520,7 @@
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
|
|
||||||
-inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
|
|
||||||
+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
|
|
||||||
unsigned int *cmds)
|
|
||||||
{
|
|
||||||
struct kgsl_device *device = mmu->device;
|
|
||||||
@@ -571,7 +571,7 @@
|
|
||||||
return cmds - start;
|
|
||||||
}
|
|
||||||
|
|
||||||
-inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu,
|
|
||||||
+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu,
|
|
||||||
unsigned int *cmds)
|
|
||||||
{
|
|
||||||
struct kgsl_device *device = mmu->device;
|
|
|
@ -1,70 +0,0 @@
|
||||||
this fixes:
|
|
||||||
|
|
||||||
CC arch/arm/mach-tegra/common.o
|
|
||||||
/home/user/build/src/android_kernel_boxer8_ouya-aec3c7f7900554ede9cb34559416e3ee74d0bf36/arch/arm/kernel/return_address.c:62:2: warning: #warning "TODO: return_address sh
|
|
||||||
ould use unwind tables" [-Wcpp]
|
|
||||||
#warning "TODO: return_address should use unwind tables"
|
|
||||||
^~~~~~~
|
|
||||||
/home/user/build/src/android_kernel_boxer8_ouya-aec3c7f7900554ede9cb34559416e3ee74d0bf36/arch/arm/kernel/return_address.c:65:7: error: redefinition of 'return_address'
|
|
||||||
void *return_address(unsigned int level)
|
|
||||||
^~~~~~~~~~~~~~
|
|
||||||
In file included from /home/user/build/src/android_kernel_boxer8_ouya-aec3c7f7900554ede9cb34559416e3ee74d0bf36/include/linux/ftrace.h:20:0,
|
|
||||||
from /home/user/build/src/android_kernel_boxer8_ouya-aec3c7f7900554ede9cb34559416e3ee74d0bf36/arch/arm/kernel/return_address.c:12:
|
|
||||||
/home/user/build/src/android_kernel_boxer8_ouya-aec3c7f7900554ede9cb34559416e3ee74d0bf36/arch/arm/include/asm/ftrace.h:48:21: note: previous definition of 'return_address' was here
|
|
||||||
extern inline void *return_address(unsigned int level)
|
|
||||||
^~~~~~~~~~~~~~
|
|
||||||
make[3]: *** [/home/user/build/src/android_kernel_boxer8_ouya-aec3c7f7900554ede9cb34559416e3ee74d0bf36/scripts/Makefile.build:305: arch/arm/kernel/return_address.o] Error 1
|
|
||||||
|
|
||||||
|
|
||||||
original commit message:
|
|
||||||
---
|
|
||||||
From aeea3592a13bf12861943e44fc48f1f270941f8d Mon Sep 17 00:00:00 2001
|
|
||||||
From: Behan Webster <behanw@converseincode.com>
|
|
||||||
Date: Wed, 24 Sep 2014 01:06:46 +0100
|
|
||||||
Subject: [PATCH] ARM: 8158/1: LLVMLinux: use static inline in ARM ftrace.h
|
|
||||||
|
|
||||||
With compilers which follow the C99 standard (like modern versions of gcc and
|
|
||||||
clang), "extern inline" does the wrong thing (emits code for an externally
|
|
||||||
linkable version of the inline function). In this case using static inline
|
|
||||||
and removing the NULL version of return_address in return_address.c does
|
|
||||||
the right thing.
|
|
||||||
|
|
||||||
Signed-off-by: Behan Webster <behanw@converseincode.com>
|
|
||||||
Reviewed-by: Mark Charlebois <charlebm@gmail.com>
|
|
||||||
Acked-by: Steven Rostedt <rostedt@goodmis.org>
|
|
||||||
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|
|
||||||
---
|
|
||||||
arch/arm/include/asm/ftrace.h | 2 +-
|
|
||||||
arch/arm/kernel/return_address.c | 5 -----
|
|
||||||
2 files changed, 1 insertion(+), 6 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/arch/arm/include/asm/ftrace.h b/arch/arm/include/asm/ftrace.h
|
|
||||||
index 39eb16b0066f2..bfe2a2f5a644e 100644
|
|
||||||
--- a/arch/arm/include/asm/ftrace.h
|
|
||||||
+++ b/arch/arm/include/asm/ftrace.h
|
|
||||||
@@ -45,7 +45,7 @@ void *return_address(unsigned int);
|
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
-extern inline void *return_address(unsigned int level)
|
|
||||||
+static inline void *return_address(unsigned int level)
|
|
||||||
{
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
diff --git a/arch/arm/kernel/return_address.c b/arch/arm/kernel/return_address.c
|
|
||||||
index fafedd86885dd..f6aa84d5b93c9 100644
|
|
||||||
--- a/arch/arm/kernel/return_address.c
|
|
||||||
+++ b/arch/arm/kernel/return_address.c
|
|
||||||
@@ -63,11 +63,6 @@ void *return_address(unsigned int level)
|
|
||||||
#warning "TODO: return_address should use unwind tables"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-void *return_address(unsigned int level)
|
|
||||||
-{
|
|
||||||
- return NULL;
|
|
||||||
-}
|
|
||||||
-
|
|
||||||
#endif /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) / else */
|
|
||||||
|
|
||||||
EXPORT_SYMBOL_GPL(return_address);
|
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
diff --git a/net/core/sock.c b/net/core/sock.c
|
|
||||||
index 98568723..bad3dac7 100644
|
|
||||||
--- a/net/core/sock.c
|
|
||||||
+++ b/net/core/sock.c
|
|
||||||
@@ -141,9 +141,9 @@
|
|
||||||
#include <net/tcp.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-#ifdef CONFIG_ANDROID_PARANOID_NETWORK
|
|
||||||
+//#ifdef CONFIG_ANDROID_PARANOID_NETWORK
|
|
||||||
#include <linux/android_aid.h>
|
|
||||||
-#endif
|
|
||||||
+//#endif
|
|
||||||
|
|
||||||
#include <net/busy_poll.h>
|
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
diff --git a/drivers/staging/prima/CORE/VOSS/src/wlan_nv_template_builtin.c b/drivers/staging/prima/CORE/VOSS/src/wlan_nv_template_builtin.c
|
|
||||||
@@ -582,8 +582,7 @@
|
|
||||||
(char *)&nvDefaults.tables.hwCalValues.calData),"psSlpTimeOvrHdxLNA5G"},
|
|
||||||
{"ed",_ID_U8,SINGULAR,0,0,0,
|
|
||||||
((char *)&(nvDefaults.tables.hwCalValues.calData.psSlpTimeOvrHdxLNA5G) -
|
|
||||||
- (char *)&nvDefaults.tables.hwCalValues.calData) + sizeof(uint16),
|
|
||||||
- "nv_TxBBFSel9MHz"},
|
|
||||||
+ (char *)&nvDefaults.tables.hwCalValues.calData),"nv_TxBBFSel9MHz"},
|
|
||||||
{"ee",_ID_U8,SINGULAR,0,0,0,
|
|
||||||
((char *)&(nvDefaults.tables.hwCalValues.calData.hwParam2) -
|
|
||||||
(char *)&nvDefaults.tables.hwCalValues.calData),"hwParam2"},
|
|
||||||
@@ -839,4 +838,4 @@
|
|
||||||
int getTableNoOfFields(int tblIdx)
|
|
||||||
{
|
|
||||||
return tableNoOfFieldArray[tblIdx];
|
|
||||||
-}
|
|
||||||
+}
|
|
|
@ -1,561 +0,0 @@
|
||||||
diff --git a/drivers/usb/gadget/function/ci13xxx_udc.h b/drivers/usb/gadget/function/ci13xxx_udc.h
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..7983bfd
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/drivers/usb/gadget/function/ci13xxx_udc.h
|
|
||||||
@@ -0,0 +1,280 @@
|
|
||||||
+/*
|
|
||||||
+ * ci13xxx_udc.h - structures, registers, and macros MIPS USB IP core
|
|
||||||
+ *
|
|
||||||
+ * Copyright (C) 2008 Chipidea - MIPS Technologies, Inc. All rights reserved.
|
|
||||||
+ *
|
|
||||||
+ * Author: David Lopo
|
|
||||||
+ *
|
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
|
||||||
+ * it under the terms of the GNU General Public License version 2 as
|
|
||||||
+ * published by the Free Software Foundation.
|
|
||||||
+ *
|
|
||||||
+ * Description: MIPS USB IP core family device controller
|
|
||||||
+ * Structures, registers and logging macros
|
|
||||||
+ */
|
|
||||||
+
|
|
||||||
+#ifndef _CI13XXX_h_
|
|
||||||
+#define _CI13XXX_h_
|
|
||||||
+
|
|
||||||
+/******************************************************************************
|
|
||||||
+ * DEFINE
|
|
||||||
+ *****************************************************************************/
|
|
||||||
+#define CI13XXX_PAGE_SIZE 4096ul /* page size for TD's */
|
|
||||||
+#define ENDPT_MAX (32)
|
|
||||||
+#define CTRL_PAYLOAD_MAX (64)
|
|
||||||
+#define RX (0) /* similar to USB_DIR_OUT but can be used as an index */
|
|
||||||
+#define TX (1) /* similar to USB_DIR_IN but can be used as an index */
|
|
||||||
+
|
|
||||||
+/* UDC private data:
|
|
||||||
+ * 16MSb - Vendor ID | 16 LSb Vendor private data
|
|
||||||
+ */
|
|
||||||
+#define CI13XX_REQ_VENDOR_ID(id) (id & 0xFFFF0000UL)
|
|
||||||
+
|
|
||||||
+#define MSM_ETD_TYPE BIT(1)
|
|
||||||
+#define MSM_EP_PIPE_ID_RESET_VAL 0x1F001F
|
|
||||||
+
|
|
||||||
+/******************************************************************************
|
|
||||||
+ * STRUCTURES
|
|
||||||
+ *****************************************************************************/
|
|
||||||
+/* DMA layout of transfer descriptors */
|
|
||||||
+struct ci13xxx_td {
|
|
||||||
+ /* 0 */
|
|
||||||
+ u32 next;
|
|
||||||
+#define TD_TERMINATE BIT(0)
|
|
||||||
+#define TD_ADDR_MASK (0xFFFFFFEUL << 5)
|
|
||||||
+ /* 1 */
|
|
||||||
+ u32 token;
|
|
||||||
+#define TD_STATUS (0x00FFUL << 0)
|
|
||||||
+#define TD_STATUS_TR_ERR BIT(3)
|
|
||||||
+#define TD_STATUS_DT_ERR BIT(5)
|
|
||||||
+#define TD_STATUS_HALTED BIT(6)
|
|
||||||
+#define TD_STATUS_ACTIVE BIT(7)
|
|
||||||
+#define TD_MULTO (0x0003UL << 10)
|
|
||||||
+#define TD_IOC BIT(15)
|
|
||||||
+#define TD_TOTAL_BYTES (0x7FFFUL << 16)
|
|
||||||
+ /* 2 */
|
|
||||||
+ u32 page[5];
|
|
||||||
+#define TD_CURR_OFFSET (0x0FFFUL << 0)
|
|
||||||
+#define TD_FRAME_NUM (0x07FFUL << 0)
|
|
||||||
+#define TD_RESERVED_MASK (0x0FFFUL << 0)
|
|
||||||
+} __attribute__ ((packed, aligned(4)));
|
|
||||||
+
|
|
||||||
+/* DMA layout of queue heads */
|
|
||||||
+struct ci13xxx_qh {
|
|
||||||
+ /* 0 */
|
|
||||||
+ u32 cap;
|
|
||||||
+#define QH_IOS BIT(15)
|
|
||||||
+#define QH_MAX_PKT (0x07FFUL << 16)
|
|
||||||
+#define QH_ZLT BIT(29)
|
|
||||||
+#define QH_MULT (0x0003UL << 30)
|
|
||||||
+#define QH_MULT_SHIFT 11
|
|
||||||
+ /* 1 */
|
|
||||||
+ u32 curr;
|
|
||||||
+ /* 2 - 8 */
|
|
||||||
+ struct ci13xxx_td td;
|
|
||||||
+ /* 9 */
|
|
||||||
+ u32 RESERVED;
|
|
||||||
+ struct usb_ctrlrequest setup;
|
|
||||||
+} __attribute__ ((packed, aligned(4)));
|
|
||||||
+
|
|
||||||
+/* cache of larger request's original attributes */
|
|
||||||
+struct ci13xxx_multi_req {
|
|
||||||
+ unsigned len;
|
|
||||||
+ unsigned actual;
|
|
||||||
+ void *buf;
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+/* Extension of usb_request */
|
|
||||||
+struct ci13xxx_req {
|
|
||||||
+ struct usb_request req;
|
|
||||||
+ unsigned map;
|
|
||||||
+ struct list_head queue;
|
|
||||||
+ struct ci13xxx_td *ptr;
|
|
||||||
+ dma_addr_t dma;
|
|
||||||
+ struct ci13xxx_td *zptr;
|
|
||||||
+ dma_addr_t zdma;
|
|
||||||
+ struct ci13xxx_multi_req multi;
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+/* Extension of usb_ep */
|
|
||||||
+struct ci13xxx_ep {
|
|
||||||
+ struct usb_ep ep;
|
|
||||||
+ const struct usb_endpoint_descriptor *desc;
|
|
||||||
+ u8 dir;
|
|
||||||
+ u8 num;
|
|
||||||
+ u8 type;
|
|
||||||
+ char name[16];
|
|
||||||
+ struct {
|
|
||||||
+ struct list_head queue;
|
|
||||||
+ struct ci13xxx_qh *ptr;
|
|
||||||
+ dma_addr_t dma;
|
|
||||||
+ } qh;
|
|
||||||
+ struct list_head rw_queue;
|
|
||||||
+ int wedge;
|
|
||||||
+
|
|
||||||
+ /* global resources */
|
|
||||||
+ spinlock_t *lock;
|
|
||||||
+ struct device *device;
|
|
||||||
+ struct dma_pool *td_pool;
|
|
||||||
+ struct ci13xxx_td *last_zptr;
|
|
||||||
+ dma_addr_t last_zdma;
|
|
||||||
+ unsigned long dTD_update_fail_count;
|
|
||||||
+ unsigned long dTD_active_re_q_count;
|
|
||||||
+ unsigned long prime_fail_count;
|
|
||||||
+ int prime_timer_count;
|
|
||||||
+ struct timer_list prime_timer;
|
|
||||||
+
|
|
||||||
+ bool multi_req;
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+struct ci13xxx;
|
|
||||||
+struct ci13xxx_udc_driver {
|
|
||||||
+ const char *name;
|
|
||||||
+ unsigned long flags;
|
|
||||||
+ unsigned int nz_itc;
|
|
||||||
+#define CI13XXX_REGS_SHARED BIT(0)
|
|
||||||
+#define CI13XXX_REQUIRE_TRANSCEIVER BIT(1)
|
|
||||||
+#define CI13XXX_PULLUP_ON_VBUS BIT(2)
|
|
||||||
+#define CI13XXX_DISABLE_STREAMING BIT(3)
|
|
||||||
+#define CI13XXX_ZERO_ITC BIT(4)
|
|
||||||
+#define CI13XXX_ENABLE_AHB2AHB_BYPASS BIT(6)
|
|
||||||
+
|
|
||||||
+#define CI13XXX_CONTROLLER_RESET_EVENT 0
|
|
||||||
+#define CI13XXX_CONTROLLER_CONNECT_EVENT 1
|
|
||||||
+#define CI13XXX_CONTROLLER_SUSPEND_EVENT 2
|
|
||||||
+#define CI13XXX_CONTROLLER_REMOTE_WAKEUP_EVENT 3
|
|
||||||
+#define CI13XXX_CONTROLLER_RESUME_EVENT 4
|
|
||||||
+#define CI13XXX_CONTROLLER_DISCONNECT_EVENT 5
|
|
||||||
+#define CI13XXX_CONTROLLER_UDC_STARTED_EVENT 6
|
|
||||||
+#define CI13XXX_CONTROLLER_ERROR_EVENT 7
|
|
||||||
+
|
|
||||||
+ void (*notify_event)(struct ci13xxx *udc, unsigned event);
|
|
||||||
+ bool (*in_lpm)(struct ci13xxx *udc);
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+/* CI13XXX UDC descriptor & global resources */
|
|
||||||
+struct ci13xxx {
|
|
||||||
+ spinlock_t *lock; /* ctrl register bank access */
|
|
||||||
+ void __iomem *regs; /* registers address space */
|
|
||||||
+
|
|
||||||
+ struct dma_pool *qh_pool; /* DMA pool for queue heads */
|
|
||||||
+ struct dma_pool *td_pool; /* DMA pool for transfer descs */
|
|
||||||
+ struct usb_request *status; /* ep0 status request */
|
|
||||||
+ void *status_buf;/* GET_STATUS buffer */
|
|
||||||
+
|
|
||||||
+ struct usb_gadget gadget; /* USB slave device */
|
|
||||||
+ struct ci13xxx_ep ci13xxx_ep[ENDPT_MAX]; /* extended endpts */
|
|
||||||
+ u32 ep0_dir; /* ep0 direction */
|
|
||||||
+#define ep0out ci13xxx_ep[0]
|
|
||||||
+#define ep0in ci13xxx_ep[hw_ep_max / 2]
|
|
||||||
+ u8 suspended; /* suspended by the host */
|
|
||||||
+ u8 configured; /* is device configured */
|
|
||||||
+ u8 test_mode; /* the selected test mode */
|
|
||||||
+ bool rw_pending; /* Remote wakeup pending flag */
|
|
||||||
+ struct delayed_work rw_work; /* remote wakeup delayed work */
|
|
||||||
+ struct usb_gadget_driver *driver; /* 3rd party gadget driver */
|
|
||||||
+ struct ci13xxx_udc_driver *udc_driver; /* device controller driver */
|
|
||||||
+ int vbus_active; /* is VBUS active */
|
|
||||||
+ int softconnect; /* is pull-up enable allowed */
|
|
||||||
+ unsigned long dTD_update_fail_count;
|
|
||||||
+ struct usb_phy *transceiver; /* Transceiver struct */
|
|
||||||
+ bool skip_flush; /* skip flushing remaining EP
|
|
||||||
+ upon flush timeout for the
|
|
||||||
+ first EP. */
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+/******************************************************************************
|
|
||||||
+ * REGISTERS
|
|
||||||
+ *****************************************************************************/
|
|
||||||
+/* register size */
|
|
||||||
+#define REG_BITS (32)
|
|
||||||
+
|
|
||||||
+/* HCCPARAMS */
|
|
||||||
+#define HCCPARAMS_LEN BIT(17)
|
|
||||||
+
|
|
||||||
+/* DCCPARAMS */
|
|
||||||
+#define DCCPARAMS_DEN (0x1F << 0)
|
|
||||||
+#define DCCPARAMS_DC BIT(7)
|
|
||||||
+
|
|
||||||
+/* TESTMODE */
|
|
||||||
+#define TESTMODE_FORCE BIT(0)
|
|
||||||
+
|
|
||||||
+/* AHB_MODE */
|
|
||||||
+#define AHB2AHB_BYPASS BIT(31)
|
|
||||||
+
|
|
||||||
+/* USBCMD */
|
|
||||||
+#define USBCMD_RS BIT(0)
|
|
||||||
+#define USBCMD_RST BIT(1)
|
|
||||||
+#define USBCMD_SUTW BIT(13)
|
|
||||||
+#define USBCMD_ATDTW BIT(14)
|
|
||||||
+
|
|
||||||
+/* USBSTS & USBINTR */
|
|
||||||
+#define USBi_UI BIT(0)
|
|
||||||
+#define USBi_UEI BIT(1)
|
|
||||||
+#define USBi_PCI BIT(2)
|
|
||||||
+#define USBi_URI BIT(6)
|
|
||||||
+#define USBi_SLI BIT(8)
|
|
||||||
+
|
|
||||||
+/* DEVICEADDR */
|
|
||||||
+#define DEVICEADDR_USBADRA BIT(24)
|
|
||||||
+#define DEVICEADDR_USBADR (0x7FUL << 25)
|
|
||||||
+
|
|
||||||
+/* PORTSC */
|
|
||||||
+#define PORTSC_FPR BIT(6)
|
|
||||||
+#define PORTSC_SUSP BIT(7)
|
|
||||||
+#define PORTSC_PR BIT(8)
|
|
||||||
+#define PORTSC_HSP BIT(9)
|
|
||||||
+#define PORTSC_PTC (0x0FUL << 16)
|
|
||||||
+
|
|
||||||
+/* DEVLC */
|
|
||||||
+#define DEVLC_PSPD (0x03UL << 25)
|
|
||||||
+#define DEVLC_PSPD_HS (0x02UL << 25)
|
|
||||||
+
|
|
||||||
+/* USBMODE */
|
|
||||||
+#define USBMODE_CM (0x03UL << 0)
|
|
||||||
+#define USBMODE_CM_IDLE (0x00UL << 0)
|
|
||||||
+#define USBMODE_CM_DEVICE (0x02UL << 0)
|
|
||||||
+#define USBMODE_CM_HOST (0x03UL << 0)
|
|
||||||
+#define USBMODE_SLOM BIT(3)
|
|
||||||
+#define USBMODE_SDIS BIT(4)
|
|
||||||
+#define USBCMD_ITC(n) (n << 16) /* n = 0, 1, 2, 4, 8, 16, 32, 64 */
|
|
||||||
+#define USBCMD_ITC_MASK (0xFF << 16)
|
|
||||||
+
|
|
||||||
+/* ENDPTCTRL */
|
|
||||||
+#define ENDPTCTRL_RXS BIT(0)
|
|
||||||
+#define ENDPTCTRL_RXT (0x03UL << 2)
|
|
||||||
+#define ENDPTCTRL_RXR BIT(6) /* reserved for port 0 */
|
|
||||||
+#define ENDPTCTRL_RXE BIT(7)
|
|
||||||
+#define ENDPTCTRL_TXS BIT(16)
|
|
||||||
+#define ENDPTCTRL_TXT (0x03UL << 18)
|
|
||||||
+#define ENDPTCTRL_TXR BIT(22) /* reserved for port 0 */
|
|
||||||
+#define ENDPTCTRL_TXE BIT(23)
|
|
||||||
+
|
|
||||||
+/******************************************************************************
|
|
||||||
+ * LOGGING
|
|
||||||
+ *****************************************************************************/
|
|
||||||
+#define ci13xxx_printk(level, format, args...) \
|
|
||||||
+do { \
|
|
||||||
+ if (_udc == NULL) \
|
|
||||||
+ printk(level "[%s] " format "\n", __func__, ## args); \
|
|
||||||
+ else \
|
|
||||||
+ dev_printk(level, _udc->gadget.dev.parent, \
|
|
||||||
+ "[%s] " format "\n", __func__, ## args); \
|
|
||||||
+} while (0)
|
|
||||||
+
|
|
||||||
+#ifndef err
|
|
||||||
+#define err(format, args...) ci13xxx_printk(KERN_ERR, format, ## args)
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+#define warn(format, args...) ci13xxx_printk(KERN_WARNING, format, ## args)
|
|
||||||
+#define info(format, args...) ci13xxx_printk(KERN_INFO, format, ## args)
|
|
||||||
+
|
|
||||||
+#ifdef TRACE
|
|
||||||
+#define trace(format, args...) ci13xxx_printk(KERN_DEBUG, format, ## args)
|
|
||||||
+#define dbg_trace(format, args...) dev_dbg(dev, format, ##args)
|
|
||||||
+#else
|
|
||||||
+#define trace(format, args...) do {} while (0)
|
|
||||||
+#define dbg_trace(format, args...) do {} while (0)
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+#endif /* _CI13XXX_h_ */
|
|
||||||
diff --git a/drivers/usb/gadget/function/configfs.h b/drivers/usb/gadget/function/configfs.h
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..36c468c
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/drivers/usb/gadget/function/configfs.h
|
|
||||||
@@ -0,0 +1,19 @@
|
|
||||||
+#ifndef USB__GADGET__CONFIGFS__H
|
|
||||||
+#define USB__GADGET__CONFIGFS__H
|
|
||||||
+
|
|
||||||
+#include <linux/configfs.h>
|
|
||||||
+
|
|
||||||
+void unregister_gadget_item(struct config_item *item);
|
|
||||||
+
|
|
||||||
+int usb_os_desc_prepare_interf_dir(struct config_group *parent,
|
|
||||||
+ int n_interf,
|
|
||||||
+ struct usb_os_desc **desc,
|
|
||||||
+ char **names,
|
|
||||||
+ struct module *owner);
|
|
||||||
+
|
|
||||||
+static inline struct usb_os_desc *to_usb_os_desc(struct config_item *item)
|
|
||||||
+{
|
|
||||||
+ return container_of(to_config_group(item), struct usb_os_desc, group);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+#endif /* USB__GADGET__CONFIGFS__H */
|
|
||||||
diff --git a/drivers/usb/gadget/function/debug.h b/drivers/usb/gadget/function/debug.h
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..8729aca
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/drivers/usb/gadget/function/debug.h
|
|
||||||
@@ -0,0 +1,55 @@
|
|
||||||
+/*
|
|
||||||
+ * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
|
|
||||||
+ *
|
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
|
||||||
+ * it under the terms of the GNU General Public License version 2 and
|
|
||||||
+ * only version 2 as published by the Free Software Foundation.
|
|
||||||
+ *
|
|
||||||
+ * This program is distributed in the hope that it will be useful,
|
|
||||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
+ * GNU General Public License for more details.
|
|
||||||
+ *
|
|
||||||
+ */
|
|
||||||
+
|
|
||||||
+#ifndef __DEBUG_H_
|
|
||||||
+#define __DEBUG_H_
|
|
||||||
+
|
|
||||||
+#define DBG_MAX_MSG 1024UL
|
|
||||||
+#define DBG_MSG_LEN 80UL
|
|
||||||
+#define TIME_BUF_LEN 17
|
|
||||||
+#define DBG_EVENT_LEN (DBG_MSG_LEN - TIME_BUF_LEN)
|
|
||||||
+
|
|
||||||
+extern unsigned int enable_event_log;
|
|
||||||
+extern void put_timestamp(char *tbuf);
|
|
||||||
+extern void add_event_to_buf(char *tbuf);
|
|
||||||
+extern int debug_debugfs_init(void);
|
|
||||||
+extern void debug_debugfs_exit(void);
|
|
||||||
+
|
|
||||||
+#define LOGLEVEL_NONE 8
|
|
||||||
+#define LOGLEVEL_DEBUG 7
|
|
||||||
+#define LOGLEVEL_INFO 6
|
|
||||||
+#define LOGLEVEL_ERR 3
|
|
||||||
+
|
|
||||||
+#define log_event(log_level, x...) \
|
|
||||||
+do { \
|
|
||||||
+ char buf[DBG_MSG_LEN]; \
|
|
||||||
+ if (log_level == LOGLEVEL_DEBUG) \
|
|
||||||
+ pr_debug(x); \
|
|
||||||
+ else if (log_level == LOGLEVEL_ERR) \
|
|
||||||
+ pr_err(x); \
|
|
||||||
+ else if (log_level == LOGLEVEL_INFO) \
|
|
||||||
+ pr_info(x); \
|
|
||||||
+ if (enable_event_log) { \
|
|
||||||
+ put_timestamp(buf); \
|
|
||||||
+ snprintf(&buf[TIME_BUF_LEN - 1], DBG_EVENT_LEN, x); \
|
|
||||||
+ add_event_to_buf(buf); \
|
|
||||||
+ } \
|
|
||||||
+} while (0)
|
|
||||||
+
|
|
||||||
+#define log_event_none(x, ...) log_event(LOGLEVEL_NONE, x, ##__VA_ARGS__)
|
|
||||||
+#define log_event_dbg(x, ...) log_event(LOGLEVEL_DEBUG, x, ##__VA_ARGS__)
|
|
||||||
+#define log_event_err(x, ...) log_event(LOGLEVEL_ERR, x, ##__VA_ARGS__)
|
|
||||||
+#define log_event_info(x, ...) log_event(LOGLEVEL_INFO, x, ##__VA_ARGS__)
|
|
||||||
+
|
|
||||||
+#endif /* __DEBUG_H_ */
|
|
||||||
diff --git a/drivers/usb/gadget/function/f_ccid.h b/drivers/usb/gadget/function/f_ccid.h
|
|
||||||
index 935308cf..e74da305 100644
|
|
||||||
--- a/drivers/usb/gadget/function/f_ccid.h
|
|
||||||
+++ b/drivers/usb/gadget/function/f_ccid.h
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/*
|
|
||||||
- * Copyright (c) 2011, 2017 The Linux Foundation. All rights reserved.
|
|
||||||
+ * Copyright (c) 2011, The Linux Foundation. All rights reserved.
|
|
||||||
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License version 2 and
|
|
||||||
@@ -55,29 +55,29 @@
|
|
||||||
#define CCID_READ_DTR _IOR('C', 3, int)
|
|
||||||
|
|
||||||
struct usb_ccid_notification {
|
|
||||||
- __u8 buf[4];
|
|
||||||
+ unsigned char buf[4];
|
|
||||||
} __packed;
|
|
||||||
|
|
||||||
struct ccid_bulk_in_header {
|
|
||||||
- __u8 bMessageType;
|
|
||||||
- __u32 wLength;
|
|
||||||
- __u8 bSlot;
|
|
||||||
- __u8 bSeq;
|
|
||||||
- __u8 bStatus;
|
|
||||||
- __u8 bError;
|
|
||||||
- __u8 bSpecific;
|
|
||||||
- __u8 abData[ABDATA_SIZE];
|
|
||||||
- __u8 bSizeToSend;
|
|
||||||
+ unsigned char bMessageType;
|
|
||||||
+ unsigned long wLength;
|
|
||||||
+ unsigned char bSlot;
|
|
||||||
+ unsigned char bSeq;
|
|
||||||
+ unsigned char bStatus;
|
|
||||||
+ unsigned char bError;
|
|
||||||
+ unsigned char bSpecific;
|
|
||||||
+ unsigned char abData[ABDATA_SIZE];
|
|
||||||
+ unsigned char bSizeToSend;
|
|
||||||
} __packed;
|
|
||||||
|
|
||||||
struct ccid_bulk_out_header {
|
|
||||||
- __u8 bMessageType;
|
|
||||||
- __u32 wLength;
|
|
||||||
- __u8 bSlot;
|
|
||||||
- __u8 bSeq;
|
|
||||||
- __u8 bSpecific_0;
|
|
||||||
- __u8 bSpecific_1;
|
|
||||||
- __u8 bSpecific_2;
|
|
||||||
- __u8 APDU[ABDATA_SIZE];
|
|
||||||
+ unsigned char bMessageType;
|
|
||||||
+ unsigned long wLength;
|
|
||||||
+ unsigned char bSlot;
|
|
||||||
+ unsigned char bSeq;
|
|
||||||
+ unsigned char bSpecific_0;
|
|
||||||
+ unsigned char bSpecific_1;
|
|
||||||
+ unsigned char bSpecific_2;
|
|
||||||
+ unsigned char APDU[ABDATA_SIZE];
|
|
||||||
} __packed;
|
|
||||||
-#endif
|
|
||||||
+#endif
|
|
||||||
diff --git a/drivers/usb/gadget/function/u_os_desc.h b/drivers/usb/gadget/function/u_os_desc.h
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..947b7dd
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/drivers/usb/gadget/function/u_os_desc.h
|
|
||||||
@@ -0,0 +1,123 @@
|
|
||||||
+/*
|
|
||||||
+ * u_os_desc.h
|
|
||||||
+ *
|
|
||||||
+ * Utility definitions for "OS Descriptors" support
|
|
||||||
+ *
|
|
||||||
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd.
|
|
||||||
+ * http://www.samsung.com
|
|
||||||
+ *
|
|
||||||
+ * Author: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
|
|
||||||
+ *
|
|
||||||
+ * This program is free software; you can redistribute it and/or modify
|
|
||||||
+ * it under the terms of the GNU General Public License version 2 as
|
|
||||||
+ * published by the Free Software Foundation.
|
|
||||||
+ */
|
|
||||||
+
|
|
||||||
+#ifndef __U_OS_DESC_H__
|
|
||||||
+#define __U_OS_DESC_H__
|
|
||||||
+
|
|
||||||
+#include <asm/unaligned.h>
|
|
||||||
+#include <linux/nls.h>
|
|
||||||
+
|
|
||||||
+#define USB_EXT_PROP_DW_SIZE 0
|
|
||||||
+#define USB_EXT_PROP_DW_PROPERTY_DATA_TYPE 4
|
|
||||||
+#define USB_EXT_PROP_W_PROPERTY_NAME_LENGTH 8
|
|
||||||
+#define USB_EXT_PROP_B_PROPERTY_NAME 10
|
|
||||||
+#define USB_EXT_PROP_DW_PROPERTY_DATA_LENGTH 10
|
|
||||||
+#define USB_EXT_PROP_B_PROPERTY_DATA 14
|
|
||||||
+
|
|
||||||
+#define USB_EXT_PROP_RESERVED 0
|
|
||||||
+#define USB_EXT_PROP_UNICODE 1
|
|
||||||
+#define USB_EXT_PROP_UNICODE_ENV 2
|
|
||||||
+#define USB_EXT_PROP_BINARY 3
|
|
||||||
+#define USB_EXT_PROP_LE32 4
|
|
||||||
+#define USB_EXT_PROP_BE32 5
|
|
||||||
+#define USB_EXT_PROP_UNICODE_LINK 6
|
|
||||||
+#define USB_EXT_PROP_UNICODE_MULTI 7
|
|
||||||
+
|
|
||||||
+static inline u8 *__usb_ext_prop_ptr(u8 *buf, size_t offset)
|
|
||||||
+{
|
|
||||||
+ return buf + offset;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static inline u8 *usb_ext_prop_size_ptr(u8 *buf)
|
|
||||||
+{
|
|
||||||
+ return __usb_ext_prop_ptr(buf, USB_EXT_PROP_DW_SIZE);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static inline u8 *usb_ext_prop_type_ptr(u8 *buf)
|
|
||||||
+{
|
|
||||||
+ return __usb_ext_prop_ptr(buf, USB_EXT_PROP_DW_PROPERTY_DATA_TYPE);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static inline u8 *usb_ext_prop_name_len_ptr(u8 *buf)
|
|
||||||
+{
|
|
||||||
+ return __usb_ext_prop_ptr(buf, USB_EXT_PROP_W_PROPERTY_NAME_LENGTH);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static inline u8 *usb_ext_prop_name_ptr(u8 *buf)
|
|
||||||
+{
|
|
||||||
+ return __usb_ext_prop_ptr(buf, USB_EXT_PROP_B_PROPERTY_NAME);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static inline u8 *usb_ext_prop_data_len_ptr(u8 *buf, size_t off)
|
|
||||||
+{
|
|
||||||
+ return __usb_ext_prop_ptr(buf,
|
|
||||||
+ USB_EXT_PROP_DW_PROPERTY_DATA_LENGTH + off);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static inline u8 *usb_ext_prop_data_ptr(u8 *buf, size_t off)
|
|
||||||
+{
|
|
||||||
+ return __usb_ext_prop_ptr(buf, USB_EXT_PROP_B_PROPERTY_DATA + off);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static inline void usb_ext_prop_put_size(u8 *buf, int dw_size)
|
|
||||||
+{
|
|
||||||
+ put_unaligned_le32(dw_size, usb_ext_prop_size_ptr(buf));
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static inline void usb_ext_prop_put_type(u8 *buf, int type)
|
|
||||||
+{
|
|
||||||
+ put_unaligned_le32(type, usb_ext_prop_type_ptr(buf));
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static inline int usb_ext_prop_put_name(u8 *buf, const char *name, int pnl)
|
|
||||||
+{
|
|
||||||
+ int result;
|
|
||||||
+
|
|
||||||
+ put_unaligned_le16(pnl, usb_ext_prop_name_len_ptr(buf));
|
|
||||||
+ result = utf8s_to_utf16s(name, strlen(name), UTF16_LITTLE_ENDIAN,
|
|
||||||
+ (wchar_t *) usb_ext_prop_name_ptr(buf), pnl - 2);
|
|
||||||
+ if (result < 0)
|
|
||||||
+ return result;
|
|
||||||
+
|
|
||||||
+ put_unaligned_le16(0, &buf[USB_EXT_PROP_B_PROPERTY_NAME + pnl - 2]);
|
|
||||||
+
|
|
||||||
+ return pnl;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static inline void usb_ext_prop_put_binary(u8 *buf, int pnl, const u8 *data,
|
|
||||||
+ int data_len)
|
|
||||||
+{
|
|
||||||
+ put_unaligned_le32(data_len, usb_ext_prop_data_len_ptr(buf, pnl));
|
|
||||||
+ memcpy(usb_ext_prop_data_ptr(buf, pnl), data, data_len);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static inline int usb_ext_prop_put_unicode(u8 *buf, int pnl, const char *string,
|
|
||||||
+ int data_len)
|
|
||||||
+{
|
|
||||||
+ int result;
|
|
||||||
+ put_unaligned_le32(data_len, usb_ext_prop_data_len_ptr(buf, pnl));
|
|
||||||
+ result = utf8s_to_utf16s(string, data_len >> 1, UTF16_LITTLE_ENDIAN,
|
|
||||||
+ (wchar_t *) usb_ext_prop_data_ptr(buf, pnl),
|
|
||||||
+ data_len - 2);
|
|
||||||
+ if (result < 0)
|
|
||||||
+ return result;
|
|
||||||
+
|
|
||||||
+ put_unaligned_le16(0,
|
|
||||||
+ &buf[USB_EXT_PROP_B_PROPERTY_DATA + pnl + data_len - 2]);
|
|
||||||
+
|
|
||||||
+ return data_len;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+#endif /* __U_OS_DESC_H__ */
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,34 +0,0 @@
|
||||||
From e41494c15d4df342854ac3d2940f5d6ac3158212 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Bryan Huntsman <bryanh@codeaurora.org>
|
|
||||||
Date: Mon, 3 Jun 2013 18:48:08 -0700
|
|
||||||
Subject: [PATCH] msm: fix in-tree compilation for perf_trace_counters
|
|
||||||
|
|
||||||
In-tree compilation for arch/arm/mach-msm/perf_trace_counters.c was
|
|
||||||
hitting this error:
|
|
||||||
|
|
||||||
In file included from arch/arm/mach-msm/perf_trace_counters.h:127:0,
|
|
||||||
from arch/arm/mach-msm/perf_trace_counters.c:14:
|
|
||||||
include/trace/define_trace.h:79:43: fatal error: ./perf_trace_counters.h: No such file or directory
|
|
||||||
|
|
||||||
Instructions for TRACE_INCLUDE_FILE in include/trace/define_trace.h say
|
|
||||||
"the path is relative to define_trace.h, not the file including it".
|
|
||||||
Fix in-tree compilation by making the path relative to define_trace.h.
|
|
||||||
|
|
||||||
Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
|
|
||||||
---
|
|
||||||
arch/arm/mach-msm/perf_trace_counters.h | 3 +--
|
|
||||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/arch/arm/mach-msm/perf_trace_counters.h b/arch/arm/mach-msm/perf_trace_counters.h
|
|
||||||
index ce7e336aa40d..8f77badf42ac 100644
|
|
||||||
--- a/arch/arm/mach-msm/perf_trace_counters.h
|
|
||||||
+++ b/arch/arm/mach-msm/perf_trace_counters.h
|
|
||||||
@@ -121,7 +121,6 @@ TRACE_EVENT(sched_switch_with_ctrs,
|
|
||||||
|
|
||||||
#endif
|
|
||||||
#undef TRACE_INCLUDE_PATH
|
|
||||||
-#define TRACE_INCLUDE_PATH .
|
|
||||||
+#define TRACE_INCLUDE_PATH ../../arch/arm/mach-msm
|
|
||||||
#define TRACE_INCLUDE_FILE perf_trace_counters
|
|
||||||
#include <trace/define_trace.h>
|
|
||||||
-
|
|
|
@ -1,69 +0,0 @@
|
||||||
// SOURCE:
|
|
||||||
// https://github.com/NextThingCo/CHIP-u-boot/issues/10#issuecomment-287515505
|
|
||||||
|
|
||||||
#ifndef __LINUX_COMPILER_H
|
|
||||||
#error "Please don't include <linux/compiler-gcc6.h> directly, include <linux/compiler.h> instead."
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define __used __attribute__((__used__))
|
|
||||||
#define __must_check __attribute__((warn_unused_result))
|
|
||||||
#define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
|
|
||||||
|
|
||||||
/* Mark functions as cold. gcc will assume any path leading to a call
|
|
||||||
to them will be unlikely. This means a lot of manual unlikely()s
|
|
||||||
are unnecessary now for any paths leading to the usual suspects
|
|
||||||
like BUG(), printk(), panic() etc. [but let's keep them for now for
|
|
||||||
older compilers]
|
|
||||||
|
|
||||||
Early snapshots of gcc 4.3 don't support this and we can't detect this
|
|
||||||
in the preprocessor, but we can live with this because they're unreleased.
|
|
||||||
Maketime probing would be overkill here.
|
|
||||||
|
|
||||||
gcc also has a __attribute__((__hot__)) to move hot functions into
|
|
||||||
a special section, but I don't see any sense in this right now in
|
|
||||||
the kernel context */
|
|
||||||
#define __cold __attribute__((__cold__))
|
|
||||||
|
|
||||||
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
|
|
||||||
|
|
||||||
#ifndef __CHECKER__
|
|
||||||
# define __compiletime_warning(message) __attribute__((warning(message)))
|
|
||||||
# define __compiletime_error(message) __attribute__((error(message)))
|
|
||||||
#endif /* __CHECKER__ */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Mark a position in code as unreachable. This can be used to
|
|
||||||
* suppress control flow warnings after asm blocks that transfer
|
|
||||||
* control elsewhere.
|
|
||||||
*
|
|
||||||
* Early snapshots of gcc 4.5 don't support this and we can't detect
|
|
||||||
* this in the preprocessor, but we can live with this because they're
|
|
||||||
* unreleased. Really, we need to have autoconf for the kernel.
|
|
||||||
*/
|
|
||||||
#define unreachable() __builtin_unreachable()
|
|
||||||
|
|
||||||
/* Mark a function definition as prohibited from being cloned. */
|
|
||||||
#define __noclone __attribute__((__noclone__))
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Tell the optimizer that something else uses this function or variable.
|
|
||||||
*/
|
|
||||||
#define __visible __attribute__((externally_visible))
|
|
||||||
|
|
||||||
/*
|
|
||||||
* GCC 'asm goto' miscompiles certain code sequences:
|
|
||||||
*
|
|
||||||
* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
|
|
||||||
*
|
|
||||||
* Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
|
|
||||||
*
|
|
||||||
* (asm goto is automatically volatile - the naming reflects this.)
|
|
||||||
*/
|
|
||||||
#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
|
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
|
|
||||||
#define __HAVE_BUILTIN_BSWAP32__
|
|
||||||
#define __HAVE_BUILTIN_BSWAP64__
|
|
||||||
#define __HAVE_BUILTIN_BSWAP16__
|
|
||||||
#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
|
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
From e41494c15d4df342854ac3d2940f5d6ac3158212 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Bryan Huntsman <bryanh@codeaurora.org>
|
|
||||||
Date: Mon, 3 Jun 2013 18:48:08 -0700
|
|
||||||
Subject: [PATCH] msm: fix in-tree compilation for perf_trace_counters
|
|
||||||
|
|
||||||
In-tree compilation for arch/arm/mach-msm/perf_trace_counters.c was
|
|
||||||
hitting this error:
|
|
||||||
|
|
||||||
In file included from arch/arm/mach-msm/perf_trace_counters.h:127:0,
|
|
||||||
from arch/arm/mach-msm/perf_trace_counters.c:14:
|
|
||||||
include/trace/define_trace.h:79:43: fatal error: ./perf_trace_counters.h: No such file or directory
|
|
||||||
|
|
||||||
Instructions for TRACE_INCLUDE_FILE in include/trace/define_trace.h say
|
|
||||||
"the path is relative to define_trace.h, not the file including it".
|
|
||||||
Fix in-tree compilation by making the path relative to define_trace.h.
|
|
||||||
|
|
||||||
Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
|
|
||||||
---
|
|
||||||
arch/arm/mach-msm/perf_trace_counters.h | 3 +--
|
|
||||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/arch/arm/mach-msm/perf_trace_counters.h b/arch/arm/mach-msm/perf_trace_counters.h
|
|
||||||
index ce7e336aa40d..8f77badf42ac 100644
|
|
||||||
--- a/arch/arm/mach-msm/perf_trace_counters.h
|
|
||||||
+++ b/arch/arm/mach-msm/perf_trace_counters.h
|
|
||||||
@@ -121,7 +121,6 @@ TRACE_EVENT(sched_switch_with_ctrs,
|
|
||||||
|
|
||||||
#endif
|
|
||||||
#undef TRACE_INCLUDE_PATH
|
|
||||||
-#define TRACE_INCLUDE_PATH .
|
|
||||||
+#define TRACE_INCLUDE_PATH ../../arch/arm/mach-msm
|
|
||||||
#define TRACE_INCLUDE_FILE perf_trace_counters
|
|
||||||
#include <trace/define_trace.h>
|
|
||||||
-
|
|
|
@ -1,33 +0,0 @@
|
||||||
source:
|
|
||||||
https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9
|
|
||||||
|
|
||||||
* These need to be static to avoid these errors:
|
|
||||||
|
|
||||||
drivers/built-in.o: In function `.LANCHOR1':
|
|
||||||
msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock'
|
|
||||||
msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock'
|
|
||||||
Makefile:877: recipe for target '.tmp_vmlinux1' failed
|
|
||||||
make: *** [.tmp_vmlinux1] Error 1
|
|
||||||
|
|
||||||
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
|
|
||||||
|
|
||||||
--- a/drivers/gpu/msm/kgsl_iommu.c
|
|
||||||
+++ b/drivers/gpu/msm/kgsl_iommu.c
|
|
||||||
@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu)
|
|
||||||
*
|
|
||||||
* Return - int - number of commands.
|
|
||||||
*/
|
|
||||||
-inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
|
|
||||||
+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
|
|
||||||
unsigned int *cmds)
|
|
||||||
{
|
|
||||||
struct kgsl_device *device = mmu->device;
|
|
||||||
@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
|
|
||||||
*
|
|
||||||
* Return - int - number of commands.
|
|
||||||
*/
|
|
||||||
-inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu,
|
|
||||||
+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu,
|
|
||||||
unsigned int *cmds)
|
|
||||||
{
|
|
||||||
struct kgsl_device *device = mmu->device;
|
|
|
@ -1,69 +0,0 @@
|
||||||
// SOURCE:
|
|
||||||
// https://github.com/NextThingCo/CHIP-u-boot/issues/10#issuecomment-287515505
|
|
||||||
|
|
||||||
#ifndef __LINUX_COMPILER_H
|
|
||||||
#error "Please don't include <linux/compiler-gcc6.h> directly, include <linux/compiler.h> instead."
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define __used __attribute__((__used__))
|
|
||||||
#define __must_check __attribute__((warn_unused_result))
|
|
||||||
#define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
|
|
||||||
|
|
||||||
/* Mark functions as cold. gcc will assume any path leading to a call
|
|
||||||
to them will be unlikely. This means a lot of manual unlikely()s
|
|
||||||
are unnecessary now for any paths leading to the usual suspects
|
|
||||||
like BUG(), printk(), panic() etc. [but let's keep them for now for
|
|
||||||
older compilers]
|
|
||||||
|
|
||||||
Early snapshots of gcc 4.3 don't support this and we can't detect this
|
|
||||||
in the preprocessor, but we can live with this because they're unreleased.
|
|
||||||
Maketime probing would be overkill here.
|
|
||||||
|
|
||||||
gcc also has a __attribute__((__hot__)) to move hot functions into
|
|
||||||
a special section, but I don't see any sense in this right now in
|
|
||||||
the kernel context */
|
|
||||||
#define __cold __attribute__((__cold__))
|
|
||||||
|
|
||||||
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
|
|
||||||
|
|
||||||
#ifndef __CHECKER__
|
|
||||||
# define __compiletime_warning(message) __attribute__((warning(message)))
|
|
||||||
# define __compiletime_error(message) __attribute__((error(message)))
|
|
||||||
#endif /* __CHECKER__ */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Mark a position in code as unreachable. This can be used to
|
|
||||||
* suppress control flow warnings after asm blocks that transfer
|
|
||||||
* control elsewhere.
|
|
||||||
*
|
|
||||||
* Early snapshots of gcc 4.5 don't support this and we can't detect
|
|
||||||
* this in the preprocessor, but we can live with this because they're
|
|
||||||
* unreleased. Really, we need to have autoconf for the kernel.
|
|
||||||
*/
|
|
||||||
#define unreachable() __builtin_unreachable()
|
|
||||||
|
|
||||||
/* Mark a function definition as prohibited from being cloned. */
|
|
||||||
#define __noclone __attribute__((__noclone__))
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Tell the optimizer that something else uses this function or variable.
|
|
||||||
*/
|
|
||||||
#define __visible __attribute__((externally_visible))
|
|
||||||
|
|
||||||
/*
|
|
||||||
* GCC 'asm goto' miscompiles certain code sequences:
|
|
||||||
*
|
|
||||||
* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
|
|
||||||
*
|
|
||||||
* Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
|
|
||||||
*
|
|
||||||
* (asm goto is automatically volatile - the naming reflects this.)
|
|
||||||
*/
|
|
||||||
#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
|
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
|
|
||||||
#define __HAVE_BUILTIN_BSWAP32__
|
|
||||||
#define __HAVE_BUILTIN_BSWAP64__
|
|
||||||
#define __HAVE_BUILTIN_BSWAP16__
|
|
||||||
#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
|
|
||||||
|
|
|
@ -1,69 +0,0 @@
|
||||||
// SOURCE:
|
|
||||||
// https://github.com/NextThingCo/CHIP-u-boot/issues/10#issuecomment-287515505
|
|
||||||
|
|
||||||
#ifndef __LINUX_COMPILER_H
|
|
||||||
#error "Please don't include <linux/compiler-gcc6.h> directly, include <linux/compiler.h> instead."
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define __used __attribute__((__used__))
|
|
||||||
#define __must_check __attribute__((warn_unused_result))
|
|
||||||
#define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
|
|
||||||
|
|
||||||
/* Mark functions as cold. gcc will assume any path leading to a call
|
|
||||||
to them will be unlikely. This means a lot of manual unlikely()s
|
|
||||||
are unnecessary now for any paths leading to the usual suspects
|
|
||||||
like BUG(), printk(), panic() etc. [but let's keep them for now for
|
|
||||||
older compilers]
|
|
||||||
|
|
||||||
Early snapshots of gcc 4.3 don't support this and we can't detect this
|
|
||||||
in the preprocessor, but we can live with this because they're unreleased.
|
|
||||||
Maketime probing would be overkill here.
|
|
||||||
|
|
||||||
gcc also has a __attribute__((__hot__)) to move hot functions into
|
|
||||||
a special section, but I don't see any sense in this right now in
|
|
||||||
the kernel context */
|
|
||||||
#define __cold __attribute__((__cold__))
|
|
||||||
|
|
||||||
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
|
|
||||||
|
|
||||||
#ifndef __CHECKER__
|
|
||||||
# define __compiletime_warning(message) __attribute__((warning(message)))
|
|
||||||
# define __compiletime_error(message) __attribute__((error(message)))
|
|
||||||
#endif /* __CHECKER__ */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Mark a position in code as unreachable. This can be used to
|
|
||||||
* suppress control flow warnings after asm blocks that transfer
|
|
||||||
* control elsewhere.
|
|
||||||
*
|
|
||||||
* Early snapshots of gcc 4.5 don't support this and we can't detect
|
|
||||||
* this in the preprocessor, but we can live with this because they're
|
|
||||||
* unreleased. Really, we need to have autoconf for the kernel.
|
|
||||||
*/
|
|
||||||
#define unreachable() __builtin_unreachable()
|
|
||||||
|
|
||||||
/* Mark a function definition as prohibited from being cloned. */
|
|
||||||
#define __noclone __attribute__((__noclone__))
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Tell the optimizer that something else uses this function or variable.
|
|
||||||
*/
|
|
||||||
#define __visible __attribute__((externally_visible))
|
|
||||||
|
|
||||||
/*
|
|
||||||
* GCC 'asm goto' miscompiles certain code sequences:
|
|
||||||
*
|
|
||||||
* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
|
|
||||||
*
|
|
||||||
* Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
|
|
||||||
*
|
|
||||||
* (asm goto is automatically volatile - the naming reflects this.)
|
|
||||||
*/
|
|
||||||
#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
|
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
|
|
||||||
#define __HAVE_BUILTIN_BSWAP32__
|
|
||||||
#define __HAVE_BUILTIN_BSWAP64__
|
|
||||||
#define __HAVE_BUILTIN_BSWAP16__
|
|
||||||
#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
|
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
source:
|
|
||||||
https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9
|
|
||||||
|
|
||||||
* These need to be static to avoid these errors:
|
|
||||||
|
|
||||||
drivers/built-in.o: In function `.LANCHOR1':
|
|
||||||
msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock'
|
|
||||||
msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock'
|
|
||||||
Makefile:877: recipe for target '.tmp_vmlinux1' failed
|
|
||||||
make: *** [.tmp_vmlinux1] Error 1
|
|
||||||
|
|
||||||
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
|
|
||||||
|
|
||||||
--- a/drivers/gpu/msm/kgsl_iommu.c
|
|
||||||
+++ b/drivers/gpu/msm/kgsl_iommu.c
|
|
||||||
@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu)
|
|
||||||
*
|
|
||||||
* Return - int - number of commands.
|
|
||||||
*/
|
|
||||||
-inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
|
|
||||||
+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
|
|
||||||
unsigned int *cmds)
|
|
||||||
{
|
|
||||||
struct kgsl_device *device = mmu->device;
|
|
||||||
@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
|
|
||||||
*
|
|
||||||
* Return - int - number of commands.
|
|
||||||
*/
|
|
||||||
-inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu,
|
|
||||||
+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu,
|
|
||||||
unsigned int *cmds)
|
|
||||||
{
|
|
||||||
struct kgsl_device *device = mmu->device;
|
|
|
@ -1,34 +0,0 @@
|
||||||
From e41494c15d4df342854ac3d2940f5d6ac3158212 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Bryan Huntsman <bryanh@codeaurora.org>
|
|
||||||
Date: Mon, 3 Jun 2013 18:48:08 -0700
|
|
||||||
Subject: [PATCH] msm: fix in-tree compilation for perf_trace_counters
|
|
||||||
|
|
||||||
In-tree compilation for arch/arm/mach-msm/perf_trace_counters.c was
|
|
||||||
hitting this error:
|
|
||||||
|
|
||||||
In file included from arch/arm/mach-msm/perf_trace_counters.h:127:0,
|
|
||||||
from arch/arm/mach-msm/perf_trace_counters.c:14:
|
|
||||||
include/trace/define_trace.h:79:43: fatal error: ./perf_trace_counters.h: No such file or directory
|
|
||||||
|
|
||||||
Instructions for TRACE_INCLUDE_FILE in include/trace/define_trace.h say
|
|
||||||
"the path is relative to define_trace.h, not the file including it".
|
|
||||||
Fix in-tree compilation by making the path relative to define_trace.h.
|
|
||||||
|
|
||||||
Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
|
|
||||||
---
|
|
||||||
arch/arm/mach-msm/perf_trace_counters.h | 3 +--
|
|
||||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/arch/arm/mach-msm/perf_trace_counters.h b/arch/arm/mach-msm/perf_trace_counters.h
|
|
||||||
index ce7e336aa40d..8f77badf42ac 100644
|
|
||||||
--- a/arch/arm/mach-msm/perf_trace_counters.h
|
|
||||||
+++ b/arch/arm/mach-msm/perf_trace_counters.h
|
|
||||||
@@ -121,7 +121,6 @@ TRACE_EVENT(sched_switch_with_ctrs,
|
|
||||||
|
|
||||||
#endif
|
|
||||||
#undef TRACE_INCLUDE_PATH
|
|
||||||
-#define TRACE_INCLUDE_PATH .
|
|
||||||
+#define TRACE_INCLUDE_PATH ../../arch/arm/mach-msm
|
|
||||||
#define TRACE_INCLUDE_FILE perf_trace_counters
|
|
||||||
#include <trace/define_trace.h>
|
|
||||||
-
|
|
|
@ -1,17 +0,0 @@
|
||||||
diff --git a/drivers/usb/gadget/debug.c b/drivers/usb/gadget/debug.c
|
|
||||||
index 32a53299..fa5ff4ff 100644
|
|
||||||
--- a/drivers/usb/gadget/debug.c
|
|
||||||
+++ b/drivers/usb/gadget/debug.c
|
|
||||||
@@ -126,8 +126,12 @@ err0:
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
+EXPORT_SYMBOL(debug_debugfs_init);
|
|
||||||
+
|
|
||||||
void debug_debugfs_exit(void)
|
|
||||||
{
|
|
||||||
debugfs_remove_recursive(dbg_buffer.root);
|
|
||||||
dbg_buffer.root = NULL;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+EXPORT_SYMBOL(debug_debugfs_exit);
|
|
|
@ -1 +0,0 @@
|
||||||
../../.shared-patches/linux/gcc7-give-up-on-ilog2-const-optimizations.patch
|
|
|
@ -1 +0,0 @@
|
||||||
../../.shared-patches/linux/kernel-use-the-gnu89-standard-explicitly.patch
|
|
|
@ -1,2 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Exec=/usr/bin/plasma-bigscreen
|
|
|
@ -1,20 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
[ -f /etc/profile ] && . /etc/profile
|
|
||||||
|
|
||||||
export QT_QPA_PLATFORM=wayland
|
|
||||||
export QT_QPA_PLATFORMTHEME=KDE
|
|
||||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
|
||||||
export EGL_PLATFORM=wayland
|
|
||||||
|
|
||||||
export QT_QUICK_CONTROLS_STYLE=Plasma
|
|
||||||
export QT_ENABLE_GLYPH_CACHE_WORKAROUND=1
|
|
||||||
export QT_QUICK_CONTROLS_MOBILE=true
|
|
||||||
export PLASMA_PLATFORM=phone:handset
|
|
||||||
export QT_VIRTUALKEYBOARD_STYLE=Plasma
|
|
||||||
|
|
||||||
export GRID_UNIT_PX=25
|
|
||||||
export FORCE_RIL_NUM_MODEMS=1
|
|
||||||
export PLASMA_DEFAULT_SHELL=org.kde.plasma.mycroft.bigscreen
|
|
||||||
|
|
||||||
touch /tmp/simplelogin_starting
|
|
||||||
dbus-run-session startplasma-wayland --xwayland --libinput --inputmethod maliit-server --exit-with-session=/usr/lib/libexec/startplasma-waylandsession
|
|
|
@ -1,16 +0,0 @@
|
||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index 921f876..0a2c668 100644
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -73,6 +73,11 @@ if (BUILD_TESTING)
|
|
||||||
add_subdirectory(autotests)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
+install(
|
|
||||||
+ TARGETS trainer
|
|
||||||
+ ${INSTALL_TARGETS_DEFAULT_ARGS}
|
|
||||||
+)
|
|
||||||
+
|
|
||||||
install(
|
|
||||||
PROGRAMS org.kde.trainer.desktop
|
|
||||||
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
|
|
@ -1,26 +0,0 @@
|
||||||
From 5697e58578f1af224d13fc40638a210f2da659d3 Mon Sep 17 00:00:00 2001
|
|
||||||
From: root <root@computer.craftyguy.net>
|
|
||||||
Date: Wed, 9 Jan 2019 00:02:17 +0000
|
|
||||||
Subject: [PATCH] remove dependency on git
|
|
||||||
|
|
||||||
---
|
|
||||||
Makefile | 3 +--
|
|
||||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index 4b449ad..36a9ffd 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -33,8 +33,7 @@ $(MKIMG): buildinfo $(SRCS)
|
|
||||||
bin: $(MKIMG)
|
|
||||||
|
|
||||||
buildinfo:
|
|
||||||
- @echo -n '#define MKIMAGE_COMMIT 0x' > src/build_info.h
|
|
||||||
- @git rev-parse --short=8 HEAD >> src/build_info.h
|
|
||||||
+ @echo -n '#define MKIMAGE_COMMIT 0x7bb91090' > src/build_info.h
|
|
||||||
@echo '' >> src/build_info.h
|
|
||||||
|
|
||||||
help:
|
|
||||||
--
|
|
||||||
2.20.1
|
|
||||||
|
|
Loading…
Reference in a new issue