diff options
| author | Thomas Chou <[email protected]> | 2015-11-19 21:48:07 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2015-11-21 21:50:04 -0500 |
| commit | f27445cbdc3cdfef0d1e98b05f6ef0cc09c7d967 (patch) | |
| tree | eb3c5008043f1f6374f7bb66d5b9f9c2a946dbc6 /arch | |
| parent | 81cd63a991f87c1ddbf7850beae0a4c543b45c7e (diff) | |
ns16550: unify serial_ppc
Unify serial_ppc, and use the generic binding.
Signed-off-by: Thomas Chou <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
[trini: Add TODO comment]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/powerpc/include/asm/config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/config.h b/arch/powerpc/include/asm/config.h index 65496d0d90a..bb23756d79a 100644 --- a/arch/powerpc/include/asm/config.h +++ b/arch/powerpc/include/asm/config.h @@ -104,4 +104,12 @@ /* All PPC boards must swap IDE bytes */ #define CONFIG_IDE_SWAP_IO +#if defined(CONFIG_DM_SERIAL) +/* + * TODO: Convert this to a clock driver exists that can give us the UART + * clock here. + */ +#define CONFIG_SYS_NS16550_CLK get_serial_clock() +#endif + #endif /* _ASM_CONFIG_H_ */ |
