diff options
author | Bharat Jauhari <bjauhari@habana.ai> | 2021-05-28 13:14:34 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-06-18 15:23:41 +0300 |
commit | 4b09901cf71fdb71f7652b22a4f5e033f7defef9 (patch) | |
tree | d39c5cb938d9231e81cae139571f8ef0fc2c48db /drivers/spi/spi-sun4i.c | |
parent | 358526be824f311e1db0d192cb9e96d85d27ac1d (diff) |
habanalabs: enable dram scramble before linux f/w
In current code, for dynamic f/w loading flow, DRAM scrambling is
enabled post Linux fit image is loaded to the card. This can cause the
device CPU to go into reset state.
The correct sequence should be:
1. Load boot fit image
2. Enable scrambling
3. Load Linux fit image
This commit aligns the DRAM scrambling enabling with the static f/w load
flow.
Signed-off-by: Bharat Jauhari <bjauhari@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/spi/spi-sun4i.c')
0 files changed, 0 insertions, 0 deletions