]> git.sur5r.net Git - u-boot/commitdiff
am43xx: Add qspi support
authorSourav Poddar <sourav.poddar@ti.com>
Sat, 21 Dec 2013 07:20:12 +0000 (12:50 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Tue, 18 Feb 2014 17:11:08 +0000 (22:41 +0530)
Add QSPI definitions and clock configuration support.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
arch/arm/cpu/armv7/am33xx/clock_am43xx.c
arch/arm/include/asm/arch-am33xx/cpu.h
arch/arm/include/asm/arch-am33xx/omap.h

index 97c00b4925ff332129a6649a1ca3c83eb37d24c9..fb654bb836f136b19b146e0c7575ccd190f432bf 100644 (file)
@@ -98,6 +98,7 @@ void enable_basic_clocks(void)
                &cmper->emiffwclkctrl,
                &cmper->emifclkctrl,
                &cmper->otfaemifclkctrl,
+               &cmper->qspiclkctrl,
                0
        };
 
index 9febfa2719a94273efc8d90911ff38d302ba4535..07362581cf726e2108d87d55e9eef6190bc9f568 100644 (file)
@@ -332,7 +332,9 @@ struct cm_perpll {
        unsigned int mcasp1clkctrl;     /* offset 0x240 */
        unsigned int resv11;
        unsigned int mmc2clkctrl;       /* offset 0x248 */
-       unsigned int resv12[5];
+       unsigned int resv12[3];
+       unsigned int qspiclkctrl;       /* offset 0x258 */
+       unsigned int resv121;
        unsigned int usb0clkctrl;       /* offset 0x260 */
        unsigned int resv13[103];
        unsigned int l4lsclkstctrl;     /* offset 0x400 */
index 7a7d91b7142a06135a30634f129279cc05fb0373..0855d16ce54a8c1fe8197d4f22e15fc0765aebd6 100644 (file)
@@ -29,5 +29,6 @@
 #define SRAM_SCRATCH_SPACE_ADDR        0x40337C00
 #define AM4372_BOARD_NAME_START        SRAM_SCRATCH_SPACE_ADDR
 #define AM4372_BOARD_NAME_END  SRAM_SCRATCH_SPACE_ADDR + 0xC
+#define QSPI_BASE              0x47900000
 #endif
 #endif