diff options
Diffstat (limited to 'arch/arm/mach-zynq/devices.c')
-rw-r--r-- | arch/arm/mach-zynq/devices.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-zynq/devices.c b/arch/arm/mach-zynq/devices.c new file mode 100644 index 0000000000..777bb8765f --- /dev/null +++ b/arch/arm/mach-zynq/devices.c @@ -0,0 +1,8 @@ +#include <common.h> +#include <driver.h> +#include <mach/devices.h> + +struct device_d *zynq_add_uart(resource_size_t base, int id) +{ + return add_generic_device("cadence-uart", id, NULL, base, 0x1000, IORESOURCE_MEM, NULL); +} |