On 04/25/2010 06:32 AM, Wolfgang Denk wrote: > > I mean, which board in U-Boot uses this code? I didn't find any. > > The convention is not to add unused code. If there are no real users > for this, the patch should be delayed until a board gets added that > actually uses it. > > Hi Wolfgang,
These nios2 boards are now supported with the nios2-generic board approach, like that of microblaze-generic, instead of adding every nios2 board to u-boot mainline. The nios2-generic board patch was applied to Scott's next branch. The gpio led can be enabled with the following added to the board config file. /* * STATUS LED */ #define CONFIG_STATUS_LED /* Enable status driver */ #define CONFIG_GPIO_LED /* Enable gpio led driver */ #define STATUS_LED_BIT 2 /* Bit-2 on GPIO */ #define STATUS_LED_STATE 1 /* Blinking */ #define STATUS_LED_PERIOD (500 / CONFIG_SYS_NIOS_TMRMS) /* 500 msec */ Cheers, Thomas _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot