diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-19 10:40:05 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-01-05 12:24:41 -0700 |
commit | 21303d1de7cabe1e2d4ebfe82425ca816a1394a6 (patch) | |
tree | 3dc8118769ec6ce8f14fbaa22fdd6c22fed6f512 /arch/x86/cpu/ioapic.c | |
parent | 6a2350f8c9d60f318b3ffff3231b4ca891957da4 (diff) | |
download | u-boot-21303d1de7cabe1e2d4ebfe82425ca816a1394a6.tar.gz u-boot-21303d1de7cabe1e2d4ebfe82425ca816a1394a6.tar.xz u-boot-21303d1de7cabe1e2d4ebfe82425ca816a1394a6.zip |
x86: apl: Adjust how the UART gets its platform data
At present this driver calls malloc() to start a new platform data
structure, fills it in and tells driver model to use it.
We want to avoid malloc, particularly with the new version of of-platdata.
Create a new struct which encompasses both the dtd struct and the ns16550
one, to avoid this. Unfortunately we must copy the data into the right
place for the ns16550 driver. Add some comments about this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/ioapic.c')
0 files changed, 0 insertions, 0 deletions