mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
serial: pl01x: Prepare the driver to support SPL_OF_PLATDATA
This commit prepares the pl01x serial driver to be used with SPL_OF_PLATDATA enabled. Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
committed by
Stefano Babic
parent
fdef5e1502
commit
875752adc8
@@ -20,7 +20,11 @@ enum pl01x_type {
|
||||
* @skip_init: Don't attempt to change port configuration (also means @clock
|
||||
* is ignored)
|
||||
*/
|
||||
#include <dt-structs.h>
|
||||
struct pl01x_serial_plat {
|
||||
#if CONFIG_IS_ENABLED(OF_PLATDATA)
|
||||
struct dtd_serial_pl01x dtplat;
|
||||
#endif
|
||||
unsigned long base;
|
||||
enum pl01x_type type;
|
||||
unsigned int clock;
|
||||
|
||||
Reference in New Issue
Block a user