2 * Copyright (c) 2013 Google, Inc
4 * SPDX-License-Identifier: GPL-2.0+
11 static const struct dm_demo_pdata red_square
= {
15 static const struct dm_demo_pdata green_triangle
= {
19 static const struct dm_demo_pdata yellow_hexagon
= {
24 U_BOOT_DEVICE(demo0
) = {
25 .name
= "demo_shape_drv",
26 .platdata
= &red_square
,
29 U_BOOT_DEVICE(demo1
) = {
30 .name
= "demo_simple_drv",
31 .platdata
= &red_square
,
34 U_BOOT_DEVICE(demo2
) = {
35 .name
= "demo_shape_drv",
36 .platdata
= &green_triangle
,
39 U_BOOT_DEVICE(demo3
) = {
40 .name
= "demo_simple_drv",
41 .platdata
= &yellow_hexagon
,
44 U_BOOT_DEVICE(demo4
) = {
45 .name
= "demo_shape_drv",
46 .platdata
= &yellow_hexagon
,