Skip to contentSkip to conversation

remove additional LEON dependencies

PATCH In review Sam Ravnborg 2 participants 2 messages May 26, 2012 – May 28, 2012

lore
Share & tools
lore
#0 lore raw

cover remove additional LEON dependencies

Took a closer look at the remaining references in
arch/kernel/sparc to CONFIG_SPARC_LEON.

It turned out to be easier than anticipated to allow multi platfrom support in the remaining bits.

This is on top of the previous batch sent earlier today.

With this patch I can build a kernel with LEON selected and it boots on my ss5 :-)

Sam

Sam Ravnborg (4):
sparc32: refactor cpu_idle() sparc32,leon: always include leon_pmc in build sparc32,leon: always support leon in ioport
sparc32: support leon + sun in dma_make_coherent()

 arch/sparc/include/asm/dma-mapping.h |    9 +++++++--
 arch/sparc/kernel/Makefile           |    2 +-
 arch/sparc/kernel/ioport.c           |   23 ++++++-----------------
 arch/sparc/kernel/leon_pmc.c         |   15 +++++++++------
 arch/sparc/kernel/process_32.c       |   28 ++--------------------------
 5 files changed, 25 insertions(+), 52 deletions(-)
#1 lore raw

From: Sam Ravnborg <[email protected]>
Date: Sat, 26 May 2012 16:40:47 +0200

Quoted 10 lines

Took a closer look at the remaining references in
arch/kernel/sparc to CONFIG_SPARC_LEON.

It turned out to be easier than anticipated to allow multi platfrom support in the remaining bits.

This is on top of the previous batch sent earlier today.

With this patch I can build a kernel with LEON selected and it boots on my ss5 :-)

All applied, thanks a lot!