On 6/24/19 8:03 AM, Bin Meng wrote: > On Mon, Jun 24, 2019 at 12:03 PM Anup Patel <[email protected]> wrote: >> We should depend on __LITTLE_ENDIAN pre-defined compiler macro for >> little-endian system instead of U-Boot specific CONFIG_SYS_LITTLE_ENDIAN >> macro. >> >> Signed-off-by: Anup Patel <[email protected]> >> --- >> drivers/net/macb.c | 7 ++++--- >> 1 file changed, 4 insertions(+), 3 deletions(-) >> > Reviewed-by: Bin Meng <[email protected]> Hi. I don't like this approach, each platform should configure it's endianess, this is stated in README in root folder. relying on a specific GCC preprocessor extension is limiting us only to use GCC. The RISCV issue with MACB can be easily resolved by defining the CONFIG_SYS_LITTLE_ENDIAN config. Thanks, Ramon. _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot
- [U-Boot] [PATCH v7 2/9] clk: sifive: Sync-up WRPLL libr... Anup Patel
- [U-Boot] [PATCH v7 4/9] clk: sifive: Sync-up main drive... Anup Patel
- [U-Boot] [PATCH v7 6/9] net: macb: Extend MACB driver f... Anup Patel
- [U-Boot] [PATCH v7 5/9] clk: sifive: Drop GEMGXL clock ... Anup Patel
- [U-Boot] [PATCH v7 8/9] doc: sifive-fu540: Update READM... Anup Patel
- [U-Boot] [PATCH v7 9/9] net: macb: Fix check for little... Anup Patel
- Re: [U-Boot] [PATCH v7 9/9] net: macb: Fix check f... Bin Meng
- Re: [U-Boot] [PATCH v7 9/9] net: macb: Fix che... Ramon Fried
- Re: [U-Boot] [PATCH v7 9/9] net: macb: Fix... Bin Meng
- Re: [U-Boot] [PATCH v7 9/9] net: macb:... Ramon Fried
- Re: [U-Boot] [PATCH v7 9/9] net: ... Daniel Schwierzeck
- Re: [U-Boot] [PATCH v7 9/9] n... Ramon Fried
- Re: [U-Boot] [PATCH v7 9/9] n... Anup Patel
- Re: [U-Boot] [PATCH v7 9/9] net: ... Bin Meng
- Re: [U-Boot] [PATCH v7 9/9] n... Ramon Fried
- [U-Boot] [PATCH v7 7/9] riscv: sifive: fu540: Setup eth... Anup Patel
- Re: [U-Boot] [PATCH v7 7/9] riscv: sifive: fu540: ... Bin Meng
- Re: [U-Boot] [PATCH v7 7/9] riscv: sifive: fu540: ... Troy Benjegerdes

