github.com/f-secure-foundry/tamago@v0.0.0-20220307101044-d73fcdd7f11b/soc/imx6/imx6ul/imx6ul.go (about) 1 // NXP i.MX6UL 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 imx6ul provides hardware initialization, automatically on import, 11 // for the i.MX6UL family of System-on-Chip components. 12 // 13 // This package is only meant to be used with `GOOS=tamago GOARCH=arm` as 14 // supported by the TamaGo framework for bare metal Go on ARM SoCs, see 15 // https://github.com/f-secure-foundry/tamago. 16 package imx6ul 17 18 import ( 19 _ "unsafe" 20 ) 21 22 //go:linkname ramStackOffset runtime.ramStackOffset 23 var ramStackOffset uint32 = 0x100