blob: df560e0358406a5c78521883205c4027ac85bea0 [file] [log] [blame]
Andrew Neylandcf8f7462023-09-06 14:42:07 -05001#!/bin/sh
2# A power up request has been made we must setup the system properly
3# the machine needs to get out of Hold too
4
5# We need to enable UART PortA
6devmem 0x80fc0230 8 0x1
7# clear previous reset reason
8devmem 0x80000074 16 0x0
9# Release the Soc
10currentVal=$(devmem 0xD100011A 8)
11currentVal=$(( currentVal | 1 << 3 ))
12devmem 0xD100011A 8 "0x""${currentVal}"