Ignore:
Timestamp:
Feb 26, 2013, 9:19:41 AM (11 years ago)
Author:
cfuguet
Message:

Introducing IRQ_PER_PROC constant in the tsar boot loader
(pre-loader).
This constant is used to know how many XICU irq outputs
are connected to each processor.

i.e.

IRQ_PER_PROC = 3
NPROCS=2

xicu.irq_out[0] -> proc0 xicu.irq_out[3] -> proc1
xicu.irq_out[1] -> proc0 xicu.irq_out[4] -> proc1
xicu.irq_out[2] -> proc0 xicu.irq_out[5] -> proc1

This change the way the mailboxes for each processor
are calculated in the reset.S file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/src/boot_ioc.c

    r292 r302  
    33
    44#ifndef SOCLIB_IOC
    5 static struct sdcard_dev  _sdcard_device;
    6 static struct spi_dev   * _spi_device   = ( struct spi_dev * )IOC_BASE;
    7 #endif
    85
    96#ifndef SYSCLK_FREQ
     
    118#define SYSCLK_FREQ 50000000U
    129#endif
     10
     11static struct sdcard_dev  _sdcard_device;
     12static struct spi_dev   * _spi_device   = ( struct spi_dev * )IOC_BASE;
     13#endif
     14
    1315
    1416int boot_ioc_init()
Note: See TracChangeset for help on using the changeset viewer.