> + * GNU General Public License for more details. > + * > + * You should have received a copy of the GNU General Public License > + * along with this program; if not, write to the Free Software > + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, > + * MA 02111-1307 USA > + * > + */ > + > +#include <common.h> > +#include <types.h> > +#include <driver.h> > +#include <init.h> > +#include <ns16550.h> > +#include <mach/hardware.h> > +#include <asm/io.h> > + > +/** to work with the 8250 UART driver implementation we need this function */ > +static unsigned int malta_uart_read(unsigned long base, unsigned char reg_idx) > +{ > + return readb((char *)base + reg_idx); > +} > + > +/** to work with the 8250 UART driver implementation we need this function */ > +static void malta_uart_write(unsigned int val, unsigned long base, unsigned char reg_idx) > +{ > + writeb(val, (char *)base + reg_idx); > +} > + > +static struct NS16550_plat serial_plat = { > + .clock = 1843200, /* no matter */ I check the kernel and they use 3686400 furture more there is no qemu-malta as the malta is a real hw emulation even on qemu Best Regards, J. _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox