summaryrefslogtreecommitdiffstats
path: root/libs/bcm5719
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2020-02-17 20:47:13 -0700
committerGitHub <noreply@github.com>2020-02-17 20:47:13 -0700
commit23b478f335cd622049ad17f1f7ca4f0641200705 (patch)
tree2243e00ad65259233171f3fbc97eb898c806af3e /libs/bcm5719
parentd2419a287fc52929c351fb7fed54bae323fedc54 (diff)
downloadbcm5719-ortega-23b478f335cd622049ad17f1f7ca4f0641200705.tar.gz
bcm5719-ortega-23b478f335cd622049ad17f1f7ca4f0641200705.zip
printf: Remove nvm access from the ape as it triggers a race condition when the rx cpu is restarted. (#35)
Rather than print directly, the APE now using the host debug console only for printf. The RX cpu (function 0 only) uses the debug console and forwards it over SPI when new data is available.
Diffstat (limited to 'libs/bcm5719')
-rw-r--r--libs/bcm5719/APE_sym.s14
-rw-r--r--libs/bcm5719/bcm5719_sym.s4
2 files changed, 7 insertions, 11 deletions
diff --git a/libs/bcm5719/APE_sym.s b/libs/bcm5719/APE_sym.s
index a7bdf87..c8819b8 100644
--- a/libs/bcm5719/APE_sym.s
+++ b/libs/bcm5719/APE_sym.s
@@ -10,7 +10,7 @@
###
################################################################################
###
-### @copyright Copyright (c) 2018, Evan Lojewski
+### @copyright Copyright (c) 2020, Evan Lojewski
### @cond
###
### All rights reserved.
@@ -56,7 +56,7 @@
.global SHM
.equ SHM, 0x60220000
-.size SHM, 0x894
+.size SHM, 0x900
.global SHM_CHANNEL0
.equ SHM_CHANNEL0, 0x60220900
@@ -142,20 +142,16 @@
.equ FILTERS3, 0xa0078000
.size FILTERS3, 0x200
-.global DEBUG
-.equ DEBUG, 0x60221000
-.size DEBUG, 0x1000
-
.global SHM1
.equ SHM1, 0x60221000
-.size SHM1, 0x894
+.size SHM1, 0x900
.global SHM2
.equ SHM2, 0x60222000
-.size SHM2, 0x894
+.size SHM2, 0x900
.global SHM3
.equ SHM3, 0x60223000
-.size SHM3, 0x894
+.size SHM3, 0x900
diff --git a/libs/bcm5719/bcm5719_sym.s b/libs/bcm5719/bcm5719_sym.s
index d3d6813..3371f9a 100644
--- a/libs/bcm5719/bcm5719_sym.s
+++ b/libs/bcm5719/bcm5719_sym.s
@@ -10,7 +10,7 @@
###
################################################################################
###
-### @copyright Copyright (c) 2018, Evan Lojewski
+### @copyright Copyright (c) 2020, Evan Lojewski
### @cond
###
### All rights reserved.
@@ -52,7 +52,7 @@
.global SHM
.equ SHM, 0xc0014000
-.size SHM, 0x894
+.size SHM, 0x900
.global SHM_CHANNEL0
.equ SHM_CHANNEL0, 0xc0014900
OpenPOWER on IntegriCloud