blob: 5a277c712f6061512e2c21e5df1e755c303ec77e [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +05302/*
3 * (C) Copyright 2018 Xilinx, Inc.
4 * Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +05305 */
6
7#include <common.h>
Simon Glassed38aef2020-05-10 11:40:03 -06008#include <command.h>
Simon Glass1d91ba72019-11-14 12:57:37 -07009#include <cpu_func.h>
Simon Glass313112a2019-08-01 09:46:46 -060010#include <env.h>
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +053011#include <malloc.h>
Siva Durga Prasad Paladugu8b75ad62018-09-06 16:34:44 +053012#include <memalign.h>
Ibai Erkiagac8a3efa2019-09-27 11:37:01 +010013#include <zynqmp_firmware.h>
Siva Durga Prasad Paladugu48eaa0c2018-10-05 15:09:05 +053014#include <asm/arch/hardware.h>
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +053015#include <asm/arch/sys_proto.h>
16#include <asm/io.h>
17
Siva Durga Prasad Paladugu8b75ad62018-09-06 16:34:44 +053018struct aes {
19 u64 srcaddr;
20 u64 ivaddr;
21 u64 keyaddr;
22 u64 dstaddr;
23 u64 len;
24 u64 op;
25 u64 keysrc;
26};
27
Simon Glassed38aef2020-05-10 11:40:03 -060028static int do_zynqmp_verify_secure(struct cmd_tbl *cmdtp, int flag, int argc,
29 char *const argv[])
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +053030{
Vipul Kumar95a3f872018-07-11 15:18:28 +053031 u64 src_addr, addr;
32 u32 len, src_lo, src_hi;
33 u8 *key_ptr = NULL;
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +053034 int ret;
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +053035 u32 key_lo = 0;
36 u32 key_hi = 0;
37 u32 ret_payload[PAYLOAD_ARG_CNT];
Vipul Kumar95a3f872018-07-11 15:18:28 +053038
39 if (argc < 4)
40 return CMD_RET_USAGE;
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +053041
Vipul Kumar95a3f872018-07-11 15:18:28 +053042 src_addr = simple_strtoull(argv[2], NULL, 16);
Simon Glass3ff49ec2021-07-24 09:03:29 -060043 len = hextoul(argv[3], NULL);
Vipul Kumar95a3f872018-07-11 15:18:28 +053044
45 if (argc == 5)
46 key_ptr = (uint8_t *)(uintptr_t)simple_strtoull(argv[4],
47 NULL, 16);
48
49 if ((ulong)src_addr != ALIGN((ulong)src_addr,
50 CONFIG_SYS_CACHELINE_SIZE)) {
51 printf("Failed: source address not aligned:%lx\n",
52 (ulong)src_addr);
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +053053 return -EINVAL;
54 }
55
Vipul Kumar95a3f872018-07-11 15:18:28 +053056 src_lo = lower_32_bits((ulong)src_addr);
57 src_hi = upper_32_bits((ulong)src_addr);
58 flush_dcache_range((ulong)src_addr, (ulong)(src_addr + len));
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +053059
60 if (key_ptr) {
61 key_lo = lower_32_bits((ulong)key_ptr);
62 key_hi = upper_32_bits((ulong)key_ptr);
63 flush_dcache_range((ulong)key_ptr,
64 (ulong)(key_ptr + KEY_PTR_LEN));
65 }
66
Michal Simek4c3de372019-10-04 15:35:45 +020067 ret = xilinx_pm_request(PM_SECURE_IMAGE, src_lo, src_hi,
68 key_lo, key_hi, ret_payload);
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +053069 if (ret) {
70 printf("Failed: secure op status:0x%x\n", ret);
71 } else {
72 addr = (u64)ret_payload[1] << 32 | ret_payload[2];
73 printf("Verified image at 0x%llx\n", addr);
74 env_set_hex("zynqmp_verified_img_addr", addr);
75 }
76
77 return ret;
78}
79
Simon Glassed38aef2020-05-10 11:40:03 -060080static int do_zynqmp_mmio_read(struct cmd_tbl *cmdtp, int flag, int argc,
81 char *const argv[])
Vipul Kumar869ed8c2018-07-16 18:04:22 +053082{
83 u32 read_val, addr;
84 int ret;
85
86 if (argc != cmdtp->maxargs)
87 return CMD_RET_USAGE;
88
Simon Glass3ff49ec2021-07-24 09:03:29 -060089 addr = hextoul(argv[2], NULL);
Vipul Kumar869ed8c2018-07-16 18:04:22 +053090
91 ret = zynqmp_mmio_read(addr, &read_val);
92 if (!ret)
93 printf("mmio read value at 0x%x = 0x%x\n",
94 addr, read_val);
95 else
96 printf("Failed: mmio read\n");
97
98 return ret;
99}
100
Simon Glassed38aef2020-05-10 11:40:03 -0600101static int do_zynqmp_mmio_write(struct cmd_tbl *cmdtp, int flag, int argc,
102 char *const argv[])
Vipul Kumar869ed8c2018-07-16 18:04:22 +0530103{
104 u32 addr, mask, val;
105 int ret;
106
107 if (argc != cmdtp->maxargs)
108 return CMD_RET_USAGE;
109
Simon Glass3ff49ec2021-07-24 09:03:29 -0600110 addr = hextoul(argv[2], NULL);
111 mask = hextoul(argv[3], NULL);
112 val = hextoul(argv[4], NULL);
Vipul Kumar869ed8c2018-07-16 18:04:22 +0530113
114 ret = zynqmp_mmio_write(addr, mask, val);
115 if (ret != 0)
116 printf("Failed: mmio write\n");
117
118 return ret;
119}
120
Siva Durga Prasad Paladugu8b75ad62018-09-06 16:34:44 +0530121static int do_zynqmp_aes(struct cmd_tbl *cmdtp, int flag, int argc,
122 char * const argv[])
123{
124 ALLOC_CACHE_ALIGN_BUFFER(struct aes, aes, 1);
125 int ret;
126 u32 ret_payload[PAYLOAD_ARG_CNT];
127
128 if (zynqmp_firmware_version() <= PMUFW_V1_0) {
129 puts("ERR: PMUFW v1.0 or less is detected\n");
130 puts("ERR: Encrypt/Decrypt feature is not supported\n");
131 puts("ERR: Please upgrade PMUFW\n");
132 return CMD_RET_FAILURE;
133 }
134
135 if (argc < cmdtp->maxargs - 1)
136 return CMD_RET_USAGE;
137
Simon Glass3ff49ec2021-07-24 09:03:29 -0600138 aes->srcaddr = hextoul(argv[2], NULL);
139 aes->ivaddr = hextoul(argv[3], NULL);
140 aes->len = hextoul(argv[4], NULL);
141 aes->op = hextoul(argv[5], NULL);
142 aes->keysrc = hextoul(argv[6], NULL);
143 aes->dstaddr = hextoul(argv[7], NULL);
Siva Durga Prasad Paladugu8b75ad62018-09-06 16:34:44 +0530144
145 flush_dcache_range((ulong)aes, (ulong)(aes) +
146 roundup(sizeof(struct aes), ARCH_DMA_MINALIGN));
147
148 if (aes->srcaddr && aes->ivaddr && aes->dstaddr) {
149 flush_dcache_range(aes->srcaddr,
150 (aes->srcaddr +
151 roundup(aes->len, ARCH_DMA_MINALIGN)));
152 flush_dcache_range(aes->ivaddr,
153 (aes->ivaddr +
154 roundup(IV_SIZE, ARCH_DMA_MINALIGN)));
155 flush_dcache_range(aes->dstaddr,
156 (aes->dstaddr +
157 roundup(aes->len, ARCH_DMA_MINALIGN)));
158 }
159
160 if (aes->keysrc == 0) {
161 if (argc < cmdtp->maxargs)
162 return CMD_RET_USAGE;
163
Simon Glass3ff49ec2021-07-24 09:03:29 -0600164 aes->keyaddr = hextoul(argv[8], NULL);
Siva Durga Prasad Paladugu8b75ad62018-09-06 16:34:44 +0530165 if (aes->keyaddr)
166 flush_dcache_range(aes->keyaddr,
167 (aes->keyaddr +
168 roundup(KEY_PTR_LEN,
169 ARCH_DMA_MINALIGN)));
170 }
171
172 ret = xilinx_pm_request(PM_SECURE_AES, upper_32_bits((ulong)aes),
173 lower_32_bits((ulong)aes), 0, 0, ret_payload);
174 if (ret || ret_payload[1])
175 printf("Failed: AES op status:0x%x, errcode:0x%x\n",
176 ret, ret_payload[1]);
177
178 return ret;
179}
180
Siva Durga Prasad Paladugu48eaa0c2018-10-05 15:09:05 +0530181#ifdef CONFIG_DEFINE_TCM_OCM_MMAP
Simon Glassed38aef2020-05-10 11:40:03 -0600182static int do_zynqmp_tcm_init(struct cmd_tbl *cmdtp, int flag, int argc,
183 char *const argv[])
Siva Durga Prasad Paladugu48eaa0c2018-10-05 15:09:05 +0530184{
185 u8 mode;
186
187 if (argc != cmdtp->maxargs)
188 return CMD_RET_USAGE;
189
Simon Glass3ff49ec2021-07-24 09:03:29 -0600190 mode = hextoul(argv[2], NULL);
Siva Durga Prasad Paladugu48eaa0c2018-10-05 15:09:05 +0530191 if (mode != TCM_LOCK && mode != TCM_SPLIT) {
192 printf("Mode should be either 0(lock)/1(split)\n");
193 return CMD_RET_FAILURE;
194 }
195
196 dcache_disable();
197 tcm_init(mode);
198 dcache_enable();
199
200 return CMD_RET_SUCCESS;
201}
202#endif
203
Michal Simekb0e4b232020-04-27 11:26:31 +0200204static int do_zynqmp_pmufw(struct cmd_tbl *cmdtp, int flag, int argc,
205 char * const argv[])
206{
207 u32 addr, size;
208
209 if (argc != cmdtp->maxargs)
210 return CMD_RET_USAGE;
211
Simon Glass3ff49ec2021-07-24 09:03:29 -0600212 addr = hextoul(argv[2], NULL);
213 size = hextoul(argv[3], NULL);
Michal Simekb0e4b232020-04-27 11:26:31 +0200214
215 zynqmp_pmufw_load_config_object((const void *)(uintptr_t)addr,
216 (size_t)size);
217
218 return 0;
219}
220
T Karthik Reddy59ec6412019-01-07 17:05:10 +0530221static int do_zynqmp_rsa(struct cmd_tbl *cmdtp, int flag, int argc,
222 char * const argv[])
223{
224 u64 srcaddr, mod, exp;
225 u32 srclen, rsaop, size, ret_payload[PAYLOAD_ARG_CNT];
226 int ret;
227
228 if (argc != cmdtp->maxargs)
229 return CMD_RET_USAGE;
230
231 if (zynqmp_firmware_version() <= PMUFW_V1_0) {
232 puts("ERR: PMUFW v1.0 or less is detected\n");
233 puts("ERR: Encrypt/Decrypt feature is not supported\n");
234 puts("ERR: Please upgrade PMUFW\n");
235 return CMD_RET_FAILURE;
236 }
237
Simon Glass3ff49ec2021-07-24 09:03:29 -0600238 srcaddr = hextoul(argv[2], NULL);
239 srclen = hextoul(argv[3], NULL);
T Karthik Reddy59ec6412019-01-07 17:05:10 +0530240 if (srclen != RSA_KEY_SIZE) {
241 puts("ERR: srclen should be equal to 0x200(512 bytes)\n");
242 return CMD_RET_USAGE;
243 }
244
Simon Glass3ff49ec2021-07-24 09:03:29 -0600245 mod = hextoul(argv[4], NULL);
246 exp = hextoul(argv[5], NULL);
247 rsaop = hextoul(argv[6], NULL);
T Karthik Reddy59ec6412019-01-07 17:05:10 +0530248 if (!(rsaop == 0 || rsaop == 1)) {
249 puts("ERR: rsaop should be either 0 or 1\n");
250 return CMD_RET_USAGE;
251 }
252
253 memcpy((void *)srcaddr + srclen, (void *)mod, MODULUS_LEN);
254
255 /*
256 * For encryption we load public exponent (key size 4096-bits),
257 * for decryption we load private exponent (32-bits)
258 */
259 if (rsaop) {
260 memcpy((void *)srcaddr + srclen + MODULUS_LEN,
261 (void *)exp, PUB_EXPO_LEN);
262 size = srclen + MODULUS_LEN + PUB_EXPO_LEN;
263 } else {
264 memcpy((void *)srcaddr + srclen + MODULUS_LEN,
265 (void *)exp, PRIV_EXPO_LEN);
266 size = srclen + MODULUS_LEN + PRIV_EXPO_LEN;
267 }
268
269 flush_dcache_range((ulong)srcaddr,
270 (ulong)(srcaddr) + roundup(size, ARCH_DMA_MINALIGN));
271
272 ret = xilinx_pm_request(PM_SECURE_RSA, upper_32_bits((ulong)srcaddr),
273 lower_32_bits((ulong)srcaddr), srclen, rsaop,
274 ret_payload);
275 if (ret || ret_payload[1]) {
276 printf("Failed: RSA status:0x%x, errcode:0x%x\n",
277 ret, ret_payload[1]);
278 return CMD_RET_FAILURE;
279 }
280
281 return CMD_RET_SUCCESS;
282}
283
T Karthik Reddy89cbce92019-01-07 17:05:11 +0530284static int do_zynqmp_sha3(struct cmd_tbl *cmdtp, int flag,
285 int argc, char * const argv[])
286{
Michal Simekd5c37472020-10-20 08:29:25 +0200287 u64 srcaddr, hashaddr;
T Karthik Reddy89cbce92019-01-07 17:05:11 +0530288 u32 srclen, ret_payload[PAYLOAD_ARG_CNT];
289 int ret;
290
Michal Simekd5c37472020-10-20 08:29:25 +0200291 if (argc > cmdtp->maxargs || argc < (cmdtp->maxargs - 1))
T Karthik Reddy89cbce92019-01-07 17:05:11 +0530292 return CMD_RET_USAGE;
293
294 if (zynqmp_firmware_version() <= PMUFW_V1_0) {
295 puts("ERR: PMUFW v1.0 or less is detected\n");
296 puts("ERR: Encrypt/Decrypt feature is not supported\n");
297 puts("ERR: Please upgrade PMUFW\n");
298 return CMD_RET_FAILURE;
299 }
300
Simon Glass3ff49ec2021-07-24 09:03:29 -0600301 srcaddr = hextoul(argv[2], NULL);
302 srclen = hextoul(argv[3], NULL);
T Karthik Reddy89cbce92019-01-07 17:05:11 +0530303
Michal Simekd5c37472020-10-20 08:29:25 +0200304 if (argc == 5) {
Simon Glass3ff49ec2021-07-24 09:03:29 -0600305 hashaddr = hextoul(argv[4], NULL);
Michal Simekd5c37472020-10-20 08:29:25 +0200306 flush_dcache_range(hashaddr,
307 hashaddr + roundup(ZYNQMP_SHA3_SIZE,
308 ARCH_DMA_MINALIGN));
309 } else {
310 hashaddr = srcaddr;
311 }
312
T Karthik Reddy89cbce92019-01-07 17:05:11 +0530313 /* Check srcaddr or srclen != 0 */
314 if (!srcaddr || !srclen) {
315 puts("ERR: srcaddr & srclen should not be 0\n");
316 return CMD_RET_USAGE;
317 }
318
319 flush_dcache_range(srcaddr,
320 srcaddr + roundup(srclen, ARCH_DMA_MINALIGN));
321
322 ret = xilinx_pm_request(PM_SECURE_SHA, 0, 0, 0,
323 ZYNQMP_SHA3_INIT, ret_payload);
324 if (ret || ret_payload[1]) {
325 printf("Failed: SHA INIT status:0x%x, errcode:0x%x\n",
326 ret, ret_payload[1]);
327 return CMD_RET_FAILURE;
328 }
329
330 ret = xilinx_pm_request(PM_SECURE_SHA, upper_32_bits((ulong)srcaddr),
331 lower_32_bits((ulong)srcaddr),
332 srclen, ZYNQMP_SHA3_UPDATE, ret_payload);
333 if (ret || ret_payload[1]) {
334 printf("Failed: SHA UPDATE status:0x%x, errcode:0x%x\n",
335 ret, ret_payload[1]);
336 return CMD_RET_FAILURE;
337 }
338
Michal Simekd5c37472020-10-20 08:29:25 +0200339 ret = xilinx_pm_request(PM_SECURE_SHA, upper_32_bits((ulong)hashaddr),
340 lower_32_bits((ulong)hashaddr),
341 ZYNQMP_SHA3_SIZE, ZYNQMP_SHA3_FINAL,
342 ret_payload);
T Karthik Reddy89cbce92019-01-07 17:05:11 +0530343 if (ret || ret_payload[1]) {
344 printf("Failed: SHA FINAL status:0x%x, errcode:0x%x\n",
345 ret, ret_payload[1]);
346 return CMD_RET_FAILURE;
347 }
348
349 return CMD_RET_SUCCESS;
350}
351
Simon Glassed38aef2020-05-10 11:40:03 -0600352static struct cmd_tbl cmd_zynqmp_sub[] = {
Vipul Kumar95a3f872018-07-11 15:18:28 +0530353 U_BOOT_CMD_MKENT(secure, 5, 0, do_zynqmp_verify_secure, "", ""),
Michal Simekb0e4b232020-04-27 11:26:31 +0200354 U_BOOT_CMD_MKENT(pmufw, 4, 0, do_zynqmp_pmufw, "", ""),
Vipul Kumar869ed8c2018-07-16 18:04:22 +0530355 U_BOOT_CMD_MKENT(mmio_read, 3, 0, do_zynqmp_mmio_read, "", ""),
356 U_BOOT_CMD_MKENT(mmio_write, 5, 0, do_zynqmp_mmio_write, "", ""),
Siva Durga Prasad Paladugu8b75ad62018-09-06 16:34:44 +0530357 U_BOOT_CMD_MKENT(aes, 9, 0, do_zynqmp_aes, "", ""),
T Karthik Reddy59ec6412019-01-07 17:05:10 +0530358 U_BOOT_CMD_MKENT(rsa, 7, 0, do_zynqmp_rsa, "", ""),
Michal Simekd5c37472020-10-20 08:29:25 +0200359 U_BOOT_CMD_MKENT(sha3, 5, 0, do_zynqmp_sha3, "", ""),
Siva Durga Prasad Paladugu48eaa0c2018-10-05 15:09:05 +0530360#ifdef CONFIG_DEFINE_TCM_OCM_MMAP
361 U_BOOT_CMD_MKENT(tcminit, 3, 0, do_zynqmp_tcm_init, "", ""),
362#endif
Vipul Kumar95a3f872018-07-11 15:18:28 +0530363};
364
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +0530365/**
366 * do_zynqmp - Handle the "zynqmp" command-line command
367 * @cmdtp: Command data struct pointer
368 * @flag: Command flag
369 * @argc: Command-line argument count
370 * @argv: Array of command-line arguments
371 *
372 * Processes the zynqmp specific commands
373 *
374 * Return: return 0 on success and CMD_RET_USAGE incase of misuse and error
375 */
Simon Glassed38aef2020-05-10 11:40:03 -0600376static int do_zynqmp(struct cmd_tbl *cmdtp, int flag, int argc,
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +0530377 char *const argv[])
378{
Simon Glassed38aef2020-05-10 11:40:03 -0600379 struct cmd_tbl *c;
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +0530380
Vipul Kumar95a3f872018-07-11 15:18:28 +0530381 if (argc < 2)
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +0530382 return CMD_RET_USAGE;
383
Vipul Kumar95a3f872018-07-11 15:18:28 +0530384 c = find_cmd_tbl(argv[1], &cmd_zynqmp_sub[0],
385 ARRAY_SIZE(cmd_zynqmp_sub));
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +0530386
Vipul Kumar95a3f872018-07-11 15:18:28 +0530387 if (c)
388 return c->cmd(c, flag, argc, argv);
389 else
390 return CMD_RET_USAGE;
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +0530391}
392
393/***************************************************/
394#ifdef CONFIG_SYS_LONGHELP
395static char zynqmp_help_text[] =
396 "secure src len [key_addr] - verifies secure images of $len bytes\n"
397 " long at address $src. Optional key_addr\n"
398 " can be specified if user key needs to\n"
Vipul Kumar869ed8c2018-07-16 18:04:22 +0530399 " be used for decryption\n"
400 "zynqmp mmio_read address - read from address\n"
401 "zynqmp mmio_write address mask value - write value after masking to\n"
Siva Durga Prasad Paladugu48eaa0c2018-10-05 15:09:05 +0530402 " address\n"
Siva Durga Prasad Paladugu8b75ad62018-09-06 16:34:44 +0530403 "zynqmp aes srcaddr ivaddr len aesop keysrc dstaddr [keyaddr] -\n"
404 " Encrypts or decrypts blob of data at src address and puts it\n"
405 " back to dstaddr using key and iv at keyaddr and ivaddr\n"
406 " respectively. keysrc value specifies from which source key\n"
407 " has to be used, it can be User/Device/PUF key. A value of 0\n"
408 " for KUP(user key),1 for DeviceKey and 2 for PUF key. The\n"
409 " aesop value specifies the operation which can be 0 for\n"
410 " decrypt and 1 for encrypt operation\n"
Siva Durga Prasad Paladugu48eaa0c2018-10-05 15:09:05 +0530411#ifdef CONFIG_DEFINE_TCM_OCM_MMAP
Michal Simek3a5642d2018-11-21 07:49:18 +0100412 "zynqmp tcminit mode - Initialize the TCM with zeros. TCM needs to be\n"
413 " initialized before accessing to avoid ECC\n"
414 " errors. mode specifies in which mode TCM has\n"
415 " to be initialized. Supported modes will be\n"
416 " lock(0)/split(1)\n"
Siva Durga Prasad Paladugu48eaa0c2018-10-05 15:09:05 +0530417#endif
Michal Simekb0e4b232020-04-27 11:26:31 +0200418 "zynqmp pmufw address size - load PMU FW configuration object\n"
T Karthik Reddy59ec6412019-01-07 17:05:10 +0530419 "zynqmp rsa srcaddr srclen mod exp rsaop -\n"
420 " Performs RSA encryption and RSA decryption on blob of data\n"
421 " at srcaddr and puts it back in srcaddr using modulus and\n"
422 " public or private exponent\n"
423 " srclen : must be key size(4096 bits)\n"
424 " exp : private key exponent for RSA decryption(4096 bits)\n"
425 " public key exponent for RSA encryption(32 bits)\n"
426 " rsaop : 0 for RSA Decryption, 1 for RSA Encryption\n"
Michal Simekd5c37472020-10-20 08:29:25 +0200427 "zynqmp sha3 srcaddr srclen [key_addr] -\n"
T Karthik Reddy89cbce92019-01-07 17:05:11 +0530428 " Generates sha3 hash value for data blob at srcaddr and puts\n"
429 " 48 bytes hash value into srcaddr\n"
Michal Simekd5c37472020-10-20 08:29:25 +0200430 " Optional key_addr can be specified for saving sha3 hash value\n"
T Karthik Reddy89cbce92019-01-07 17:05:11 +0530431 " Note: srcaddr/srclen should not be 0\n"
Siva Durga Prasad Paladugu48eaa0c2018-10-05 15:09:05 +0530432 ;
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +0530433#endif
434
435U_BOOT_CMD(
Siva Durga Prasad Paladugu8b75ad62018-09-06 16:34:44 +0530436 zynqmp, 9, 1, do_zynqmp,
Vipul Kumar95a3f872018-07-11 15:18:28 +0530437 "ZynqMP sub-system",
Siva Durga Prasad Paladugub1acb652018-02-28 13:26:53 +0530438 zynqmp_help_text
439)