]> git.baikalelectronics.ru Git - uboot.git/commit
ddr: altera: use KBUILD_BASENAME instead of __FILE__
authorMarek Vasut <marex@denx.de>
Tue, 14 Sep 2021 03:20:19 +0000 (05:20 +0200)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 28 Sep 2021 15:50:55 +0000 (18:50 +0300)
commit909d81d1501a5079021e1ff90467bdb2f1811614
tree0b5b24deac2eb6226c19dd86982cf5cd56224012
parent3d5f7eff720a32e8eee61bc4f22bb9542060a760
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@denx.de>
Cc: Siew Chin Lim <elly.siew.chin.lim@intel.com>
Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Cc: Tien Fong Chee <tien.fong.chee@intel.com>
drivers/ddr/altera/sequencer.c