X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cmd%2Fi2c.c;h=09c4ba9a1c752f48f6b0b5d293be0f6b80f639b8;hb=606b239a6c60868da1767b973e5f9c3e6eae48fe;hp=bfddf8be1b9849d5cb9f66262aaaf747896d7396;hpb=28df8ed07f2ae936e9af28c146d555ed4d0c122a;p=oweals%2Fu-boot.git diff --git a/cmd/i2c.c b/cmd/i2c.c index bfddf8be1b..09c4ba9a1c 100644 --- a/cmd/i2c.c +++ b/cmd/i2c.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2009 * Sergey Kubushyn, himself, ksi@koi8.net @@ -6,8 +7,6 @@ * * (C) Copyright 2001 * Gerald Van Baren, Custom IDEAS, vanbaren@cideas.com. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -79,8 +78,6 @@ #include #include -DECLARE_GLOBAL_DATA_PTR; - /* Display values from last command. * Memory modify remembered values are different from display memory. */ @@ -2026,6 +2023,7 @@ static int do_i2c(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) static char i2c_help_text[] = #if defined(CONFIG_SYS_I2C) || defined(CONFIG_DM_I2C) "bus [muxtype:muxaddr:muxchannel] - show I2C bus info\n" + "i2c " /* That's the prefix for the crc32 command below. */ #endif "crc32 chip address[.0, .1, .2] count - compute CRC32 checksum\n" #if defined(CONFIG_SYS_I2C) || \