summaryrefslogtreecommitdiff
path: root/util/spd_tools
diff options
context:
space:
mode:
Diffstat (limited to 'util/spd_tools')
-rw-r--r--util/spd_tools/src/spd_gen/lp5.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/spd_tools/src/spd_gen/lp5.go b/util/spd_tools/src/spd_gen/lp5.go
index bf7b8331e1..5d73cd5450 100644
--- a/util/spd_tools/src/spd_gen/lp5.go
+++ b/util/spd_tools/src/spd_gen/lp5.go
@@ -466,7 +466,9 @@ func LP5GetBankGroups(memAttribs *LP5MemAttributes) int {
func LP5EncodeMemoryType(memAttribs *LP5MemAttributes) byte {
var b byte
- if memAttribs.LP5X {
+ // Mendocino supports LP5x, but doesn't support 0x15 as a memory type currently.
+ // Temporary workaround until it's supported with ABL changes
+ if memAttribs.LP5X && LP5CurrSet != 1 {
b = LP5XSPDValueMemoryType
} else {
b = LP5SPDValueMemoryType