display: Update ELCDIF driver to use a config
Update the MCUX ELCDIF driver to use CONFIG_MCUX_ELCDIF_POOL_BLOCK_NUM for the number for frame buffers to allocate. Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
parent
450a1c0982
commit
8157e4bebf
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2019, NXP
|
* Copyright 2019-22, NXP
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
@ -41,7 +41,7 @@ struct mcux_mem_block {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct mcux_elcdif_data {
|
struct mcux_elcdif_data {
|
||||||
struct mcux_mem_block fb[2];
|
struct mcux_mem_block fb[CONFIG_MCUX_ELCDIF_POOL_BLOCK_NUM];
|
||||||
struct k_sem sem;
|
struct k_sem sem;
|
||||||
size_t pixel_bytes;
|
size_t pixel_bytes;
|
||||||
size_t fb_bytes;
|
size_t fb_bytes;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue