github.com/f-secure-foundry/tamago@v0.0.0-20220307101044-d73fcdd7f11b/soc/imx6/dma.go (about) 1 // NXP i.MX6 DMA initialization 2 // https://github.com/f-secure-foundry/tamago 3 // 4 // Copyright (c) F-Secure Corporation 5 // https://foundry.f-secure.com 6 // 7 // Use of this source code is governed by the license 8 // that can be found in the LICENSE file. 9 10 package imx6 11 12 import ( 13 "github.com/f-secure-foundry/tamago/dma" 14 ) 15 16 const ( 17 IRAMStart uint32 = 0x00900000 18 IRAMSize = 0x20000 19 ) 20 21 func init() { 22 // use internal OCRAM (iRAM) by default 23 dma.Init(IRAMStart, IRAMSize) 24 }