SAMA5: Changes needed for a clean SAMA5D3 build after all of the recent SAMA5D4 changes.

This commit is contained in:
Gregory Nutt 2014-07-31 11:09:56 -06:00
parent c0c4cda763
commit ffcc0b8da3
3 changed files with 5 additions and 4 deletions

View File

@ -1426,7 +1426,7 @@ sam_allocdesc(struct sam_dmach_s *dmach, struct dma_linklist_s *prev,
* 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

View File

@ -245,7 +245,7 @@ static void sam_pio_disableclk(pio_pinset_t cfgset)
{
/* Get the base address of the PIO port */
base = g_piobase[port];
base = sam_pion_vbase(port);
/* Are any pins configured as PIO inputs?
*

View File

@ -53,11 +53,12 @@
#include "up_arch.h"
#include "up_internal.h"
#include "sam_pio.h"
#include "sam_periphclks.h"
#include "chip/sam_pio.h"
#include "chip/sam_pmc.h"
#include "sam_pio.h"
#include "sam_periphclks.h"
#ifdef CONFIG_SAMA5_PIO_IRQ
/****************************************************************************