]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/bluegiga/apx4devkit/apx4devkit.c
mxs: Rename 'mx28_dram_init' to 'mxs_dram_init'
[karo-tx-uboot.git] / board / bluegiga / apx4devkit / apx4devkit.c
index c89c6aa90b0d227f6eff4801325fc3881f50298d..ae48ab58f8c031383a7dc7e0a9aa85bf701d46d7 100644 (file)
@@ -55,7 +55,7 @@ int board_early_init_f(void)
 
 int dram_init(void)
 {
-       return mx28_dram_init();
+       return mxs_dram_init();
 }
 
 int board_init(void)
@@ -122,15 +122,15 @@ int board_eth_init(bd_t *bis)
 #define MXS_OCOTP_MAX_TIMEOUT 1000000
 void get_board_serial(struct tag_serialnr *serialnr)
 {
-       struct mx28_ocotp_regs *ocotp_regs =
-               (struct mx28_ocotp_regs *)MXS_OCOTP_BASE;
+       struct mxs_ocotp_regs *ocotp_regs =
+               (struct mxs_ocotp_regs *)MXS_OCOTP_BASE;
 
        serialnr->high = 0;
        serialnr->low = 0;
 
        writel(OCOTP_CTRL_RD_BANK_OPEN, &ocotp_regs->hw_ocotp_ctrl_set);
 
-       if (mx28_wait_mask_clr(&ocotp_regs->hw_ocotp_ctrl_reg, OCOTP_CTRL_BUSY,
+       if (mxs_wait_mask_clr(&ocotp_regs->hw_ocotp_ctrl_reg, OCOTP_CTRL_BUSY,
                MXS_OCOTP_MAX_TIMEOUT)) {
                printf("MXS: Can't get serial number from OCOTP\n");
                return;