ubee: fix crt0 handling of non TC
authorAlan Cox <alan@linux.intel.com>
Wed, 25 Apr 2018 13:02:44 +0000 (14:02 +0100)
committerAlan Cox <alan@linux.intel.com>
Wed, 25 Apr 2018 13:02:44 +0000 (14:02 +0100)
Kernel/platform-ubee/crt0.s

index 12211f2..f4fb714 100644 (file)
@@ -84,7 +84,7 @@ not256tc:     ; Are we a premium model
                out (0x1c),a            ; Set
                in a,(0x1c)             ; Read
                cp #0x10                ; If reads back we are premium
-               jr nz, premium_model
+               jr z, premium_model
                ld a,#0x40              ; Colour control register
                out (0x08),a            ; Set
                in a,(0x08)             ; Read