sfddr_board.c: In function 'board_init_f':
sfddr_board.c:547:12: error: 'cmd' undeclared (first use in this function)
sf_read(cmd,(ulong)IFX_CFG_FLASH_DDR_CFG_START_ADDR,addr_len,(u8*)&buffer,24);
^
As written before, I like to stay as close as possible to the TP-Link sources and even after fixing the compile error the savings are only around 2 KByte.
Your patch break the build:
As written before, I like to stay as close as possible to the TP-Link sources and even after fixing the compile error the savings are only around 2 KByte.
I don't think it's worse the work.