mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
SAMA5: Changes needed for a clean SAMA5D3 build after all of the recent SAMA5D4 changes.
This commit is contained in:
@@ -1426,7 +1426,7 @@ sam_allocdesc(struct sam_dmach_s *dmach, struct dma_linklist_s *prev,
|
|||||||
* via AHB IF0.
|
* via AHB IF0.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
prev->dscr = (uint32_t)sam_physramaddr((uintptr_t)descr);
|
prev->dscr = (uint32_t)sam_physramaddr((uintptr_t)desc);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* In any event, this is the new tail of the list. The source
|
/* In any event, this is the new tail of the list. The source
|
||||||
|
|||||||
@@ -245,7 +245,7 @@ static void sam_pio_disableclk(pio_pinset_t cfgset)
|
|||||||
{
|
{
|
||||||
/* Get the base address of the PIO port */
|
/* Get the base address of the PIO port */
|
||||||
|
|
||||||
base = g_piobase[port];
|
base = sam_pion_vbase(port);
|
||||||
|
|
||||||
/* Are any pins configured as PIO inputs?
|
/* Are any pins configured as PIO inputs?
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -53,11 +53,12 @@
|
|||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "up_internal.h"
|
#include "up_internal.h"
|
||||||
|
|
||||||
#include "sam_pio.h"
|
|
||||||
#include "sam_periphclks.h"
|
|
||||||
#include "chip/sam_pio.h"
|
#include "chip/sam_pio.h"
|
||||||
#include "chip/sam_pmc.h"
|
#include "chip/sam_pmc.h"
|
||||||
|
|
||||||
|
#include "sam_pio.h"
|
||||||
|
#include "sam_periphclks.h"
|
||||||
|
|
||||||
#ifdef CONFIG_SAMA5_PIO_IRQ
|
#ifdef CONFIG_SAMA5_PIO_IRQ
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user