Hi Masahiro, On 10 May 2017 at 20:33, Masahiro Yamada <yamada.masah...@socionext.com> wrote: > 2017-05-02 0:18 GMT+09:00 Simon Glass <s...@chromium.org>: > >> diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h >> new file mode 100644 >> index 0000000000..f952c989d2 >> --- /dev/null >> +++ b/include/dm/ofnode.h >> @@ -0,0 +1,100 @@ >> +/* >> + * Copyright (c) 2017 Google, Inc >> + * Written by Simon Glass <s...@chromium.org> >> + * >> + * SPDX-License-Identifier: GPL-2.0+ >> + */ >> + >> +#ifndef _DM_OFNODE_H >> +#define _DM_OFNODE_H >> + >> +DECLARE_GLOBAL_DATA_PTR; > > Which line in this header references gd?
It is actually needed in dev.h when that is inlined. I originally had to access it here but can move it. Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot