Hello!
Here is another set of patches which aim to improve Alchemy and DB1200 support.
(doesn't apply against Kevin Hickey's DB1300 patches)
#1-#3 introduce a single CPU_ALCHEMY, add cpu feature overrides and add
Alchemy to the list of cores which don't require hazard workarounds.
#4 gets rid of the sole Alchemy entry in smc91x.h
#5 I dislike the alchemy/common/platform.c file because it makes passing
platform data to drivers ugly (the platdata struct and the consumer
are in different files) and I also don't like the fact that every
conceivable piece of alchemy hardware has a driver registered whether
I like it or not. To not change existing behaviour, the platform.c
file is now invoked by the board Makefiles instead of the one in common/.
#6 Adds more complete DB1200 support (see patch for more info).
All have been run-tested on DB1200 for a few months without issues.
Have a nice day,
Manuel Lauss
---
Manuel Lauss (6):
Alchemy: unify CPU model constants.
Alchemy: provide cpu feature overrides.
Alchemy: MIPS hazard workarounds are not required.
Alchemy: PB1200: use SMC91X platform data.
Alchemy: don't unconditionally register all alchemy platform devices
Alchemy: extended DB1200 board support.
arch/mips/alchemy/common/Makefile | 2 +-
arch/mips/alchemy/common/platform.c | 4 -
arch/mips/alchemy/devboards/Makefile | 5 +-
arch/mips/alchemy/devboards/db1200/Makefile | 1 +
arch/mips/alchemy/devboards/db1200/platform.c | 712 ++++++++++
arch/mips/alchemy/devboards/db1200/setup.c | 204 +++
arch/mips/alchemy/devboards/pb1200/board_setup.c | 5 -
arch/mips/alchemy/devboards/pb1200/irqmap.c | 19 +-
arch/mips/alchemy/devboards/pb1200/platform.c | 14 +-
arch/mips/alchemy/mtx-1/Makefile | 2 +-
arch/mips/alchemy/xxs1500/Makefile | 1 +
arch/mips/configs/db1200_defconfig | 1388 +++++++++++---------
arch/mips/include/asm/cpu.h | 3 +-
arch/mips/include/asm/hazards.h | 4 +-
.../asm/mach-au1x00/cpu-feature-overrides.h | 49 +
arch/mips/include/asm/mach-db1x00/db1200.h | 23 +-
arch/mips/kernel/cpu-probe.c | 21 +-
arch/mips/mm/c-r4k.c | 17 +-
arch/mips/mm/tlbex.c | 8 +-
drivers/net/smc91x.h | 32 -
sound/soc/au1x/Kconfig | 10 +-
sound/soc/au1x/Makefile | 4 +-
sound/soc/au1x/db1200.c | 198 +++
sound/soc/au1x/sample-ac97.c | 144 --
24 files changed, 1967 insertions(+), 903 deletions(-)
create mode 100644 arch/mips/alchemy/devboards/db1200/Makefile
create mode 100644 arch/mips/alchemy/devboards/db1200/platform.c
create mode 100644 arch/mips/alchemy/devboards/db1200/setup.c
create mode 100644 arch/mips/include/asm/mach-au1x00/cpu-feature-overrides.h
create mode 100644 sound/soc/au1x/db1200.c
delete mode 100644 sound/soc/au1x/sample-ac97.c
|