1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (c) 2013 Google, Inc
10 static const struct dm_demo_pdata red_square = {
14 static const struct dm_demo_pdata green_triangle = {
18 static const struct dm_demo_pdata yellow_hexagon = {
23 U_BOOT_DRVINFO(demo0) = {
24 .name = "demo_shape_drv",
28 U_BOOT_DRVINFO(demo1) = {
29 .name = "demo_simple_drv",
33 U_BOOT_DRVINFO(demo2) = {
34 .name = "demo_shape_drv",
35 .plat = &green_triangle,
38 U_BOOT_DRVINFO(demo3) = {
39 .name = "demo_simple_drv",
40 .plat = &yellow_hexagon,
43 U_BOOT_DRVINFO(demo4) = {
44 .name = "demo_shape_drv",
45 .plat = &yellow_hexagon,