[U-Boot] [u-boot-release] [Patch v2] powerpc/eeprom: cleanup mac command

Tabi Timur-B04825 B04825 at freescale.com
Thu Aug 11 03:27:28 CEST 2011


York Sun wrote:
> Change the help message to be more helpful. Print argument format.
> Fix MAX_NUM_PORTS to comply with v1 NXID format.
>
> Signed-off-by: York Sun<yorksun at freescale.com>

Could you also fix the commands so that they take a number in decimal 
instead of hex?


         e.mac[index][i] = simple_strtoul(p, &p, 16);

...

	e.mac_count = simple_strtoul(argv[2], NULL, 16);

I know U-Boot uses hex for everything, but it doesn't make sense for 
this command.


More information about the U-Boot mailing list