]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers/ddr/fsl: fix '__hwconfig without a buffer' messages
authorJeremy Gebben <jgebben@sweptlaser.com>
Fri, 20 Jul 2018 22:00:36 +0000 (16:00 -0600)
committerYork Sun <york.sun@nxp.com>
Thu, 26 Jul 2018 18:54:00 +0000 (11:54 -0700)
commit86b840b78d0eba652f65841a870d232ab743612e
tree3b97b795723debb2cd5fa84290bfbb6b84e08152
parent038b965c2b403c8087ca0515f907b730be57d739
drivers/ddr/fsl: fix '__hwconfig without a buffer' messages

Pass an empty buffer instead of NULL if the hwconfig environment
variable isn't set.

Signed-off-by: Jeremy Gebben <jgebben@sweptlaser.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: York Sun <york.sun@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/ddr/fsl/options.c