sf: Add an empty entry to the parameter list
authorSimon Glass <sjg@chromium.org>
Mon, 15 Sep 2014 12:33:36 +0000 (06:33 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 23 Sep 2014 18:44:30 +0000 (12:44 -0600)
commitbf1a86fca0111067021f3d263242767d3709d7be
tree91f89c4b2db22fd81e39d4a6a358344374b1587c
parente7b14e9ab0ceef3068722007e7396f89f4ede9c2
sf: Add an empty entry to the parameter list

The list is supposed to be terminated with a NULL name, but is not. If a
board probes a chip which does not appear in the table, U-Boot will crash
(at least on sandbox).

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mtd/spi/sf_params.c