boards: stm32n6570_dk: enable SMH by default for LTDC/VIDEO
By default, enable the SharedMultiHeap allocated buffer on stm32n6570_dk and enable its usage for LTDC or video buffers. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
This commit is contained in:
parent
6274df7a0b
commit
78ec02db4b
1 changed files with 21 additions and 5 deletions
|
@ -12,19 +12,35 @@ config NET_L2_ETHERNET
|
||||||
|
|
||||||
endif # NETWORKING
|
endif # NETWORKING
|
||||||
|
|
||||||
if DISPLAY
|
if DISPLAY || VIDEO
|
||||||
|
# MEMC needs to be enabled in order to store
|
||||||
|
# display frame buffer to external PSRAM
|
||||||
|
config MEMC
|
||||||
|
default y
|
||||||
|
|
||||||
|
# Rely on Multi-Heap / Shared-Multi-Heap for PSRAM access
|
||||||
|
config MULTI_HEAP
|
||||||
|
default y
|
||||||
|
config SHARED_MULTI_HEAP
|
||||||
|
default y
|
||||||
|
endif # DISPLAY || VIDEO
|
||||||
|
|
||||||
|
if DISPLAY
|
||||||
config INPUT
|
config INPUT
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config I2C_STM32_V2_TIMING
|
config I2C_STM32_V2_TIMING
|
||||||
default y if INPUT
|
default y if INPUT
|
||||||
|
|
||||||
# MEMC needs to be enabled in order to store
|
# Let LTDC use memory allocated via SMH
|
||||||
# display frame buffer to external PSRAM
|
config STM32_LTDC_FB_USE_SHARED_MULTI_HEAP
|
||||||
config MEMC
|
|
||||||
default y
|
default y
|
||||||
|
|
||||||
endif # DISPLAY
|
endif # DISPLAY
|
||||||
|
|
||||||
|
if VIDEO
|
||||||
|
# Let video framework use memory allocated via SMH
|
||||||
|
config VIDEO_BUFFER_USE_SHARED_MULTI_HEAP
|
||||||
|
default y
|
||||||
|
endif # VIDEO
|
||||||
|
|
||||||
endif # BOARD_STM32N6570_DK
|
endif # BOARD_STM32N6570_DK
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue