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 0ad5d9f85d
commit 24af676c05
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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?
* *
+3 -2
View File
@@ -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
/**************************************************************************** /****************************************************************************