From 8e4bff4cab0ddac6060645b0715210484d02ff40 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 30 Aug 2017 08:25:59 +0000 Subject: Initial file dump from open source release --- arch/arm/mach-shmobile/Kconfig | 267 ++++ arch/arm/mach-shmobile/Makefile | 54 + arch/arm/mach-shmobile/Makefile.boot | 9 + arch/arm/mach-shmobile/board-ag5evm.c | 672 +++++++++ arch/arm/mach-shmobile/board-ap4evb.c | 1332 +++++++++++++++++ arch/arm/mach-shmobile/board-ape6evm.c | 94 ++ arch/arm/mach-shmobile/board-armadillo800eva.c | 1300 ++++++++++++++++ arch/arm/mach-shmobile/board-bockw.c | 81 + arch/arm/mach-shmobile/board-bonito.c | 495 +++++++ arch/arm/mach-shmobile/board-kota2.c | 553 +++++++ arch/arm/mach-shmobile/board-kzm9d.c | 94 ++ arch/arm/mach-shmobile/board-kzm9g-reference.c | 107 ++ arch/arm/mach-shmobile/board-kzm9g.c | 832 +++++++++++ arch/arm/mach-shmobile/board-lager.c | 46 + arch/arm/mach-shmobile/board-mackerel.c | 1555 ++++++++++++++++++++ arch/arm/mach-shmobile/board-marzen-reference.c | 75 + arch/arm/mach-shmobile/board-marzen.c | 421 ++++++ arch/arm/mach-shmobile/clock-emev2.c | 249 ++++ arch/arm/mach-shmobile/clock-r8a73a4.c | 115 ++ arch/arm/mach-shmobile/clock-r8a7740.c | 667 +++++++++ arch/arm/mach-shmobile/clock-r8a7778.c | 107 ++ arch/arm/mach-shmobile/clock-r8a7779.c | 256 ++++ arch/arm/mach-shmobile/clock-r8a7790.c | 93 ++ arch/arm/mach-shmobile/clock-sh7372.c | 624 ++++++++ arch/arm/mach-shmobile/clock-sh73a0.c | 625 ++++++++ arch/arm/mach-shmobile/clock.c | 60 + arch/arm/mach-shmobile/console.c | 31 + arch/arm/mach-shmobile/cpuidle.c | 37 + arch/arm/mach-shmobile/entry-intc.S | 54 + arch/arm/mach-shmobile/headsmp-scu.S | 57 + arch/arm/mach-shmobile/headsmp.S | 33 + arch/arm/mach-shmobile/include/mach/clkdev.h | 7 + arch/arm/mach-shmobile/include/mach/clock.h | 39 + arch/arm/mach-shmobile/include/mach/common.h | 40 + arch/arm/mach-shmobile/include/mach/dma-register.h | 84 ++ arch/arm/mach-shmobile/include/mach/dma.h | 1 + arch/arm/mach-shmobile/include/mach/emev2.h | 16 + arch/arm/mach-shmobile/include/mach/hardware.h | 4 + .../arm/mach-shmobile/include/mach/head-ap4evb.txt | 93 ++ .../mach-shmobile/include/mach/head-mackerel.txt | 93 ++ arch/arm/mach-shmobile/include/mach/intc.h | 290 ++++ arch/arm/mach-shmobile/include/mach/irqs.h | 19 + arch/arm/mach-shmobile/include/mach/memory.h | 7 + arch/arm/mach-shmobile/include/mach/mmc-ap4eb.h | 29 + arch/arm/mach-shmobile/include/mach/mmc-mackerel.h | 38 + arch/arm/mach-shmobile/include/mach/mmc.h | 18 + arch/arm/mach-shmobile/include/mach/pm-rmobile.h | 63 + arch/arm/mach-shmobile/include/mach/r8a73a4.h | 8 + arch/arm/mach-shmobile/include/mach/r8a7740.h | 550 +++++++ arch/arm/mach-shmobile/include/mach/r8a7778.h | 32 + arch/arm/mach-shmobile/include/mach/r8a7779.h | 51 + arch/arm/mach-shmobile/include/mach/r8a7790.h | 9 + arch/arm/mach-shmobile/include/mach/sdhi-sh7372.h | 21 + arch/arm/mach-shmobile/include/mach/sdhi.h | 16 + arch/arm/mach-shmobile/include/mach/sh7372.h | 477 ++++++ arch/arm/mach-shmobile/include/mach/sh73a0.h | 464 ++++++ arch/arm/mach-shmobile/include/mach/system.h | 11 + arch/arm/mach-shmobile/include/mach/timex.h | 6 + arch/arm/mach-shmobile/include/mach/uncompress.h | 19 + arch/arm/mach-shmobile/include/mach/zboot.h | 23 + arch/arm/mach-shmobile/include/mach/zboot_macros.h | 65 + arch/arm/mach-shmobile/intc-r8a7740.c | 56 + arch/arm/mach-shmobile/intc-r8a7779.c | 131 ++ arch/arm/mach-shmobile/intc-sh7372.c | 677 +++++++++ arch/arm/mach-shmobile/intc-sh73a0.c | 345 +++++ arch/arm/mach-shmobile/platsmp.c | 28 + arch/arm/mach-shmobile/pm-r8a7740.c | 82 ++ arch/arm/mach-shmobile/pm-r8a7779.c | 249 ++++ arch/arm/mach-shmobile/pm-rmobile.c | 186 +++ arch/arm/mach-shmobile/pm-sh7372.c | 537 +++++++ arch/arm/mach-shmobile/pm-sh73a0.c | 32 + arch/arm/mach-shmobile/setup-emev2.c | 462 ++++++ arch/arm/mach-shmobile/setup-r8a73a4.c | 202 +++ arch/arm/mach-shmobile/setup-r8a7740.c | 1036 +++++++++++++ arch/arm/mach-shmobile/setup-r8a7778.c | 244 +++ arch/arm/mach-shmobile/setup-r8a7779.c | 519 +++++++ arch/arm/mach-shmobile/setup-r8a7790.c | 150 ++ arch/arm/mach-shmobile/setup-sh7372.c | 1181 +++++++++++++++ arch/arm/mach-shmobile/setup-sh73a0.c | 1042 +++++++++++++ arch/arm/mach-shmobile/sh-gpio.h | 48 + arch/arm/mach-shmobile/sleep-sh7372.S | 98 ++ arch/arm/mach-shmobile/smp-emev2.c | 67 + arch/arm/mach-shmobile/smp-r8a7779.c | 184 +++ arch/arm/mach-shmobile/smp-sh73a0.c | 129 ++ arch/arm/mach-shmobile/suspend.c | 48 + arch/arm/mach-shmobile/timer.c | 65 + 86 files changed, 21386 insertions(+) create mode 100644 arch/arm/mach-shmobile/Kconfig create mode 100644 arch/arm/mach-shmobile/Makefile create mode 100644 arch/arm/mach-shmobile/Makefile.boot create mode 100644 arch/arm/mach-shmobile/board-ag5evm.c create mode 100644 arch/arm/mach-shmobile/board-ap4evb.c create mode 100644 arch/arm/mach-shmobile/board-ape6evm.c create mode 100644 arch/arm/mach-shmobile/board-armadillo800eva.c create mode 100644 arch/arm/mach-shmobile/board-bockw.c create mode 100644 arch/arm/mach-shmobile/board-bonito.c create mode 100644 arch/arm/mach-shmobile/board-kota2.c create mode 100644 arch/arm/mach-shmobile/board-kzm9d.c create mode 100644 arch/arm/mach-shmobile/board-kzm9g-reference.c create mode 100644 arch/arm/mach-shmobile/board-kzm9g.c create mode 100644 arch/arm/mach-shmobile/board-lager.c create mode 100644 arch/arm/mach-shmobile/board-mackerel.c create mode 100644 arch/arm/mach-shmobile/board-marzen-reference.c create mode 100644 arch/arm/mach-shmobile/board-marzen.c create mode 100644 arch/arm/mach-shmobile/clock-emev2.c create mode 100644 arch/arm/mach-shmobile/clock-r8a73a4.c create mode 100644 arch/arm/mach-shmobile/clock-r8a7740.c create mode 100644 arch/arm/mach-shmobile/clock-r8a7778.c create mode 100644 arch/arm/mach-shmobile/clock-r8a7779.c create mode 100644 arch/arm/mach-shmobile/clock-r8a7790.c create mode 100644 arch/arm/mach-shmobile/clock-sh7372.c create mode 100644 arch/arm/mach-shmobile/clock-sh73a0.c create mode 100644 arch/arm/mach-shmobile/clock.c create mode 100644 arch/arm/mach-shmobile/console.c create mode 100644 arch/arm/mach-shmobile/cpuidle.c create mode 100644 arch/arm/mach-shmobile/entry-intc.S create mode 100644 arch/arm/mach-shmobile/headsmp-scu.S create mode 100644 arch/arm/mach-shmobile/headsmp.S create mode 100644 arch/arm/mach-shmobile/include/mach/clkdev.h create mode 100644 arch/arm/mach-shmobile/include/mach/clock.h create mode 100644 arch/arm/mach-shmobile/include/mach/common.h create mode 100644 arch/arm/mach-shmobile/include/mach/dma-register.h create mode 100644 arch/arm/mach-shmobile/include/mach/dma.h create mode 100644 arch/arm/mach-shmobile/include/mach/emev2.h create mode 100644 arch/arm/mach-shmobile/include/mach/hardware.h create mode 100644 arch/arm/mach-shmobile/include/mach/head-ap4evb.txt create mode 100644 arch/arm/mach-shmobile/include/mach/head-mackerel.txt create mode 100644 arch/arm/mach-shmobile/include/mach/intc.h create mode 100644 arch/arm/mach-shmobile/include/mach/irqs.h create mode 100644 arch/arm/mach-shmobile/include/mach/memory.h create mode 100644 arch/arm/mach-shmobile/include/mach/mmc-ap4eb.h create mode 100644 arch/arm/mach-shmobile/include/mach/mmc-mackerel.h create mode 100644 arch/arm/mach-shmobile/include/mach/mmc.h create mode 100644 arch/arm/mach-shmobile/include/mach/pm-rmobile.h create mode 100644 arch/arm/mach-shmobile/include/mach/r8a73a4.h create mode 100644 arch/arm/mach-shmobile/include/mach/r8a7740.h create mode 100644 arch/arm/mach-shmobile/include/mach/r8a7778.h create mode 100644 arch/arm/mach-shmobile/include/mach/r8a7779.h create mode 100644 arch/arm/mach-shmobile/include/mach/r8a7790.h create mode 100644 arch/arm/mach-shmobile/include/mach/sdhi-sh7372.h create mode 100644 arch/arm/mach-shmobile/include/mach/sdhi.h create mode 100644 arch/arm/mach-shmobile/include/mach/sh7372.h create mode 100644 arch/arm/mach-shmobile/include/mach/sh73a0.h create mode 100644 arch/arm/mach-shmobile/include/mach/system.h create mode 100644 arch/arm/mach-shmobile/include/mach/timex.h create mode 100644 arch/arm/mach-shmobile/include/mach/uncompress.h create mode 100644 arch/arm/mach-shmobile/include/mach/zboot.h create mode 100644 arch/arm/mach-shmobile/include/mach/zboot_macros.h create mode 100644 arch/arm/mach-shmobile/intc-r8a7740.c create mode 100644 arch/arm/mach-shmobile/intc-r8a7779.c create mode 100644 arch/arm/mach-shmobile/intc-sh7372.c create mode 100644 arch/arm/mach-shmobile/intc-sh73a0.c create mode 100644 arch/arm/mach-shmobile/platsmp.c create mode 100644 arch/arm/mach-shmobile/pm-r8a7740.c create mode 100644 arch/arm/mach-shmobile/pm-r8a7779.c create mode 100644 arch/arm/mach-shmobile/pm-rmobile.c create mode 100644 arch/arm/mach-shmobile/pm-sh7372.c create mode 100644 arch/arm/mach-shmobile/pm-sh73a0.c create mode 100644 arch/arm/mach-shmobile/setup-emev2.c create mode 100644 arch/arm/mach-shmobile/setup-r8a73a4.c create mode 100644 arch/arm/mach-shmobile/setup-r8a7740.c create mode 100644 arch/arm/mach-shmobile/setup-r8a7778.c create mode 100644 arch/arm/mach-shmobile/setup-r8a7779.c create mode 100644 arch/arm/mach-shmobile/setup-r8a7790.c create mode 100644 arch/arm/mach-shmobile/setup-sh7372.c create mode 100644 arch/arm/mach-shmobile/setup-sh73a0.c create mode 100644 arch/arm/mach-shmobile/sh-gpio.h create mode 100644 arch/arm/mach-shmobile/sleep-sh7372.S create mode 100644 arch/arm/mach-shmobile/smp-emev2.c create mode 100644 arch/arm/mach-shmobile/smp-r8a7779.c create mode 100644 arch/arm/mach-shmobile/smp-sh73a0.c create mode 100644 arch/arm/mach-shmobile/suspend.c create mode 100644 arch/arm/mach-shmobile/timer.c (limited to 'arch/arm/mach-shmobile') diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig new file mode 100644 index 00000000..1a517e2f --- /dev/null +++ b/arch/arm/mach-shmobile/Kconfig @@ -0,0 +1,267 @@ +if ARCH_SHMOBILE + +comment "SH-Mobile System Type" + +config ARCH_SH7372 + bool "SH-Mobile AP4 (SH7372)" + select ARCH_WANT_OPTIONAL_GPIOLIB + select ARM_CPU_SUSPEND if PM || CPU_IDLE + select CPU_V7 + select SH_CLK_CPG + +config ARCH_SH73A0 + bool "SH-Mobile AG5 (R8A73A00)" + select ARCH_WANT_OPTIONAL_GPIOLIB + select ARM_GIC + select CPU_V7 + select I2C + select SH_CLK_CPG + select RENESAS_INTC_IRQPIN + +config ARCH_R8A73A4 + bool "R-Mobile APE6 (R8A73A40)" + select ARCH_WANT_OPTIONAL_GPIOLIB + select ARM_GIC + select CPU_V7 + select ARM_ARCH_TIMER + select SH_CLK_CPG + select RENESAS_IRQC + +config ARCH_R8A7740 + bool "R-Mobile A1 (R8A77400)" + select ARCH_WANT_OPTIONAL_GPIOLIB + select ARM_GIC + select CPU_V7 + select SH_CLK_CPG + select RENESAS_INTC_IRQPIN + +config ARCH_R8A7778 + bool "R-Car M1 (R8A77780)" + select CPU_V7 + select SH_CLK_CPG + select ARM_GIC + +config ARCH_R8A7779 + bool "R-Car H1 (R8A77790)" + select ARCH_WANT_OPTIONAL_GPIOLIB + select ARM_GIC + select CPU_V7 + select SH_CLK_CPG + select USB_ARCH_HAS_EHCI + select USB_ARCH_HAS_OHCI + select RENESAS_INTC_IRQPIN + +config ARCH_R8A7790 + bool "R-Car H2 (R8A77900)" + select ARCH_WANT_OPTIONAL_GPIOLIB + select ARM_GIC + select CPU_V7 + select ARM_ARCH_TIMER + select SH_CLK_CPG + select RENESAS_IRQC + +config ARCH_EMEV2 + bool "Emma Mobile EV2" + select ARCH_WANT_OPTIONAL_GPIOLIB + select ARM_GIC + select CPU_V7 + +comment "SH-Mobile Board Type" + +config MACH_AP4EVB + bool "AP4EVB board" + depends on ARCH_SH7372 + select ARCH_REQUIRE_GPIOLIB + select REGULATOR_FIXED_VOLTAGE if REGULATOR + select SH_LCD_MIPI_DSI + select SND_SOC_AK4642 if SND_SIMPLE_CARD + +choice + prompt "AP4EVB LCD panel selection" + default AP4EVB_QHD + depends on MACH_AP4EVB + +config AP4EVB_QHD + bool "MIPI-DSI QHD (960x540)" + +config AP4EVB_WVGA + bool "Parallel WVGA (800x480)" + +endchoice + +config MACH_AG5EVM + bool "AG5EVM board" + depends on ARCH_SH73A0 + select ARCH_REQUIRE_GPIOLIB + select REGULATOR_FIXED_VOLTAGE if REGULATOR + select SH_LCD_MIPI_DSI + +config MACH_APE6EVM + bool "APE6EVM board" + depends on ARCH_R8A73A4 + select USE_OF + +config MACH_MACKEREL + bool "mackerel board" + depends on ARCH_SH7372 + select ARCH_REQUIRE_GPIOLIB + select REGULATOR_FIXED_VOLTAGE if REGULATOR + select SND_SOC_AK4642 if SND_SIMPLE_CARD + select USE_OF + +config MACH_KOTA2 + bool "KOTA2 board" + depends on ARCH_SH73A0 + select ARCH_REQUIRE_GPIOLIB + select REGULATOR_FIXED_VOLTAGE if REGULATOR + +config MACH_BONITO + bool "bonito board" + depends on ARCH_R8A7740 + select ARCH_REQUIRE_GPIOLIB + select REGULATOR_FIXED_VOLTAGE if REGULATOR + +config MACH_ARMADILLO800EVA + bool "Armadillo-800 EVA board" + depends on ARCH_R8A7740 + select ARCH_REQUIRE_GPIOLIB + select REGULATOR_FIXED_VOLTAGE if REGULATOR + select SND_SOC_WM8978 if SND_SIMPLE_CARD + select USE_OF + +config MACH_BOCKW + bool "BOCK-W platform" + depends on ARCH_R8A7778 + select ARCH_REQUIRE_GPIOLIB + select RENESAS_INTC_IRQPIN + select USE_OF + +config MACH_MARZEN + bool "MARZEN board" + depends on ARCH_R8A7779 + select ARCH_REQUIRE_GPIOLIB + select REGULATOR_FIXED_VOLTAGE if REGULATOR + +config MACH_MARZEN_REFERENCE + bool "MARZEN board - Reference Device Tree Implementation" + depends on ARCH_R8A7779 + select ARCH_REQUIRE_GPIOLIB + select REGULATOR_FIXED_VOLTAGE if REGULATOR + select USE_OF + ---help--- + Use reference implementation of Marzen board support + which makes use of device tree at the expense + of not supporting a number of devices. + + This is intended to aid developers + +config MACH_LAGER + bool "Lager board" + depends on ARCH_R8A7790 + select USE_OF + +config MACH_KZM9D + bool "KZM9D board" + depends on ARCH_EMEV2 + select REGULATOR_FIXED_VOLTAGE if REGULATOR + select USE_OF + +config MACH_KZM9G + bool "KZM-A9-GT board" + depends on ARCH_SH73A0 + select ARCH_REQUIRE_GPIOLIB + select REGULATOR_FIXED_VOLTAGE if REGULATOR + select SND_SOC_AK4642 if SND_SIMPLE_CARD + select USE_OF + +config MACH_KZM9G_REFERENCE + bool "KZM-A9-GT board - Reference Device Tree Implementation" + depends on ARCH_SH73A0 + select ARCH_REQUIRE_GPIOLIB + select REGULATOR_FIXED_VOLTAGE if REGULATOR + select SND_SOC_AK4642 if SND_SIMPLE_CARD + select USE_OF + ---help--- + Use reference implementation of KZM-A9-GT board support + which makes as greater use of device tree at the expense + of not supporting a number of devices. + + This is intended to aid developers + +comment "SH-Mobile System Configuration" + +config CPU_HAS_INTEVT + bool + default y + +menu "Memory configuration" + +config MEMORY_START + hex "Physical memory start address" + default "0x40000000" if MACH_AP4EVB || MACH_AG5EVM || \ + MACH_MACKEREL || MACH_BONITO || \ + MACH_ARMADILLO800EVA || MACH_APE6EVM || \ + MACH_LAGER + default "0x41000000" if MACH_KOTA2 + default "0x00000000" + ---help--- + Tweak this only when porting to a new machine which does not + already have a defconfig. Changing it from the known correct + value on any of the known systems will only lead to disaster. + +config MEMORY_SIZE + hex "Physical memory size" + default "0x80000000" if MACH_LAGER + default "0x40000000" if MACH_APE6EVM + default "0x20000000" if MACH_AG5EVM || MACH_BONITO || \ + MACH_ARMADILLO800EVA + default "0x1e000000" if MACH_KOTA2 + default "0x10000000" if MACH_AP4EVB || MACH_MACKEREL + default "0x04000000" + help + This sets the default memory size assumed by your kernel. It can + be overridden as normal by the 'mem=' argument on the kernel command + line. + +endmenu + +menu "Timer and clock configuration" + +config SHMOBILE_TIMER_HZ + int "Kernel HZ (jiffies per second)" + range 32 1024 + default "128" + help + Allows the configuration of the timer frequency. It is customary + to have the timer interrupt run at 1000 Hz or 100 Hz, but in the + case of low timer frequencies other values may be more suitable. + SH-Mobile systems using a 32768 Hz RCLK for clock events may want + to select a HZ value such as 128 that can evenly divide RCLK. + A HZ value that does not divide evenly may cause timer drift. + +config SH_TIMER_CMT + bool "CMT timer driver" + default y + help + This enables build of the CMT timer driver. + +config SH_TIMER_TMU + bool "TMU timer driver" + default y + help + This enables build of the TMU timer driver. + +config EM_TIMER_STI + bool "STI timer driver" + default y + help + This enables build of the STI timer driver. + +endmenu + +config SH_CLK_CPG + bool + +source "drivers/sh/Kconfig" + +endif diff --git a/arch/arm/mach-shmobile/Makefile b/arch/arm/mach-shmobile/Makefile new file mode 100644 index 00000000..068f1dad --- /dev/null +++ b/arch/arm/mach-shmobile/Makefile @@ -0,0 +1,54 @@ +# +# Makefile for the linux kernel. +# + +# Common objects +obj-y := timer.o console.o clock.o + +# CPU objects +obj-$(CONFIG_ARCH_SH7372) += setup-sh7372.o clock-sh7372.o intc-sh7372.o +obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o clock-sh73a0.o intc-sh73a0.o +obj-$(CONFIG_ARCH_R8A73A4) += setup-r8a73a4.o clock-r8a73a4.o +obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o clock-r8a7740.o intc-r8a7740.o +obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o clock-r8a7778.o +obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o clock-r8a7779.o intc-r8a7779.o +obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o clock-r8a7790.o +obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o clock-emev2.o + +# SMP objects +smp-y := platsmp.o headsmp.o +smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o headsmp-scu.o +smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o headsmp-scu.o +smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o headsmp-scu.o + +# IRQ objects +obj-$(CONFIG_ARCH_SH7372) += entry-intc.o +obj-$(CONFIG_ARCH_R8A7740) += entry-intc.o + +# PM objects +obj-$(CONFIG_SUSPEND) += suspend.o +obj-$(CONFIG_CPU_IDLE) += cpuidle.o +obj-$(CONFIG_ARCH_SHMOBILE) += pm-rmobile.o +obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o +obj-$(CONFIG_ARCH_R8A7740) += pm-r8a7740.o +obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o +obj-$(CONFIG_ARCH_SH73A0) += pm-sh73a0.o + +# Board objects +obj-$(CONFIG_MACH_AP4EVB) += board-ap4evb.o +obj-$(CONFIG_MACH_AG5EVM) += board-ag5evm.o +obj-$(CONFIG_MACH_APE6EVM) += board-ape6evm.o +obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o +obj-$(CONFIG_MACH_KOTA2) += board-kota2.o +obj-$(CONFIG_MACH_BONITO) += board-bonito.o +obj-$(CONFIG_MACH_BOCKW) += board-bockw.o +obj-$(CONFIG_MACH_MARZEN) += board-marzen.o +obj-$(CONFIG_MACH_MARZEN_REFERENCE) += board-marzen-reference.o +obj-$(CONFIG_MACH_LAGER) += board-lager.o +obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o +obj-$(CONFIG_MACH_KZM9D) += board-kzm9d.o +obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o +obj-$(CONFIG_MACH_KZM9G_REFERENCE) += board-kzm9g-reference.o + +# Framework support +obj-$(CONFIG_SMP) += $(smp-y) diff --git a/arch/arm/mach-shmobile/Makefile.boot b/arch/arm/mach-shmobile/Makefile.boot new file mode 100644 index 00000000..498efd99 --- /dev/null +++ b/arch/arm/mach-shmobile/Makefile.boot @@ -0,0 +1,9 @@ +__ZRELADDR := $(shell /bin/bash -c 'printf "0x%08x" \ + $$[$(CONFIG_MEMORY_START) + 0x8000]') + + zreladdr-y += $(__ZRELADDR) + +# Unsupported legacy stuff +# +#params_phys-y (Instead: Pass atags pointer in r2) +#initrd_phys-y (Instead: Use compiled-in initramfs) diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c new file mode 100644 index 00000000..c7540710 --- /dev/null +++ b/arch/arm/mach-shmobile/board-ag5evm.c @@ -0,0 +1,672 @@ +/* + * arch/arm/mach-shmobile/board-ag5evm.c + * + * Copyright (C) 2010 Takashi Yoshii + * Copyright (C) 2009 Yoshihiro Shimoda + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include