summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-zynq/devices.c
blob: 777bb8765f4797f1c1c1862b0ab246a31cb98648 (plain)
1
2
3
4
5
6
7
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);
}