Ignore:
Timestamp:
2013-03-26T17:44:16Z (11 years ago)
Author:
Beniamino Galvani <b.galvani@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
44b2b78
Parents:
0dfa93b0
Message:

Merge arm926 and bcm2835 drivers for pl011 uart and move the code
under a generic directory

File:
1 moved

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/genarch/drivers/pl011/pl011.h

    r0dfa93b0 rc882505  
    3232/**
    3333 * @file
    34  * @brief PL011 on-chip UART (PrimeCell UART, PL011) driver.
     34 * @brief ARM PrimeCell PL011 UART driver.
    3535 */
    3636
    37 #ifndef KERN_PL011_UART_H_
    38 #define KERN_PL011_UART_H_
     37#ifndef KERN_PL011_H_
     38#define KERN_PL011_H_
    3939
    4040#include <ddi/irq.h>
    4141#include <console/chardev.h>
    4242#include <typedefs.h>
    43 
    44 #define PL011_UART0_BASE_ADDRESS   0x20201000
    4543
    4644/** PrimeCell UART TRM ch. 3.3 (p. 49 in the pdf) */
     
    154152} pl011_uart_t;
    155153
    156 bool pl011_uart_init(pl011_uart_t *, inr_t, uintptr_t, size_t);
     154bool pl011_uart_init(pl011_uart_t *, inr_t, uintptr_t);
    157155void pl011_uart_input_wire(pl011_uart_t *, indev_t *);
    158156
Note: See TracChangeset for help on using the changeset viewer.