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

Chee, Tien Fong tien.fong.chee at intel.com
Thu Sep 23 03:55:50 CEST 2021


> -----Original Message-----
> From: Marek Vasut <marex at denx.de>
> Sent: Tuesday, 14 September, 2021 11:20 AM
> To: u-boot at lists.denx.de
> Cc: Marek Vasut <marex at denx.de>; Lim, Elly Siew Chin
> <elly.siew.chin.lim at intel.com>; Simon Goldschmidt
> <simon.k.r.goldschmidt at gmail.com>; Chee, Tien Fong
> <tien.fong.chee at intel.com>
> Subject: [PATCH] ddr: altera: use KBUILD_BASENAME instead of __FILE__
> 
> 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 <marex at denx.de>
> Cc: Siew Chin Lim <elly.siew.chin.lim at intel.com>
> Cc: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>
> Cc: Tien Fong Chee <tien.fong.chee at intel.com>
> ---
>  drivers/ddr/altera/sequencer.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 

Reviewed-by: Tien Fong Chee <tien.fong.chee at intel.com>

Regards,
TF


More information about the U-Boot mailing list