uboot/cmd/reginfo.c
<<
>>
Prefs
   1// SPDX-License-Identifier: GPL-2.0+
   2/*
   3 * (C) Copyright 2000
   4 * Subodh Nijsure, SkyStream Networks, snijsure@skystream.com
   5 */
   6
   7#include <common.h>
   8#include <command.h>
   9#include <asm/ppc.h>
  10
  11static int do_reginfo(struct cmd_tbl *cmdtp, int flag, int argc,
  12                      char *const argv[])
  13{
  14        print_reginfo();
  15
  16        return 0;
  17}
  18
  19 /**************************************************/
  20
  21U_BOOT_CMD(
  22        reginfo,        2,      1,      do_reginfo,
  23        "print register information",
  24        ""
  25);
  26