From fc2b8658bb710f8f01367bf05f44f2faea489661 Mon Sep 17 00:00:00 2001
From: "Cho, Yu-Chen" <acho@novell.com>
Date: Mon, 4 Jul 2011 17:16:10 +0800
Subject: [PATCH] Add ene-ub6250 SD card reader firmware

Move ENE UB6250 SD/MS card firmware from driver/staging/keucr, and
convert it from HEX to using request_firmware()
Most for this patch is from huajun.li.lee@gmail.com sent at
2011-03-02,only added the ms card reader firmware and LICENCE of
firmware from ENE.

Signed-off-by: Cho, Yu-Chen <acho@novell.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
---
 LICENCE.ene_firmware    |  14 ++++++++++++++
 WHENCE                  |  15 +++++++++++++++
 ene-ub6250/ms_init.bin  | Bin 0 -> 2048 bytes
 ene-ub6250/ms_rdwr.bin  | Bin 0 -> 2048 bytes
 ene-ub6250/msp_rdwr.bin | Bin 0 -> 2048 bytes
 ene-ub6250/sd_init1.bin | Bin 0 -> 2048 bytes
 ene-ub6250/sd_init2.bin | Bin 0 -> 2048 bytes
 ene-ub6250/sd_rdwr.bin  | Bin 0 -> 2048 bytes
 8 files changed, 29 insertions(+)
 create mode 100644 LICENCE.ene_firmware
 create mode 100644 ene-ub6250/ms_init.bin
 create mode 100644 ene-ub6250/ms_rdwr.bin
 create mode 100644 ene-ub6250/msp_rdwr.bin
 create mode 100644 ene-ub6250/sd_init1.bin
 create mode 100644 ene-ub6250/sd_init2.bin
 create mode 100644 ene-ub6250/sd_rdwr.bin

diff --git a/LICENCE.ene_firmware b/LICENCE.ene_firmware
new file mode 100644
index 00000000..08f2b01e
--- /dev/null
+++ b/LICENCE.ene_firmware
@@ -0,0 +1,14 @@
+copyright (c) 2011, ENE TECHNOLOGY INC.
+
+Permission to use, copy, modify, and/or distribute this software for any purpose
+with or without fee is hereby granted, provided that the above copyright notice
+and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
+WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT
+SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
+CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/WHENCE b/WHENCE
index d1f5ae96..d4bfbd39 100644
--- a/WHENCE
+++ b/WHENCE
@@ -1763,3 +1763,18 @@ to be covered by the terms of the GNU General Public License.
 These firmware files are distributed in the hope that they will be
 useful, but WITHOUT ANY WARRANTY; without even the implied warranty
 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+--------------------------------------------------------------------------
+
+Driver: ene-ub6250 -- ENE UB6250 SD card reader driver
+
+File: ene-ub6250/sd_init1.bin
+File: ene-ub6250/sd_init2.bin
+File: ene-ub6250/sd_rdwr.bin
+File: ene-ub6250/ms_init.bin
+File: ene-ub6250/msp_rdwr.bin
+File: ene-ub6250/ms_rdwr.bin
+
+Licence: Redistributable. See LICENCE.ene_firmware for details.
+
+--------------------------------------------------------------------------
diff --git a/ene-ub6250/ms_init.bin b/ene-ub6250/ms_init.bin
new file mode 100644
index 0000000000000000000000000000000000000000..613f0ed718677ef13c7b074b5cfdd4b2ce5098f7
GIT binary patch
literal 2048
zcmeHH-)|IE6uvv%Zd+Dj8P~`v*=`os2O`-)6ZHY<m`qz5D7Ily2`28t^5Bb(I-~UG
zOdux2)Z}KvbC+y|z5%a1L1trw6dJRe5MCgs%P#0lf84~*L$&O9?hLpEjekM!X3stM
zoO8c#<~t`t*~{SW+VLj!x<FctP;a+pGXK!n7&)%@68!+t-zWNhQcY3s43riN>0~-$
z^;F{Jlp%<j`DDCZ>Jcz&D|prD7BfH7<^U)rJ4Jpgp9>FfGtN%EB-Sr>B5<=0vVY+=
z0NHE7sTphrZvCLh!RZ%eCprky>7OxdyfsA-gEmJX`!)s@O<+<w49UfHKlbADF+~dp
z1vM-<4459`=Ag!z2DKtugxaqN=sW|4PmyG!!dPUSOpwXQlw;f!GjnpAP<z+vvl7&q
zhkQsqNuArEeny=I$aQAha>ptOvx_=6K?0$Ypmv`YVtSM`qUCeu@IEnf)d!%?4ak~m
z)OgQVq&;fh-<(>{%DHX7XG1C{L%`R4GLqv*4oR3nQC_ij#Ye03Sn)u2!t__jC>bN;
z-4ntjc4bZ$%oB#`_W~skL{`F#I=3L-q3-3)lK<<{8?8%!qB4D;gcwpou0zZ$AZR2Y
zt)r4$NBp<6#ikm}N(ZySFQHCtRWnqs7am-PC)9r6S18m==>n8`3X7$9p;k&19?~_!
zG;fyqzj1lOnf&t7naiie%nj=8!EVpu>sM1&Li4E2c{exB>ypwPAT`!Gn;c46uUaWR
zMjEmF3#euN5UQi^B;Uv4`fEhYOrv`Be(3{lsdEpKj{@&LBx{1{`)dT6bS;E$a0J!I
zGJ6p69(NB>_dJG!sC%d7-UY9$wH1eX`D!kV?Thkhc{&kp2@%~{@X|o-0an+#iyE2n
ztEu}F&t2dEq^Ko>=*oxu(fg@;ktgTC`zLU!MXJFDb#-`5-ER^01jEYj(D{^kM}`hR
zxv%n?uXxSZ9O)bImZ*J<EmQj=wnFWX*($X^VM}>W6_?R$UqREkiiXo$z0|EDpDI*(
zH>ntUsv-*0h_UvVP`g*bPXJd*6->btpJ|YonJK5F-gmUKIC%dWyVl6H=5%v=t10~l
zqE9baKT`W-9S5W`jSg(g!sDg#jQoe%zFaQKOV)IXY^^N?wiNgu1%{699sJ^REs1NN
GgzIlG7;mBg

literal 0
HcmV?d00001

diff --git a/ene-ub6250/ms_rdwr.bin b/ene-ub6250/ms_rdwr.bin
new file mode 100644
index 0000000000000000000000000000000000000000..f2a8df8137a6eeea9c144729042ba07f341ccd03
GIT binary patch
literal 2048
zcmbW2O>7fK6vx-I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(2MymTFKW&|0E*zRaD9Asl
z?PUhh&23R|yk2yy-({xI4CB}%{Yj~hSCXtU^jBp_8G?e6KRo3T<OTRCEXd!vTaEPP
zF+GEHR88a!LH@!>ltiT;B0sA6m}y=aM$?j%bk?N~;d<KaNOhQEHSvw_M%tU{#La^Q
zKD|T4(tRsdg8V(_qrSH@aAcb)f;(1=LOegH9VTle%A@)DDOfI~ZkufEW4^3PQhSUL
zSXn9$HPVYMg|MhLA=SE-B~(!*8X40;S+$o1`A1+|dkfcpCh1THRYobF?UK|j`H_e3
zyF4MtmsE6l!YKi1WlYJyJkPAABF{_?Lo!_EUZT)@4sW3HX36v3of+l?GmQkfY<g6m
z@5Y#vtvGkJw&##l$T8Nxp(=2Y3-O5R%BYzC1sImy8ap1#I7O0+>9;G<HM+c0JVvyr
z3dI2OFC~$l6lx2Al?SZ6gB9t#v)$#e<S9QU0nFNr$-_UwBi`k{@(^yOavuPG6{1?}
z{qDRQ`Xf1~-<$J17V{bkNS=~hW8g_l79BFndkJ{7CVNl#YP>VMayQp<Mrh8}k9ow+
zS6n|em*tw!0*{0y5pTLw)In-SqMC3hY!;S2ghVdAUrm5coUdVphWu5EHTg#{eCLyZ
ZxQ)irrw$F~|FlD|55IOqa@$S?+CN*tOWyzh

literal 0
HcmV?d00001

diff --git a/ene-ub6250/msp_rdwr.bin b/ene-ub6250/msp_rdwr.bin
new file mode 100644
index 0000000000000000000000000000000000000000..dfba6cebb58a50f059a4605342185bbeb1539c99
GIT binary patch
literal 2048
zcmeH^%SyvQ6ow~>N-m2^x~|4H-Ke1>b!ji)1w;!$1-Cv#0xjMO;(ieH0d&_c+=yEt
zc>{fcNj0DqbQaD+(8P&aY^kCPmpO~`pEC^S@*PBmF={W6vjKtkMo=hW=nbJTW7Wxf
z;=iD94<CC6*)o^bMtL_4=b3Z;LXwJpF-fKBQB7-zO-XI7YN_GQZ<rOJ{&=ZtnZ75e
zvjUFpWKeqv!)wLKqHrIty%JWtRb^ejYRDfmJY3Z|m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q`N>S
zeY#(1!WI;fFbp;9vkanQWs*eK5@}=NofYO!>^VTX#1ZQOvhNLxJLX*)eS+No-2K>_
zA05QXSUeA)qyJ`1@@SO%?g9O1zsY2bN~~vKRUO4R;lDc~%+N2?^jT=!Bm5P1pKz7!
z5PpJf6Mm9y5kAF+gij{}m<RAAyfV9I`5aQhcC6+I&r?fUKs^J(Fw@)L`zgG(`ND1A
z4-FWQ5Ml<kGqI2{GBge(I13VBWjawGm$8kylUNxi{B>%bFXzFOv6e#pAAOKX2w)Tx
ziq`>Tw9{?rv*wM))`He<w41Hw^#)!2rul87)9f_Z>a@SvkveIk@~Kd1{Tf^+!w&~+
zm33RNpwCw6^X>3v=`UN_3BN3D2QA}akCsI^?gHHP$_e3`da^Pt%EeYGg$8qEcyU8z
zl8V;<=o(<qa%3YP`7+_AgBU)Yruy0wxp))0z3`Uv2^pFU@_2A(YWYR9gyiB^bzd(2
uMED%FIFL9;%{2TD?e6{WQiY@Eh=C&p{)>SR%ySp7Ty|!4U7y7m&;AW>sBX;w

literal 0
HcmV?d00001

diff --git a/ene-ub6250/sd_init2.bin b/ene-ub6250/sd_init2.bin
new file mode 100644
index 0000000000000000000000000000000000000000..0d290194bee5e6db85d727a7a41099fc32703bad
GIT binary patch
literal 2048
zcmeHHPly{;7@tfsv)O_sI~$3$T{}$mpdd_(B754D=F;1O(@RCjp@JSP0cRmG$?kM!
z^<a1P5%%1c1TTw1Z$*&pkg4LKXh^K~_@&9L=_Z8-P1N14Gk$N9b_?B>g4ZSt?|tw4
z^S<x*`@To~Nl;rN@sH{TB}{O4iElv#$_Y7fpcZSyYe|QP%ks1!wO5U>)H>3L)#6QZ
z&tIUv&Q<A6dcP1WZk66x94y5p_X9HEI+a8jDzS2_5-;DbOqbi0WVut3%5G(<yh*9<
zS1J1w|4p5zRh^?vMNK4#7lE`$aZwW@WOtfI$RXY>J%mR$AZ<_{X1m0DiQXYzg5D+G
z%d}6tgS1DySLhb;4q;&8#nE~SKZ$lV!^2?c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