RE: [PATCH] ddr: altera: use KBUILD_BASENAME instead of __FILE__

2021-09-22 Thread Chee, Tien Fong
> -Original Message- > From: Marek Vasut > Sent: Tuesday, 14 September, 2021 11:20 AM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Lim, Elly Siew Chin > ; Simon Goldschmidt > ; Chee, Tien Fong > > Subject: [PATCH] ddr: altera: use KBUILD_BASENAME i

[PATCH] ddr: altera: use KBUILD_BASENAME instead of __FILE__

2021-09-13 Thread Marek Vasut
The KBUILD_BASENAME contains just the name of the compiled module, in this case 'sequencer', rather than a full path to the compiled file. Use it to prevent pulling the full path into the U-Boot binary, which is useless and annoying. Signed-off-by: Marek Vasut Cc: Siew Chin Lim Cc: Simon Goldsch