Ignore:
Timestamp:
Nov 25, 2013, 7:46:19 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
847fc79
Parents:
224b888
git-author:
Sebastian Huber <sebastian.huber@…> (11/25/13 07:46:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/06/14 07:47:03)
Message:

bsp/leon3: New BSP variant leon3_qemu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon3/console/console.c

    r224b888 r7579e25  
    218218}
    219219
     220#ifndef LEON3_QEMU
    220221/* AMBA PP find routine. Extract AMBA PnP information into data structure. */
    221222static int find_matching_apbuart(struct ambapp_dev *dev, int index, void *arg)
     
    249250                  GAISLER_APBUART, find_matching_apbuart, NULL);
    250251}
     252#else /* LEON3_QEMU */
     253static void leon3_console_scan_uarts(void)
     254{
     255  uarts = 1;
     256
     257  apbuarts[0].regs = (struct apbuart_regs *)0x80000100;
     258#if CONSOLE_USE_INTERRUPTS
     259  apbuarts[0].irq = 3;
     260#endif
     261  apbuarts[0].freq_hz = 40000000;
     262}
     263#endif /* LEON3_QEMU */
    251264
    252265/*
Note: See TracChangeset for help on using the changeset viewer.