]>
git.ipfire.org Git - people/ms/u-boot.git/blob - common/cmd_df.c
2 * Command for accessing DataFlash.
4 * Copyright (C) 2008 Atmel Corporation
9 static int do_df(cmd_tbl_t
*cmdtp
, int flag
, int argc
, char *argv
[])
13 /* need at least two arguments */
19 if (strcmp(cmd
, "init") == 0) {
20 df_init(0, 0, 1000000);
24 if (strcmp(cmd
, "info") == 0) {
35 sf
, 2, 1, do_serial_flash
,
36 "Serial flash sub-system",
37 "probe [bus:]cs - init flash device on given SPI bus and CS")