[U-Boot] [PATCH v2] rpi: add Compute Module 3+

Add Raspberry Pi Compute Module 3+ to list of models, the revision code is 0x10 according to the list on raspberrypi.org.
v2: Use the same dtb name as CM3 as CM3+ is a drop in replacement for CM3.
Signed-off-by: Jonathan Gray jsg@jsg.id.au --- board/raspberrypi/rpi/rpi.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index 153a1fdcb7..617c892dde 100644 --- a/board/raspberrypi/rpi/rpi.c +++ b/board/raspberrypi/rpi/rpi.c @@ -143,6 +143,11 @@ static const struct rpi_model rpi_models_new_scheme[] = { DTB_DIR "bcm2837-rpi-3-a-plus.dtb", false, }, + [0x10] = { + "Compute Module 3+", + DTB_DIR "bcm2837-rpi-cm3.dtb", + false, + }, };
static const struct rpi_model rpi_models_old_scheme[] = {

On 30.01.19 23:24, Jonathan Gray wrote:
Add Raspberry Pi Compute Module 3+ to list of models, the revision code is 0x10 according to the list on raspberrypi.org.
v2: Use the same dtb name as CM3 as CM3+ is a drop in replacement for CM3.
Signed-off-by: Jonathan Gray jsg@jsg.id.au
Reviewed-by: Alexander Graf agraf@suse.de
Alex
board/raspberrypi/rpi/rpi.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index 153a1fdcb7..617c892dde 100644 --- a/board/raspberrypi/rpi/rpi.c +++ b/board/raspberrypi/rpi/rpi.c @@ -143,6 +143,11 @@ static const struct rpi_model rpi_models_new_scheme[] = { DTB_DIR "bcm2837-rpi-3-a-plus.dtb", false, },
- [0x10] = {
"Compute Module 3+",
DTB_DIR "bcm2837-rpi-cm3.dtb",
false,
- },
};
static const struct rpi_model rpi_models_old_scheme[] = {
participants (2)
-
Alexander Graf
-
Jonathan Gray