Changeset eca25ef in rtems


Ignore:
Timestamp:
Jan 3, 2020, 3:26:14 AM (3 months ago)
Author:
G S Niteesh <gsnb.gn@…>
Branches:
master
Children:
362cf319
Parents:
f1f6cd95
git-author:
G S Niteesh <gsnb.gn@…> (01/03/20 03:26:14)
git-committer:
Christian Mauderer <christian.mauderer@…> (01/07/20 16:55:13)
Message:

bsp/raspberrypi: Enable FDT support.

This commit adds FDT support to the BSP.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bsps/arm/raspberrypi/include/bsp.h

    rf1f6cd95 reca25ef  
    4242#define BSP_FEATURE_IRQ_EXTENSION
    4343
     44#if BSP_START_COPY_FDT_FROM_U_BOOT
     45#define BSP_FDT_IS_SUPPORTED
     46#endif
     47
    4448#define RPI_L2_CACHE_ENABLE 1
    4549
  • c/src/lib/libbsp/arm/raspberrypi/Makefile.am

    rf1f6cd95 reca25ef  
    4646librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/start/bsp-start-memcpy.S
    4747librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
     48librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bsp-fdt.c
    4849
    4950# Startup
  • c/src/lib/libbsp/arm/raspberrypi/configure.ac

    rf1f6cd95 reca25ef  
    1515AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
    1616RTEMS_BSP_CONFIGURE
     17
     18RTEMS_BSPOPTS_SET([BSP_START_COPY_FDT_FROM_U_BOOT],[*],[1])
     19RTEMS_BSPOPTS_HELP([BSP_START_COPY_FDT_FROM_U_BOOT],[copy the U-Boot provided FDT to an internal storage])
     20
     21RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_SIZE_MAX],[*],[262144])
     22RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_SIZE_MAX],[maximum size of the FDT blob in bytes])
     23
     24RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_READ_ONLY],[*],[1])
     25RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_READ_ONLY],[place the FDT blob into the read-only data area])
     26
     27RTEMS_BSPOPTS_SET([BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA],[*],[1])
     28RTEMS_BSPOPTS_HELP([BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA],[copy the FDT blob into the read-only load area via bsp_fdt_copy()])
    1729
    1830RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[*],[])
Note: See TracChangeset for help on using the changeset viewer.