
6 Dec
2019
6 Dec
'19
5:10 a.m.
On Fri, Dec 06, 2019 at 01:53:57AM +0100, Michael Walle wrote:
Am 2019-12-06 00:58, schrieb Tom Rini:
That said, looking over the u-boot-spl.map, it looks like nfs stuff doesn't get discarded for some reason, I'm going to look in to that.
CONFIG_CMD_NFS will pull that. There are also other network related cmds whose code is pulled into the SPL through net/net.c.
Right. The way the networking stack behaves today I bet we have other functionality being pulled in to SPL that we would rather be able to discard as it's functionally unused. What I sent to keep NFS out is a little hacky looking but is the best we can do with the current structure. There might be a few other options we can drop out from the loop.
--
Tom