blob: 36f5bac8d2300fc8e0fb570a52f87dd1945cc372 [file] [log] [blame]
Joel Peshkin4e9bce12021-04-11 11:21:58 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2021 Broadcom
4 */
5
6#include <common.h>
7#include <command.h>
8
9static int do_test_stackprot_fail(struct cmd_tbl *cmdtp, int flag, int argc,
10 char *const argv[])
11{
12 char a[128];
13
14 memset(a, 0xa5, 512);
15 return 0;
16}
17
18U_BOOT_CMD(stackprot_test, 1, 1, do_test_stackprot_fail,
19 "test stack protector fail", "");