From d283c3c560c081790f9743327f1757b83751abeb Mon Sep 17 00:00:00 2001 From: Brett Gordon Date: Sun, 6 Mar 2016 13:02:30 -0500 Subject: [PATCH] coco3: put sdc init code in .discard --- Kernel/platform-coco3/devsdc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/platform-coco3/devsdc.c b/Kernel/platform-coco3/devsdc.c index 7c0b359d..96d197b1 100644 --- a/Kernel/platform-coco3/devsdc.c +++ b/Kernel/platform-coco3/devsdc.c @@ -121,7 +121,7 @@ uint8_t devsdc_transfer(void) return ret; } - +__attribute__((section(".discard"))) /* Returns true if SDC hardware seems to exist */ bool devsdc_exist() { @@ -133,7 +133,7 @@ bool devsdc_exist() else return 0; } - +__attribute__((section(".discard"))) /* Call this to initialize SDC/blkdev interface */ void devsdc_init() { -- 2.34.1