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:
zhongan 2020-04-26 19:14:16 +08:00 committed by patacongo
parent 4ec8fd521f
commit ef9735febd
1 changed files with 2 additions and 1 deletions

View File

@ -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;
} }