]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: clearfog: read number of ddr channels from tlv data
authorJosua Mayer <josua@solid-run.com>
Sun, 8 Oct 2023 14:58:03 +0000 (16:58 +0200)
committerStefan Roese <sr@denx.de>
Mon, 16 Oct 2023 12:00:45 +0000 (14:00 +0200)
commitfdd6069515d68e743e6aeb7982ba81c9b7905ad2
tree44fb5c632d53d8394eae26653b200ae00ae3afa1
parent335df894ad60f60632759a92ef62216bec62585e
arm: mvebu: clearfog: read number of ddr channels from tlv data

Extend the existing tlv vendor extension used for ram size by one byte to
also store the number of ddr channels.
The length of the tlv entry can indicate whether the new information is
present. If not default to single channel.

Signed-off-by: Josua Mayer <josua@solid-run.com>
Reviewed-by: Stefan Roese <sr@denx.de>
board/solidrun/clearfog/clearfog.c
board/solidrun/common/tlv_data.c
board/solidrun/common/tlv_data.h