From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeroen Hofstee Date: Thu, 09 Oct 2014 20:10:49 +0200 Subject: [U-Boot] [PATCH 03/49] cti_flash.c: use __weak when requested In-Reply-To: <1412801889-14400-4-git-send-email-jeroen@myspectrum.nl> References: <1412801889-14400-1-git-send-email-jeroen@myspectrum.nl> <1412801889-14400-4-git-send-email-jeroen@myspectrum.nl> Message-ID: <5436CFA9.6050809@myspectrum.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08-10-14 22:57, Jeroen Hofstee wrote: > For performance reason there seems to be a CONFIG_xyz. > Introduce a __maybe_weak to allow using __weak directly > instead of relying on aliases. > > Signed-off-by: Jeroen Hofstee > --- > drivers/mtd/cfi_flash.c | 50 ++++++++++++++++--------------------------------- > 1 file changed, 16 insertions(+), 34 deletions(-) As a reminder to myself, CONFIG_xyz should be CONFIG_CFI_FLASH_USE_WEAK_ACCESSOR. And you seem to need to opt-in for it, not opt-out.