summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorJohan Jonker <[email protected]>2022-04-09 18:55:10 +0200
committerKever Yang <[email protected]>2022-04-18 11:25:13 +0800
commit728489753c75888b2ffd70ad37b2b0590edc45d9 (patch)
tree11aacb88f7cc18e19346decebc78e90dd40646d2 /scripts/basic
parent2d3bb400f37b86c3da3a64a9ee4c1d79caa2fdd6 (diff)
rockchip: serial: restyle the serial_rockchip.c driver
The ns16550.c driver has the following conditions for .of_match: CONFIG_IS_ENABLED(OF_REAL) For Rockchip SoCs with TPL/SPL and platform data that need serial support the serial_rockchip.c driver was made. It copies this data and then calls ns16550_serial_probe(). With the addition of yet an other SoC type this driver is in need for a little restyle. Simplify struct rockchip_uart_plat and add extra SoCs with DM_DRIVER_ALIAS(). Return -ENODEV when the ns16550.c driver probe function is available. Signed-off-by: Johan Jonker <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions