arch/sim: initialize 'rxbuf_size' and 'txbuf_size' instead of 'buf_size'.
Change-Id: I5442f022cafef6c0f636614ba739e11249713134 Signed-off-by: zhongan <zhongan@xiaomi.com>
This commit is contained in:
parent
4ec8fd521f
commit
ef9735febd
|
@ -218,7 +218,8 @@ int up_rptun_init(void)
|
||||||
rsc->rpmsg_vring0.num = 8;
|
rsc->rpmsg_vring0.num = 8;
|
||||||
rsc->rpmsg_vring1.align = 8;
|
rsc->rpmsg_vring1.align = 8;
|
||||||
rsc->rpmsg_vring1.num = 8;
|
rsc->rpmsg_vring1.num = 8;
|
||||||
rsc->buf_size = 0x800;
|
rsc->config.rxbuf_size = 0x800;
|
||||||
|
rsc->config.txbuf_size = 0x800;
|
||||||
|
|
||||||
g_dev.shmem->base = (uintptr_t)g_dev.shmem;
|
g_dev.shmem->base = (uintptr_t)g_dev.shmem;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue