| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /** |
|---|
| 2 | 3 | * AMCC SoC PPC4xx Crypto Driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2008 Applied Micro Circuits Corporation. |
|---|
| 5 | 6 | * All rights reserved. James Hsiao <jhsiao@amcc.com> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 9 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 10 | | - * (at your option) any later version. |
|---|
| 11 | | - * |
|---|
| 12 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 13 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 14 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 15 | | - * GNU General Public License for more details. |
|---|
| 16 | 7 | * |
|---|
| 17 | 8 | * This filr defines the register set for Security Subsystem |
|---|
| 18 | 9 | */ |
|---|
| .. | .. |
|---|
| 100 | 91 | #define CRYPTO4XX_ENDIAN_CFG 0x000600d8 |
|---|
| 101 | 92 | |
|---|
| 102 | 93 | #define CRYPTO4XX_PRNG_STAT 0x00070000 |
|---|
| 94 | +#define CRYPTO4XX_PRNG_STAT_BUSY 0x1 |
|---|
| 103 | 95 | #define CRYPTO4XX_PRNG_CTRL 0x00070004 |
|---|
| 104 | 96 | #define CRYPTO4XX_PRNG_SEED_L 0x00070008 |
|---|
| 105 | 97 | #define CRYPTO4XX_PRNG_SEED_H 0x0007000c |
|---|