]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/xtensa/platforms/xtfpga/setup.c
Merge remote-tracking branches 'regulator/topic/s5m8767', 'regulator/topic/st-pwm...
[karo-tx-linux.git] / arch / xtensa / platforms / xtfpga / setup.c
index 03729132ae441215179a360374476af852bbb26a..57fd08b36f51a151a389794bf4e8af7c9b64fd13 100644 (file)
@@ -290,6 +290,7 @@ static int __init xtavnet_init(void)
         * knows whether they set it correctly on the DIP switches.
         */
        pr_info("XTFPGA: Ethernet MAC %pM\n", ethoc_pdata.hwaddr);
+       ethoc_pdata.eth_clkfreq = *(long *)XTFPGA_CLKFRQ_VADDR;
 
        return 0;
 }