blob: b031ec9835c76b78b932150da43e4562dbd28b74 [file] [log] [blame]
Charles Kearney92a3faa2023-05-30 14:24:18 -05001#!/bin/sh
2# A power up request has been made we must setup the system properly
3# RL300 requires UEFI VAR ROM export through spi controller 1
4# the machine needs to get out of Hold too
5
6rmmod gxp_spifi_ctrl1
7# vejmarie was 58
8devmem 0xd1000119 32 0x5d
9modprobe gxp_spifi_ctrl1
10
11# clear previous reset reason
12devmem 0x80000074 16 0x0
13# Release the Soc
14currentVal=$(devmem 0xD100011A 8)
15currentVal=$(( currentVal | 1 << 3 ))
16devmem 0xD100011A 8 "0x""${currentVal}"