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 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c

    r0dfa93b0 rc882505  
    3636#include <arch/exception.h>
    3737#include <arch/mach/raspberrypi/raspberrypi.h>
    38 #include <genarch/drivers/bcm2835/pl011_uart.h>
     38#include <genarch/drivers/pl011/pl011.h>
    3939#include <genarch/drivers/bcm2835/irc.h>
    4040#include <genarch/drivers/bcm2835/timer.h>
     
    169169static void raspberrypi_output_init(void)
    170170{
    171 #ifdef CONFIG_BCM2835_UART
     171#ifdef CONFIG_PL011_UART
    172172        if (pl011_uart_init(&raspi.uart, BCM2835_UART_IRQ,
    173                             PL011_UART0_BASE_ADDRESS,
    174                             sizeof(pl011_uart_regs_t)))
     173                            BCM2835_UART0_BASE_ADDRESS))
    175174                stdout_wire(&raspi.uart.outdev);
    176175#endif
Note: See TracChangeset for help on using the changeset viewer.