as3525: cache first read of enrd0 register
authorfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Fri, 18 Jun 2010 19:47:58 +0000 (19:47 +0000)
committerfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Fri, 18 Jun 2010 19:47:58 +0000 (19:47 +0000)
commit9b982bfee4bbee657e4a3d928918a36b1484156c
treec1410a46482d99b73c7f731e7b9633f3804618b7
parentaa2ced1e14bd3fd5692e6e927a46e3284ad11e59
as3525: cache first read of enrd0 register

We need it for correct charger detection if we boot with charger plugged
because there is no edge interrupt
firmware/target/arm/as3525/ascodec-as3525.c