aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-08-12 00:16:05 +0200
committerLubomir Rintel <lkundrak@v3.sk>2020-03-23 18:53:03 +0100
commit2446fef21591c765642dcdedfc67627a0af7b749 (patch)
treec1e134a7c317ba71d60c6b705203df6c5b1fd3ae
parent1695434404d151dce1b1828f81a193a1c632fa0b (diff)
downloadopenfirmware-2446fef21591c765642dcdedfc67627a0af7b749.tar.gz
mmp3: add /snoop-control-unit
This is required to bring SMP up. Described by arm/scu.txt binding.
-rw-r--r--cpu/arm/mmp3/scu.fth34
-rw-r--r--cpu/arm/olpc/build-fw.fth1
2 files changed, 35 insertions, 0 deletions
diff --git a/cpu/arm/mmp3/scu.fth b/cpu/arm/mmp3/scu.fth
new file mode 100644
index 00000000..fb8494ca
--- /dev/null
+++ b/cpu/arm/mmp3/scu.fth
@@ -0,0 +1,34 @@
+purpose: Snoop Control Unit node
+\ See license at end of file
+
+decimal
+
+0 0 " e0000000" " /" begin-package
+ " snoop-control-unit" device-name
+ " arm,arm11mp-scu" +compatible
+ my-address my-space h# 100 reg
+end-package
+
+\ LICENSE_BEGIN
+\ Copyright (c) 2019 Lubomir Rintel <lkundrak@v3.sk>
+\
+\ Permission is hereby granted, free of charge, to any person obtaining
+\ a copy of this software and associated documentation files (the
+\ "Software"), to deal in the Software without restriction, including
+\ without limitation the rights to use, copy, modify, merge, publish,
+\ distribute, sublicense, and/or sell copies of the Software, and to
+\ permit persons to whom the Software is furnished to do so, subject to
+\ the following conditions:
+\
+\ The above copyright notice and this permission notice shall be
+\ included in all copies or substantial portions of the Software.
+\
+\ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+\ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+\ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+\ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+\ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+\ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+\ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+\
+\ LICENSE_END
diff --git a/cpu/arm/olpc/build-fw.fth b/cpu/arm/olpc/build-fw.fth
index 9cf815ee..63441573 100644
--- a/cpu/arm/olpc/build-fw.fth
+++ b/cpu/arm/olpc/build-fw.fth
@@ -94,6 +94,7 @@ devalias rom /dropin-fs
[ifdef] mmp3
fload ${BP}/cpu/arm/mmp3/l2cache.fth
fload ${BP}/cpu/arm/mmp3/cpunode.fth
+fload ${BP}/cpu/arm/mmp3/scu.fth
[else]
fload ${BP}/cpu/arm/mmp2/l2cache.fth
fload ${BP}/cpu/x86/pc/cpunode.fth \ The PC CPU node is actually fairly generic