From patchwork Mon Oct 22 11:52:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hatim Ali X-Patchwork-Id: 12397 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 3552A23EF8 for ; Mon, 22 Oct 2012 11:58:47 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id BA6A8A19916 for ; Mon, 22 Oct 2012 11:58:46 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so3277845iej.11 for ; Mon, 22 Oct 2012 04:58:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:x-auditid :from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :dlp-filter:x-mtr:x-brightmail-tracker:x-brightmail-tracker :x-cfilter-loop:x-gm-message-state; bh=uINmTAIWSObI7jbW4G6IRzJFOt04hRZJ34SsvZ8zeeg=; b=dtyjRHAIGg3TOVnHiF2KtuRsvOxZHL88ExsY+z9tf11N+VWr1FTQ/Sx2x0Pb/5YIBn DDK6Vk669KDKxYdaPFoM9Gdo4O0X38EZcD42UZcTy3IhX72TcdT5BOYU0en16UIV+ry6 XsVhsEbHla9mCxFDIp1TZW8BgBSFSyQTXAKNssFSJf5hasXaAW2zvhwF7Feaf55omaLw /kodr7PvaG0YwiXu6L7Tcqz+a7O+Zc0ntEiJeQG09pcWiVaVpNDkG2LjfAC+XZzCHD5W SkPk5fTUhQihu6peT4Rn0KBJ/WceL1d+kSyJiklQeTaFqFm8zfxo2Y6CeNPgx8iTH9RP DrDA== Received: by 10.50.140.97 with SMTP id rf1mr14169229igb.70.1350907126107; Mon, 22 Oct 2012 04:58:46 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp218596igt; Mon, 22 Oct 2012 04:58:45 -0700 (PDT) Received: by 10.66.73.161 with SMTP id m1mr25634472pav.9.1350907124936; Mon, 22 Oct 2012 04:58:44 -0700 (PDT) Received: from mailout3.samsung.com (mailout3.samsung.com. [203.254.224.33]) by mx.google.com with ESMTP id f5si140092pav.53.2012.10.22.04.58.44; Mon, 22 Oct 2012 04:58:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of hatim.rv@samsung.com designates 203.254.224.33 as permitted sender) client-ip=203.254.224.33; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of hatim.rv@samsung.com designates 203.254.224.33 as permitted sender) smtp.mail=hatim.rv@samsung.com Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MCA004QCMLP2QU0@mailout3.samsung.com> for patches@linaro.org; Mon, 22 Oct 2012 20:58:43 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id F4.00.12699.3F435805; Mon, 22 Oct 2012 20:58:43 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-e0-508534f3b61e Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id E3.00.12699.3F435805; Mon, 22 Oct 2012 20:58:43 +0900 (KST) Received: from hatim-linux.sisodomain.com ([107.108.73.95]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MCA006A7MH2ZQ10@mmp1.samsung.com> for patches@linaro.org; Mon, 22 Oct 2012 20:58:43 +0900 (KST) From: Hatim Ali To: u-boot@lists.denx.de Cc: sjg@chromium.org, promsoft@gmail.com, patches@linaro.org Subject: [PATCH 3/6 V7] EXYNOS5: Add base address for SPI. Date: Mon, 22 Oct 2012 17:22:06 +0530 Message-id: <1350906729-23749-4-git-send-email-hatim.rv@samsung.com> X-Mailer: git-send-email 1.7.2.3 In-reply-to: <1350906729-23749-1-git-send-email-hatim.rv@samsung.com> References: <1350906729-23749-1-git-send-email-hatim.rv@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrFLMWRmVeSWpSXmKPExsWyRsSkVvezSWuAwfaZFhZTDn9hcWD0uHNt D1sAYxSXTUpqTmZZapG+XQJXRvffxILLvBUHtxxgbWC8yt3FyMkhIWAi8X7fGkYIW0ziwr31 bCC2kMBSRolt951hajbf+8TaxcgFFF/EKLFi/jc2KIdJ4uzKKWAdbAJqEutfd4LZIgISEr/6 r4JNZRawkVjScw/MFhawkph/YzJYDYuAqsTxC7fB4rwCLhKrrkyGukJB4tWNtewgNqeAq8T9 /g6gzRxAy1wk5vcqQrQKSHybfIgFJCwhICux6QAzyDkSAmfYJB53t7BDjJGUOLjiBssERuEF jAyrGEVTC5ILipPSc430ihNzi0vz0vWS83M3MQID8PS/Z9I7GFc1WBxiFOBgVOLhXfC5JUCI NbGsuDL3EKMEB7OSCO8VsdYAId6UxMqq1KL8+KLSnNTiQ4w+QJdMZJYSTc4HRkdeSbyhsYm5 qbGppZGRmakpDmElcd5mj5QAIYH0xJLU7NTUgtQimHFMHJxSDYxO72fu2SA+3T6OceHv/edr lROW87rnvlFjltWrufjnely1VpH4PhZxy5wZ4TtilwosPaPV/M574oG2PXtnJnc+edA4c5Xf LTbfpTJBd76ma1+RcM2sOxQwlWFnY47DNoNvDXpiBrld/dyPPJ8lqk2aZs+/87uuflNs1yax 7mn79DsurOcw/6jEUpyRaKjFXFScCADoN8oXbQIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupikeLIzCtJLcpLzFFi42I5/e+xgO5nk9YAg7k71SymHP7C4sDocefa HrYAxqgGRpuM1MSU1CKF1Lzk/JTMvHRbJe/geOd4UzMDQ11DSwtzJYW8xNxUWyUXnwBdt8wc oLFKCmWJOaVAoYDE4mIlfTtME0JD3HQtYBojdH1DguB6jAzQQMIaxozuv4kFl3krDm45wNrA eJW7i5GTQ0LARGLzvU+sELaYxIV769m6GLk4hAQWMUqsmP8NxmGSOLtyChtIFZuAmsT6151g toiAhMSv/quMIDazgI3Ekp57YLawgJXE/BuTwWpYBFQljl+4DRbnFXCRWHVlMiPENgWJVzfW soPYnAKuEvf7O4Cu4ABa5iIxv1dxAiPvAkaGVYyiqQXJBcVJ6blGesWJucWleel6yfm5mxjB Af5MegfjqgaLQ4wCHIxKPLwLPrcECLEmlhVX5h5ilOBgVhLhvSLWGiDEm5JYWZValB9fVJqT WnyI0QfoqInMUqLJ+cDoyyuJNzQ2MTc1NrU0sTAxs8QhrCTO2+yREiAkkJ5YkpqdmlqQWgQz jomDU6qBcbX5ZP+layeu8e7R5plnZbtjRT6jgsT+tmXCmdNucbw5lfAtesYdpjXWcsYLHE1Z 5pc47/UTsQz9lXPE98pJTcX3n1nf/Cr26v5r6XpJSq1zn1Dv+7lvgq2NZ5Xwv2ZadVqe71jF ooK2+kOiTIb2hyaxH8xr8jySZbDg+bzgecfTDX4/X5T9TYmlOCPRUIu5qDgRAHG5ZT6dAgAA X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQkhVDb+H7M9SmTnjm6O7Q/kuXLjxEZ5Joo4k7rbDh58VNVlGzUjN4II980JNTeySAtT/h7a From: Rajeshwari Shinde Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes since v4: - Rebased on u-boot-samsung.git - Added Acked-by Simon Glass Changes since v5: No Change Changes since v6: No Change diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/include/asm/arch-exynos/cpu.h index 2cd4ae1..252a5b3 100644 --- a/arch/arm/include/asm/arch-exynos/cpu.h +++ b/arch/arm/include/asm/arch-exynos/cpu.h @@ -51,12 +51,14 @@ #define EXYNOS4_UART_BASE 0x13800000 #define EXYNOS4_I2C_BASE 0x13860000 #define EXYNOS4_ADC_BASE 0x13910000 +#define EXYNOS4_SPI_BASE 0x13920000 #define EXYNOS4_PWMTIMER_BASE 0x139D0000 #define EXYNOS4_MODEM_BASE 0x13A00000 #define EXYNOS4_USBPHY_CONTROL 0x10020704 #define EXYNOS4_GPIO_PART4_BASE DEVICE_NOT_AVAILABLE #define EXYNOS4_DP_BASE DEVICE_NOT_AVAILABLE +#define EXYNOS4_SPI_ISP_BASE DEVICE_NOT_AVAILABLE /* EXYNOS5 */ #define EXYNOS5_I2C_SPACING 0x10000 @@ -81,7 +83,9 @@ #define EXYNOS5_SROMC_BASE 0x12250000 #define EXYNOS5_UART_BASE 0x12C00000 #define EXYNOS5_I2C_BASE 0x12C60000 +#define EXYNOS5_SPI_BASE 0x12D20000 #define EXYNOS5_PWMTIMER_BASE 0x12DD0000 +#define EXYNOS5_SPI_ISP_BASE 0x131A0000 #define EXYNOS5_GPIO_PART2_BASE 0x13400000 #define EXYNOS5_FIMD_BASE 0x14400000 #define EXYNOS5_DP_BASE 0x145B0000 @@ -173,6 +177,8 @@ SAMSUNG_BASE(usb_ehci, USB_HOST_EHCI_BASE) SAMSUNG_BASE(usb_otg, USBOTG_BASE) SAMSUNG_BASE(watchdog, WATCHDOG_BASE) SAMSUNG_BASE(power, POWER_BASE) +SAMSUNG_BASE(spi, SPI_BASE) +SAMSUNG_BASE(spi_isp, SPI_ISP_BASE) #endif #endif /* _EXYNOS4_CPU_H */